Explore first, and ask what is the same — result
- Plan: spec
- Hypothesis: H-005, supported
- Status: done
- Date: 2026-11-23
Result #
The same code ran in both worlds. Brackets are 95% confidence intervals for the median across 100 runs.
Taxi, played and judged as 001-03 ran DOORMAX, in the world's own order.
| Agent | Runs that learn | Mean steps | Median steps | Runs with a wrong "impossible" |
|---|---|---|---|---|
| The 001-07 agent | 100 | 485.8 | 484 [465 to 502] | 0 |
| Explore first only (001-06's agent) | 100 | 1,094.4 | 1,083 [1,055 to 1,116] | 8 |
| Plain memoriser, explore first | 100 | 3,246.9 | 3,274.5 [3,214 to 3,336] | 0 |
| DOORMAX, our build (001-03), told the objects | all | 432 | ||
| DOORMAX, the paper, told the objects | all | 529 |
- The sameness question cut the steps by more than half, from 1,094 to 486. Everything else in the core is the same. The whole gain depends on how Taxi is written down: see "Added after the run".
- Pick up and drop off became small. Drop off ended on 2 readings in every run, against 4 before. Pick up ended on 3 in 92 runs and on 2 in 8, against 5 before. The 2-reading version is "the taxi's column is the passenger's, and so is its row". It is right on all 400 boards: when the passenger is riding this is also true, and "riding becomes yes" then changes nothing. So 2 readings are enough, fewer than the 3 we worked out by hand. But the agent compares changes, not the boards they lead to, so one more press of pick up while riding throws this guess away and it grows to 3. "Readings at the end" means at the moment the run stopped.
- What it stores fell from 445 entries to 137. It was wrong 8 times in a typical run [8 to 9], against 12.
- It is 12% more steps than DOORMAX in our build, and 8% fewer than the paper's. Paired by run, it beat DOORMAX in 27 of 100. The two medians' intervals do not overlap: DOORMAX 405 to 449, ours 465 to 502. The paper's 529 is on its own build of Taxi, so only the 432 is like for like.
- When it counts as learned, every prediction is right: all 240,000 over the 400 boards and 6 buttons, summed over the 100 runs.
Taxi in 20 other orders of the buttons and the slots, 100 runs each:
| The 001-07 agent | Explore first only | |
|---|---|---|
| Orders in which every run learns | 20 of 20 | 20 of 20 |
| Mean steps, by order | 469 to 628 (median 496) | 1,034 to 1,674 (median 1,379) |
| Runs with a wrong "impossible" | 0 to 5 an order; 29 of 2,000 | 1 to 14 an order; 108 of 2,000 |
8-puzzle, the same 300 puzzles as 001-02 to 001-06.
| 001-06 agent | 001-07 agent | |
|---|---|---|
| Presses it could not predict | 40 in all 100 runs | 40 in all 100 runs |
| Wrong predictions | 0 | 0 |
| Presses made to check a belief | 1,561 | 1,561 [1,352 to 1,563], range 1,090 to 1,646 |
| Boards examined in its head, per run | 39.3 million | 54.6 million |
| Stored: checking entries | 4,644 | 5,940 |
Every puzzle was solved or called in every run, and all 145,152,000 final predictions were right. In all 24 button orders, runs 0 and 1, it took 40, 41 or 42 presses and was never wrong. Thinking rose because exploring first means searching everything it can reach before every route: 181,440 boards for every solvable puzzle.
Checks. All passed.
- With both additions off: puzzle runs 0 to 9 and all 100 Taxi runs equal 001-06's stored runs. With only sameness off, all 100 Taxi runs equal 001-06's added explore-first run, and the memoriser equals 001-06's too.
- Ten puzzle runs done the plain way under PyPy equal the main runs.
- Ten runs with every symbol renamed, and ten with the slots shuffled, give identical numbers.
- 150 tests pass, 124 of them the core's own.
Time on a 10-core MacBook Air: puzzle 30 minutes on 8 processes, its checks and button orders 17 more, the plain reference 17, all 4,500 Taxi runs 7.
Conclusion #
By the plan's rule the hypothesis is supported. Every Taxi run learned, at a mean of 485.8 steps against a limit of 648; no run said "impossible" wrongly; all 20 other orders had every run learning; and the puzzle is unharmed.
| Prediction | Outcome |
|---|---|
| Taxi: every run learns, mean 400 to 800 | held: 100, 485.8 |
| Taxi: at most 3 runs wrongly say "impossible" | held: 0 |
| Taxi: fewer than 12 wrong predictions a run | held: 8 |
| Taxi: pick up ends on 3 readings, drop off on 2 | drop off held; pick up 3 in 92 runs, 2 in 8 |
| Explore first only: exactly 001-06's added run | held |
| Sameness only, judged by its route: median below 846.5 | held: 475 |
| Other orders: at least 99 runs learn in each | held: 100 in all 20 |
| Other orders: each mean within a fifth of the world order's | no: 3 of 20 above (598, 626, 628) |
| Puzzle: 40 to 44 presses, every run and every button order | held: 40 to 42 |
| Puzzle: no wrong prediction; 1,000 to 2,000 checking presses | held: 0; 1,561 |
| Puzzle: about 55 to 65 million boards examined | just under: 54.6 million |
- Checkpoint 1 is close, not met. It asks for DOORMAX's 432 or fewer. We are at 486, told nothing about objects. DOORMAX is told what the objects are and how they can touch.
- Each addition does a different job. Exploring first gets every run learning: sameness alone, playing route first, leaves 3 runs that never learn. Sameness brings the cost down, from 1,094 to 486, and removes the wrong "impossible"s: explore first alone has 8 runs with one, sameness alone none.
- Why the wrong "impossible"s went. We think it is because drop off now needs 2 readings, so a belief one reading short is caught by the check one size up. We have not tested that explanation.
Limits #
- This is fitted to Taxi. The sameness question uses only same-or-different, but it was chosen by working out from Taxi's true rules what would shrink pick up and drop off. The Taxi number shows the tools fit the worlds we have looked at. Whether they carry over needs a world nobody has looked at, which is next.
- The probe test is a restatement of 001-03's, not its code. The reviewer reimplemented 001-03's own test and got identical steps in every run, for all three agents. Against DOORMAX in our build the comparison is like for like in the world, the starts, the test and the counting. It is not like for like in what each is told: DOORMAX is given the objects and seven facts, including the walls and "the taxi is on the passenger".
- Try-outs came before the full run. Seen first: two Taxi runs each of the two switched-off agents, three of the 001-07 agent, one small and one full puzzle run. The predictions were written before all of them.
- The agent's tests ran it on Taxi before the planned Taxi part, on seeds 0, 1, 2, 5 and 7. The test file was saved after the main puzzle run had started. The planned "one timed run of each part" was done outside the run script.
- The puzzle runs were slow because each of 8 processes started several maths threads. This changes no number.
- Two small worlds, fully visible, and the same press always does the same thing.
The core #
The core changed. Its effect on the last headline numbers:
- 001-06, the puzzle: still 40 presses it could not predict, never wrong, the same checking. Thinking up from 39.3 to 54.6 million boards a run.
- 001-06, Taxi measured as DOORMAX was: from 1,094 steps to 486, and from 8 runs with a wrong "impossible" to none.
Added after the run #
Not in the plan; proposed by the review. Taxi with each slot given marks of its own. In Taxi as built, every position uses the same marks, 0 to 4. So "the taxi is in the passenger's column" shows as two slots holding the same mark, and the sameness question can see it. Here each value v in slot s is shown as v + 10s. The world, its rules and what is shown are the same; only equal positions in different slots no longer look alike.
| Runs 0 to 39, mean steps to learn | Shared marks, as built | Each slot its own marks |
|---|---|---|
| The 001-07 agent | 476.7 | 1,020 |
| Explore first only | 1,101.8 | 1,020 |
All 40 runs of both agents learned, with no wrong "impossible", and in all 40 the two agents took the same number of steps. Explore first alone does slightly better with marks of its own (1,020 against 1,101.8). We think this is because its "where is this symbol?" questions, which mean little in Taxi, then have fewer accidental matches; we have not tested that.
- The whole gain from sameness comes from the shared marks. With marks of their own, the 001-07 agent pressed exactly what the agent without the sameness question pressed, in every run.
- So the agent is given something the plan did not list: that the same mark in different slots means the same thing. In Taxi this is true, because every position is on one ruler. A more general agent would have to find that out, for example from two slots that always change together. That is a later experiment.
Review note, 2026-11-23 #
An independent reviewer read the code and data and reran parts of both. All 500 Taxi runs in the world's order, 120 runs from four other orders, and two puzzle runs reproduced exactly; all 150 tests pass. The array search matched the plain search in 27,759 random cases, and the explore-first order matched 001-06's added run on 287,581 plans. It found no bug in the code. Its findings, besides the test above:
- Three sentences said more than was shown, now corrected: that the measure is 001-03's (it is a restatement, shown equivalent); that the 2-reading pick up is settled (it is right but not stable); and that exploring first fixed reliability on its own (sameness is what removed the wrong "impossible"s).
- The world's order is kind to the agent without sameness, not to ours. Ours is 485.8 in the world's order against a median of 495.9 over the 20 other orders. Explore first alone is 1,094 against 1,379. So over other orders the cut from sameness is larger than in the headline.
- Small corrections. Two code comments were wrong and are fixed: the search ends on the first unpredictable button in the order listed, not the lowest-numbered; and the test's working-out was not from 001-05. The report rounded medians ending in .5 to even; it now shows them.
- Checked and fine: exploring first under the shortcut that skips re-proving "no route"; the limit of 64 checking guesses in the array search, which never binds; the presentations; the verdict code; the checks against 001-06, which compare 7 to 20 fields.