Class: Ucode::Models::ValidationReport
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Ucode::Models::ValidationReport
- Defined in:
- lib/ucode/models/validation_report.rb
Overview
Post-build validation report (TODO 21 §Validation). Emitted as
output/validation-report.json by Repo::BuildValidator
after a canonical build run. Records the outcome of the four
automated validation checks:
1. `completeness` — every codepoint folder has both
`index.json` and `glyph.svg`.
2. `schema` — every `index.json` deserializes via
`Ucode::Models::CodePoint.from_hash`.
3. `provenance_sanity` — every deserialized CodePoint carries
a non-nil `glyph.source.tier`.
4. `block_coverage` — per-block built count matches the
baseline (skipped when no baseline is supplied).
The fifth TODO 21 check (sample inspection) is manual and out of scope for the automated validator.
Like BuildReport, this model is passive: the accumulation logic lives in Repo::BuildValidator; this class only describes the wire shape and handles (de)serialization.
Defined Under Namespace
Classes: CheckSummary, Failure, Totals