← 1bc816e1eb99 · 1bfb2ef9ca71 →
1bf52c06eae6
Sparse colored bboxes expand to top-left-anchored squares; smaller squares win overlaps.
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)))
(let* ((colors (grid-colors g 0))
(boxes (sort (map (lambda (color)
(let* ((cells (find-color g color))
(bb (bbox-of-cells cells))
(r1 (first bb))
(c1 (second bb))
(r2 (third bb))
(c2 (fourth bb))
(side (max (+ 1 (- r2 r1)) (+ 1 (- c2 c1))))
(nr2 (min (- h 1) (+ r1 (- side 1))))
(nc2 (min (- w 1) (+ c1 (- side 1)))))
(list (* side side) color r1 c1 nr2 nc2)))
colors)
<
#:key
first)))
(cellmap g
(r c v)
(let ((hit (find-first (lambda (b)
(and
(>= r (third b))
(<= r (fifth b))
(>= c (fourth b))
(<= c (sixth b))))
boxes)))
(if hit (second hit) 0)))))))Provenance
- Generator
- generators/1bf52c06eae6/generator.py
- Notes and decisions
- generators/1bf52c06eae6/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 79f160f814fd08ea4e3e93bf9c26e461a81d2ba66eb5c862530205600acb6a2b
- Rule hash
- 42b66f7f64f3
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 1bf52c06eae6 --count 1 --seed 20261108 --test 1