← Về thư mục
tests/test_retrosynthesis_planning.py
- _llm_prompt · function · L16-L19 — def _llm_prompt(request)
- _import_skill · function · L22-L60 — def _import_skill()
- _andor_payload_json · function · L63-L71 — def _andor_payload_json(html)
- _graph_payload · function · L74-L75 — def _graph_payload(html)
- _svg_source_text · function · L78-L82 — def _svg_source_text(source)
- _assert_structure_uris_are_canonical · function · L85-L99 — def _assert_structure_uris_are_canonical(html)
- test_retrosynthesis_skill_is_discovered · function · L178-L184 — def test_retrosynthesis_skill_is_discovered()
- test_retrosynthesis_skill_is_searchable · function · L187-L189 — def test_retrosynthesis_skill_is_searchable()
- test_model_backed_reaction_tasks_are_separate_discoverable_skills · function · L192-L210 — def test_model_backed_reaction_tasks_are_separate_discoverable_skills()
- test_science_scenario_specifies_six_independent_problem_contracts · function · L213-L230 — def test_science_scenario_specifies_six_independent_problem_contracts()
- test_six_detailed_science_scenarios_are_independent_benchmark_specs · function · L233-L275 — def test_six_detailed_science_scenarios_are_independent_benchmark_specs()
- _single_step_benchmark · function · L278-L282 — def _single_step_benchmark()
- _toy_canonicalizer · function · L285-L294 — def _toy_canonicalizer(smiles)
- test_class_unknown_benchmark_rejects_hidden_reaction_fields · function · L297-L310 — def test_class_unknown_benchmark_rejects_hidden_reaction_fields()
- test_single_step_benchmark_preserves_invalid_and_duplicate_beams · function · L313-L352 — def test_single_step_benchmark_preserves_invalid_and_duplicate_beams()
- test_single_step_private_evaluator_scores_targets_before_aggregation · function · L355-L404 — def test_single_step_private_evaluator_scores_targets_before_aggregation()
- test_single_step_benchmark_cli_writes_public_and_private_artifacts · function · L407-L472 — def test_single_step_benchmark_cli_writes_public_and_private_artifacts(tmp_path)
- test_aspirin_example_dashboard_is_documented · function · L475-L508 — def test_aspirin_example_dashboard_is_documented()
- test_normalize_and_rank_routes · function · L511-L520 — def test_normalize_and_rank_routes()
- test_normalize_realistic_aizynth_route_uses_metadata_solved · function · L523-L530 — def test_normalize_realistic_aizynth_route_uses_metadata_solved()
- test_render_html_and_report · function · L533-L589 — def test_render_html_and_report()
- test_molecule_briefs_and_query_urls · function · L592-L618 — def test_molecule_briefs_and_query_urls()
- test_rdkit_structure_depiction_when_available · function · L621-L634 — def test_rdkit_structure_depiction_when_available()
- test_route_step_evidence_cards_are_source_backed_and_graph_visible · function · L637-L686 — def test_route_step_evidence_cards_are_source_backed_and_graph_visible()
- test_openai4s_llm_evidence_provider_only_links_retrieved_sources · function · L689-L764 — def test_openai4s_llm_evidence_provider_only_links_retrieved_sources()
- fake_llm · function · L694-L728 — def fake_llm(request)
- fake_search · function · L730-L740 — def fake_search(query, **kwargs)
- test_execution_scoring_keeps_candidate_evidence_and_constraints_auditable · function · L767-L799 — def test_execution_scoring_keeps_candidate_evidence_and_constraints_auditable()
- test_llm_annotations_drive_reaction_and_molecule_html · function · L802-L901 — def test_llm_annotations_drive_reaction_and_molecule_html()
- fake_llm · function · L806-L873 — def fake_llm(prompt)
- test_complex_multistep_routes_keep_structures_visible · function · L904-L1068 — def test_complex_multistep_routes_keep_structures_visible()
- fake_llm · function · L983-L1049 — def fake_llm(prompt)
- test_build_aizynth_command_is_shell_safe · function · L1071-L1084 — def test_build_aizynth_command_is_shell_safe()
- test_llm_annotations_survive_prose_wrapped_json · function · L1103-L1112 — def test_llm_annotations_survive_prose_wrapped_json(reply)
- test_llm_annotations_warn_and_degrade_when_unparseable · function · L1116-L1127 — def test_llm_annotations_warn_and_degrade_when_unparseable(reply)
- test_llm_annotations_ignore_non_object_json · function · L1131-L1137 — def test_llm_annotations_ignore_non_object_json(reply)
- test_parse_llm_annotations_raises_when_no_json_present · function · L1140-L1143 — def test_parse_llm_annotations_raises_when_no_json_present()
- test_target_molecule_is_styled_as_target_in_knowledge_graph · function · L1149-L1165 — def test_target_molecule_is_styled_as_target_in_knowledge_graph()
- test_target_is_identified_without_an_explicit_target_smiles · function · L1168-L1176 — def test_target_is_identified_without_an_explicit_target_smiles()
- test_target_matches_a_non_canonical_smiles · function · L1179-L1190 — def test_target_matches_a_non_canonical_smiles()
- test_graph_payload_escapes_html_delimiters · function · L1196-L1204 — def test_graph_payload_escapes_html_delimiters()
- test_structure_sources_never_round_trip_through_mutable_dom_state · function · L1207-L1218 — def test_structure_sources_never_round_trip_through_mutable_dom_state()
- test_structure_source_allowlist_is_exact_and_canonical · function · L1221-L1238 — def test_structure_source_allowlist_is_exact_and_canonical()
- test_an_oversized_depiction_degrades_to_the_labelled_placeholder · function · L1241-L1261 — def test_an_oversized_depiction_degrades_to_the_labelled_placeholder()
- test_molecule_briefs_warn_when_truncated · function · L1264-L1269 — def test_molecule_briefs_warn_when_truncated()