One rule everywhere, with exceptions

First recorded spec · File revision
  • Hypothesis: H-007, to be written before the confirmation run
  • Tier: pilot (docs/experiments.md, "Pilot and confirmation")
  • Date: 2026-11-23
  • Merged from the two drafts in this folder, DRAFT-order-of-values.md and DRAFT-same-rule-everywhere.md, which stay as they were written.

Question #

The agent learns Taxi's "east" as 50 separate cases, one per square, riding or not. A person learns it once: "east moves the taxi one column right, except at walls". Can the agent learn rules of that shape, and does that take it below DOORMAX's 432 steps on Taxi, measured as DOORMAX was? This is checkpoint 1.

Setup #

Two additions. Neither names a world, and each can be switched off.

  1. Lines. After each press, the agent notes, for each slot that changed, which mark it went from and to. A slot has a line while those steps join its marks into chains, each mark with at most two neighbours and no loop. A step that breaks this ends the slot's line, for good. A slot with a line gives a third way to describe a change, stepped: "this slot moved one place forward along its line", or back, whatever mark it was on. Forward is the direction of the first step seen.
  2. Bold guesses. A guess that describes changes as stepped has a default: the change it has seen in the most situations, if that is a real move (not "nothing happens") and has been seen in at least 3 situations. The threshold of 3 is fixed here, before any run.
    • The agent still predicts the old way first: every guess standing has seen this situation, and they agree.
    • If that fails, it may predict boldly: at least one guess must answer by its default, and every standing guess that can answer, by an entry or by its default, must agree with it. Guesses that have no answer are left out.
    • A bold prediction is never checked. So it is good enough to plan a route, and a wrong one shows itself, but "there is no way" still needs checked predictions.

A slot's line ending, or two of its chains joining the wrong way round, changes what the guesses could be, so every guess is rebuilt from the log, as in 001h. Everything else is 001h's core.

What we think it will do.

  • Taxi: the taxi's and passenger's columns and rows each form a line of five, and "riding" a line of two; the destination never moves. East and west get the default "the column moves one place", and must bump into each wall to learn it is an exception. North and south likewise, with the edges. Pick up and drop off have no default: what they do most often is nothing.
  • 8-puzzle: each slot holds many tiles in turn, so no slot keeps a line. Nothing should change.
  • Generated worlds: "step" and "together" give lines; "wrap" ends one, because it loops.

What the agent is given. 001h's list, plus noting each slot's steps, and the willingness to predict a rule where it has not seen it. It is not told that any slot is ordered, or which way is forward.

Fair tools. Both pass the three tests in the roadmap. Things that change one step at a time along a line are common: counters, levels, positions. "The same thing happens everywhere, except in a few places" is one of the most general ideas there is. The generator tests both in worlds with many exceptions, and without lines.

Worlds and runs, for the pilot.

  • Taxi, as built and on own marks, judged as 001c judged DOORMAX: 10 runs, seeds 1000 to 1009, as in 001h's pilot.
  • 8-puzzle: one run, seed 1000.
  • Generated worlds: the 70 worlds of 001i's pilot.

Agents. The 001j agent, and 001h's agent as the comparison, on the same seeds and worlds.

Metric #

As in 001h and 001i, and also: wrong predictions a run, and how many were bold; defaults adopted; lines found and ended.

What we expect, written before any run.

  • Taxi as built: every run learns, at a mean of 350 to 480 steps, against 521 for 001h's agent on these seeds and DOORMAX's 432.
  • Taxi on own marks: a mean of 500 to 700, against 739.
  • Wrong predictions: 15 to 40 a Taxi run, almost all bold, against about 9.
  • No wrong "impossible" in more than one Taxi run of ten.
  • 8-puzzle: 40 to 44 presses it could not predict, never wrong.
  • Generated worlds: at least 55 of 60 ordinary worlds learned; fewer presses than 001h's agent in the "moves" cells; more wrong predictions everywhere.

Known in advance #

  • It gives up "never wrong". That is the point. DOORMAX makes the same trade, through the conditions it is handed.
  • The threshold of 3 is a choice, fixed here.
  • The strict probe test is easier to pass with bold guesses, since little is left unpredictable. So we also report how many predictions over every board are right when a run counts as learned.
  • Tuned on Taxi. We expect it to work there because walls are few. The generated worlds are the check on that.

Checks that the harness is sound #

  • Switched off, it is 001h's agent: on Taxi seeds 1000 to 1009 and the puzzle run, every counted number equals 001h's pilot.
  • The fast search: every 200th puzzle plan remade the slow way.
  • The tests, including hand-made line worlds with walls.
  • Nothing in core/ names a world.

Delivery order #

  1. Lines, the stepped description, defaults and bold guesses in the learner; tests on hand-made worlds.
  2. The run script for Taxi, the puzzle and the generated worlds, with the checks against 001h.
  3. The pilot, and PILOT.md.