Expand description
Results: per-test results, the suite summary and gate, and the JSON, JUnit XML and terminal renderings.
The JSON report (--output results.json) is versioned by
REPORT_SCHEMA_VERSION; fields are only ever added within a version.
Version 2 renamed repeat to trial and added per-case trial statistics,
calibration and baseline sections, judge records and excluded results;
version 1 reports still load as baselines (crate::baseline::Baseline).
Structs§
- Case
Summary - One test case over its trials.
- Eval
Report - The full report (
--output results.json). - Gate
Result - The gate verdict.
- Latency
Summary - Latency distribution over the tests, in milliseconds.
- Metric
Summary - Aggregate of one metric (an assertion’s
metric, else its type). - RunSummary
- What the run produced, as reported.
- Summary
- Suite-level numbers.
- Test
Result - Result of one test (one repetition of one test case).
- Trial
Summary - pass@k and pass^k over the test cases (
--trials). - Workflow
Info - The workflow under test.
Enums§
- Test
Status - Verdict of one test.
Constants§
- REPORT_
SCHEMA_ VERSION - Version of the JSON report format.
Functions§
- case_
summaries - Group results by test id (suite order) into per-case trial statistics.
- format_
result_ line - One terminal line for a finished test, e.g.
PASS greets-ada 3 ms 1.00. - format_
summary - The closing summary block: metrics, trials, calibration, the baseline comparison and totals with the gate verdict.
- trial_
summary - Means of pass@k and pass^k over
cases. - xml_
escape - Escape text for XML attributes and character data (control characters other than tab and newlines are dropped: XML 1.0 cannot represent them).