← e8b6ff767c21 · e91a8e375e64 →
e8fb1b5bedfe
Two to four separated hollow color-4 rectangular frames have distinct interior areas. Rank by interior area: fill only the smallest interior with 2 and only the largest with 8; middle frames stay hollow. Scheduled shape profiles refute fixed-3x3 and widest-frame shortcuts.
different actions by rankframe comparisonranking by size
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* ((frames
(filter
(lambda (obj)
(let* ((bb (obj-bbox obj))
(r0 (first bb))
(c0 (second bb))
(r1 (third bb))
(c1 (fourth bb)))
(and (= (obj-color obj) 4)
(all?
(lambda (p)
(let ((r (fst p)) (c (snd p)))
(= (cell-at g r c) 4)))
(filter
(lambda (p)
(let ((r (fst p)) (c (snd p)))
(or (= r r0) (= r r1) (= c c0) (= c c1))))
(positions-in-rect r0 c0 r1 c1))))))
(objects g 0)))
(sorted
(sort frames
(lambda (a b)
(let* ((ba (obj-bbox a))
(bb (obj-bbox b))
(aa (* (- (third ba) (first ba) 1) (- (fourth ba) (second ba) 1)))
(ab (* (- (third bb) (first bb) 1) (- (fourth bb) (second bb) 1))))
(< aa ab)))))
(small (first sorted))
(large (first (reverse sorted)))
(sb (obj-bbox small))
(lb (obj-bbox large)))
(grid-from-fn h w
(lambda (r c)
(cond
[(and (> r (first sb)) (< r (third sb)) (> c (second sb)) (< c (fourth sb))) 2]
[(and (> r (first lb)) (< r (third lb)) (> c (second lb)) (< c (fourth lb))) 8]
[else (cell-at g r c)])))))Provenance
- Generator
- generators/e8fb1b5bedfe/generator.py
- Notes and decisions
- generators/e8fb1b5bedfe/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 994f0203ad5c12371aacf6b64c3d5e15a238b6e58e6567024934f80338e5bcb0
- Rule hash
- 583ccfcccab0
- Sources
- bank:e352836528da
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate e8fb1b5bedfe --count 1 --seed 20261108 --test 1