← c9034f0626e0 · c9b2eae14052 →
c953833a3fba
A zero-background grid contains 1-4 colored single-cell centers. Treat all nonzero cells as one seed set. Paint cyan(8) exactly where the minimum Manhattan distance to that set is 2, on a fresh zero canvas. Input center colors are irrelevant and centers disappear. Close-center lessons expose the union-distance behavior: a cell at distance 2 from one center is suppressed when it lies within distance 0 or 1 of another.
parametric familydistance-shell reasoningiterated growthlayer subtraction
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) (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 (distance-to-set p cells) (apply min (map (lambda (q) (+ (abs (- (first p) (first q))) (abs (- (second p) (second q))))) cells))) (define (cells-within grid centers radius) (filter (lambda (p) (<= (distance-to-set p centers) radius)) (grid-positions grid))) (define (cells-at-exact-union-radius grid centers outer inner) (let ((outer-cells (cells-within grid centers outer)) (inner-cells (cells-within grid centers inner))) (filter (lambda (p) (not (member p inner-cells))) outer-cells))) (let ((centers (map (lambda (cell) (list (first cell) (second cell))) (nonzero-cells g)))) (paint-cells (empty-grid (rows g) (cols g) 0) (cells-at-exact-union-radius g centers 2 1) 8))))
Provenance
- Generator
- generators/c953833a3fba/generator.py
- Notes and decisions
- generators/c953833a3fba/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 2caf38e000e3a07cb81ad3ff7b6b4e461dae5beb480a0f92d85e012cdba0b0b1
- Rule hash
- 2c7f294c8da4
- Sources
- bank:1f065edbcf08
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate c953833a3fba --count 1 --seed 20261108 --test 1