Compact first after two successes

Spec · File revision First recorded spec · 24 November 2026
  • Hypothesis: exploration
  • Tier: pilot
  • Date: 2026-11-24

Question #

Checkpoint 2 failed in 001-25's confirmation only on "never wrong": 12 of 100 puzzle runs made one wrong prediction, all from compact first (001-15), all at press 27. On pilot seeds 1000 to 1009 a census of 001-25's agent (a diagnostic, kept in code/diagnostics/compact_census.py) found compact first deciding the prediction for a press made only once in the first 80 presses of each run, on seed 1009, and wrong. There, button 2 had been pressed 3 times and had done something once. The most compact explanation, two cases, was "what slot 1 holds decides it": slot 1 had held the same tile on both presses that did nothing. The true rule is where the gap is, three cases so far.

That is 001-25's coincidence again, for Occam's razor: one success cannot tell a cause from a coincidence. Does letting compact first speak for a button only once it has done something on two different boards make the puzzle never wrong, without raising its presses it could not predict past 28, and without losing Taxi's gain?

Setup #

001-27's agent, with one rule that can be switched off, compact_after = 2: compact first answers for a button only once it has done something on at least 2 different boards (counted as in 001-25). Before that, the cautious guesses and the map answer as before, or the agent says "don't know". The 2 is 001-25's number, chosen there after seeing failures; here it is carried over, not tuned.

Runs, on pilot and practice seeds:

  • The 8-puzzle, seeds 1000 to 1009, new and old.
  • Taxi as built and on own marks, 10 runs each, seeds 1000 to 1009, new and old.
  • Taxi in 20 other orders, seeds 1000 to 1009, as built and own marks, new.
  • 001-09's 70 generated worlds, new and old; 001-26's practice worlds, 10 a cell from seed 1,000, new, old and the memoriser.

What we expect #

Written before any run of the new rule:

  • 8-puzzle: no wrong prediction on any of the 10 seeds, against 1; median presses it could not predict 25 to 27, at most one more than the old agent on any seed.
  • Taxi: within 5% of the old agent, both markings. Pick up and drop off work rarely, so compact first waits longer for them; north, south, east and west work at once.
  • Generated and practice worlds: fewer wrong predictions, the same worlds learned.

Checks #

  • Switched off, Taxi, the puzzle and 001-09's worlds equal 001-27's pilot exactly.
  • Hand-worked tests: with one success compact first is silent; with two it answers; the agent's default is 2 and the learner's is off.

Confirmation, planned 2026-11-24, before it ran #

The agent confirmed is 001-28's, carrying both new rules: 001-27's (a "does nothing" inferred by blocked both ways is checked only once tried) and this one's. Both were chosen after looking at failures: 001-27's after 001-26's practice run and sealed test, this one after 001-25's confirmation and a census on pilot seeds. So every seed and world below is fresh, and nothing has been run on any of them.

Runs.

  • 8-puzzle, seeds 200 to 299: 100 runs, as 001-25 (300 puzzles each); renamed and shuffled, 10 runs each; switched off and 001-27's agent ("old"), 10 runs each.
  • Taxi, seeds 200 to 299: as built and on own marks, new and old, 100 runs each; in 20 other orders, seeds 200 to 209, as built and own marks, new (400 runs).
  • DOORMAX, told the walls and with them hidden, seeds 200 to 299 (001-11's code).
  • A second sealed set: version 1 of the generator, 30 worlds a cell from seed 200,000 (reserved by 001-26), 540 worlds, played by the new agent, 001-27's, 001-25's (frozen through 001-26) and the memoriser.

Pass marks, unchanged from the roadmap and 001-25's confirmation:

  • Checkpoint 2: a median below 28 presses it could not predict, and never wrong: no wrong prediction in any of the 100 runs, nor in the renamed and shuffled ones, and no wrong "impossible".
  • Checkpoint 1, reading A: a mean of 432 steps or fewer on Taxi as built, every run learning, no wrong "impossible" in any condition. Reading B also asks 432 or fewer on own marks and in other orders.
  • Checkpoint 3, as frozen in 001-26: at least 80% of the 540 learned and more than half in each family. 001-26 showed this mark is easy; it is reported, not leaned on. What matters here is whether the new agent ever wrongly says "impossible".

What we expect, after the pilots:

Expected
Puzzle Median 25 to 27; wrong in 0 to 3 of 100 runs. Checkpoint 2 passes only if 0
Taxi as built 340 to 400 (001-25 had 341 on seeds 100 to 199; this rule costs about 6%); every run learning; no wrong "impossible"
Own marks; other orders as built and own marks 520 to 590; 340 to 420 and 490 to 560
DOORMAX told the walls; hidden 400 to 460; 560 to 630
Checkpoint 1 Reading A passes; reading B fails on own marks
Second sealed set The new agent learns at least 95% and never wrongly says "impossible"; 001-25's agent does in a few worlds, all with pick up and drop off

Reproduce, from code/: OMP_NUM_THREADS=1 python run.py --parts puzzle renamed shuffled switched_off old --first-run 200 --workers 9 --out ../data/confirmation; pypy3 run.py --parts taxi taxi_orders --first-run 200 --workers 9 --out ../data/confirmation; pypy3 ../../[001-11](/experiments/001/11/)-doormax-walls-hidden/code/run.py --first-seed 200 --runs 100 --out ../data/confirmation/doormax; pypy3 sealed_run.py --confirm --first-seed 200000 --out ../data/sealed2; then python confirm_summary.py.