← 67aae675d447 · 67e9e17efb62 →

67c14e0f76b1

On a 0-background grid, recolor every 0 whose immediate left and right neighbours are both color 1 to color 2. The test is horizontal, local, and evaluated from the input grid. Longer horizontal gaps, pure vertical 1-0-1 triples, and unrelated colored cells stay unchanged. Generated lessons rotate through isolated targets, overlapping 1-0-1-0-1 chains, left/right boundary targets, and a mixed scene; every scene also contains a wider horizontal-gap control and a vertical control.

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!
  (fold-cells g g
    (lambda (out r c v)
      (if (and (= v 0) (> c 0) (< c (- w 1)) (= (at g r (- c 1)) 1) (= (at g r (+ c 1)) 1))
          (set-cell out r c 2)
          out))))

Provenance

Generator
generators/67c14e0f76b1/generator.py
Notes and decisions
generators/67c14e0f76b1/notes.md
Review label
reviewed_safe
Generator SHA-256
c3584f79937bdc3942c78051e20f4e947735c80d77f1de9d38a11ad92e61f49e
Rule hash
8178a08365e6
Sources
bank:e00836ab832d
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 67c14e0f76b1 --count 1 --seed 20261108 --test 1