← 28cb867ad3f0 · 28f91ad53b1b →
28e5fbc279ab
Select the unique largest green motif, normalize it at its bounding-box origin, and stamp it at distinct-color singleton markers; preserve smaller green distractors and all anchors. All stamps fit and remain disjoint.
copy at markersshape normalizationtemplate extraction
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).
Reference rule (Racket)
(rule! (let ((dummy 0)) (define (e8b-list< a b) (cond ((empty? a) #f) ((< (first a) (first b)) #t) ((> (first a) (first b)) #f) (else (e8b-list< (rest a) (rest b))))) (define (v1-normalized-offsets obj) (let* ((bb (obj-bbox obj)) (r0 (first bb)) (c0 (second bb))) (sort (map (lambda (p) (list (- (first p) r0) (- (second p) c0))) (obj-cells obj)) e8b-list<))) (let* ((candidates (filter (lambda (obj) (= (obj-color obj) 3)) (objects g 0))) (template (first (sort candidates (lambda (a b) (or (> (obj-size a) (obj-size b)) (and (= (obj-size a) (obj-size b)) (e8b-list< (obj-bbox a) (obj-bbox b)))))))) (shape (v1-normalized-offsets template))) (for/fold ((out g)) ((obj (in-list (objects g 0)))) (if (and (= (obj-size obj) 1) (not (= (obj-color obj) 3))) (let ((p (first (obj-cells obj)))) (paint-cells out (map (lambda (off) (list (+ (first p) (first off)) (+ (second p) (second off)))) shape) (obj-color obj))) out)))))
Provenance
- Generator
- generators/28e5fbc279ab/generator.py
- Notes and decisions
- generators/28e5fbc279ab/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- d68ecb728463d4ffc5348ac5fbb10003abbc665c342adcfdc2cf5515a9770226
- Rule hash
- 20f1992162e5
- Sources
- bank:eb9f9fbbbec1
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 28e5fbc279ab --count 1 --seed 20261108 --test 1