← 577d2db13443 · 579f1e2dcb4a →
5782a1f38509
Exactly three separated monochromatic 4-connected objects with distinct cell areas. The rule tightly crops the objects, sorts by cell count ascending, and top-aligns them left-to-right with one blank column gap. A five-profile schedule anchors canonical scale and refutes common position, color, bbox-area, alignment, fill, and grouping shortcuts.
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 (component-grid obj) (let* ((bb (obj-bbox obj)) (h (+ 1 (- (third bb) (first bb)))) (w (+ 1 (- (fourth bb) (second bb))))) (for/fold ((out (empty-grid h w 0))) ((p (in-list (obj-cells obj)))) (set-cell out (- (first p) (first bb)) (- (second p) (second bb)) (obj-color obj))))) (define (paste-crop grid shape top left) (for*/fold ((out grid)) ((r (in-range (rows shape))) (c (in-range (cols shape)))) (let ((v (at shape 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 (pack-pieces pieces) (if (empty? pieces) (list (list 0)) (let* ((h (apply max (map rows pieces))) (w (+ (apply + (map cols pieces)) (max 0 (- (length pieces) 1))))) (let loop ((xs pieces) (left 0) (out (empty-grid h w 0))) (if (empty? xs) out (loop (rest xs) (+ left (cols (first xs)) 1) (paste-crop out (first xs) 0 left))))))) (let* ((items (sort (map (lambda (obj) (list (obj-size obj) (component-grid obj))) (objects g 0)) (lambda (a b) (< (first a) (first b))))) (pieces (map second items))) (pack-pieces pieces))))
Provenance
- Generator
- generators/5782a1f38509/generator.py
- Notes and decisions
- generators/5782a1f38509/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 33b55d45fe56b2e9493a518ae651cb517a939a3859cd81dc9ec53af8c9cd3d84
- Rule hash
- a6b584fba994
- Sources
- bank:f7fa4dfa2903
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 5782a1f38509 --count 1 --seed 20261108 --test 1