← bbbec840ce41 · bc5e668b7668 →

bc0816632908

On a two-color grid, treat 2 as background and find the 4-connected color-0 components. Sort whole components by their leftmost column. Recolor every third component starting with the first (indices 0, 3, 6, ...) completely to 4. The curriculum alternates the canonical 3-row zigzag with irregular multi-cell shapes and a row-order trap, so neither a fixed 3x12 pixel stencil nor 'every third black pixel' can solve it.

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* ((comps (objects g 2))
                  (sorted (sort-by comps (lambda (o) (min-of snd (obj-cells o))))))
             (reduce (lambda (acc i)
                       (if (zero? (remainder i 3))
                           (recolor-cells acc (obj-cells (nth sorted i)) 4)
                           acc))
                     g
                     (range 0 (length sorted)))))))

Provenance

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