← 94755460a402 · 94d475bf67ba →

947a1d9ca8f5

A square 0-background grid contains a uniquely smallest colored template object, one or two larger differently colored distractor objects, and isolated color-9 markers. Stamp the normalized smallest-object shape in its color at every marker on a fresh blank grid.

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 (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 (f4-norm-info cells) (let* ((bb (bbox-of-cells cells)) (r0 (first bb)) (c0 (second bb)) (r1 (third bb)) (c1 (fourth bb))) (list (f4-norm cells) (+ 1 (- r1 r0)) (+ 1 (- c1 c0))))) (let* ((obj (first (sort (filter (lambda (obj) (not (= (obj-color obj) 9))) (objects g 0)) (lambda (a b) (< (obj-size a) (obj-size b)))))) (info (f4-norm-info (obj-cells obj))) (shape (first info))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((m (in-list (find-color g 9)))) (paint-cells out (map (lambda (p) (list (+ (first m) (first p)) (+ (second m) (second p)))) shape) (obj-color obj))))))

Provenance

Generator
generators/947a1d9ca8f5/generator.py
Notes and decisions
generators/947a1d9ca8f5/notes.md
Review label
reviewed_safe
Generator SHA-256
a0075ff50825a0f51f3764acb57377f4f0dac024c2fc39b11c34c0c3bb351a7d
Rule hash
6e780392649f
Sources
bank:9f3a2c87618d
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 947a1d9ca8f5 --count 1 --seed 20261108 --test 1