← 7a37505e7bd0 · 7aed1f233b46 →
7a6e065e8273
A 6..12 by 6..12 zero-background grid contains 1..6 non-adjacent interior seed cells. Seed colors may repeat and may be color 5 or other non-cyan colors. The output is a fresh zero grid containing color-8 cells at the four cardinal neighbors of every seed; original seed centers are omitted. Overlapping halos are unioned.
cardinal halosdifference between growth and sourcelocal exclusion
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 halo-offsets (list (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)) halo-offsets 8)))
Provenance
- Generator
- generators/7a6e065e8273/generator.py
- Notes and decisions
- generators/7a6e065e8273/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 5a4ff91d7d12f1981c3b4cfeb408d38a807d940d5135faf81042b864d733c755
- Rule hash
- 1724b71ea895
- Sources
- bank:1f065edbcf08
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 7a6e065e8273 --count 1 --seed 20261108 --test 1