← Về thư mục
scripts/parse_audit_verdict.py
- load_events · function · L54-L81 — def load_events(jsonl_path: str) -> list[dict]
- validate_stream_shape · function · L84-L277 — def validate_stream_shape(events: list[dict]) -> None
- extract_verdict_text · function · L280-L312 — def extract_verdict_text(events: list[dict]) -> str
- _parse_dimension · function · L393-L398 — def _parse_dimension(raw: str) -> str
- _parse_finding_line · function · L401-L440 — def _parse_finding_line(line: str) -> Optional[dict]
- parse_section6 · function · L443-L553 — def parse_section6( text: str, current_round: Optional[int] = None, ) -> tuple[dict, list[dict]]
- classify_status · function · L561-L579 — def classify_status(finding_counts: dict) -> str
- _yaml_str · function · L587-L590 — def _yaml_str(value: str) -> str
- render_verdict_yaml · function · L593-L638 — def render_verdict_yaml( run_id: str, verdict_status: str, round_num: int, target_rounds: int, finding_counts: dict, findings: list[dict], generated_at: str, ) -> str
- ParseError · class · L646-L647 — class ParseError(Exception)
- _now_rfc3339_ms · function · L655-L658 — def _now_rfc3339_ms() -> str
- _extract_run_id · function · L661-L674 — def _extract_run_id(jsonl_path: str) -> str
- cmd_probe · function · L677-L698 — def cmd_probe(jsonl_path: str) -> int
- cmd_jsonl · function · L701-L736 — def cmd_jsonl( jsonl_path: str, round_num: int, target_rounds: int, ) -> int
- build_parser · function · L739-L773 — def build_parser() -> argparse.ArgumentParser
- main · function · L776-L798 — def main() -> int