← bf415be1791c · bf53d21ff9fc →

bf47583ab6e3

0-bg grid (h~6-8, w~6-8) with 2-4 SPARSE SEED cells placed at random positions, each in a distinct non-bg color (the seed colors are simply 2, 3, 4, 5 in placement order). Rule: for each non-bg seed cell at (r, c), STAMP a 5-cell PLUS shape in color 8 (cyan): the center (r, c) and the four cardinal neighbors (r-1, c), (r+1, c), (r, c-1), (r, c+1). Cells that fall outside the grid are clipped. The seed cells themselves are OVERPAINTED to color 8 (their original color is replaced). Net: every colored seed dot becomes a cyan plus-sign on a black field; the original seed colors disappear.

parametric familylocal stencil applicationmulti-seed unionsame-size blank output

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 plus-offsets (list (list 0 0) (list -1 0) (list 1 0) (list 0 -1) (list 0 1))) (define (nonzero-cells grid) (sort (filter (lambda (cell) (not (= (third cell) 0))) (grid-cells grid)) (lambda (a b) (cell< (list (first a) (second a)) (list (first b) (second b)))))) (define (grow-from-centers grid centers offsets) (remove-duplicates (filter (lambda (p) (in-bounds? (first p) (second p) (rows grid) (cols grid))) (flatmap (lambda (p) (map (lambda (d) (list (+ (first p) (first d)) (+ (second p) (second d)))) offsets)) centers)))) (define (paint-grown grid centers offsets (color 8)) (paint-cells (empty-grid (rows grid) (cols grid) 0) (grow-from-centers grid centers offsets) color)) (paint-grown g (map (lambda (cell) (list (first cell) (second cell))) (nonzero-cells g)) plus-offsets 8)))

Provenance

Generator
generators/bf47583ab6e3/generator.py
Notes and decisions
generators/bf47583ab6e3/notes.md
Review label
reviewed_safe
Generator SHA-256
7b916562c7d151e392d9feba8de8be7bd3973533d01f0a7b7d6811fa3df39684
Rule hash
11629948ea13
Sources
bank:1f065edbcf08
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate bf47583ab6e3 --count 1 --seed 20261108 --test 1