← b1e6ee6856bf · b22fce018c84 →

b1e8f6552b5f

Expand each isolated interior nonzero marker into an empty-centered hollow 3x3 ring in the marker's own color.

local stampingneighborhood 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)) (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 (for*/fold ((acc out)) ((dr (in-list (list -1 0 1))) (dc (in-list (list -1 0 1)))) (let ((nr (+ r dr)) (nc (+ c dc))) (if (and (not (and (= dr 0) (= dc 0))) (in-bounds? nr nc (rows g) (cols g))) (set-cell acc nr nc v) acc))))))))

Provenance

Generator
generators/b1e8f6552b5f/generator.py
Notes and decisions
generators/b1e8f6552b5f/notes.md
Review label
reviewed_safe
Generator SHA-256
dd6e83a8125e0ed57482908f7eccf57a1142fce6dbaa59af99f7588aa3a060fe
Rule hash
94525d5f470a
Sources
bank:0e3c36a9dbcc
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate b1e8f6552b5f --count 1 --seed 20261108 --test 1