← 983d0ea3bd17 · 98c4483164f7 →

98a65dc7fcb1

Fill only zero centers with eight equal nonzero neighbors; include decisive near-misses.

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!
  ;; alt: equivalent `for*/fold` over zero centers, but `cellmap` exposes the
  ;; local 3x3-ring predicate directly.
  (cellmap g (r c v)
    (let ((nbrs (neighbors-8 g r c 0)))
      (if (and (zero? v)
               (!= (first nbrs) 0)
               (all? (lambda (n) (= n (first nbrs))) nbrs))
          (first nbrs)
          v))))

Provenance

Generator
generators/98a65dc7fcb1/generator.py
Notes and decisions
generators/98a65dc7fcb1/notes.md
Review label
reviewed_safe
Generator SHA-256
29c6a2f1df57fcddb81e12cde94dbbb1fa793848c5acf46eb4e4b91ca09645eb
Rule hash
7878169c3c87
Sources
bank:421ecdc153f8
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 98a65dc7fcb1 --count 1 --seed 20261108 --test 1