← Về thư mục
scripts/adapters/tests/test_check_corpus_consumer_protocol.py
- run_lint · function · L21-L28 — def run_lint(cwd: Path) -> subprocess.CompletedProcess
- fixture_repo · function · L32-L153 — def fixture_repo(tmp_path: Path) -> Path
- test_l1_passes_when_reference_doc_exists · function · L156-L158 — def test_l1_passes_when_reference_doc_exists(fixture_repo: Path) -> None
- test_l1_fails_when_reference_doc_missing · function · L161-L170 — def test_l1_fails_when_reference_doc_missing(fixture_repo: Path) -> None
- test_l2_passes_with_both_consumer_blocks_stub_marked · function · L173-L175 — def test_l2_passes_with_both_consumer_blocks_stub_marked(fixture_repo: Path) -> None
- test_l2_fails_when_stub_marker_missing · function · L178-L189 — def test_l2_fails_when_stub_marker_missing(fixture_repo: Path) -> None
- test_l3_passes_when_backpointer_present · function · L195-L197 — def test_l3_passes_when_backpointer_present(fixture_repo: Path) -> None
- test_l3_fails_when_backpointer_missing · function · L200-L208 — def test_l3_fails_when_backpointer_missing(fixture_repo: Path) -> None
- test_l4_passes_when_pre_screened_template_present · function · L214-L216 — def test_l4_passes_when_pre_screened_template_present(fixture_repo: Path) -> None
- test_l4_fails_when_pre_screened_template_missing · function · L219-L225 — def test_l4_fails_when_pre_screened_template_missing(fixture_repo: Path) -> None
- test_l5_passes_with_all_four_iron_rule_titles · function · L231-L233 — def test_l5_passes_with_all_four_iron_rule_titles(fixture_repo: Path) -> None
- test_l5_fails_when_iron_rule_title_missing · function · L236-L244 — def test_l5_fails_when_iron_rule_title_missing(fixture_repo: Path) -> None
- test_l6_passes_with_all_steps_and_cases · function · L250-L252 — def test_l6_passes_with_all_steps_and_cases(fixture_repo: Path) -> None
- test_l6_fails_when_case_marker_missing · function · L255-L261 — def test_l6_fails_when_case_marker_missing(fixture_repo: Path) -> None
- test_l6_distinguishes_case_b_from_case_b_prime · function · L264-L279 — def test_l6_distinguishes_case_b_from_case_b_prime(fixture_repo: Path) -> None
- test_l7_passes_with_all_nine_line_markers · function · L285-L287 — def test_l7_passes_with_all_nine_line_markers(fixture_repo: Path) -> None
- test_l7_fails_when_skipped_marker_missing · function · L290-L298 — def test_l7_fails_when_skipped_marker_missing(fixture_repo: Path) -> None
- test_l7_fails_when_citation_keys_marker_missing · function · L301-L329 — def test_l7_fails_when_citation_keys_marker_missing(fixture_repo: Path) -> None
- test_l7_fails_when_f4_inline_anchors_missing · function · L332-L351 — def test_l7_fails_when_f4_inline_anchors_missing(fixture_repo: Path) -> None
- test_l7_fails_when_zero_hit_anchor_missing · function · L354-L370 — def test_l7_fails_when_zero_hit_anchor_missing(fixture_repo: Path) -> None
- test_l7_marker_check_is_scoped_to_fenced_template · function · L373-L407 — def test_l7_marker_check_is_scoped_to_fenced_template(fixture_repo: Path) -> None
- test_l7_fails_when_truncation_prose_missing · function · L410-L420 — def test_l7_fails_when_truncation_prose_missing(fixture_repo: Path) -> None
- test_l8_passes_pr_a_with_caveat_remaining · function · L426-L429 — def test_l8_passes_pr_a_with_caveat_remaining(fixture_repo: Path) -> None
- test_l8_fails_pr_a_when_caveat_retired_prematurely · function · L432-L439 — def test_l8_fails_pr_a_when_caveat_retired_prematurely(fixture_repo: Path) -> None
- test_l8_passes_pr_b_with_caveat_retired_and_backpointer · function · L442-L493 — def test_l8_passes_pr_b_with_caveat_retired_and_backpointer(fixture_repo: Path) -> None
- test_l8_fails_invalid_third_state_strategist_only · function · L496-L514 — def test_l8_fails_invalid_third_state_strategist_only(fixture_repo: Path) -> None
- test_l8_fails_duplicate_basename_with_different_path · function · L517-L545 — def test_l8_fails_duplicate_basename_with_different_path(fixture_repo: Path) -> None
- test_l8_fails_when_path_diverges_from_canonical · function · L548-L575 — def test_l8_fails_when_path_diverges_from_canonical(fixture_repo: Path) -> None
- test_l8_fails_invalid_third_state_extra_unknown · function · L578-L597 — def test_l8_fails_invalid_third_state_extra_unknown(fixture_repo: Path) -> None
- test_l9_passes_when_bad_good_pair_present · function · L603-L605 — def test_l9_passes_when_bad_good_pair_present(fixture_repo: Path) -> None
- test_l9_fails_when_good_marker_missing · function · L608-L614 — def test_l9_fails_when_good_marker_missing(fixture_repo: Path) -> None
- test_integration_lint_passes_against_real_repo · function · L620-L632 — def test_integration_lint_passes_against_real_repo() -> None