← 8b0844e3951e · 8b320727aa72 →

8b2e01e4176b

On a zero background, each separated nonzero singleton seed expands on a fresh same-size output into its Manhattan-radius-1 diamond: the seed cell plus its up/down/left/right neighbours, all in the seed's own colour. Out-of-bounds arms are clipped. Ordinary lessons alternate between canonical anchors and scenes containing both an edge-clipped seed and two separated seeds that reuse a colour.

Manhattan neighborhoodlocal expansionsame-size transform

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))) (define (paint grid cells color) (for/fold ((out grid)) ((p (in-list cells))) (if (in-bounds? (first p) (second p) (rows out) (cols out)) (set-cell out (first p) (second p) color) out))) (for*/fold ((out (empty-grid (rows g) (cols g) 0))) ((r (in-range (rows g))) (c (in-range (cols g)))) (let ((v (at g r c))) (if (= v 0) out (paint out (filter (lambda (p) (in-bounds? (first p) (second p) (rows g) (cols g))) (map (lambda (d) (list (+ r (first d)) (+ c (second d)))) (cons (list 0 0) dirs4))) v))))))

Provenance

Generator
generators/8b2e01e4176b/generator.py
Notes and decisions
generators/8b2e01e4176b/notes.md
Review label
reviewed_safe
Generator SHA-256
915110550b9fc5e893544b1d07127e2408730460b3aab530d41d26605a01c6e8
Rule hash
1e68480e5183
Sources
bank:889fa9012eb1
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 8b2e01e4176b --count 1 --seed 20261108 --test 1