← 8c82d72dafe9 · 8cfb4420a8f1 →
8ce1331089a3
A rectangular grid has four distinct nonzero border colors: top, bottom, left, and right, with zero corners. Sparse interior pixels sit at least one blank cell away from the border. Pixels matching a border color move to the adjacent inner wall while preserving the perpendicular coordinate; one-off non-border distractor colors are removed.
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* ((top-color (at g 0 1))
(bot-color (at g (- h 1) 1))
(left-color (at g 1 0))
(right-color (at g 1 (- w 1)))
(result (make-hash)))
(for* ((r (range 0 h)) (c (range 0 w)))
(let ((v (at g r c)))
(cond
((or (zero? r) (= r (- h 1)) (zero? c) (= c (- w 1))) (hash-set! result (list r c) v))
(else (hash-set! result (list r c) 0)))))
(for* ((r (range 1 (- h 1))) (c (range 1 (- w 1))))
(let ((v (at g r c)))
(when
(!= v 0)
(cond
((= v top-color) (hash-set! result (list 1 c) v))
((= v bot-color) (hash-set! result (list (- h 2) c) v))
((= v left-color) (hash-set! result (list r 1) v))
((= v right-color) (hash-set! result (list r (- w 2)) v))))))
(cellmap g (r c v) (hash-ref result (list r c) 0))))))Provenance
- Generator
- generators/8ce1331089a3/generator.py
- Notes and decisions
- generators/8ce1331089a3/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- e4f6fcc30c568c3297e27b3a859c4627134e587a5bfadb6b3671f06bb3955dc8
- Rule hash
- 3f9dcd988189
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 8ce1331089a3 --count 1 --seed 20261108 --test 1