← 410fb6b72f16 · 41851e57e1a5 →

4179e1ac3cf7

A 10..14 by 12..16 zero grid contains one connected color-1 template, one to three exact translated color-3 copies, and zero to two nonmatching color-3 distractors. The template has 3..5 cells, fits a 3x3 box, and is not horizontally symmetric. Output starts empty; every exact green copy is recolored 8 and completed with its horizontal reflection inside its own bounding box, while all nonmatches are erased.

per-object reflectionshape completiontemplate matching

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 (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 (f4-norm cells) (let* ((bb (bbox-of-cells cells)) (r0 (first bb)) (c0 (second bb))) (map (lambda (p) (list (- (first p) r0) (- (second p) c0))) cells))) (define (nb-sort-cells cells) (sort cells e8b-list<)) (define (nb-norm cells) (nb-sort-cells (f4-norm cells))) (let* ((target (nb-norm (obj-cells (first (filter (lambda (o) (= (obj-color o) 1)) (objects g 0))))))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((obj (in-list (filter (lambda (o) (= (obj-color o) 3)) (objects g 0))))) (if (equal? (nb-norm (obj-cells obj)) target) (let* ((bb (obj-bbox obj)) (pts (remove-duplicates (append (obj-cells obj) (map (lambda (p) (list (first p) (- (+ (second bb) (fourth bb)) (second p)))) (obj-cells obj)))))) (paint-cells out pts 8)) out)))))

Provenance

Generator
generators/4179e1ac3cf7/generator.py
Notes and decisions
generators/4179e1ac3cf7/notes.md
Review label
reviewed_safe
Generator SHA-256
c2c235135ccbb3997dd9ce55f1d9d0b0524c772562104b5c5a7eae41e533778b
Rule hash
1cfd3e1c42af
Sources
bank:3cbcef69c8ec
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 4179e1ac3cf7 --count 1 --seed 20261108 --test 1