← f65705efd235 · f68fe53c1702 →
f65b8464b007
Construct one through three bands of three-wide shape sections. Section colors remain fixed, while each successive band moves every shape one section left cyclically. The output continues that sequence for one more three-row band.
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)))
(let* ((sw (find-first (lambda (c)
(all? (lambda (r) (zero? (at g r c))) (range 0 h)))
(range 1 w)))
(stride (+ sw 1))
(n-shapes (/ (+ w 1) stride))
(starts (map (lambda (i) (* i stride)) (range 0 n-shapes)))
(sep-rows (filter (lambda (r)
(all? (lambda (c) (zero? (at g r c))) (range 0 w)))
(range 0 h)))
(last-start (+ 1 (nth sep-rows (- (length sep-rows) 2))))
(first-start (+ 1 (first sep-rows)))
(colors (map (lambda (si)
(let* ((sc (nth starts si))
(vals (filter (lambda (v) (!= v 0))
(flatmap (lambda (r)
(map (lambda (c)
(at g r c))
(range sc
(+ sc sw))))
(range first-start
(+ first-start 3))))))
(first vals)))
(range 0 n-shapes))))
(build-grid 3
w
(r c)
(let* ((si (/ c stride))
(lc (mod c stride)))
(if (or (>= si n-shapes) (>= lc sw))
0
(let* ((src-si (mod (+ si 1) n-shapes))
(src-sc (nth starts src-si))
(src-val (at g (+ last-start r) (+ src-sc lc))))
(if (!= src-val 0) (nth colors si) 0)))))))))Provenance
- Generator
- generators/f65b8464b007/generator.py
- Notes and decisions
- generators/f65b8464b007/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 547d56da13f2c444627c83b1cc092c74ba294d86ab70469ad14271a9ea13a99a
- Rule hash
- ca4a7208d4ef
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate f65b8464b007 --count 1 --seed 20261108 --test 1