← aae03e82a263 · aba5e4aeb835 →
ab8cb362ef4d
One to three separated color-5 boxes contain colored cells in separate, stacked, or mixed columns. Gravity acts independently inside every box; the output also repairs an optional non-5 overwrite on a box border.
parametric familycolumn gravityframe-local reasoningmulti-object decomposition
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 (f14-border-cells r0 c0 r1 c1) (for*/list ((r (in-range r0 (+ r1 1))) (c (in-range c0 (+ c1 1))) #:when (or (= r r0) (= r r1) (= c c0) (= c c1))) (list r c))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((box (in-list (filter (lambda (obj) (= (obj-color obj) 5)) (objects g 0))))) (let* ((bb (obj-bbox box)) (r0 (first bb)) (c0 (second bb)) (r1 (third bb)) (c1 (fourth bb))) (for/fold ((acc (paint-cells out (f14-border-cells r0 c0 r1 c1) 5))) ((c (in-range (+ c0 1) c1))) (let ((vals (filter (lambda (v) (not (= v 0))) (map (lambda (r) (at g r c)) (range (+ r0 1) r1))))) (for/fold ((acc2 acc)) ((v (in-list (reverse vals))) (i (in-range (length vals)))) (set-cell acc2 (- r1 1 i) c v))))))))
Provenance
- Generator
- generators/ab8cb362ef4d/generator.py
- Notes and decisions
- generators/ab8cb362ef4d/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 01edade30d19ca4c865275cf0e294c054c0d6c8ae8d78f2a27f08aa37d825140
- Rule hash
- 94102b577ef7
- Sources
- bank:f716aa11d181
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate ab8cb362ef4d --count 1 --seed 20261108 --test 1