← Về thư mục
scripts/check_v3_10_policy.py
- ParsedMarker · class · L100-L162 — class ParsedMarker
- init · method · L103-L120 — def init(self, *, slug, base_status, advisory_suffix, terminal, severity, policy, reason, mode, policy_hash, unknown_tokens=None, terminal_blocks=None)
- terminal_block_count · method · L123-L124 — def terminal_block_count(self) -> int
- is_legacy · method · L127-L129 — def is_legacy(self) -> bool
- is_high_block · method · L132-L133 — def is_high_block(self) -> bool
- is_well_formed · method · L136-L162 — def is_well_formed(self) -> bool
- parse_ref_marker · function · L165-L175 — def parse_ref_marker(text: str) -> ParsedMarker | None
- _parse_inner · function · L178-L240 — def _parse_inner(inner: str) -> ParsedMarker | None
- iter_ref_markers · function · L243-L250 — def iter_ref_markers(text: str)
- any_marker_triggers_refusal · function · L253-L257 — def any_marker_triggers_refusal(text: str) -> bool
- marker_triggers_refusal · function · L260-L267 — def marker_triggers_refusal(text: str) -> bool
- check_entry_schema · function · L274-L326 — def check_entry_schema(entry_schema: dict[str, Any]) -> list[str]
- check_terminal_policies_schema · function · L329-L367 — def check_terminal_policies_schema(tp_schema: dict[str, Any]) -> list[str]
- _extract_section · function · L374-L388 — def _extract_section(text: str, header: str) -> str
- _strict_promotion_sentence · function · L391-L404 — def _strict_promotion_sentence(section: str) -> str | None
- check_finalizer_prompt · function · L407-L500 — def check_finalizer_prompt(orchestrator_text: str) -> list[str]
- check_formatter_prompt · function · L503-L568 — def check_formatter_prompt(formatter_text: str) -> list[str]
- check_laundering_guard_doc · function · L571-L581 — def check_laundering_guard_doc(entry_schema: dict[str, Any]) -> list[str]
- assert_venue_type_source_clean · function · L584-L599 — def assert_venue_type_source_clean(value: str, provenance: str) -> list[str]
- _load_json · function · L606-L608 — def _load_json(path: Path) -> dict[str, Any]
- main · function · L611-L649 — def main() -> int