← Về thư mục
scripts/test_check_field_norm_severity.py
- _load_shipped · function · L18-L24 — def _load_shipped() -> dict
- TestShippedGoldSet · class · L27-L42 — class TestShippedGoldSet(unittest.TestCase)
- test_shipped_gold_set_is_clean · method · L30-L32 — def test_shipped_gold_set_is_clean(self) -> None
- test_shipped_has_required_counts · method · L34-L42 — def test_shipped_has_required_counts(self) -> None
- TestValidatorInvariants · class · L45-L169 — class TestValidatorInvariants(unittest.TestCase)
- setUp · method · L49-L50 — def setUp(self) -> None
- _mutate · method · L52-L55 — def _mutate(self, fn) -> list[str]
- test_missing_provenance_section_fails · method · L57-L62 — def test_missing_provenance_section_fails(self) -> None
- test_missing_verbatim_anchor_fails · method · L64-L69 — def test_missing_verbatim_anchor_fails(self) -> None
- test_empty_verbatim_anchor_fails · method · L71-L78 — def test_empty_verbatim_anchor_fails(self) -> None
- test_missing_paper_citation_fails · method · L80-L85 — def test_missing_paper_citation_fails(self) -> None
- test_unknown_subtype_fails · method · L87-L92 — def test_unknown_subtype_fails(self) -> None
- test_severity_miscalibration_must_be_true · method · L94-L101 — def test_severity_miscalibration_must_be_true(self) -> None
- test_duplicate_id_fails · method · L103-L110 — def test_duplicate_id_fails(self) -> None
- test_exception_item_requires_reason · method · L112-L124 — def test_exception_item_requires_reason(self) -> None
- drop_reason · function · L115-L118 — def drop_reason(d: dict) -> None
- test_non_exception_item_must_not_carry_reason · method · L126-L135 — def test_non_exception_item_must_not_carry_reason(self) -> None
- test_exception_id_losing_both_flag_and_reason_fails · method · L137-L151 — def test_exception_id_losing_both_flag_and_reason_fails(self) -> None
- strip_exception · function · L141-L145 — def strip_exception(d: dict) -> None
- test_missing_field_norm_fails · method · L153-L158 — def test_missing_field_norm_fails(self) -> None
- test_metadata_missing_regression_fixture_disclaimer_fails · method · L160-L169 — def test_metadata_missing_regression_fixture_disclaimer_fails(self) -> None