← d70726fd510f · d7b84df5a06a →

d78409c82698

0-bg grid (h~8-13, w~8-13) with: (a) 2-5 COLOR-2 (red) SINGLETON CELLS placed at positions with no cardinal red neighbor (diagonal-neighbor pairs are allowed and used to pin CARDINAL, not diagonal, connectivity); (b) ONE FIXED MULTI-CELL COLOR-2 CLUSTER at bottom-left (a 3-cell L-shape at (h-3, 0), (h-2, 0), (h-2, 1)) — a non-singleton red blob that should NOT be recolored. Rule: for EVERY COLOR-2 (red) CELL, check its 4 cardinal neighbors. If ALL 4 cardinal neighbors are NON-RED (any non-2 value), RECOLOR that cell to COLOR 3 (green). If ≥1 cardinal neighbor IS red (part of a multi-cell component), KEEP it as 2. Net: cardinally isolated red singletons become green; multi-cell red blobs stay red.

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!
  (grid-from-fn (rows g) (cols g)
    (lambda (r c)
      (if (and (= (at g r c) 2)
               (all? (lambda (d)
                       (let ((nr (+ r (first d))) (nc (+ c (second d))))
                         (or (not (in-bounds? nr nc (rows g) (cols g))) (not (= (at g nr nc) 2)))))
                     cardinal-deltas))
          3
          (at g r c)))))

Provenance

Generator
generators/d78409c82698/generator.py
Notes and decisions
generators/d78409c82698/notes.md
Review label
reviewed_safe
Generator SHA-256
8383519045e797da7aa5f9f2f9a311cff79c74ade1781e78c45fe4428be99f58
Rule hash
f38a8db401a2
Sources
bank:2f7d84161f6a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate d78409c82698 --count 1 --seed 20261108 --test 1