Observe the condition contrast
The B condition has zero effect in the formula. Run A twice and then B twice, and the average still rises by 4 invented units. In this example, the change comes entirely from a time trend that was built into the inputs.[2][3]
We used the exact formula response = 10 + drift[slot] + effect × load_on. A means load_on = 0 and B means load_on = 1. Slots 0 through 3 are ordered positions, not clock measurements. Each schedule has two A slots and two B slots. The reported contrast is mean(B) minus mean(A).[2][3]
Compare the linear and nonlinear traces
The first drift is 0, 2, 4, 6, with an authored condition effect of 0. AABB produces responses 10, 12, 14, 16. The A mean is 11 and the B mean is 15. That contrast of 4 does not recover the supplied zero effect: the two groups also occupy different parts of the trend.[2][3]
ABBA uses the same four drift values but assigns A to slots 0 and 3, and B to slots 1 and 2. Both groups have mean slot position 3/2, so their mean drift is the same. Both response means are 13. This cancellation follows from the declared additive linear model, equal coverage and absence of carryover.[3][2]
With the authored effect changed to 3, AABB reports 7 while ABBA reports 3. Every component remains visible in the saved output. AABB has a drift contrast of 4 plus the declared effect of 3; ABBA has a drift contrast of 0 plus 3. The calculation uses fractions and does not round before comparison.[3][2]
The nonlinear counterexample matters just as much. Set drift to 0, 0, 4, 0 and the effect back to 0. Now AABB and ABBA both report 2. Balancing the mean slot position does not balance an arbitrary sequence of drift values. ABBA is a fixed order, not randomization and not a guarantee of causal identification.[3][2]
- Balance is conditional: ABBA cancels this additive linear trend because both conditions have mean slot position 3/2. It does not cancel the authored nonlinear trend.
All six main traces; four authored slots per trace in invented response units, with two rows per condition. Values are exact arithmetic, not measured durations.
| Authored scenario | Order | Responses by slot 0–3 | A mean | B mean | B − A | Declared effect |
|---|---|---|---|---|---|---|
| Linear drift; effect 0 | AABB | 10, 12, 14, 16 | 11 | 15 | 4 | 0 |
| Linear drift; effect 0 | ABBA | 10, 12, 14, 16 | 13 | 13 | 0 | 0 |
| Linear drift; effect 3 | AABB | 10, 12, 17, 19 | 11 | 18 | 7 | 3 |
| Linear drift; effect 3 | ABBA | 10, 15, 17, 16 | 13 | 16 | 3 | 3 |
| Nonlinear drift; effect 0 | AABB | 10, 10, 14, 10 | 10 | 12 | 2 | 0 |
| Nonlinear drift; effect 0 | ABBA | 10, 10, 14, 10 | 10 | 12 | 2 | 0 |
- Linear drift: 0, 2, 4, 6. Nonlinear drift: 0, 0, 4, 0. Baseline 10 in every main slot.
- The complete JSON retains every slot, condition label, drift term and effect component. No statistical interval is estimated.
Retain rows and selected controls
The main result retains all six traces and all 24 authored slots. One original standard-library invocation passed six expected arithmetic checks and eight separate selected controls. Zero drift recovers the declared effect under both schedules; adding 100 to every response leaves each contrast unchanged. A reporting control reverses only the contrast direction for fixed rows, from 7 to−7. It does not reassign condition labels or change the response model.[2][3]
Five selected refusal controls reject a missing slot, a duplicate slot, an unsupported condition label, a boolean component and a NaN component. These are narrow teaching-contract checks, not exhaustive input validation. Conditional control rows are retained separately and are not added to the 24-slot main denominator.[2][3]
- A contrast is not a causal result: AABB reports 4 when the supplied effect is 0. Every number here is designed; no physical interference was measured.
Separate the model from hardware
NIST identifies time of day as one example of a nuisance factor and discusses blocking and randomization. That is background for planning a real experiment. Our deterministic ABBA calculation is not a randomized block design, and no actual hardware observation is supplied here.[1][2]
This differs from a cache-warming example: the previous call does not change the next call in this model. The trend is an external authored sequence. We measured no elapsed time, shared GPU interference, partition isolation, training improvement or economic result. For an actual benchmark, preserve execution order and the conditions of every attempt, then justify the design against the nuisance factors it can and cannot separate.[2][4]
- Keep the run order and every response component visible before interpreting a condition contrast.
Sources
- NIST/SEMATECH: Randomized block designs www.itl.nist.gov
- MIT runnable proof and complete saved output data.nodus-compute.ai
- Full result JSON data.nodus-compute.ai
- Source and saved-result provenance data.nodus-compute.ai
- Vector figure data.nodus-compute.ai
