← d93294819fca · d9d4f0ebb48b →
d982cffd80f8
Fill a zero cell only when all eight original neighbors share one nonzero color. Sample 1-6 full rings with inert near-rings, nonzero centers, and optional singleton colors. Preserve distractions and original colored cells.
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! (let ((dummy 0)) (for*/fold ((out g)) ((r (in-range 1 (- (rows g) 1))) (c (in-range 1 (- (cols g) 1)))) (let ((ring (for*/list ((dr (in-list (list -1 0 1))) (dc (in-list (list -1 0 1))) #:unless (and (= dr 0) (= dc 0))) (at g (+ r dr) (+ c dc))))) (if (and (= (at g r c) 0) (= (length (remove-duplicates ring)) 1) (not (= (first ring) 0))) (set-cell out r c (first ring)) out)))))
Provenance
- Generator
- generators/d982cffd80f8/generator.py
- Notes and decisions
- generators/d982cffd80f8/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- f8eacbfeab97db8e356ce5baac3097de8c62a04af64168f1f3f5445fa4974297
- Rule hash
- 58201e67a052
- Sources
- bank:b5b9f7c948f0
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate d982cffd80f8 --count 1 --seed 20261108 --test 1