# E9 v2 — registered predictions (pilot)

Written 2026-10-26, **before any E9 v2 run**. The fingerprint of this file,
`e9v2_predictions.csv`, the reduced model and the config is recorded in
`protocol/E9V2_LOCK`. Status: exploratory pilot (4 seeds per cell). The
criteria below are fixed now so the pilot can be scored honestly. They are
not a confirmatory test.

## What the model is

`simulate_key_model` in `src/eip/analysis/plasticity_law.py` treats one
stimulus exactly as an *overwriting* learner does:

- the agent learns from outcomes only when it takes;
- it explores with probability ε;
- it forgets with timescale τ;
- outcomes are flipped with probability q;
- the world changes every U = 1.25 R visits. Under a *novel* schedule each
  stimulus flips with probability 4/7 at each change, independently. Under a
  *recurring* schedule a fixed half of the stimuli flip at every change.

**The model has no fitted parameters.** It cannot hold two regimes at once,
so for agents with latent contexts (A4, A5) it is an upper bound on regret,
not a prediction.

**What has been seen already.** Before registering, the model was checked
against the E9 v1 data, which was recurring changes only, ε = 0.05 and no
schedule contrast:
- A2: rank correlation 0.9–1.0 across memory settings; regret within about
  0.01.
- A4: overpredicted by up to 0.09 when changes were fast. That is the
  context effect P3 tests.

Every E9 v2 cell with ε ≠ 0.05, every *novel* schedule cell, and all A5 and
A3-rnn data are new.

## Predictions and success criteria

Cells: 5 τ values × 4 ε values = 20 per condition. Conditions:
2 schedules × 2 noise levels (q = 0.10, 0.25) × 3 intervals
(R = 10, 40, 160 episodes) = 12. Observed regret = mean tracking regret
after episode 100, averaged over 4 seeds.

**P1 — the overwrite model predicts A2 quantitatively.** Both must hold:
1. Within each of the 12 conditions, Spearman(model, observed) across the
   20 cells is ≥ 0.7, in at least 9 of the 12.
2. Mean absolute error over all 240 A2 cells is ≤ 0.03 regret per object.

**P2 — exploration is set by the kind of change.** The model's best ε for
each condition is listed in `e9v2_predictions.csv`. For example, it predicts
ε = 0.2 for every novel condition, and ε = 0.02 for recurring changes at
R = 10. For A2, the empirical best ε, taking the best τ for each ε, must be
the model's best ε or an adjacent grid value in at least 9 of the 12
conditions.

**P3 — agents that can hold regimes as hidden states beat the overwrite bound
only when regimes recur.** Let gap = model best-cell regret (counts
estimator) − A4 observed best-cell regret. Both must hold:
1. Under recurring changes, the gap is ≥ 0.03 in at least 4 of the 6
   (q, R) conditions.
2. Under novel changes, the gap is smaller than under recurring changes in
   at least 4 of the 6 (q, R) conditions.

**P4 — for an overwriting learner, one-off and recurring change differ as
the model says.** At the cell τ = 10, ε = 0.05, the sign of A2's observed
(novel − recurring) regret difference matches the model's sign in at least
5 of the 6 (q, R) conditions.

**Exploratory, no prediction.** A5 (bottleneck) and A3-rnn (learned
memory). Their results are reported descriptively.

## How a failure will be read

- **P1 or P2 fails:** the reduced model misses a mechanism of even the
  simplest learner. The model, not the agents, is wrong.
- **P3 fails:** the "change absorbed as context" explanation of E9 v1 is
  wrong, or A4's two contexts cannot do it reliably.
- **P4 fails:** the fixed-flipping-set account of recurring change is
  wrong.
