L13 Mixed Q6 · Do our tests test anything

E22: which spec rules does the test vector actually exercise?

QuestionIf we deliberately break one rule of our own spec, does the official test notice?

Archived research (2026-10), development paused. This lab belongs to the CIS-2 line of research.

Run by us; no unaffiliated reproduction

The test in one picture

Question, method, result and meaning, in plain words. The sourced detail is further down the page.

E22: which spec rules does the test vector actually exercise?: the test explained in one pictureQuestion: If we deliberately break one rule of our own spec, does the official test notice? How we tested: 1. Make 16 single-rule breaks (mutations) of the C verifier. 2. Build and run each against the pinned test vector on one machine. 3. Add unbroken builds at four optimisation levels as controls. 4. Count a rule as exercised if breaking it moves the digest. What we found (Mixed): 12 of 16 breaks caught. 12 of 16 mutations moved the digest, 3 did not and 1 was skipped. The tie-break rule is never reached by this vector. One 'no effect' row (M16) was a vacuous edit that tested nothing; we corrected it in place. Unbroken builds matched at all four optimisation levels. What it means: A passing test does not prove every rule matters. A rule the vector cannot detect is untested, not unnecessary. One compiler, one machine, one 135M model, one short prompt.L13MIXEDE22: which spec rules does the test vector actually exercise?1 · THE QUESTIONIf wedeliberatelybreak one rule ofour own spec,does the officialtest notice?WHY IT MATTERSA passing test only meanssomething if breaking therules makes it fail. Webroke our own rules to seehow much the test notices.2 · HOW WE TESTED IT1Make 16 single-rule breaks(mutations) of the Cverifier.2Build and run each againstthe pinned test vector on onemachine.3Add unbroken builds at fouroptimisation levels ascontrols.4Count a rule as exercised ifbreaking it moves the digest.3 · WHAT WE FOUNDMIXED12 of 16breaks caught12 of 16 mutations moved thedigest, 3 did not and 1 wasskipped. The tie-break ruleis never reached by thisvector. One 'no effect' row(M16) was a vacuous edit thattested nothing; we correctedit in place. Unbroken buildsmatched at all fouroptimisation levels.4 · WHAT IT MEANSA passing test doesnot prove every rulematters. A rule thevector cannot detectis untested, notunnecessary. Onecompiler, onemachine, one 135Mmodel, one shortprompt.Like testing a smoke alarm with 16 kinds of fire: it sounded for 12, stayed silent for 3, and 1 was not tried.aefinityai.com/labs/e22-necessity-matrix/Run by us; no unaffiliated reproductionE22: which spec rules does the test vector actually exercise?: the test explained in one pictureQuestion: If we deliberately break one rule of our own spec, does the official test notice? How we tested: 1. Make 16 single-rule breaks (mutations) of the C verifier. 2. Build and run each against the pinned test vector on one machine. 3. Add unbroken builds at four optimisation levels as controls. 4. Count a rule as exercised if breaking it moves the digest. What we found (Mixed): 12 of 16 breaks caught. 12 of 16 mutations moved the digest, 3 did not and 1 was skipped. The tie-break rule is never reached by this vector. One 'no effect' row (M16) was a vacuous edit that tested nothing; we corrected it in place. Unbroken builds matched at all four optimisation levels. What it means: A passing test does not prove every rule matters. A rule the vector cannot detect is untested, not unnecessary. One compiler, one machine, one 135M model, one short prompt.L13MIXEDE22: which spec rules does thetest vector actually exercise?1 · THE QUESTIONIf we deliberately break one ruleof our own spec, does the officialtest notice?WHY IT MATTERSA passing test only means something ifbreaking the rules makes it fail. We brokeour own rules to see how much the testnotices.2 · HOW WE TESTED IT1Make 16 single-rule breaks (mutations)of the C verifier.2Build and run each against the pinnedtest vector on one machine.3Add unbroken builds at fouroptimisation levels as controls.4Count a rule as exercised if breakingit moves the digest.3 · WHAT WE FOUNDMIXED12 of 16 breakscaught12 of 16 mutations moved the digest, 3 didnot and 1 was skipped. The tie-break ruleis never reached by this vector. One 'noeffect' row (M16) was a vacuous edit thattested nothing; we corrected it in place.Unbroken builds matched at all fouroptimisation levels.4 · WHAT IT MEANSA passing test does not prove every rulematters. A rule the vector cannot detect isuntested, not unnecessary. One compiler,one machine, one 135M model, one shortprompt.Like testing a smoke alarm with 16 kinds offire: it sounded for 12, stayed silent for 3,and 1 was not tried.aefinityai.com/labs/e22-necessity-matrix/

The same picture, in words

Question
If we deliberately break one rule of our own spec, does the official test notice?
Why it matters
A passing test only means something if breaking the rules makes it fail. We broke our own rules to see how much the test notices.
How the test works
  1. Make 16 single-rule breaks (mutations) of the C verifier.
  2. Build and run each against the pinned test vector on one machine.
  3. Add unbroken builds at four optimisation levels as controls.
  4. Count a rule as exercised if breaking it moves the digest.
What we found
12 of 16 breaks caught. 12 of 16 mutations moved the digest, 3 did not and 1 was skipped. The tie-break rule is never reached by this vector. One 'no effect' row (M16) was a vacuous edit that tested nothing; we corrected it in place. Unbroken builds matched at all four optimisation levels.
What it means
A passing test does not prove every rule matters. A rule the vector cannot detect is untested, not unnecessary. One compiler, one machine, one 135M model, one short prompt.
Everyday comparison
Like testing a smoke alarm with 16 kinds of fire: it sounded for 12, stayed silent for 3, and 1 was not tried.
Where the facts come from

Share this picture: SVG · PNG (1200 x 630)

01Why it matters

A passing test only means something if breaking the rules makes it fail. We broke our own rules to see how much the test notices.

02Method, step by step

  1. Make 16 single-rule mutations of the C verifier.
  2. Build and run each against the pinned vector on one host.
  3. Include unmutated builds at four optimisation levels as controls.
  4. Count a rule as exercised if breaking it moves the digest.

Method as recorded

Sixteen single-clause mutations of the C verifier (CIS-2 v0.3b), each built and run against the pinned test vector (a single 4-token prompt on a 135M checkpoint with head_dim = 64) on one host (an Intel i5-5200U machine, gcc 14.2.0), plus unmutated builds at four optimisation levels as positive controls. A clause counts as exercised if breaking it moves the witness digest. Run by us; one machine, one compiler.

03Results, exact and sourced

16 single-rule mutations of the spec: did the digest move?
  • 12 Digest moved
  • 3 Digest unchanged
  • 1 Declared skipped

Digest moved: 12; Digest unchanged: 3; Declared skipped: 1

Each square is one mutation. Unchanged rows include the tie-break, which the vector never reaches, and a vacuous mutation the authors corrected. Figure drawn from the sourced results below.

  1. R112 of 16 mutations moved the digest, 3 did not, 1 was declared skipped (M07, skipped by the leg).

    **12 of 16 mutations moved the digest. 3 did not. 1 was declared skipped.**

    Verbatim source cis2-spec / E22_NECESSITY_MATRIX.md
  2. R2The argmax tie-break rule (M15, section 11) is not exercised by this vector because no tie occurs in any of its 16 argmaxes over a 49152-wide fp32 logit vector. The source says the clause is correct and necessary in general and that the vector never reaches the branch.

    **M15** | **§11 argmax tie-break** | **SAME** | **not exercised**

    Verbatim source cis2-spec / E22_NECESSITY_MATRIX.md
  3. R3Correction by the authors: the M16 row (attention scale via pinned rsqrt) was a vacuous mutation, because it substituted the function for its own body, so it tested nothing. The first published explanation (head_dim = 64 is a perfect square) was withdrawn as a rationalisation.

    **VACUOUS MUTATION — see correction below**

    Verbatim source cis2-spec / E22_NECESSITY_MATRIX.md
  4. R4A rule that can be broken without effect on the digest is untested by this vector, not redundant. This is a statement about the conformance suite, not the spec.

    A clause that can be broken with no observable effect is not thereby redundant

    Verbatim source cis2-spec / E22_NECESSITY_MATRIX.md
  5. R5Unmutated builds reproduced the baseline digest at four optimisation levels (O0, O1, O3, Os). Scope is this compiler on this host only.

    -O0 / -O1 / -O3 / -Os → d82743059d… SAME

    Verbatim source cis2-spec / E22_NECESSITY_MATRIX.md

04What it does NOT show

That a rule is redundant just because the vector does not exercise it. Also not shown: any result on another compiler or machine.

05Scope and caveats

  • One compiler (gcc 14.2.0), one machine (i5-5200U), one 4-token prompt on one 135M checkpoint with head_dim = 64. The source says the silence is a property of this vector, not of the spec.
  • Run by us; no unaffiliated reproduction.
  • M01 (section 1.3 FTZ/DAZ pin) was revised after the first run by E38, E39 (erratum E-12) and E40 (erratum E-13). Its null is now explained: no denormal arises anywhere in the decode on the two checkpoints tested (E40 counted 562,531,070,920 intermediates, 0 subnormal). The clause is untriggered here, not unnecessary, and there is still no end-to-end necessity witness. The spec guards it separately: section 15 item 4 requires its self-test to pass independently of the digest.
  • M07 (section 6.1) was skipped, so it is neither a hit nor a miss.
  • The M16 correction and rsqrt route table were measured on a different host (a ChromeOS Crostini VM, gcc -O2) than the main matrix. The source says the section 6.1 check rsqrt(64.0) == 0.125 cannot discriminate between implementations. Op-level goldens for rsqrt and the tie-break were added later in cis2-verify (follow-up items 2 and 3 marked done).
  • The source reports no timing figures from this run.

06Outcome

Mixed

Some parts held, some did not, or we corrected ourselves.

07What we learned

Passing the published test does not prove every rule matters. 12 of 16 single-rule breaks were caught. The tie-break and the denormal-flush pin are protected only by inputs this vector never contains. One of our own null results turned out to be a vacuous edit that tested nothing, and we corrected it in place. Correcting it exposed a weak spot in the spec's own rsqrt check, which tests only a value where every implementation agrees.

08Check it yourself

Read the matrix page and the corrections inside it (link above).