← f98b43c1996b · f99a33b5211f →

f99263121e8a

Zero background; 2-6 monochromatic 4-connected components. Sort by leftmost column then top row, take raw input bbox crops (including neighboring colors), and stack with one blank row and floor-centered horizontal padding. Two fifths of default draws are canonical-like three-object 10x10 scenes; other draws deliberately separate raw cropping, tied-left ordering, floor centering, right-edge ordering, color grouping and connectivity rivals. Inputs and outputs remain within 30x30.

component extractionordering by positionpacking

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 (e8b-paste grid pat top left) (for*/fold ((out grid)) ((r (in-range (rows pat))) (c (in-range (cols pat)))) (let ((v (at pat r c)) (rr (+ top r)) (cc (+ left c))) (if (and (not (= v 0)) (in-bounds? rr cc (rows out) (cols out))) (set-cell out rr cc v) out)))) (define (f14b-vstack-center grids (gap 1)) (if (empty? grids) (list (list)) (let* ((w (apply max (map cols grids))) (h (+ (apply + (map rows grids)) (* gap (- (length grids) 1))))) (let loop ((ys grids) (top 0) (out (empty-grid h w 0))) (if (empty? ys) out (let* ((piece (first ys)) (left (quotient (- w (cols piece)) 2))) (loop (rest ys) (+ top (rows piece) gap) (e8b-paste out piece top left)))))))) (define (s17b-object-crop grid obj) (let ((bb (obj-bbox obj))) (subgrid grid (first bb) (second bb) (third bb) (fourth bb)))) (let ((objs (sort (objects g 0) (lambda (a b) (let ((ba (obj-bbox a)) (bb (obj-bbox b))) (e8b-list< (list (second ba) (first ba)) (list (second bb) (first bb)))))))) (f14b-vstack-center (map (lambda (obj) (s17b-object-crop g obj)) objs) 1))))

Provenance

Generator
generators/f99263121e8a/generator.py
Notes and decisions
generators/f99263121e8a/notes.md
Review label
reviewed_safe
Generator SHA-256
332417ad3aa8d4080764ea505fc476ef72311365efe1613ed8729e19d4f84d83
Rule hash
e2a77f9b1289
Sources
bank:580a8993495c
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate f99263121e8a --count 1 --seed 20261108 --test 1