This reference describes the files produced under artifacts/latest/site/.
index.htmlreport.htmlrun.jsonsnippets.jsonopenfoodfacts-data-quality-json.zip
The JSON files are the structured artifacts. The ZIP file bundles those JSON outputs for download.
index.html and report.html render the same content.
The HTML report is the review summary for one migration run.
It lists compared checks that match. It also lists compared checks with missing or extra findings, runtime only checks, and product codes in retained mismatch examples.
The page header always includes the run id and source snapshot id.
The report is a summary view. It does not inline every finding from the run.
When the source snapshot contains rows that were skipped before execution, the report also shows a source input warning with the skipped row count and example locations.
Mismatching: Checks with at least one missing or extra finding under strict comparisonMissing Findings: Findings present on the reference side and absent on the migrated sideExtra Findings: Findings present on the migrated side and absent on the reference sideAffected Products: Unique product codes that appear in retained mismatch examplesRuntime Only: Active checks with no legacy comparison baseline
Each check card includes:
- the canonical check id
- the definition language,
pythonordsl - the run outcome bucket
- matched, missing, and extra counts when comparison applies
- retained mismatch examples for each side
- implementation and legacy snippets when snippet provenance is available
If legacy source provenance is unavailable, the card still renders and explains that state in the snippet area.
Retained mismatch examples are capped by MISMATCH_EXAMPLES_LIMIT.
run.json is the canonical structured output of the
migration run model.
Use run.json for:
- process run results after execution
- build another viewer or dashboard
- diff runs programmatically
- archive one run in a stable structured format
The root payload includes kind and schema_version metadata before the run
body.
run.json contains exact run totals plus the retained mismatch examples that
fit inside the configured cap. It omits UI fields used only by the report:
run_outcome- snippet panel payloads
- snippet warning messages
The root payload also includes source_input, which records source boundary
diagnostics such as skipped-row counts and example locations.
snippets.json stores structured code excerpts keyed by check id.
It includes:
- implementation snippets from this repository
- legacy source snippets when they can be resolved
The snippet origin values are implementation and legacy.
Each check entry also includes legacy_snippet_status with one of these
values:
availablenot_applicableunavailable
Use snippets.json when you want provenance and review context without parsing
HTML.
The renderer supports compared checks and checks that run without comparison in the same run.
Strict comparison counts and mismatch examples apply only to checks with a legacy baseline. Checks that run without comparison still contribute to run composition and per check output.