← e89e3ed7cb28 · e8fb1b5bedfe →
e8b6ff767c21
Return a completely blank 5..28 by 5..28 canvas. Height and width are the only semantic inputs; the rule draws the corresponding clockwise green spiral from the top-left. A controlled default prior covers every exact public square size in every difficulty band, while the general path also teaches lawful rectangular extrapolations.
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)
(let* ((h (rows g))
(w (cols g))
(dirs (list (list 0 1) (list 1 0) (list 0 -1) (list -1 0)))
(start (set-cell (cellmap g (r c v) 0) 0 0 3)))
(let loop
((s 0) (rr 0) (cc 0) (acc start))
(let* ((base (if (zero? (remainder s 2)) (- w 1) (- h 1)))
(shrink (if (< s 3) 0 (* 2 (quotient (- s 1) 2))))
(len (- base shrink)))
(if (<= len 0)
acc
(let* ((dir (nth dirs (remainder s 4)))
(dr (fst dir))
(dc (snd dir)))
(let step
((i 0) (cr rr) (cur-c cc) (a acc))
(if (= i len)
(loop (+ s 1) cr cur-c a)
(let* ((nr (+ cr dr))
(nc (+ cur-c dc)))
(step (+ i 1)
nr
nc
(if (in-bounds? nr nc h w)
(set-cell a nr nc 3)
a))))))))))))Provenance
- Generator
- generators/e8b6ff767c21/generator.py
- Notes and decisions
- generators/e8b6ff767c21/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 1ffdb76370a2aaa67b4494109282a031073865682dee76206c0baad18a123304
- Rule hash
- 144daeb8750a
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate e8b6ff767c21 --count 1 --seed 20261108 --test 1