← 1407f5e6f3e5 · 142a3a64b02a →

1409f5f7af2e

For every interior black cell, inspect the cells immediately above and below it in the same column. Recolor the black cell red iff both neighbors are green; preserve the green endpoints and every other cell.

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

Provenance

Generator
generators/1409f5f7af2e/generator.py
Notes and decisions
generators/1409f5f7af2e/notes.md
Review label
reviewed_safe
Generator SHA-256
4aa5ead80dd29a715566aedda39f518dc4a24cfb87e299d7284e15a9c729a74b
Rule hash
f34e705e21f3
Sources
bank:38166e88069b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 1409f5f7af2e --count 1 --seed 20261108 --test 1