← Về thư mục
scripts/check_v3_6_8_pattern_protection.py
- _run_git · function · L73-L82 — def _run_git(args: list[str], cwd: Path = REPO_ROOT) -> tuple[int, str, str]
- _resolve_default_branch · function · L85-L101 — def _resolve_default_branch() -> tuple[str | None, str | None]
- _ensure_full_clone · function · L104-L125 — def _ensure_full_clone() -> str | None
- _v3_6_7_base_commit · function · L128-L145 — def _v3_6_7_base_commit() -> tuple[str | None, str | None]
- _detect_pr_base_ref · function · L148-L164 — def _detect_pr_base_ref() -> str | None
- _v3_6_7_manifest_unchanged_in_pr · function · L167-L263 — def _v3_6_7_manifest_unchanged_in_pr() -> tuple[bool, str | None]
- _strip_file_bom · function · L266-L279 — def _strip_file_bom(file_bytes: bytes) -> bytes
- _extract_block_bytes · function · L287-L361 — def _extract_block_bytes(file_bytes: bytes) -> bytes | None
- _read_blob_at_commit · function · L364-L378 — def _read_blob_at_commit(commit: str, repo_relpath: str) -> tuple[bytes | None, str | None]
- _sha256 · function · L381-L382 — def _sha256(b: bytes) -> str
- _load_v3_6_7_manifest · function · L385-L402 — def _load_v3_6_7_manifest() -> tuple[list[str] | None, str | None]
- _load_v3_6_8_manifest · function · L405-L427 — def _load_v3_6_8_manifest() -> tuple[dict | None, str | None]
- _negation_anchored_to_verb · function · L544-L569 — def _negation_anchored_to_verb(block: str, verb_pos: int) -> bool
- _find_all_two_layer_block_positions · function · L588-L613 — def _find_all_two_layer_block_positions(text: str) -> list[int]
- _find_drift_titles · function · L616-L630 — def _find_drift_titles(text: str) -> list[tuple[int, str]]
- _find_canonical_h2_position · function · L633-L645 — def _find_canonical_h2_position(text: str) -> int | None
- _extract_two_layer_block · function · L648-L670 — def _extract_two_layer_block(text: str) -> tuple[str | None, int | None, int | None]
- _split_into_sentences · function · L673-L687 — def _split_into_sentences(block: str) -> list[str]
- check_step3a_invariants · function · L690-L826 — def check_step3a_invariants(verbose: bool = True) -> int
- check_byte_equivalence · function · L829-L930 — def check_byte_equivalence(verbose: bool = True) -> int
- main · function · L933-L937 — def main() -> int