← b37eb391ddc0 · b38ab8be5f4c →

b38782448e7b

Use the unique modal colour as background. A non-background row-0 cell fires only when it differs from row 1 in its column. Down each firing column, marker-colour cells turn into background and every other body cell turns into the marker colour. Non-firing top decoys and all cells outside firing columns remain unchanged.

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* ((hh (rows g))
                  (ww (cols g))
                  (bg (mode g -1))
                  (result (make-hash)))
             (for* ((r (range 0 hh)) (c (range 0 ww)))
                   (hash-set! result (list r c) (at g r c)))
             (for ((c (range 0 ww)))
               (when
                 (and (!= (at g 0 c) bg) (or (< hh 2) (!= (at g 0 c) (at g 1 c))))
                 (let ((marker (at g 0 c)))
                   (for ((r (range 1 hh)))
                     (if (= (hash-ref result (list r c) 0) marker)
                         (hash-set! result (list r c) bg)
                         (hash-set! result (list r c) marker))))))
             (build-grid hh ww (r c) (hash-ref result (list r c) 0))))))

Provenance

Generator
generators/b38782448e7b/generator.py
Notes and decisions
generators/b38782448e7b/notes.md
Review label
reviewed_safe
Generator SHA-256
3ede0c405c7ba8f04ac45be8236845a7b1cece0899fcaeed56d958ad866840f2
Rule hash
06479b7ecc39
Sources
augmented, training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate b38782448e7b --count 1 --seed 20261108 --test 1