The anchors at scale

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

Question #

001-01 measured the three anchors once, on 60 puzzles in one order. How much do those numbers move from run to run, and what are their values when the sample is large enough to trust, or exact where the world is small enough to count?

Setup #

The world, the three agents and the loop are unchanged copies of 001-01 (world.py and agents.py are byte-identical). Only how many times they are run, and what is reported, changes. The budget is still 3,000,000 presses per puzzle.

The Elephant: 100 independent runs. Run r (0 to 99) draws 300 puzzles from seed r, 150 solvable and 150 impossible, in shuffled order, and gives them to a fresh Elephant that keeps its notes for the whole run.

The Goldfish: the same puzzles, one exception. A fresh Goldfish (seed r) plays every solvable puzzle of run r in order, 15,000 in all. It keeps nothing between puzzles, so these are independent samples. It plays only the first impossible puzzle of each run, 100 in all, because it spends the whole budget on every impossible puzzle and more of them would show nothing new.

The Oracle: every board. It has no memory and no randomness, so it is run once on each of the 362,880 boards: the 181,440 that can reach the target and the 181,440 that cannot. Its numbers are exact, not sampled.

Metric #

The run is the unit for the Elephant, and the puzzle is the unit for the Goldfish. For each quantity below: the median, a 95% confidence interval for the median (from order statistics, which assumes nothing about the shape), and the smallest and largest value.

  • Elephant, per run: presses on its first impossible puzzle; presses on all later impossible puzzles; presses on its first solvable puzzle; median presses over its 150 solvable puzzles; presses per shortest-route press over its last 50 solvable puzzles; share of the solvable half it has written down at the end; solvable puzzles solved and impossible puzzles called. Also the learning curve: presses on its k-th solvable puzzle, as the median across runs for each k.
  • Goldfish, per puzzle: presses on a solvable puzzle (a puzzle that runs out of budget is charged the budget), the share solved within budget, and the 5th and 95th percentiles. Impossible puzzles called impossible.
  • Oracle, exact: boards solved in exactly the shortest route, the distribution of those route lengths, impossible boards called with zero presses, and thinking steps.

The shortest route to every board is computed separately from the Oracle, by searching outward from the target under the true rules.

The harness is sound only if the Oracle plays exactly the shortest route on all 181,440 solvable boards and calls all 181,440 impossible boards with zero presses, and if repeating runs 0 to 9 of the Elephant and Goldfish gives identical numbers. Work is spread over several processes; a test checks that this gives the same numbers as running in one.

There is no success threshold: this is an exploration, and it records the range and its spread.

Amendment, 2026-11-23: faster ways to compute the same thing #

Made while the first run was still in progress and before any of its numbers had been read. It changes how the work is computed, not what is measured.

  • The Elephant and the Oracle run under PyPy, a faster Python. Their code is unchanged, so their numbers must be identical to ordinary Python's.
  • The Goldfish is simulated many at once (goldfish_many.py): one Goldfish per puzzle, on the same 15,000 solvable and 100 impossible puzzles, all drawing from one random generator (seed 0) instead of one generator per run. It is the same agent with different random draws, so its numbers will differ from the plain Goldfish's by chance and by nothing else. The many-at-once numbers are the ones reported.
  • A small reference run is kept, in data/reference-cpython/: runs 0 to 9 in ordinary Python with the plain Goldfish. The full run in ordinary Python was stopped unfinished, with none of its numbers read, once the faster versions existed. The Elephant's numbers for runs 0 to 9 must match the reference exactly; this replaces the repeat check above. The confidence intervals of the two Goldfish medians (1,500 plain puzzles, 15,000 many-at-once) must overlap; if they do not, the fast Goldfish is wrong and is not reported. The Oracle needs no reference: it is checked against the separate search on every board.