← 57bafcdde8c3 · 581bb11ff645 →

57df2ac388cd

A 0-background grid contains exactly two separated 4-connected motifs in distinct non-{0,8} colors. Normalize each motif to its bounding-box top-left and overlay the first two scan-order objects: shared cells become 8, first-only cells keep the first color, and second-only cells keep the second color. Every generated lesson contains all three supports.

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 (t10-norm-cells cells) (let* ((bb (bbox-of-cells cells)) (r0 (first bb)) (c0 (second bb)) (r1 (third bb)) (c1 (fourth bb))) (list (map (lambda (p) (list (- (first p) r0) (- (second p) c0))) cells) (+ 1 (- r1 r0)) (+ 1 (- c1 c0)) r0 c0))) (define (t3-component-items grid) (map (lambda (obj) (let* ((info (t10-norm-cells (obj-cells obj))) (offs (first info)) (sh (second info)) (sw (third info)) (bb (obj-bbox obj))) (list (obj-color obj) offs sh sw (first bb) (second bb) obj))) (objects grid 0))) (let* ((items (t3-component-items g)) (a (first items)) (b (second items)) (h (max (third a) (third b))) (w (max (fourth a) (fourth b))) (sa (second a)) (sb (second b)) (ca (first a)) (cb (first b))) (grid-from-fn h w (lambda (r c) (cond ((and (member? (list r c) sa) (member? (list r c) sb)) 8) ((member? (list r c) sa) ca) ((member? (list r c) sb) cb) (else 0)))))))

Provenance

Generator
generators/57df2ac388cd/generator.py
Notes and decisions
generators/57df2ac388cd/notes.md
Review label
reviewed_safe
Generator SHA-256
0e2a5cebd5fd2a44b33850eac511d8745d3b16832d467734971f31024c5f818b
Rule hash
a668b763669f
Sources
bank:66491d778d88
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 57df2ac388cd --count 1 --seed 20261108 --test 1