← 6347dcb736b5 · 637229802e6f →
6355eb114053
Fill only zero centers whose four cardinal neighbors share one nonzero color.
local neighborhoodspattern completionsame-size repair
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).
Reference rule (Racket)
(rule!
(for*/fold ([out g])
([r (in-range 1 (- (rows g) 1))]
[c (in-range 1 (- (cols g) 1))])
(let ((vals (list (at g (- r 1) c) (at g (+ r 1) c) (at g r (- c 1)) (at g r (+ c 1)))))
(if (and (= (at g r c) 0)
(not (= (first vals) 0))
(all? (lambda (v) (= v (first vals))) vals))
(set-cell out r c (first vals))
out))))Provenance
- Generator
- generators/6355eb114053/generator.py
- Notes and decisions
- generators/6355eb114053/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- e2eb16599edc6dcca97caebd13241d234f1876bfbeb2aadd8a620573104e8867
- Rule hash
- d4bb39745d13
- Sources
- bank:f2c80d62966a
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 6355eb114053 --count 1 --seed 20261108 --test 1