← ee602abaa45a · ee6a99e8b7f9 →
ee64b9b0fe20
Drop monochromatic 4-connected objects to the bottom, packing their bounding boxes left-to-right by distinct cell count; discard whole-canvas-bbox frames. Varied 10..18 canvases, 2..6 shapes, zero-inclusive/repeated object colors, rectangles and irregular blobs up to 12 cells, optional frames, real overrides, and measured area-sort/color-group/background/frame-preservation 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! (lambda (g)
(let* ((h (rows g))
(w (cols g)))
(let* ((bg (mode g))
(all-objs (objects g bg))
(non-border (filter (lambda (o)
(with-bbox o
(r1 c1 r2 c2)
(not (and
(zero? r1)
(zero? c1)
(= r2 (- h 1))
(= c2 (- w 1))))))
all-objs))
(sorted-shapes (sort non-border
(lambda (a b) (< (obj-size a) (obj-size b)))))
(placements (let loop
((shapes sorted-shapes) (col-off 0) (acc (list)))
(cond
((null? shapes) (reverse acc))
(else (let* ((s (car shapes)))
(with-bbox s
(r1 c1 r2 c2)
(let* ((sh (+ 1 (- r2 r1)))
(sw (+ 1 (- c2 c1)))
(new-r1 (- h sh))
(new-c1 col-off))
(loop (cdr shapes)
(+ col-off sw)
(cons (list s
r1
c1
new-r1
new-c1)
acc))))))))))
(for/fold ((out (cellmap g (r c v) bg)))
((pl placements))
(let* ((shape (first pl))
(orig-r1 (second pl))
(orig-c1 (third pl))
(new-r1 (fourth pl))
(new-c1 (fifth pl))
(cells (obj-cells shape)))
(for/fold ((gg out))
((cell cells))
(let* ((r (first cell))
(c (second cell))
(nr (+ (- r orig-r1) new-r1))
(nc (+ (- c orig-c1) new-c1)))
(set-cell gg nr nc (at g r c))))))))))Provenance
- Generator
- generators/ee64b9b0fe20/generator.py
- Notes and decisions
- generators/ee64b9b0fe20/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- f416fc7ff7204f8c8fce0862f1a0c56bc6c0dcae0c08dfb28db381ab7760bbd1
- Rule hash
- e0863705f64c
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate ee64b9b0fe20 --count 1 --seed 20261108 --test 1