← 5bcc776c32fb · 5c126cb64bf7 →
5c0bcc9d1b8b
Odd square grids use orange background (7), two symmetric black walls and one centered perpendicular black crossbar (0), plus a centered gray motif (5). Count the gray cells; the rule rebuilds the walls at center plus/minus one and compresses the gray motif to a centered line along the track. Emitted profiles vary size, orientation, motif, and count while breaking the canonical size-to-count shortcut.
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* ((grey-cells (find-color g 5))
(n (length grey-cells))
(div-rows (filter (lambda (r)
(define vals
(for/list ((c (range 0 w))) (at g r c)))
(or
(andmap (lambda (v) (or (= 5 v) (zero? v)))
vals)
(> (count-if (lambda (v) (zero? v)) vals)
(quotient w 2))))
(range 0 h)))
(div-cols (filter (lambda (c)
(define vals
(for/list ((r (range 0 h))) (at g r c)))
(or
(andmap (lambda (v) (or (= 5 v) (zero? v)))
vals)
(> (count-if (lambda (v) (zero? v)) vals)
(quotient h 2))))
(range 0 w)))
(cr (quotient (- h 1) 2))
(cc (quotient (- w 1) 2))
(vertical-track (>= (length div-cols) 2))
(base (cellmap g (r c v) 7)))
(if vertical-track
(let* ((g1 (reduce (lambda (gr c)
(reduce (lambda (g2 r) (set-cell g2 r c 0))
gr
(range 0 h)))
base
(list (- cc 1) (+ cc 1))))
(g2 (reduce (lambda (gr r)
(reduce (lambda (g3 c) (set-cell g3 r c 0))
gr
(range 0 w)))
g1
div-rows))
(half (quotient (- n 1) 2)))
(reduce (lambda (gr i)
(let ((r (+ (- cr half) i)))
(if (and (>= r 0) (< r h)) (set-cell gr r cc 5) gr)))
g2
(range 0 n)))
(let* ((g1 (reduce (lambda (gr r)
(reduce (lambda (g2 c) (set-cell g2 r c 0))
gr
(range 0 w)))
base
(list (- cr 1) (+ cr 1))))
(g2 (reduce (lambda (gr c)
(reduce (lambda (g3 r) (set-cell g3 r c 0))
gr
(range 0 h)))
g1
div-cols))
(half (quotient (- n 1) 2)))
(reduce (lambda (gr i)
(let ((c (+ (- cc half) i)))
(if (and (>= c 0) (< c w)) (set-cell gr cr c 5) gr)))
g2
(range 0 n))))))))Provenance
- Generator
- generators/5c0bcc9d1b8b/generator.py
- Notes and decisions
- generators/5c0bcc9d1b8b/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 77c953876a13dee43aef7d3576d3dfcd53bab956ddd77a46c7a54f6db708aeef
- Rule hash
- 326f0e0036c3
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 5c0bcc9d1b8b --count 1 --seed 20261108 --test 1