← Về thư mục
tests/test_retrosynthesis_evaluator.py
- _scenario_dir · function · L33-L34 — def _scenario_dir()
- _install · function · L37-L42 — def _install(tmp_path, scenario)
- test_gt_entrypoint_runs_without_pythonpath_or_private_files · function · L46-L68 — def test_gt_entrypoint_runs_without_pythonpath_or_private_files(tmp_path, scenario)
- test_bundled_case_scores_are_not_one_by_construction · function · L112-L119 — def test_bundled_case_scores_are_not_one_by_construction(tmp_path, scenario)
- test_evaluator_rejects_changed_labels_without_replacing_metrics · function · L122-L144 — def test_evaluator_rejects_changed_labels_without_replacing_metrics(tmp_path)
- test_changed_public_files_are_rejected · function · L149-L156 — def test_changed_public_files_are_rejected(tmp_path, name, operation)
- test_evaluator_requires_hashes_for_consumed_files · function · L160-L175 — def test_evaluator_requires_hashes_for_consumed_files(tmp_path, boundary)
- test_public_manifest_never_publishes_the_private_digest · function · L178-L185 — def test_public_manifest_never_publishes_the_private_digest(tmp_path)
- test_forged_references_and_their_own_digest_are_still_rejected · function · L188-L214 — def test_forged_references_and_their_own_digest_are_still_rejected(tmp_path)
- test_substituting_a_public_input_against_an_installed_case_is_allowed · function · L217-L236 — def test_substituting_a_public_input_against_an_installed_case_is_allowed(tmp_path): # The frozen case anchors the ground truth, not the inputs: re-pointing an # installed workspace at different public data is a supported workflow, and # the only test that covered it needed RDKit, so it skipped everywhere but # one CI row.
- test_a_workspace_may_not_claim_a_frozen_case_it_was_not_built_from · function · L239-L246 — def test_a_workspace_may_not_claim_a_frozen_case_it_was_not_built_from(tmp_path)
- test_evaluator_rejects_a_downgraded_public_dataset_profile · function · L249-L257 — def test_evaluator_rejects_a_downgraded_public_dataset_profile(tmp_path)
- test_atom_fixture_rejects_invalid_field_types · function · L274-L285 — def test_atom_fixture_rejects_invalid_field_types(tmp_path, field, value, message)