Expand description
The committed reports, held to a run and to the accepted census: the check cargo xtask validate --check makes.
check takes a run of every case (crate::run_lock) and fails unless
- every scored metric is within its tolerance;
- the run reproduces the committed report,
validation/reports/latest.{md,json}, to the digits the platforms share (Report::reproduces); and - the committed reports hold to the accepted census,
validation/reports/census.json, and every file written from it is what it writes (check_census; the census’s decision record, ADR-084).
The census is checked whether or not the run reproduces, so a report that fails both says so.
Structs§
- Census
Check - The committed reports against the accepted census.
- Checked
- A run held to the committed reports.
Enums§
- NotReproduced
- Why a run doesn’t reproduce the committed report.
Constants§
- BADGES
- Where the badges go.
- BEGIN
- The line that opens the census table in each of
TABLES. - CENSUS_
JSON - The accepted census.
- CENSUS_
MD - Its page.
- CENSUS_
MISSING_ HINT - What to do when the accepted census is missing: the hint that ends that refusal’s message.
- CENSUS_
URL - Its page on GitHub, which the tables link to: the README and the site read it at one address.
- END
- The line that closes it.
- LATEST_
JSON - The harness’s committed report, JSON.
- LATEST_
MD - The harness’s committed report, Markdown.
- REPORT_
HINT - What to do when the committed report is not this run’s.
- TABLES
- The files that show the census table, between
BEGINandEND.
Functions§
- census_
changes - The differences between the committed reports and the accepted census; every row is added when none is accepted yet.
- census_
outputs - Every file the accepted census writes, with its text, by its path from
root. - change_
lines - A line per change, and a summary: what
cargo xtask censusprints. - check
- Holds
report, a run of every case, to the reports committed underroot. - check_
census - The committed reports under
rootagainst the accepted census, and the files written from it. - read_
accepted - The accepted census, or
Noneif none is committed. - splice
textwith what lies fromBEGINtoENDreplaced byblock.- stale
- The outputs whose committed text, as
readgives it, isn’t what the census writes. - take_
census - The census of the reports committed under
root.