Evidence platform and governance
ADR-0045 — A specification comparison is an object, and its verdict is arithmetic
- Repository path
- docs/decisions/ADR-0045-requirement-level-comparison-is-an-object.md
- Size · SHA-256
- 4.7 KB · 0b5798f197a8394ae275d9479a3d624c2d41c7e2c038f1c96ebefc561a60cbb7
Status: Accepted · Date: 2026-09-10 · Phase: 33 Supersedes: Decision 2 of ADR-0044. Decision 1 of ADR-0044 stands unchanged.
Context
ADR-0044 refused to build a compliance object, and gave a reason that was true at the time:
the corpus held exactly one comparison, its answer was NOT_COMPARABLE, and zero of six
requirements were evaluable. A schema whose only instance cannot be computed is built from an
intention rather than from data.
That condition has changed, and it changed with evidence rather than with appetite. Phase 33 holds a measured solid vanadium pentoxide — 99.05 % V₂O₅ by an assay method, six impurity terms by X-ray fluorescence — against three specifications issued by a producer of that compound. Two requirements are decided, four are not, and the four divide into two different kinds of undecided. None of that fits in a sentence.
Decision 1 — the comparison is an internal record, not an Entity and not a claim
speccomparison:* under data/internal/specification-comparisons/. Not an Entity, because
nothing in the world corresponds to it: it is an act this corpus performed. INTERNAL, and
enforced as such, because product X does not meet grade Y is a sentence that travels badly
without every caveat attached to it.
A claim was tried first, as ADR-0044 required. It fails on the shape of the data: six requirements each carrying a parameter, a comparator, a limit, a basis, a measured value, a bound, a measured basis, a result and a reason cannot live inside a text field without inventing structure in prose — which is the thing this corpus refuses everywhere else.
Decision 2 — no field may state a verdict; the verdict is recomputed
overallStatus exists, and nothing may write to it that the gate does not confirm. The gate
recomputes it from the requirement results on every run:
| condition | derived |
|---|---|
any mandatory requirement DOES_NOT_SATISFY |
DOES_NOT_MEET |
| every mandatory requirement decided, all satisfy | MEETS |
| some decided, none fail, some mandatory undecided | PARTIAL_SATISFACTION_WITH_GAPS |
| none decided | NOT_COMPARABLE |
TYPICAL_AS_REPORTED requirements are excluded on both sides: a typical value defines nothing
and decides nothing.
Each requirement result is recomputed too, from the limit, the measurement, their bases and the
bound. A hand-written MEETS over a failing requirement is caught. So is a softened copy of the
issuer's own limit, a non-detect whose detection bound sits above the limit it is claimed to
satisfy, and a measured value with no claim behind it.
Decision 3 — basis is structure
MEASUREMENT_BASES makes element-versus-oxide, solution-versus-solid and
sum-of-analytes-versus-one-analyte into machine-checkable facts. Bases must be equal, not
merely of the same family: an element limit and an oxide measurement are both mass fractions
and are still different quantities.
This decided a real case rather than a hypothetical one. The issuer limits elemental sodium and
elemental potassium at 0.02 % each; the paper reports one combined figure, Na₂O + K₂O = 0.74 %.
Two independent blocks, either alone sufficient — different basis, and a sum that no arithmetic
divides into its parts. Converting the whole 0.74 % as though it were one oxide gives an upper
bound, and an upper bound above a maximum proves nothing in either direction. The result is
NOT_COMPARABLE, and deliberately not UNKNOWN: something was measured. It is simply not
this quantity.
What this does not decide
Comparison type is not promoted to first-class. comparisonType is a field on the
comparison and the issuer class stays on the specification, because they answer different
questions: a producer's specification (issuer) may serve as a benchmark (comparison). The gate
refuses GOVERNING_COMPLIANCE whenever the specification governs a different material object
than the one compared, which is the only part of applicability that code can see.
MaterialChain reachability is untouched. Phase 33 produced no third case of known downstream, unknown middle — the comparison hangs off a ProcessRoute whose steps are complete, not off a chain with a gap. The count stands at two, one of which is not in a chain at all, and the model is not changed on that.
Consequences
- One route, three comparisons, eighteen requirement assessments, two decisive results.
MEETSis now reachable in principle and unreachable by assertion.- ADR-0044's compliance claim on Otanmäki stays exactly where it is:
NOT_COMPARABLE, zero of six, unsuperseded. It was right about its own case and remains so.