← f151fbd31cb2 · f1668de79fa1 →
f16508733f0a
Find every 2x2 window with exactly three cells of one non-background colour and one zero, then fill that zero with the same colour. Windows are evaluated from the original input. Scenes include isolated motifs, connected multi-window components, repeated colours across components, and mixed-colour near-matches that must stay unfilled.
completionlocalsame_size
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 g)) ((r (in-range 0 (- (rows g) 1))) (c (in-range 0 (- (cols g) 1)))) (let* ((vals (list (at g r c) (at g r (+ c 1)) (at g (+ r 1) c) (at g (+ r 1) (+ c 1)))) (nz (filter (lambda (v) (not (= v 0))) vals))) (if (and (= (length nz) 3) (= (length (remove-duplicates nz)) 1)) (let ((color (first nz))) (cond ((= (first vals) 0) (set-cell out r c color)) ((= (second vals) 0) (set-cell out r (+ c 1) color)) ((= (third vals) 0) (set-cell out (+ r 1) c color)) (else (set-cell out (+ r 1) (+ c 1) color)))) out)))))
Provenance
- Generator
- generators/f16508733f0a/generator.py
- Notes and decisions
- generators/f16508733f0a/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 014738f8da97eb5f6d38e6e631b7bf5a3584f16bfce10c4a82cbd7b428265c2b
- Rule hash
- d4feadaddbee
- Sources
- bank:cedcb02251c0
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate f16508733f0a --count 1 --seed 20261108 --test 1