← 588ee22f3c4f · 5949237e2737 →

58cc346198c0

For each separated nonzero connected object, erase all of its cells and paint exactly the four corners of that object's bounding box in the object's original color; object identity is determined by connectivity, not merely by color, and the rule applies to L shapes, zigzags, and other connected shapes alike.

bboxobjectssame_size

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)) (corners (list (list (first bb) (second bb)) (list (first bb) (fourth bb)) (list (third bb) (second bb)) (list (third bb) (fourth bb))))) (paint-cells out corners (obj-color obj))))))

Provenance

Generator
generators/58cc346198c0/generator.py
Notes and decisions
generators/58cc346198c0/notes.md
Review label
reviewed_safe
Generator SHA-256
9a65814c78a31ad337fa17f63c6237ebf64cea312f4c92c7f40a919d2e0c6f8e
Rule hash
f4e87d7b80d1
Sources
bank:1cd6e373f225
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 58cc346198c0 --count 1 --seed 20261108 --test 1