← c8e53a07acc8 · c953833a3fba →

c9034f0626e0

A dense gray-5 surround encloses a large irregular zero field containing one marker color. Replace exactly the zero cells whose row parity and column parity both match the marker; preserve gray blockers, the marker, and every other zero cell.

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))
                  (marker #f)
                  (mr 0)
                  (mc 0)
                  (dummy (for* ((r (range 0 hh)) (c (range 0 ww)))
                               (when
                                 (and (not marker) (!= (at g r c) 0) (!= (at g r c) 5))
                                 (set! marker (at g r c))
                                 (set! mr r)
                                 (set! mc c))))
                  (rp (remainder mr 2))
                  (cp (remainder mc 2)))
             (build-grid hh
                         ww
                         (r c)
                         (if (and
                               (= (remainder r 2) rp)
                               (= (remainder c 2) cp)
                               (zero? (at g r c)))
                             marker
                             (at g r c)))))))

Provenance

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