interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / research / atemporal / at0 / evaluator / FAILURE_TAXONOMY.md

170 lines · 9842 bytes Raw Blame History Rendered
1# AT-0 Agent 4 failure taxonomy
2
3Three layers of classification are used, and they are never mixed.
4
51. **Case refusal codes** (AT0_CASE_V1 section 5, closed set): what the
6 independent codec says about a case file. `CASE_PARSE_ERROR`,
7 `CASE_NONCANONICAL`, `CASE_UNSUPPORTED_VERSION`, `CASE_INVALID_PARAMETER`,
8 `CASE_IRRATIONAL_SPECTRUM`, `CASE_ID_MISMATCH`, applied in that order.
92. **Physics failure codes** (AT0_RESULT V1/V2, closed set): what the ten
10 checks say about the physics of a run. `TRIVIAL_PHYSICAL_STATE`,
11 `POVM_NORMALIZATION_EXCEEDED`, `PROBABILITY_SUM_EXCEEDED`,
12 `PROBABILITY_OUT_OF_RANGE`, `SCHRODINGER_DEVIATION_EXCEEDED`,
13 `CONSTRAINT_RESIDUAL_EXCEEDED`, `BOUND_KIND_INSUFFICIENT`,
14 `PRECISION_INSUFFICIENT`, `CONDITIONAL_UNDEFINED`, `NONFINITE_VALUE`. The
15 evaluator re-derives this set itself and compares it with the reported set.
163. **Evaluator findings** (`E4-*`, this document): what the evaluator says
17 about a result file. A finding is a defect in the record or in the
18 implementation that produced it, never a statement about physics.
19
20A negative control that fails with exactly its expected physics codes is a
21PASS for the evaluator (the implementation detected the defect). A physically
22different model is one whose honest record carries different physics codes;
23an incorrect implementation is one whose record carries `E4-*` findings. The
24two are reported separately and never collapsed into one verdict.
25
26## Evaluator statuses
27
28| status | meaning |
29|---|---|
30| PASS | every recomputation and re-derivation agrees with the record; no finding |
31| FAIL | at least one finding of FAIL severity: the record is wrong, forged, mismatched or physically contradicted |
32| INCONCLUSIVE | only INCONCLUSIVE-severity findings: the record cannot be cited (dirty tree, unverified contract commit) or the evaluator could not form its own opinion (shadow unavailable) |
33| NOT_RUN | the test exists but was not executed in this run |
34| BLOCKED_NO_CANDIDATE | the test needs a candidate hook that was not supplied |
35
36UNISOLATED is a property of the whole qualification run (ISOLATION_REPORT.md),
37not a test status, and it is printed in `results/qualification.json` as such.
38
39## Finding codes
40
41Severity: F = FAIL, I = INCONCLUSIVE. Any F finding makes the result FAIL.
42
43### Structure of the result file (E4-STRUCT-, F)
44
45| code | meaning |
46|---|---|
47| E4-STRUCT-UNREADABLE | result file cannot be read |
48| E4-STRUCT-BYTES | a byte rule is violated (non-ASCII, CR, blank line, leading/trailing/double space, missing final LF) |
49| E4-STRUCT-VERSION | header, domain or contract line is not an AT0_RESULT v1/v2 triple that agrees with itself |
50| E4-STRUCT-ORDER | a line is out of the fixed order or a required line is missing |
51| E4-STRUCT-TRUNCATED | file ends before the required lines |
52| E4-STRUCT-TRAILING | bytes after the final `end` |
53| E4-STRUCT-PARSE | a line does not parse in its required shape |
54| E4-STRUCT-ENCODING | a value, bound or digest is not in canonical encoding (non-canonical hex, scaled decimal, NaN/inf, negative zero) |
55| E4-STRUCT-CASE-SHAPE | the embedded case block is not shaped as AT0_CASE_V1 |
56| E4-STRUCT-CASE-REFUSED | the embedded case is refused by the independent codec |
57| E4-STRUCT-ERROR-CODE | the error code is not in the closed set or disagrees with the outcome |
58| E4-STRUCT-UNDEFINED-TOKEN | `undefined` on constraint_residual, povm_residual, a clock_probability or a reference while the kernel is nontrivial (pauli `undefined` is governed by the label status rules below) |
59| E4-STRUCT-TRIVIAL-KERNEL-SHAPE | the kernel is trivial but the values block is not in the trivial-kernel shape |
60| E4-STRUCT-UNDEFINED-ON-DEFINED | `undefined` is used for a label that is physically defined |
61| E4-STRUCT-VALUE-ON-UNDEFINED | a number is reported for a label that is undefined |
62| E4-STRUCT-POVM-UNDEFINED | povm_residual is `undefined` (it is always real) |
63| E4-STRUCT-REFERENCE-UNDEFINED | a reference probability is `undefined` (it is always real) |
64| E4-STRUCT-RESIDUAL-ON-TRIVIAL | constraint_residual carries a value in the trivial-kernel shape |
65
66### Digests and identities (E4-ID-, F)
67
68| code | meaning |
69|---|---|
70| E4-ID-CASE | recomputed case_id or acceptance_id differs from the embedded one |
71| E4-ID-VERDICT | recomputed verdict_id differs (verdict block altered after signing, or wrong tag) |
72| E4-ID-EVIDENCE | recomputed evidence_digest differs (any line above it altered) |
73
74### Binding to the supplied case file (E4-BIND-, F)
75
76| code | meaning |
77|---|---|
78| E4-BIND-CASE-UNREADABLE | the `--case` file cannot be read |
79| E4-BIND-CASE-REFUSED | the `--case` file is refused by the independent codec |
80| E4-BIND-CASE-FILE | reported case_file_sha256 differs from the supplied file's digest |
81| E4-BIND-CASE-ID | embedded case_id differs from the supplied case's |
82| E4-BIND-ACCEPTANCE-ID | embedded acceptance_id differs from the supplied case's |
83| E4-BIND-SEMANTIC-BLOCK | embedded semantic block differs from the supplied case's (same id claimed for different physics) |
84| E4-BIND-ACCEPTANCE-BLOCK | embedded acceptance block differs (tolerances or expected codes altered) |
85| E4-BIND-CASE-NAME | embedded case name differs |
86
87### Checks, outcome, codes (F)
88
89| code | meaning |
90|---|---|
91| E4-CHECK-MISMATCH | a check verdict differs from the exact re-derivation (named check, reported vs derived) |
92| E4-OUTCOME-MISMATCH | outcome differs from the re-derived outcome |
93| E4-CODES-MISMATCH | failure_codes differ from the re-derived set (missing, extra, unsorted, duplicate) |
94| E4-EXPECTATION-MISMATCH | expectation_met differs from the comparison of derived codes with the case's expected codes |
95| E4-LABEL-STATUS | a label status (DEFINED/UNDEFINED) disagrees with the exact kernel analysis |
96
97### Bounds (E4-BOUND-, F)
98
99| code | meaning |
100|---|---|
101| E4-BOUND-NONE-NONZERO | bound_kind NONE with a non-zero bound |
102| E4-BOUND-CLAIM-FALSE | a reported value differs from the shadow by more than its stated bound plus the shadow's bound: the bound claim is false |
103
104### Shadow oracle disagreement (E4-SHADOW-, F except where noted)
105
106| code | meaning |
107|---|---|
108| E4-SHADOW-KERNEL-DIM | reported kernel_dim differs from the exact one |
109| E4-SHADOW-POVM | povm_residual contradicts the shadow (exact identity expected but non-zero reported, or vice versa beyond bounds) |
110| E4-SHADOW-CLOCK-PROB | a clock probability contradicts the shadow |
111| E4-SHADOW-PAULI | a Pauli probability contradicts the shadow (named label and axis) |
112| E4-SHADOW-REFERENCE | a reference probability contradicts the shadow |
113| E4-SHADOW-UNAVAILABLE (I) | the shadow could not be computed for this case; the evaluator has no opinion on the values |
114
115### Provenance and placeholders
116
117| code | sev | meaning |
118|---|---|---|
119| E4-PLACEHOLDER-SHAPE | F | a run that did not complete has values where placeholders are required, or vice versa |
120| E4-PROV-NONE-IN-COMPLETED-RUN | F | `none` provenance token in a completed run |
121| E4-PROV-ORACLE-IS-ENGINE | F | oracle digest equals engine digest: the reference was produced by the thing under test |
122| E4-TIME-ORDER | F | end time precedes start time, or times are not UTC in the required form |
123| E4-PROV-CONTRACT-UNVERIFIED | I | contract_commit is not a commit verified to hold the frozen contract bytes; record not citable until verified |
124| E4-PROV-DIRTY | I | source_tree_clean NO; record may not be cited for a gate |
125
126## Mutant to finding map (red before green)
127
128| planted defect | caught by | discriminating cases |
129|---|---|---|
130| axis_swap | E4-SHADOW-PAULI | KAT, P1e, P2 |
131| y_sign_swap | E4-SHADOW-PAULI | KAT, P1e |
132| conjugate_bug | E4-SHADOW-PAULI (Y) | KAT, P1e, P1g (blind: P1f) |
133| reversed_reference | E4-SHADOW-REFERENCE (Y) | KAT, P1e, P1g (blind: P2) |
134| dephased_state | E4-SHADOW-PAULI, E4-CHECK-MISMATCH | KAT |
135| wrong_weight_hidden | E4-SHADOW-CLOCK-PROB, E4-CHECK-MISMATCH | N4, N4b (blind: KAT) |
136| hardcoded_table | E4-SHADOW-* | P1b, P1c, P1d (blind: KAT, P2b) |
137| kernel_dim_wrong | E4-SHADOW-KERNEL-DIM | KAT |
138| residual_over_bound | E4-CHECK-MISMATCH | KAT |
139| nonfinite_hidden | E4-STRUCT-ENCODING or E4-CHECK-MISMATCH | KAT |
140| verdict_forged | E4-CHECK-/OUTCOME-/CODES-MISMATCH | N1, N2, N3, N6, N7 (blind: KAT) |
141| evidence_corrupt | E4-ID-EVIDENCE | KAT |
142| verdict_id_corrupt | E4-ID-VERDICT | KAT |
143| case_id_altered | E4-ID-CASE, E4-BIND-CASE-ID | KAT |
144| tolerance_altered | E4-BIND-ACCEPTANCE-BLOCK, E4-ID-CASE | KAT |
145| binding_rebound | E4-BIND-* | KAT |
146| contract_commit_wrong | E4-PROV-CONTRACT-UNVERIFIED (I) | KAT |
147| dirty_tree | E4-PROV-DIRTY (I) | KAT |
148| times_reversed | E4-TIME-ORDER | KAT |
149| oracle_is_engine | E4-PROV-ORACLE-IS-ENGINE | KAT |
150| bound_none_nonzero | E4-BOUND-NONE-NONZERO | KAT |
151| label_status_wrong | E4-LABEL-STATUS | KAT (blind: N7, labels already UNDEFINED) |
152| label_claimed_defined | E4-LABEL-STATUS | N7 (blind: KAT, labels already DEFINED) |
153| placeholder_with_values | E4-PLACEHOLDER-SHAPE | KAT |
154| crlf | E4-STRUCT-BYTES | KAT |
155| trailing_space | E4-STRUCT-BYTES | KAT |
156
157Blind pairs are listed in `run.sh` and reported INCONCLUSIVE with the reason
158"indistinguishable from truth on this case by construction" so that the
159coverage gap is visible in the machine-readable results rather than hidden.
160
161## Additions after independent review (Opus 5.5, 2026-10-09)
162
163| code | sev | meaning |
164|---|---|---|
165| E4-UNBOUND-NO-CASE-FILE | I | `result` was run without `--case`; the embedded case is trusted, so the verification is not citable |
166
167Mutant grading rule: a planted defect counts as caught only when the evaluator
168grades the mutant file FAIL. INCONCLUSIVE, a crash or an empty status is an
169escape. The two mutants that are INCONCLUSIVE by design (dirty tree, unknown
170contract commit) are tested separately for exactly that status.