← Về thư mục
scripts/test_adjacent_framing_probe_lint.py
- _read · function · L37-L38 — def _read(path: Path) -> str
- _extract_probe_section · function · L41-L48 — def _extract_probe_section(text: str) -> str
- TestAdjacentFramingProbeStructure · class · L51-L167 — class TestAdjacentFramingProbeStructure(unittest.TestCase)
- setUp · method · L52-L54 — def setUp(self) -> None
- test_mentor_file_has_probe_section · method · L56-L61 — def test_mentor_file_has_probe_section(self) -> None
- test_required_subheadings_present · method · L63-L67 — def test_required_subheadings_present(self) -> None
- test_env_var_gates_the_layer · method · L69-L80 — def test_env_var_gates_the_layer(self) -> None
- test_banned_patterns_subheading_present · method · L82-L87 — def test_banned_patterns_subheading_present(self) -> None
- test_verb_test_terms_named_in_ban · method · L89-L105 — def test_verb_test_terms_named_in_ban(self) -> None: # The Kong L2 verb test must be named in the normative LAW SENTENCE so the # executing agent knows the law — not merely present somewhere in the region # (a table row label like "BAD (rank)" must NOT satisfy this check).
- test_probe_wording_block_has_no_leak_phrases · method · L107-L121 — def test_probe_wording_block_has_no_leak_phrases(self) -> None: # The Probe Wording block (the legal probe SURFACE) must not contain # idea-proposing phrasing or mechanism-bearing facet words.
- test_good_row_facet_is_directionless · method · L123-L136 — def test_good_row_facet_is_directionless(self) -> None: # The Banned Patterns GOOD row must not use a mechanism/valenced facet noun.
- test_log_tag_format_present · method · L138-L145 — def test_log_tag_format_present(self) -> None: # The exact machine-readable tag prefix must appear verbatim.
- test_exploratory_gate_not_goal_oriented · method · L147-L155 — def test_exploratory_gate_not_goal_oriented(self) -> None: # Guard against a copy-paste of the Reading Probe's goal-oriented gate.
- test_probe_does_not_leak_into_scoring_files · method · L157-L167 — def test_probe_does_not_leak_into_scoring_files(self) -> None: # The probe tag must not appear in scoring / pipeline-summary files — # it is dialogue-layer only, surfaced for Stage 6 reflection by grep, not # embedded as a scored artifact.