← 73d82a9cacf6 · 747486860e56 →
73f849e69e0a
A uniform-2x2-block icon occupies the first six rows, followed by one full separator row of color 5 and a 0/2 marker field. Compress the icon to its 3x3 stride-2 values. Create a fresh canvas three times the marker field height and width, then stamp that 3x3 icon at every red(2) marker. Red may also be an icon color; above the separator it is payload, below the separator it is a stamp marker.
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))
;; The first full row of 5s separates the encoded icon from markers.
(sep-row
(let loop ((r 0))
(cond
((>= r h) -1)
((for/and ((c (range 0 w)))
(= (at g r c) 5))
r)
(else (loop (+ r 1))))))
(bot-start (+ sep-row 1))
(bot-h (- h bot-start))
(bot-w w)
;; Each marker-field cell expands to one 3x3 output tile.
(base (build-grid (* bot-h 3) (* bot-w 3) (r c) 0)))
;; A red(2) marker stamps the stride-2 3x3 icon. Red in the icon is
;; payload, not a marker, so it is copied like every other nonzero color.
(for*/fold ((out base))
((br (range 0 bot-h))
(bc (range 0 bot-w))
#:when (= (at g (+ bot-start br) bc) 2))
(let ((ro (* br 3))
(co (* bc 3)))
(for*/fold ((o out))
((dr (range 0 3))
(dc (range 0 3)))
(let ((v (at g (* dr 2) (* dc 2))))
(if (zero? v)
o
(set-cell o (+ ro dr) (+ co dc) v)))))))))Provenance
- Generator
- generators/73f849e69e0a/generator.py
- Notes and decisions
- generators/73f849e69e0a/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- d4e9d44f3d399bb20b6efe56737ea5b780fcf6624046f4e96614be3fcbe6c972
- Rule hash
- 5a8d0a3601e2
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 73f849e69e0a --count 1 --seed 20261108 --test 1