← b19deac47327 · b1e8f6552b5f →

b1e6ee6856bf

On a zero-background grid, process each column independently: preserve only its topmost nonzero cell with its original color and erase every lower nonzero cell. Empty columns remain empty.

parametric familycolumnsfilterprojectionsame_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 (empty-grid (rows g) (cols g) 0))) ((c (in-range (cols g)))) (let ((hits (filter (lambda (r) (not (= (at g r c) 0))) (range 0 (rows g))))) (if (empty? hits) out (set-cell out (first hits) c (at g (first hits) c)))))))

Provenance

Generator
generators/b1e6ee6856bf/generator.py
Notes and decisions
generators/b1e6ee6856bf/notes.md
Review label
reviewed_safe
Generator SHA-256
50a43c7c02bdd7a277ef01aea7220e974e73d6b02644ce8333851fd0c574fd20
Rule hash
3a3d82df16cd
Sources
bank:fc0f4ba66a95
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate b1e6ee6856bf --count 1 --seed 20261108 --test 1