← 5b4fd0a9c80e · 5bb29951ab1a →

5b6cd8e8f3df

On a zero background, replace every separated interior seed by a same-color five-cell orthogonal plus, preserving the grid size.

local_growthsame_sizeseeds

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 (nonzero-cells grid) (filter (lambda (cell) (not (= (third cell) 0))) (grid-cells grid))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((cell (in-list (nonzero-cells g)))) (let ((r (first cell)) (c (second cell)) (color (third cell))) (paint-cells out (filter (lambda (p) (in-bounds? (first p) (second p) (rows g) (cols g))) (list (list r c) (list (- r 1) c) (list (+ r 1) c) (list r (- c 1)) (list r (+ c 1)))) color)))))

Provenance

Generator
generators/5b6cd8e8f3df/generator.py
Notes and decisions
generators/5b6cd8e8f3df/notes.md
Review label
reviewed_safe
Generator SHA-256
2fbb02ae6859c7e95e939c6ae610c3a51d74f652570362d1f91155ae70c328b1
Rule hash
f8f10f7791eb
Sources
bank:056856052daa
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 5b6cd8e8f3df --count 1 --seed 20261108 --test 1