← 3d48e913ef07 · 3e0aef964b9e →
3dc5b297cfa2
One connected two-color shape sits on a unique nonzero modal background. Swap the two shape colors. Keep the bottom half in place and shift the top half right by the full shape-bbox width; when black (0) is a shape color, use the horizontal span of the non-black cells instead. The default six-slot schedule uses a repeating black/black/nonblack pattern, includes all linked 16x16 canonical bbox profiles, and keeps a black-branch witness after any one query holdout from a three-pair lesson. Every two-demo lesson refutes full-width, no-swap, move-both-halves, and grid-midpoint shortcuts.
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* ((hh (rows g))
(ww (cols g))
(bg (mode g -1))
(cells (for*/list ((r (range 0 hh)) (c (range 0 ww)) #:when (!= (at g r c) bg))
(list r c (at g r c))))
(colors (unique (map third cells)))
(c1 (first colors))
(c2 (second colors))
(rmin (min-of first cells))
(rmax (max-of first cells))
(cmin (min-of second cells))
(cmax (max-of second cells))
(rmid (quotient (+ rmin rmax) 2))
(shift (if (or (zero? c1) (zero? c2))
(let ((nz (filter (lambda (c) (!= (third c) 0)) cells)))
(+ 1 (- (max-of second nz) (min-of second nz))))
(+ 1 (- cmax cmin))))
(result (make-hash)))
(for* ((r (range 0 hh)) (c (range 0 ww))) (hash-set! result (list r c) bg))
(for ((cell cells))
(let* ((r (first cell))
(c (second cell))
(v (third cell))
(nv (if (= v c1) c2 c1)))
(if (<= r rmid)
(let ((nc (+ c shift)))
(when
(and (>= nc 0) (< nc ww))
(hash-set! result (list r nc) nv)))
(hash-set! result (list r c) nv))))
(build-grid hh ww (r c) (hash-ref result (list r c) 0))))))Provenance
- Generator
- generators/3dc5b297cfa2/generator.py
- Notes and decisions
- generators/3dc5b297cfa2/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- bba8a758eeed3d632897a59bc11f4cc91199364ba7cd2a16c4c69a1bedf9c962
- Rule hash
- 69b3b2d19383
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 3dc5b297cfa2 --count 1 --seed 20261108 --test 1