← 306adf8e4c54 · 3108da8bf9e8 →

306f5b5f899c

A sparse 0-background scene contains 2-5 separated connected motifs, including canonical singleton distractors. The output is the normalized union of the two largest motifs, painted color 8; ties use top-left order.

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 (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* ((sorted (sort (objects g 0) (lambda (a b) (let ((ba (obj-bbox a)) (bb (obj-bbox b))) (e8b-list< (list (- (obj-size a)) (first ba) (second ba)) (list (- (obj-size b)) (first bb) (second bb))))))) (a (first sorted)) (b (second sorted)) (ia (f4-norm-info (obj-cells a))) (ib (f4-norm-info (obj-cells b))) (shape (remove-duplicates (append (first ia) (first ib)))) (h (max (second ia) (second ib))) (w (max (third ia) (third ib)))) (paint-cells (empty-grid h w 0) shape 8))))

Provenance

Generator
generators/306f5b5f899c/generator.py
Notes and decisions
generators/306f5b5f899c/notes.md
Review label
reviewed_safe
Generator SHA-256
6cde9d66ded666691e4107c15a6168aff153946178d64ee1ddd448ffc44c9d18
Rule hash
2cde2dccfbeb
Sources
bank:884454e62c49
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 306f5b5f899c --count 1 --seed 20261108 --test 1