← 7f3446077e8e · 7fc158ab7b70 →
7f666a786bf3
A 0-background grid contains two to four colors. Each color appears as two to four sparse markers; marker counts may differ between colors. Each tight bounding rectangle is at least 2x2, contains unpainted cells, and does not overlap any other color's rectangle. The output fills every color's own minimal bounding rectangle solid while leaving other cells 0.
parametric familybounding_boxcolorsglobal
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)) (bb (bbox-of-cells cells))) (for*/fold ((acc out)) ((r (in-range (first bb) (+ (third bb) 1))) (c (in-range (second bb) (+ (fourth bb) 1)))) (set-cell acc r c color))))))
Provenance
- Generator
- generators/7f666a786bf3/generator.py
- Notes and decisions
- generators/7f666a786bf3/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 06cab5dcf73c126536c14ff1d6f6f37226861ced9c75a6b62be91cc5f925bb45
- Rule hash
- 28a554829349
- Sources
- bank:483ae17489fc
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 7f666a786bf3 --count 1 --seed 20261108 --test 1