← d19732b92d4a · d1c500f060a1 →

d1bf9a8e4c69

For each separated nonzero connected component, erase all of its cells and paint exactly the four corners of that component's bounding box in its original color. Components are determined by connectivity rather than color, including when two separated components deliberately share a color.

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! (let ((dummy 0)) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((obj (in-list (objects g 0)))) (let* ((bb (obj-bbox obj)) (r0 (first bb)) (c0 (second bb)) (r1 (third bb)) (c1 (fourth bb))) (paint-cells out (list (list r0 c0) (list r0 c1) (list r1 c0) (list r1 c1)) (obj-color obj))))))

Provenance

Generator
generators/d1bf9a8e4c69/generator.py
Notes and decisions
generators/d1bf9a8e4c69/notes.md
Review label
reviewed_safe
Generator SHA-256
458e1558ab9ada63796e1b5ab6a9601f4bd28094c0687140aedf17390105c86b
Rule hash
dc30ef9952c0
Sources
bank:884454e62c49
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate d1bf9a8e4c69 --count 1 --seed 20261108 --test 1