← be05cee2806f · be6269bef667 →

be5d9fa6fec1

A narrow grid is partitioned into 8..16 maximal groups of 1..3 identical rows. Groups alternate between nonempty 0/1 rows and nonempty 0/8 rows. Scan groups from zero: in groups 0,3,6,... recolor every nonzero cell to 2; preserve all cells in the other groups.

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)))
           (cellmap g
                    (r c v)
                    (let* ((gi (reduce (lambda (acc r2)
                                         (if (all? (lambda (kc)
                                                     (= (at g r2 kc) (at g (- r2 1) kc)))
                                                   (range 0 w))
                                             acc
                                             (+ acc 1)))
                                       0
                                       (range 1 (+ r 1)))))
                      (if (and (zero? (mod gi 3)) (!= v 0)) 2 v))))))

Provenance

Generator
generators/be5d9fa6fec1/generator.py
Notes and decisions
generators/be5d9fa6fec1/notes.md
Review label
reviewed_safe
Generator SHA-256
6c6a8b3ab410b59667d9fb2bbeac8a7b36588edd8143435da4651d4669da996a
Rule hash
0ff6975f3e81
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate be5d9fa6fec1 --count 1 --seed 20261108 --test 1