Finding what matters — result
- Plan: spec
- Hypothesis: H-003, supported
- Status: done
- Date: 2026-11-23
Result #
100 runs of the same 300 puzzles as 001-02 and 001-03. Brackets are 95% confidence intervals for the median across runs.
| Elephant (001-02) | DOORMAX (001-03) | Our agent | |
|---|---|---|---|
| Things it was handed (see the review note) | 0 | 7, including the objects | 5, none about objects |
| Presses it could not predict | n/a | 36 following the proof, 28 as printed | 40 in all 100 runs |
| Last press it could not predict | n/a | 44 [41 to 65] | 45 [45 to 45] |
| Presses on its first impossible puzzle | 862,470 | 38 [10 to 39] | 44 [9 to 44] |
| Presses on its first solvable puzzle | 360,239 | 27 [25 to 56] | 27 [25 to 61] |
| Presses on a typical solvable puzzle | 36.5 | 22 | 22 |
| Presses per shortest-route press, last 50 | 1.90 | 1.00 | 1.00 |
| Stored at the end of a run | 1,047,568 facts | 40 rules | 36 entries |
| Total presses in a run | 1,229,082 | 3,338 | 3,338 |
| Boards examined in its head, per run | 37.0 million | 39.7 million | 39.1 million |
- It found what matters by itself. Every run began with 144 guesses and ended with 4, one per button, and in all 100 runs they were the same: where the symbol 0 is decides what this button does. Nobody told it that 0 was special.
- It was never wrong. No wrong prediction on any real press. At the end of every run all 1,451,520 board-and-button predictions were right (145,152,000 over 100 runs), including the half of the boards it never visited.
- Every solvable puzzle was solved and every impossible one called. After learning it played the shortest route, as the Oracle does.
- Thinking did not get cheaper. To call a later impossible puzzle it examines 181,440 boards in its head, every time.
Checks. Ten runs with every symbol replaced by a random letter gave identical numbers, and all ten found the gap under its new name. Ten runs done the plain way, under PyPy, are identical to the main runs, which use the array search under ordinary Python. 39 tests pass, 23 of them the core's own.
Time on a 10-core MacBook Air: main run 2 minutes 38 seconds on 8 processes, about 12 seconds a run; the same amount of thinking took about 45 seconds a run in 001-03. The ten renamed runs took 22 seconds, and the ten plain runs 4 minutes 40.
Conclusion #
By the plan's rule the hypothesis is supported: the median is 40 presses, against a limit of 100; no run ended with a wrong or missing prediction; and the renamed runs gave the same numbers. We predicted 40 to 60.
- The step a person took for DOORMAX, the agent took for itself. DOORMAX was told what the objects were, which left it 36 situations to learn. Our agent was told only that a board is separate slots and that it can tell same from different, and it found the same 36 situations.
- Why 40. One press for each of the 9 gap squares and 4 buttons is 36. One more per button settles which way of describing a change is right, which is 4.
- It is not cheaper than DOORMAX. It costs 4 presses more than DOORMAX following the proof and 12 more than DOORMAX as printed. The claim is about the same cost with far less handed over.
- To go below 36 it would need order. The 36 are learned as separate cases. Seeing them as one rule, "this button swaps the 0 with the slot beside it", needs slots to have positions that can be compared, which the agent does not have.
Limits #
- The answer was on its list. The agent starts with every guess its five items allow, 144 of them, and the true one is among them. Being able to ask "which slot holds this symbol?" is what makes the gap findable. We think that is a general ability and not a piece of the answer, but it is the place to press.
- It assumes one thing decides each button. True of this puzzle. In a world where two things decide together, such as Taxi, it fails. We first wrote here that every guess would be thrown away and the agent would report that and stop. That is wrong: see the review note below, and 001-05.
- One world. Nothing here shows the same code working anywhere else.
- Try-outs came before the full run. Six small runs, two full ones and the test suite were seen while building, all showing 40. The prediction was written before them, and the plan was not changed.
- The array search is used only once the guesses have settled. Before that it thinks the plain way. Both give the same numbers on the ten reference runs.
- Reviewed after it was written. The hypothesis was marked supported before the independent review reported. Its findings are in the note below.
The core #
This is the first experiment with a core/ folder, so there is no earlier
headline number to compare a change against. The core holds the guesses, the two
searches and the agent. Nothing in it names the puzzle, and a test checks that.
Review note, 2026-11-23 #
An independent reviewer read the code, reran parts of it, and reproduced the stored numbers. It found no wrong number and no way for the agent to see the rules. It did find one false sentence and several things to say more carefully. No number above changes.
- A false sentence, now corrected. We wrote that when the truth is not on its list the agent would throw every guess away, say so and stop. It can do something worse: keep a wrong guess that fits everything it has seen, stop exploring, and wrongly say "impossible" without noticing. The reviewer showed this by removing the true description from the list. 001-05 then saw it on Taxi in 22 of 100 runs.
- 40 is the least this design can do, not a measurement with spread. Once the truth is on the list, "never wrong" follows from the design, and the cost is 36 plus 4. The 4 is the price of offering a second way to describe a change, which is never the right one here; with only the first way the agent takes 36. So 100 runs all giving 40 show the code does what the design implies. The interval "40 to 40" is not statistical evidence.
- The 40 depends on how the buttons are numbered. With the buttons in other orders the same agent takes 40, 41 or 42 presses, and is still never wrong. We checked this ourselves: over all 24 orders and 4 seeds each, 40 presses in 40 runs, 41 in 26, and 42 in 30. The world's own order, used in the experiment, gives 40.
- The list of five was not the whole list. The agent is also given: that every symbol appears exactly once; that the first board shows every symbol there will ever be; that the same press always has the same result and nothing is hidden; the buttons and their order; the target; and the rule it plays by. With a repeated symbol the true guess is thrown away. The plan now carries these as a dated note.
- "0, 7 and 5" are not like for like. Each count is from that experiment's own list, and the lists were not drawn up the same way. What holds is that our agent is given no objects, no layout and no facts about walls, which DOORMAX is.
- The array search is only safe on this puzzle. Where it is used here it matches the plain search exactly, on about 5,500 cases the reviewer tried and on the stored runs. But it hangs if asked to plan from the target to itself, gives wrong answers for a change that copies a slot, and cannot handle a board of 16 slots. None of these can happen in this experiment. They must be fixed when the core next changes.
- Smaller points. The check with renamed symbols would not catch an agent that cheated by position; the reviewer ran the missing check, with the slots shown in a shuffled order, and the numbers were identical. The verdict in code does not take wrong predictions made while playing as an input; there were none. One test allows anything from 36 to 100 presses where it could pin 40.