← 61f255726e2e · 623cca1dd5a8 →
6237039401ed
On a 0-background grid, find every color-5 cell that belongs to at least one completely filled 2x2 color-5 window and recolor that cell to color 1. Other cells, including gray L-trominoes, dominoes, and diagonal singleton pairs that complete no 2x2 window, stay unchanged. Generated targets include isolated 2x2 squares and overlapping-window rectangles (2x3, 3x2, and 3x3).
parametric family2x2 block detectionfull-block recolor
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* ()
(define (solid-2x2-at? r0 c0)
(and (>= r0 0) (< r0 (- h 1))
(>= c0 0) (< c0 (- w 1))
(= (at g r0 c0) 5)
(= (at g (+ r0 1) c0) 5)
(= (at g r0 (+ c0 1)) 5)
(= (at g (+ r0 1) (+ c0 1)) 5)))
(define (inside-solid-square? r c)
(any? (lambda (p) (solid-2x2-at? (first p) (second p)))
(list (list r c)
(list (- r 1) c)
(list r (- c 1))
(list (- r 1) (- c 1)))))
(cellmap g (r c v)
(if (and (= v 5) (inside-solid-square? r c)) 1 v))))Provenance
- Generator
- generators/6237039401ed/generator.py
- Notes and decisions
- generators/6237039401ed/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 02d946ee455d49b46f946479fdcf22139b6c0720d90f4d9ae37edb1ebe9a5b93
- Rule hash
- cb03ad6318a1
- Sources
- bank:e352836528da
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 6237039401ed --count 1 --seed 20261108 --test 1