MCPcopy Create free account
hub / github.com/IBM/AssetOpsBench / write_report

Function write_report

src/evaluation/report.py:141–145  ·  view source on GitHub ↗
(report: EvalReport, output: Path)

Source from the content-addressed store, hash-verified

139
140
141def 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
148def write_reports_dir(report: EvalReport, reports_dir: Path) -> Path:

Callers 1

Calls

no outgoing calls

Tested by 1