← Về thư mục
- _load · function · L20-L21 — def _load() -> dict
- _manifest · function · L24-L25 — def _manifest() -> dict | None
- TestShipped · class · L28-L30 — class TestShipped(unittest.TestCase)
- test_shipped_gold_set_passes · method · L29-L30 — def test_shipped_gold_set_passes(self) -> None
- TestMutations · class · L33-L303 — class TestMutations(unittest.TestCase)
- setUp · method · L36-L38 — def setUp(self) -> None
- _v · method · L40-L41 — def _v(self, data: dict, manifest: dict | None = ...) -> list[str]: # type: ignore[assignment]
- test_wrong_task_type_fails · method · L43-L45 — def test_wrong_task_type_fails(self) -> None
- test_missing_judge_blind_entry_fails · method · L47-L49 — def test_missing_judge_blind_entry_fails(self) -> None
- test_dropping_verdict_label_from_blind_fields_fails · method · L51-L64 — def test_dropping_verdict_label_from_blind_fields_fails(self) -> None
- test_duplicate_id_fails · method · L66-L68 — def test_duplicate_id_fails(self) -> None
- test_bad_framing_style_fails · method · L70-L72 — def test_bad_framing_style_fails(self) -> None
- test_bad_provenance_type_fails · method · L74-L76 — def test_bad_provenance_type_fails(self) -> None
- test_bad_expected_correctness_fails · method · L78-L80 — def test_bad_expected_correctness_fails(self) -> None
- test_paper_verbatim_without_anchor_fails · method · L82-L88 — def test_paper_verbatim_without_anchor_fails(self) -> None: # find a paper_verbatim item, blank its anchor
- test_paper_verbatim_with_derived_from_fails · method · L90-L97 — def test_paper_verbatim_with_derived_from_fails(self) -> None
- test_paper_verbatim_with_maintainer_source_fails · method · L99-L106 — def test_paper_verbatim_with_maintainer_source_fails(self) -> None
- test_counterfactual_claiming_verbatim_anchor_fails · method · L108-L114 — def test_counterfactual_claiming_verbatim_anchor_fails(self) -> None
- test_counterfactual_missing_derived_from_fails · method · L116-L121 — def test_counterfactual_missing_derived_from_fails(self) -> None
- test_counterfactual_non_string_derived_from_fails · method · L123-L136 — def test_counterfactual_non_string_derived_from_fails(self) -> None
- test_maintainer_boundary_missing_mechanism_anchor_fails · method · L138-L143 — def test_maintainer_boundary_missing_mechanism_anchor_fails(self) -> None
- test_counterfactual_with_human_source_fails · method · L145-L152 — def test_counterfactual_with_human_source_fails(self) -> None
- test_boundary_with_ai_source_fails · method · L154-L159 — def test_boundary_with_ai_source_fails(self) -> None
- test_null_mechanism_anchor_fails · method · L161-L167 — def test_null_mechanism_anchor_fails(self) -> None
- test_null_exception_reason_fails · method · L169-L176 — def test_null_exception_reason_fails(self) -> None
- test_pdftotext_line_anchor_fails · method · L178-L180 — def test_pdftotext_line_anchor_fails(self) -> None
- test_pdftotext_plural_range_anchor_fails · method · L182-L185 — def test_pdftotext_plural_range_anchor_fails(self) -> None
- test_paper_verbatim_anchor_not_in_review_text_fails · method · L187-L197 — def test_paper_verbatim_anchor_not_in_review_text_fails(self) -> None
- test_pair_claim_drift_fails · method · L199-L205 — def test_pair_claim_drift_fails(self) -> None
- test_pair_verdict_drift_fails · method · L207-L214 — def test_pair_verdict_drift_fails(self) -> None
- test_pair_same_style_fails · method · L216-L223 — def test_pair_same_style_fails(self) -> None
- test_lonely_pair_member_fails · method · L225-L231 — def test_lonely_pair_member_fails(self) -> None
- test_exception_without_reason_fails · method · L233-L238 — def test_exception_without_reason_fails(self) -> None
- test_ambiguous_id_without_flag_fails · method · L240-L247 — def test_ambiguous_id_without_flag_fails(self) -> None
- test_dangling_derived_from_fails · method · L249-L254 — def test_dangling_derived_from_fails(self) -> None
- test_counterfactual_deriving_from_non_paper_source_fails · method · L256-L271 — def test_counterfactual_deriving_from_non_paper_source_fails(self) -> None
- test_counterfactual_drift_caught_even_without_pair_id · method · L273-L293 — def test_counterfactual_drift_caught_even_without_pair_id(self) -> None
- test_manifest_sample_n_drift_fails · method · L295-L298 — def test_manifest_sample_n_drift_fails(self) -> None
- test_manifest_provenance_dist_drift_fails · method · L300-L303 — def test_manifest_provenance_dist_drift_fails(self) -> None
- TestMainGuards · class · L306-L339 — class TestMainGuards(unittest.TestCase)
- test_missing_manifest_makes_main_fail · method · L307-L312 — def test_missing_manifest_makes_main_fail(self) -> None
- test_empty_manifest_makes_main_fail · method · L314-L323 — def test_empty_manifest_makes_main_fail(self) -> None
- test_non_mapping_manifest_fails_without_traceback · method · L325-L336 — def test_non_mapping_manifest_fails_without_traceback(self) -> None
- test_shipped_main_passes · method · L338-L339 — def test_shipped_main_passes(self) -> None
- TestSerializerStrip · class · L342-L413 — class TestSerializerStrip(unittest.TestCase)
- setUp · method · L345-L346 — def setUp(self) -> None
- test_judge_view_only_whitelisted_keys · method · L348-L356 — def test_judge_view_only_whitelisted_keys(self) -> None
- test_judge_view_strips_all_blind_fields · method · L358-L363 — def test_judge_view_strips_all_blind_fields(self) -> None
- test_judge_view_does_not_leak_semantic_id · method · L365-L376 — def test_judge_view_does_not_leak_semantic_id(self) -> None
- test_judge_view_rejects_non_int_index · method · L378-L385 — def test_judge_view_rejects_non_int_index(self) -> None
- test_judge_handle_is_index_derived_not_caller_controlled · method · L387-L396 — def test_judge_handle_is_index_derived_not_caller_controlled(self) -> None
- test_judge_view_strips_nested_authorship_signal · method · L398-L406 — def test_judge_view_strips_nested_authorship_signal(self) -> None
- test_judge_view_keeps_the_item_to_judge · method · L408-L413 — def test_judge_view_keeps_the_item_to_judge(self) -> None