← a2d8f0cb0fdb · a2e752ad6948 →
a2d9d069c7d5
16x16-ish orange(7) grid with exactly two other colors: the MARKER color (least cells: one 5-cell plus shape) and the BLOCK color (most cells: 4..12 solid squares, side lengths 1..max_block_size, canonically 1..7). Rule: if odd-sided blocks outnumber even-sided ones, the plus is kept, else it is erased to 7; either way every odd-sided block's center cell is painted with the marker color. keep_cross (the parity decision) is an exact observable axis; both branches are witnessed at healthy rates.
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* ((bg 7)
(colors (filter (lambda (c) (!= c bg)) (grid-colors g)))
(counts (map (lambda (c) (list c (length (find-color g c)))) colors))
(sorted-counts (sort-by counts (lambda (p) (nth p 1))))
(marker-color (nth (first sorted-counts) 0))
(block-color (nth (last sorted-counts) 0))
(objs (filter (lambda (o) (= (obj-color o) block-color))
(objects g bg)))
(odd-count (count-where (lambda (o)
(let* ((bb (obj-bbox o))
(h (+ 1 (- (nth bb 2) (nth bb 0))))
(w (+ 1 (- (nth bb 3) (nth bb 1)))))
(and (= (mod h 2) 1) (= (mod w 2) 1))))
objs))
(even-count (- (length objs) odd-count))
(keep-cross (> odd-count even-count))
(g2 (if keep-cross g (recolor g marker-color bg)))
(result (reduce (lambda (acc obj)
(with-bbox obj
(r1 c1 r2 c2)
(let* ((h (+ 1 (- r2 r1)))
(w (+ 1 (- c2 c1))))
(if (and
(= (mod h 2) 1)
(= (mod w 2) 1))
(set-cell acc
(+ r1 (/ (- r2 r1) 2))
(+ c1 (/ (- c2 c1) 2))
marker-color)
acc))))
g2
objs)))
result))))Provenance
- Generator
- generators/a2d9d069c7d5/generator.py
- Notes and decisions
- generators/a2d9d069c7d5/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- d9cc93aa5442cb9ddf7aff262c1af557001d2b80b6c5828f369014ce9cd0362c
- Rule hash
- e2513b1ebd3d
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate a2d9d069c7d5 --count 1 --seed 20261108 --test 1