← fc814cec3976 · fcabbbbdfc11 →

fc999420d3aa

On a zero background, find every nonzero center whose four in-bounds cardinal neighbours contain exactly three cells of the center colour and one zero. Fill that one zero with the center colour, completing the plus; leave every other cell unchanged. Generated targets use distinct colours. Scheduled lessons also include isolated two-arm decoys and non-downward missing arms so the demonstrations identify the exact precondition rather than a canonical-template shortcut.

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 (rows g))) (c (in-range (cols g)))) (let ((v (at g r c))) (if (= v 0) out (let* ((nbrs (list (list (- r 1) c) (list (+ r 1) c) (list r (- c 1)) (list r (+ c 1)))) (vals (map (lambda (p) (if (in-bounds? (first p) (second p) (rows g) (cols g)) (at g (first p) (second p)) -1)) nbrs)) (zero-pos (filter (lambda (p) (and (in-bounds? (first p) (second p) (rows g) (cols g)) (= (at g (first p) (second p)) 0))) nbrs))) (if (and (= (length (filter (lambda (x) (= x v)) vals)) 3) (= (length zero-pos) 1)) (set-cell out (first (first zero-pos)) (second (first zero-pos)) v) out)))))))

Provenance

Generator
generators/fc999420d3aa/generator.py
Notes and decisions
generators/fc999420d3aa/notes.md
Review label
reviewed_safe
Generator SHA-256
60ef94206b4b18d1cec6bfb88c2028d73747da828c67350eb62d661fc60e379a
Rule hash
75975e426e4b
Sources
bank:7507d112faf2
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate fc999420d3aa --count 1 --seed 20261108 --test 1