← 8ce1331089a3 · 8d2cfdfec79c →

8cfb4420a8f1

Read the unique nonzero marker in row 0. Preserve that marker, erase every cell of the same colour below row 0, and leave every other cell unchanged.

color_filtermarker_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! (let ((dummy 0)) (let* ((marker (first (filter (lambda (c) (not (= (at g 0 c) 0))) (range 0 (cols g))))) (color (at g 0 marker))) (grid-from-fn (rows g) (cols g) (lambda (r c) (let ((v (at g r c))) (if (and (= v color) (not (and (= r 0) (= c marker)))) 0 v)))))))

Provenance

Generator
generators/8cfb4420a8f1/generator.py
Notes and decisions
generators/8cfb4420a8f1/notes.md
Review label
reviewed_safe
Generator SHA-256
364f56bac1af0e51d05b12c95bb6317e66ef48dd1608d9cd92eff23b9fb20740
Rule hash
506219441313
Sources
bank:04c7711cefc4
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 8cfb4420a8f1 --count 1 --seed 20261108 --test 1