← 0ba6a62312d0 · 0bd65c18b34c →
0bb8813a21dc
For each active row, read the leftmost non-zero color and recolor every non-zero cell in that row to it. Background gaps remain background.
recolorrow-controlsame_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!
;; Every non-zero cell takes its ROW's first non-zero color.
(grid-from-fn h w (lambda (r c)
(let ((nz (filter (lambda (cc) (!= (at g r cc) 0)) (range 0 w))))
(if (and (not (empty? nz)) (!= (at g r c) 0)) (at g r (first nz)) 0)))))Provenance
- Generator
- generators/0bb8813a21dc/generator.py
- Notes and decisions
- generators/0bb8813a21dc/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- d5dd2a47823902143f0792e70e7a4e11772d4a429b388d1b8ba667ab471b87c0
- Rule hash
- 42a14ef4873c
- Sources
- bank:1cd6e373f225
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 0bb8813a21dc --count 1 --seed 20261108 --test 1