← e250cb77a62e · e2bc70324918 →
e282a664f807
Exactly one color appears twice; its two cells define a filled rectangle.
parametric familybounding boxcolor countingconstructive fill
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).
Reference rule (Racket)
(rule! (let ((dummy 0)) (define (paint grid cells color) (for/fold ((out grid)) ((p (in-list cells))) (if (in-bounds? (first p) (second p) (rows out) (cols out)) (set-cell out (first p) (second p) color) out))) (let* ((color (first (filter (lambda (v) (= (length (find-color g v)) 2)) (grid-colors g 0)))) (bb (bbox-of-cells (find-color g color)))) (paint (empty-grid (rows g) (cols g) 0) (positions-in-rect (first bb) (second bb) (third bb) (fourth bb)) color))))
Provenance
- Generator
- generators/e282a664f807/generator.py
- Notes and decisions
- generators/e282a664f807/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- fc83d49d64e64edaabeb9eb274fdde06f95f2305156badcc8f259b5e8b791729
- Rule hash
- 5b259352aa18
- Sources
- bank:647beeb937e1
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate e282a664f807 --count 1 --seed 20261108 --test 1