← e777125624ca · e7c4af96e258 →

e78f94d8f5bc

A randomly oriented 5..10 square-or-rectangular perfect maze uses color 1 for walls and color 0 for walkable cells. Exactly two color-2 endpoints have one unique wall-forced shortest path with 2..4 turns, while unused walkable branches remain as distractors. Four-pair lesson windows cover all three canonical sizes and turn counts while repeating 10x10/four-turn evidence for query rotation safety. Fill only that shortest path with color 4 and preserve both endpoints as color 2.

parametric family

Generated by the released generator before publication; every output was computed by its Racket reference rule. White outlines mark the cells the rule changed. Lesson check:

refuted: a demonstration contradicts the rival. survived_all: it fits every demonstration and also gives the intended answer, so it cannot mislead here. ambiguous: it fits every demonstration but answers the query differently. Names are as declared by the generator; a declared shortcut is not guaranteed to fit the original pairs (see the paper’s Limitations).

Original task pairs

From the source task; the reference rule must reproduce them.

Reference rule (Racket)

(rule! (lambda (g)
  ;; Color 2 marks the two path endpoints.
  (let* ((pts (find-color g 2))
         (p1 (first pts))
         (p2 (second pts))
         (r1 (fst p1)) (c1 (snd p1))
         (r2 (fst p2)) (c2 (snd p2))
         ;; Paint the shortest route through color-0 cells with color 4.
         (filled (shortest-path-fill g r1 c1 r2 c2 4 0)))
    ;; Preserve both endpoint markers.
    (set-cell (set-cell filled r1 c1 2) r2 c2 2))))

Provenance

Generator
generators/e78f94d8f5bc/generator.py
Notes and decisions
generators/e78f94d8f5bc/notes.md
Review label
reviewed_safe
Generator SHA-256
92d7322e92d454be7e44ee31cdf557008e8faa7e55e3d70a7173dedf4e165bae
Rule hash
6726820f442b
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate e78f94d8f5bc --count 1 --seed 20261108 --test 1