(report: EvalReport, output: Path)
| 139 | |
| 140 | |
| 141 | def write_report(report: EvalReport, output: Path) -> Path: |
| 142 | output = Path(output) |
| 143 | output.parent.mkdir(parents=True, exist_ok=True) |
| 144 | output.write_text(report.model_dump_json(indent=2), encoding="utf-8") |
| 145 | return output |
| 146 | |
| 147 | |
| 148 | def write_reports_dir(report: EvalReport, reports_dir: Path) -> Path: |
no outgoing calls