← 05ede1ccd0f1 · 06206fc98d42 →
061566027b67
On a dense 16x16 background-0 field using every color, enumerate same-color solid rectangles and keep only the unique maximum-area rectangle at its original coordinates. Winner-colored decoys and, in three demonstrated profiles, one attached same-color tab vanish.
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* ((rects (for*/list ((r1 (range 0 h)) (c1 (range 0 w))
(r2 (range r1 h))
(c2 (range c1 w))
#:when
(let ((clr (at g r1 c1)))
(and
(!= clr 0)
(for*/and ((rr (range r1 (+ r2 1))) (cc (range c1 (+ c2 1))))
(= (at g rr cc) clr)))))
(list (* (+ 1 (- r2 r1)) (+ 1 (- c2 c1)))
(at g r1 c1)
r1
c1
r2
c2)))
(sorted (sort rects (lambda (a b) (> (first a) (first b)))))
(best (first sorted))
(clr (second best))
(br1 (third best))
(bc1 (fourth best))
(br2 (list-ref best 4))
(bc2 (list-ref best 5)))
(cellmap g
(r c v)
(cond
((and (>= r br1) (<= r br2) (>= c bc1) (<= c bc2)) clr)
(else 0)))))))Provenance
- Generator
- generators/061566027b67/generator.py
- Notes and decisions
- generators/061566027b67/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- ad5b96800d5ad4dee11addd66e8a58d3e647e11d8410dca39ce044894e078619
- Rule hash
- b9b141c6960a
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 061566027b67 --count 1 --seed 20261108 --test 1