← 827c34fc8e04 · 82b2be9b4f4e →
8291f3ee7e54
Square 0-background grids with 3-5 distinct colored layers. Each color's largest 4-connected component has a unique bbox span; spans descend by two. Layers are hollow square/rectangular frame remnants, except a 1x1 or 2x2 innermost block. Layouts may be scattered, overlapping, edge-clipped, or carry a detached same-color singleton that forces largest-component selection. The rule restacks the spans as centered concentric square outlines, largest outside.
parametric family
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)))
(begin
(define colors (grid-colors g 0))
(define objs (objects g 0))
(define (obj-size obj)
(let* ((bb (obj-bbox obj))
(hh (+ 1 (- (third bb) (first bb))))
(ww (+ 1 (- (fourth bb) (second bb)))))
(max hh ww)))
(define (best-object color)
(pick-max (filter (lambda (obj) (= (obj-color obj) color)) objs)
obj-size))
(define layers
(sort (map best-object colors)
(lambda (a b) (> (obj-size a) (obj-size b)))))
(define n (obj-size (first layers)))
(define (paint-layer out obj)
(let* ((s (obj-size obj))
(off (quotient (- n s) 2))
(color (obj-color obj)))
(for*/fold ((acc out))
((r (in-range off (+ off s))) (c (in-range off (+ off s))))
(if (or
(= r off)
(= r (- (+ off s) 1))
(= c off)
(= c (- (+ off s) 1)))
(set-cell acc r c color)
acc))))
(for/fold ((out (empty-grid n n 0))) ((obj layers)) (paint-layer out obj))))))Provenance
- Generator
- generators/8291f3ee7e54/generator.py
- Notes and decisions
- generators/8291f3ee7e54/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 5e1e28490be83e36d8e8243e23082015d5110e9ed98a3a189941476443fcb2af
- Rule hash
- d9bb03e0e2ec
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 8291f3ee7e54 --count 1 --seed 20261108 --test 1