Explore first, and ask what is the same

Spec · File revision First recorded spec · 23 November 2026
  • Hypothesis: H-005
  • Date: 2026-11-23

Question #

Measured the way 001-03 measured DOORMAX, the 001-06 agent learns Taxi in 1,094 steps against DOORMAX's 432. Do two general additions close most of that gap, with the same code in both worlds, whatever order the buttons and slots are listed in?

Setup #

The two additions. Neither names a world. Each can be switched off.

  1. Explore first. The play rule's first two steps swap. The agent first goes to the nearest press it cannot predict, not looking past the target. Only when there is none does it follow a route to the target. Then it checks, and then it gives up, as in 001-06. 001-03's DOORMAX played this way.
  2. A sameness question. Beside "what is in this slot?" and "where is this symbol?", the agent may ask of any two slots "do they hold the same thing?". This uses only same-or-different, which it already has. On the 8-puzzle the answer is always "no", because every symbol appears once.

Everything else is 001-06's core: guesses grow only when forced, and "there is no way" needs a check one size up.

What the agent is given. 001-06's list, in its plan's amendment, and one more thing: it may compare any two slots.

Worlds. Both unchanged, and tests check their files byte for byte. The 8-puzzle: 100 runs of the same 300 puzzles as 001-02 to 001-06. Taxi: 100 runs, seeds 0 to 99, starts drawn as before.

How Taxi is judged. As in 001-03. A probe start counts as learned only if nothing reachable from it is unpredictable and the agent's route from it is the shortest and goes as predicted. A run is learned when all six probes are. It is capped at 1,000 episodes or 100,000 steps. Every delivery is possible, so a "there is no way" is a wrong answer.

Other orders. The agent breaks ties by the order the world lists its buttons in, and finds a repeated symbol at its first slot in the order shown. Neither order means anything. So, besides the world's own order:

  • Taxi: 20 presentations, each a random order of the buttons and a random order of the slots, drawn from a fixed seed. 100 runs each.
  • 8-puzzle: all 24 orders of the buttons, runs 0 and 1 of each. Slot order is already a check (below).

Agents compared on Taxi, all in the world's order, 100 runs:

Agent Explores first Sameness Note
The 001-07 agent yes yes also in the 20 other orders
Explore first only yes no 001-06's agent, as in its added run; also in the 20 other orders
Sameness only no yes route first, judged also by its route, as 001-06's main runs were
Plain memoriser yes n/a explores first, as 001-06's added run

DOORMAX: 432 steps (our build, 001-03) and 529 (the paper), both means, quoted.

Metric #

The run is the unit: median, 95% confidence interval from order statistics, range. For Taxi also the mean over runs that learn, since DOORMAX's numbers are means.

  • Taxi: runs that learn; steps to learn; runs and episodes ending in a wrong "impossible"; wrong predictions; readings each button combines at the end; what is stored. Over the other orders: for each presentation, runs that learn and the mean steps.
  • 8-puzzle: presses it could not predict; wrong predictions; puzzles solved and called; checking presses; every final prediction over all 1,451,520 boards and buttons; boards examined; what is stored. Over the 24 button orders: presses it could not predict, checking presses, wrong predictions.

What we expect, written before any run.

  • Taxi, the 001-07 agent: every run learns, at a mean of 400 to 800 steps. At most 3 runs say "impossible" wrongly. Fewer than 12 wrong predictions a run. Pick up ends combining 3 readings and drop off 2.
  • Taxi, explore first only: 001-06's added run, exactly: 100 learn, mean 1,094.
  • Taxi, sameness only, judged by its route: a median below 001-06's 846.5.
  • Taxi, other orders: at least 99 runs learn in every presentation, and each presentation's mean is within a fifth of the world order's.
  • 8-puzzle: 40 to 44 presses it could not predict, in every run and every button order. No wrong prediction. 1,000 to 2,000 checking presses. About 55 to 65 million boards examined per run, more than 001-06's 39 million, because exploring first means searching everything reachable before every route.

Success is in the hypothesis: every run learns at a mean of at most 648 steps, at most 5 with a wrong "impossible", at least 18 of 20 other orders with 99 or more runs learning, and the puzzle unharmed.

Falsification #

  • Refuted: in the world's order any Taxi run fails to learn, or the mean is not below 1,094; or on the 8-puzzle any run makes a wrong prediction or a wrong call, or the median number of presses it could not predict is above 100.
  • Revised: none of those, but the mean is above 648; or more than 5 runs say "impossible" wrongly; or fewer than 18 of the 20 other orders have at least 99 runs learning; or the median checking on the 8-puzzle is above 5,000 presses.

Known in advance: this is fitted to Taxi #

The sameness question is general: it uses only same-or-different. But it was chosen by working out, from Taxi's true rules, what would cut the readings pick up and drop off need. The agent never sees those rules; the experimenter did. So the Taxi numbers here show that the tools fit the worlds we have looked at, not that they carry over to new ones. That needs a world nobody has looked at, which is planned after this experiment.

Checks that the harness is sound #

  • Switched off, it is 001-06's agent. With both additions off, puzzle runs 0 to 9 and all 100 Taxi runs must equal 001-06's stored runs. With only sameness off, the Taxi runs must equal 001-06's added explore-first run.
  • The fast way changes nothing. Puzzle runs 0 to 9 repeated with the plain search under PyPy must be identical.
  • Not using names or places. Puzzle runs 0 to 9 repeated with every symbol renamed, and with the slots in a shuffled order, must be identical.
  • The worlds and the ruler are separate. Shortest routes and the probe test use the true rules on the harness side. Nothing in core/ names a world.

Speed #

The array search learns the new play order and the sameness question, and the puzzle runs on 8 processes. Taxi uses the plain search under PyPy on 8 processes. Both print their progress.

The core #

This changes the core, so the result must say what happens to the last headline numbers: 001-06's 40 presses on the puzzle, and its 1,094 steps on Taxi measured as DOORMAX was.

Delivery order #

  1. The core: the sameness reading, the explore-first play order in both searches, tests on hand-made worlds, and the two searches checked against each other.
  2. The run script and the switched-off checks against 001-06's stored runs.
  3. One timed run of each part, then the full runs, the checks, and RESULT.md.

Amendments #

2026-11-23, after the results and the independent review. Nothing about the question, the measure or the pass mark changes. This corrects what the plan says the agent is given, and one description.

  • What the agent is given also includes:
    • the play rule's new order, explore first. 001-04's list, carried forward, still said route first;
    • every pair of slots as a sameness question from the start: 21 on Taxi, 36 on the puzzle;
    • that the same mark in different slots means the same thing. In Taxi every position uses the marks 0 to 4, and the whole gain from sameness depends on that; the result reports a run with each slot given marks of its own.
  • How Taxi is judged says "nothing reachable from it is unpredictable". It should say "nothing reachable from it, short of the target". It is a restatement of 001-03's test, not 001-03's code; the review showed the two give identical numbers here.