← c1b540a1d7b0 · c1ee27b39d13 →

c1b80aa665e4

Recolor every nonzero cell with no orthogonally adjacent nonzero neighbor to 9; preserve all multi-cell foreground components.

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! (let ((dummy 0)) (define dirs4 (list (list -1 0) (list 1 0) (list 0 -1) (list 0 1))) (for*/fold ((out g)) ((r (in-range (rows g))) (c (in-range (cols g)))) (let ((v (at g r c))) (if (and (not (= v 0)) (all? (lambda (d) (let ((rr (+ r (first d))) (col2 (+ c (second d)))) (not (and (in-bounds? rr col2 (rows g) (cols g)) (not (= (at g rr col2) 0)))))) dirs4)) (set-cell out r c 9) out)))))

Provenance

Generator
generators/c1b80aa665e4/generator.py
Notes and decisions
generators/c1b80aa665e4/notes.md
Review label
reviewed_safe
Generator SHA-256
d617fffce3ce94a4595b3f5212618a4e74cf00702d731325d38a5c6dc78eebc1
Rule hash
54c7b30bb7f3
Sources
bank:91ced140cdc4
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate c1b80aa665e4 --count 1 --seed 20261108 --test 1