← 53de1fcb2e13 · 54099d17f2dd →
53ffc8bc9584
Scan every original 2x2 window. Replace its black corner with maroon exactly when the other three cells are yellow; leave all other cells unchanged.
2x2 scanningL-pattern completionlocal completion
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!
(for*/fold ([out g])
([r (in-range (- (rows g) 1))]
[c (in-range (- (cols g) 1))])
(let ((cells (list (list r c) (list r (+ c 1)) (list (+ r 1) c) (list (+ r 1) (+ c 1))))
(vals (list (at g r c) (at g r (+ c 1)) (at g (+ r 1) c) (at g (+ r 1) (+ c 1)))))
(if (and (= (count-where (lambda (v) (= v 4)) vals) 3)
(= (count-where (lambda (v) (= v 0)) vals) 1))
(let ((p (nth cells (let loop ([xs vals] [i 0])
(if (= (first xs) 0) i (loop (rest xs) (+ i 1)))))))
(set-cell out (first p) (second p) 9))
out))))Provenance
- Generator
- generators/53ffc8bc9584/generator.py
- Notes and decisions
- generators/53ffc8bc9584/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 0a0ce25730d714988a25b3df83fc8505fd6b8c25278b2f3cf0ba22824b3383f1
- Rule hash
- fbd60dec4738
- Sources
- bank:e06827914c5c
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 53ffc8bc9584 --count 1 --seed 20261108 --test 1