← 2c35533cc389 · 2c4efc97c37d →

2c48ea6caa2e

Preserve a complete broken-blue-frame mask. Within the blue bounding box, paint an empty cell red exactly when its full row or full column contains at least four blue cells. Blue cells remain blue and every other cell becomes background. Published masks anchor the source distribution and a minimal threshold witness refutes the bbox-majority shortcut; D4 transforms and bounded zero padding are nuisance changes.

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* ((bb (bbox-of-cells (find-color g 1)))
                (r1 (first bb))
                (c1 (second bb))
                (r2 (third bb))
                (c2 (fourth bb))
                (row-blues (map (lambda (r) (row-count g r 1)) (range 0 h)))
                (col-blues (map (lambda (c) (col-count g c 1)) (range 0 w))))
           (cellmap g
                    (r c v)
                    (if (= 1 v)
                        1
                        (if (and (>= r r1) (<= r r2) (>= c c1) (<= c c2) (zero? v))
                            (if (or (>= (nth row-blues r) 4) (>= (nth col-blues c) 4))
                                2
                                0)
                            0))))))

Provenance

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