← 2a40849f3961 · 2a43e4f3a796 →

2a41d6b25262

One connected red-2 template, one connected green-3 template, and one blue-1 anchor appear on a zero background. Normalize each template to its own top-left, take the symmetric difference without re-cropping it, and stamp those offsets in cyan-8 at the anchor on an otherwise empty same-size output. Templates vary over many connected polyominoes and swap absolute reading order; recurring 10x15 anchors preserve canonical profile support in every difficulty band.

local coordinatesset operations on shapessymbolic composition

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 (offset< a b) (if (= (first a) (first b)) (< (second a) (second b)) (< (first a) (first b)))) (define (find-single grid color) (first (filter (lambda (obj) (= (obj-color obj) color)) (objects grid 0)))) (define (markers grid color) (sort (find-color grid color) cell<)) (define (relative-offsets obj anchor) (let* ((ar (cond ((= anchor 0) (obj-r1 obj)) ((= anchor 1) (obj-r1 obj)) ((= anchor 2) (obj-r2 obj)) (else (obj-r2 obj)))) (ac (cond ((= anchor 0) (obj-c1 obj)) ((= anchor 1) (obj-c2 obj)) ((= anchor 2) (obj-c1 obj)) (else (obj-c2 obj))))) (sort (map (lambda (p) (list (- (first p) ar) (- (second p) ac))) (obj-cells obj)) offset<))) (define (place-offsets out offsets anchor color) (for/fold ((acc out)) ((p (in-list offsets))) (set-cell acc (+ (first anchor) (first p)) (+ (second anchor) (second p)) color))) (define a (relative-offsets (find-single g 2) 0)) (define b (relative-offsets (find-single g 3) 0)) (define x (sort (append (filter (lambda (p) (not (member p b))) a) (filter (lambda (p) (not (member p a))) b)) offset<)) (place-offsets (empty-grid (rows g) (cols g) 0) x (first (markers g 1)) 8)))

Provenance

Generator
generators/2a41d6b25262/generator.py
Notes and decisions
generators/2a41d6b25262/notes.md
Review label
reviewed_safe
Generator SHA-256
f4a6fc32980f47689a65ebe40a6a6a114f1f2a7fc539e4dedeebf3726446f3bd
Rule hash
75fe298a62dd
Sources
bank:40f7bd2c7916
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2a41d6b25262 --count 1 --seed 20261108 --test 1