Skip to main content

Module report

Module report 

Source
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§

CaseSummary
One test case over its trials.
EvalReport
The full report (--output results.json).
GateResult
The gate verdict.
LatencySummary
Latency distribution over the tests, in milliseconds.
MetricSummary
Aggregate of one metric (an assertion’s metric, else its type).
RunSummary
What the run produced, as reported.
Summary
Suite-level numbers.
TestResult
Result of one test (one repetition of one test case).
TrialSummary
pass@k and pass^k over the test cases (--trials).
WorkflowInfo
The workflow under test.

Enums§

TestStatus
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).