← 4179e1ac3cf7 · 419ed66194f2 →

41851e57e1a5

Two disjoint, connected shapes use fixed colors red 2 and blue 1. Their inclusive bounding boxes overlap. One isolated key in color 3..9 selects the fill color. On a blank same-size canvas, fill the entire intersection rectangle, including previously empty cells. Generated lessons mix singleton/line/compact overlaps with full two-dimensional overlaps; the selected Racket rule supplies all training labels.

bounding boxeskeyed recoloringregion intersection

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)) (let* ((red (find-color g 2)) (blue (find-color g 1)) (key (first (filter (lambda (v) (not (member? v (list 0 1 2)))) (apply append g)))) (rb (bbox-of-cells red)) (bb (bbox-of-cells blue)) (r0 (max (first rb) (first bb))) (c0 (max (second rb) (second bb))) (r1 (min (third rb) (third bb))) (c1 (min (fourth rb) (fourth bb)))) (if (and (<= r0 r1) (<= c0 c1)) (paint-cells (empty-grid (rows g) (cols g) 0) (positions-in-rect r0 c0 r1 c1) key) (empty-grid (rows g) (cols g) 0)))))

Provenance

Generator
generators/41851e57e1a5/generator.py
Notes and decisions
generators/41851e57e1a5/notes.md
Review label
reviewed_safe
Generator SHA-256
63afd378c86e85eab21af83120b4ae502271469f3fcb289ce68206ffa9be7224
Rule hash
b8f48f4e78e4
Sources
bank:9f005a7005fe
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 41851e57e1a5 --count 1 --seed 20261108 --test 1