← 3e68f3e3f66f · 3ef9eae12446 →

3ef5f8be2639

Select the first color-2 and first color-3 cells in row-major order, grow each to its full 3x3 Chebyshev-radius-1 neighborhood, and paint their intersection color 8 on a blank canvas. Later color-2/3 cells are distractors and do not change the selected centers.

color-specific selectionset intersectionsquare expansion

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 square-offsets (for*/list ((dr (in-range -1 2)) (dc (in-range -1 2))) (list dr dc))) (define (points-of grid color) (sort (find-color grid color) cell<)) (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 (mask-intersection a b) (filter (lambda (p) (member p b)) a)) (let* ((a (first (points-of g 2))) (b (first (points-of g 3))) (ga (grow-from-centers g (list a) square-offsets)) (gb (grow-from-centers g (list b) square-offsets))) (paint-cells (empty-grid (rows g) (cols g) 0) (mask-intersection ga gb) 8))))

Provenance

Generator
generators/3ef5f8be2639/generator.py
Notes and decisions
generators/3ef5f8be2639/notes.md
Review label
reviewed_safe
Generator SHA-256
c5e2f143ecdc72ef4195f54a18c009f4e4c2e75dd3a9ff041622b1d394bd84b5
Rule hash
020757caefaf
Sources
bank:1f065edbcf08
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 3ef5f8be2639 --count 1 --seed 20261108 --test 1