← 1198580cc354 · 11ebef5b0986 →

11c53dabb028

Select the first row-major nonzero color, invert the zero mask, and tile 2 by 2.

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))
                (nz (find (lambda (v) (!= v 0))
                          (flatmap (lambda (r)
                                     (map (lambda (c) (at g r c)) (range 0 w)))
                                   (range 0 h)))))
           (build-grid (* 2 h)
                       (* 2 w)
                       (r c)
                       (let ((v (at g (mod r h) (mod c w)))) (if (= v 0) nz 0))))))

Provenance

Generator
generators/11c53dabb028/generator.py
Notes and decisions
generators/11c53dabb028/notes.md
Review label
reviewed_safe
Generator SHA-256
32cf2d21a7096a0f76115322813333a55e1ac27b1bba22567719db7ebfe02ac8
Rule hash
573d7b5ea64c
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 11c53dabb028 --count 1 --seed 20261108 --test 1