← 579f1e2dcb4a · 57df2ac388cd →

57bafcdde8c3

Use the unique modal color as background. Recolor every non-background 4-connected component of size greater than one to cyan (8), while leaving isolated singleton cells unchanged.

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 ((bg (mode g -1)))
             (for-each-object g
                              (objects g bg)
                              (lambda (acc obj)
                                (if (> (obj-size obj) 1)
                                    (paint-cells acc (obj-cells obj) 8)
                                    acc)))))))

Provenance

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