readReport()
readReport(
text,label):EvalReportV1
Defined in: eval/src/compare.ts:101
Parse a report file and check what a comparison reads: the schema URL, suites with names, dataset hashes, models with a pass rate and p95 latency, and cases with an id and a status. Names, model refs and case ids must be unique. The error names the file and the problem, never the parser message or any content.
Parameters
text
string
File content
label
string
File name shown in errors
Returns
The report
Throws
EvalError PS6701