climate_ref.baseline_report
#
Render an HTML report of the regression baselines changed on a branch.
A mint rewrites each test case's manifest.json and uploads the curated native outputs to the
content-addressed object store.
The manifest diff therefore names every native file that changed, and both the old and the new blob
remain fetchable by digest, so the change can be reviewed without checking anything out locally.
The pipeline runs in three stages:
- :mod:
~climate_ref.baseline_report.collectreads the repository either side of the base ref, both the manifests and the committed bundle they track. - :mod:
~climate_ref.baseline_report.analysefetches native blobs and builds the diffs. - :mod:
~climate_ref.baseline_report.renderwrites the static site.
Python decides and templates place, so no module here builds HTML.
sub-packages#
| Sub-package | Description |
|---|---|
| analyse | Turn a collected report into everything the templates need. |
| collect | Read the baselines either side of a base ref and pair up everything that moved. |
| render | Write the static HTML report. |
| upload | Push a rendered report into the report store. |