← 486794347a11 · 48a4d72eb621 →

48732ebd41f9

A wide 2..10 by 14..30 grid contains a unique maximum-area solid zero rectangle of height at least two. Recolor exactly that rectangle with 6. Other zeros are distractors. Scheduled examples include an interior target, an edge target, a wider-but-smaller rectangle, a taller-but-smaller rectangle, and both two- and three-color input palettes.

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* ((rect (tallest-rect g 0 2))
                  (r1 (nth rect 0))
                  (c1 (nth rect 1))
                  (r2 (nth rect 2))
                  (c2 (nth rect 3)))
             (cellmap g
                      (r c v)
                      (if (and (>= r r1) (<= r r2) (>= c c1) (<= c c2) (zero? v)) 6 v))))))

Provenance

Generator
generators/48732ebd41f9/generator.py
Notes and decisions
generators/48732ebd41f9/notes.md
Review label
reviewed_safe
Generator SHA-256
5bc7a1259c7fdb7fcee978112f9780e2cf2273eb3b68767291ddfc23fdf50c3f
Rule hash
9d5297512997
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 48732ebd41f9 --count 1 --seed 20261108 --test 1