← 1bf52c06eae6 · 1c1ef857c9e2 →
1bfb2ef9ca71
On a zero background, each of two or three colors marks exactly two opposite corners of a separated axis-aligned rectangle. Draw each hollow rectangle border in its marker color. Both diagonal endpoint orientations, canonical-size scenes, and taller-than-canonical rectangles are sampled.
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! (let ((dummy 0)) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((color (in-list (grid-colors g 0)))) (let ((cells (find-color g color))) (if (= (length cells) 2) (let* ((a (first cells)) (b (second cells))) (if (and (not (= (first a) (first b))) (not (= (second a) (second b)))) (let ((r0 (min (first a) (first b))) (r1 (max (first a) (first b))) (c0 (min (second a) (second b))) (c1 (max (second a) (second b)))) (paint-cells out (remove-duplicates (append (for/list ((c (in-range c0 (+ c1 1)))) (list r0 c)) (for/list ((c (in-range c0 (+ c1 1)))) (list r1 c)) (for/list ((r (in-range r0 (+ r1 1)))) (list r c0)) (for/list ((r (in-range r0 (+ r1 1)))) (list r c1)))) color)) out)) out)))))
Provenance
- Generator
- generators/1bfb2ef9ca71/generator.py
- Notes and decisions
- generators/1bfb2ef9ca71/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 1040eab6c06ff4c472af885bc51eb8c6ec94c8e33be5b04b246e303a238d275f
- Rule hash
- a0ec8172be31
- Sources
- bank:7507d112faf2
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 1bfb2ef9ca71 --count 1 --seed 20261108 --test 1