← Về thư mục
scripts/test_claim_intent_manifest.py
- run_audit_pipeline · function · L51-L52 — def run_audit_pipeline(args: Any, *kwargs: Any) -> Any
- _claim · function · L61-L76 — def _claim( *, claim_id: str, claim_text: str, ncs: list[dict[str, str]] | None = None, planned_refs: list[str] | None = None, ) -> dict[str, Any]
- _manifest · function · L79-L92 — def _manifest( *, manifest_id: str = MANIFEST_ID, claims: list[dict[str, Any]], mncs: list[dict[str, str]] | None = None, ) -> dict[str, Any]
- _citation · function · L95-L113 — def _citation( *, claim_id: str, claim_text: str, ref_slug: str = "smith2024preprints", anchor_kind: str = "page", anchor_value: str = "12", section_path: str = "3. Results > 3.1 Overview", scoped_manifest_id: str = MANIFEST_ID, ) -> dict[str, Any]
- _config · function · L116-L124 — def _config(**overrides: Any) -> dict[str, Any]
- _retrieval_ok · function · L127-L134 — def _retrieval_ok( *, excerpt: str = "The cited page reports the figure verbatim.", ) -> Callable[[dict[str, Any]], dict[str, Any]]
- fn · function · L131-L132 — def fn(citation: dict[str, Any]) -> dict[str, Any]
- _retrieval_failed_paywall · function · L137-L141 — def _retrieval_failed_paywall() -> Callable[[dict[str, Any]], dict[str, Any]]
- fn · function · L138-L139 — def fn(citation: dict[str, Any]) -> dict[str, Any]
- _retrieval_not_found · function · L144-L148 — def _retrieval_not_found() -> Callable[[dict[str, Any]], dict[str, Any]]
- fn · function · L145-L146 — def fn(citation: dict[str, Any]) -> dict[str, Any]
- _retrieval_dispatch · function · L151-L159 — def _retrieval_dispatch( by_slug: dict[str, dict[str, Any]], ) -> Callable[[dict[str, Any]], dict[str, Any]]
- fn · function · L156-L157 — def fn(citation: dict[str, Any]) -> dict[str, Any]
- _judge_dispatch · function · L162-L174 — def _judge_dispatch( by_claim_text: dict[str, dict[str, Any]], ) -> Callable[..., dict[str, Any]]
- fn · function · L168-L171 — def fn(**kwargs: Any) -> dict[str, Any]
- _ManifestTestBase · class · L177-L205 — class _ManifestTestBase(unittest.TestCase)
- setUpClass · method · L186-L191 — def setUpClass(cls) -> None
- run_pipeline · method · L193-L205 — def run_pipeline(self, **kwargs: Any) -> dict[str, list[dict[str, Any]]]
- TM1ThreeSetDiff · class · L213-L379 — class TM1ThreeSetDiff(_ManifestTestBase)
- test_three_set_diff_emits_both_drift_kinds · method · L216-L379 — def test_three_set_diff_emits_both_drift_kinds(self) -> None: # Manifest intends 3 claims (C-001, C-002, C-003); none of the # manifest's claims carry a negative constraint, so no constraint # absorption confounds drift detection (T-P8 absorbs ENTIRE manifest # when ANY citation in that manifest VIOLATEs).
- TM2MissingManifestFallback · class · L387-L534 — class TM2MissingManifestFallback(_ManifestTestBase)
- test_sentinel_fallback_emits_all_defect_stages · method · L390-L534 — def test_sentinel_fallback_emits_all_defect_stages(self) -> None: # Six citations, one per substantive routing path the agent must # cover in MANIFEST-MISSING fallback per §9 acceptance criterion. # The sentinel scoped_manifest_id MUST propagate through to every # emitted entry (INV-15 sentinel branch).
- TM3ConstraintInheritance · class · L542-L662 — class TM3ConstraintInheritance(_ManifestTestBase)
- test_mnc_inherited_alongside_claim_level_nc · method · L545-L606 — def test_mnc_inherited_alongside_claim_level_nc(self) -> None
- judge_fn · function · L570-L575 — def judge_fn(**kwargs: Any) -> dict[str, Any]
- test_claim_without_nc_still_inherits_mnc · method · L608-L662 — def test_claim_without_nc_still_inherits_mnc(self) -> None
- judge_fn · function · L637-L642 — def judge_fn(**kwargs: Any) -> dict[str, Any]