← 9536d5aef3f6 · 954070a7d7ce →

953db766893d

Color every minimum-size zero room 3 and every larger zero room 4 while preserving the wall lattice.

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* ((inverted (cellmap g (r c v) (if (zero? v) 1 0)))
                  (comps (objects inverted 0))
                  (min-size (min-of obj-size comps)))
             (for/fold ((gg g))
               ((comp comps))
               (let ((color (if (= (obj-size comp) min-size) 3 4)))
                 (for/fold ((ggg gg))
                   ((cell (obj-cells comp)))
                   (set-cell ggg (first cell) (second cell) color))))))))

Provenance

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