← cefd2849a551 · cf4fdf474ad5 →

cf09cffb4663

On a zero-background grid, recolor a blue(1) cell red(2) exactly when its up, down, left, and right neighbours are all blue. Generated scenes contain one or two separated blue line crosses with varied arm lengths, plus a straight-line or T-junction decoy that must remain unchanged.

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) 1)
               (= (safe-at g (- r 1) c 0) 1)
               (= (safe-at g (+ r 1) c 0) 1)
               (= (safe-at g r (- c 1) 0) 1)
               (= (safe-at g r (+ c 1) 0) 1))
          2
          (at g r c)))))

Provenance

Generator
generators/cf09cffb4663/generator.py
Notes and decisions
generators/cf09cffb4663/notes.md
Review label
reviewed_safe
Generator SHA-256
1b1472b1f377b557b2d901c4e7976c41cfe3fbbd0d8fae40df642f992aa3f392
Rule hash
4584c31c95ef
Sources
bank:e57147319d67
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate cf09cffb4663 --count 1 --seed 20261108 --test 1