← 6027a830c96e · 603bd7fff5df →

6027f42c6c59

In every row, keep only the leftmost nonzero cell. Generated lessons vary size, active-row count, palette cardinality, and whether exactly one active row is a singleton, while always making the row-wise rule visible.

rowssame_sizeselection

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

Provenance

Generator
generators/6027f42c6c59/generator.py
Notes and decisions
generators/6027f42c6c59/notes.md
Review label
reviewed_safe
Generator SHA-256
fd4d7f5f6ea6d3359695bfe9e5dc1a8b962c8dc7b66aa6e8e046b06bb3d86765
Rule hash
e747e7753254
Sources
bank:483ae17489fc
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 6027f42c6c59 --count 1 --seed 20261108 --test 1