← 483682b75e12 · 486375757aca →

4842b1ca59e2

Two to four active columns contain colored seeds. At least one column contains a stack of two or three seeds with a different lower color. The first nonzero seed in each column paints that entire column; empty columns remain zero.

column_logicsame_size_transform

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!
 ;; Flood every column with its FIRST non-zero value (empty columns stay 0).
 (grid-from-fn h w (lambda (r c)
   (let ((hits (filter (lambda (rr) (!= (at g rr c) 0)) (range h))))
     (if (empty? hits) 0 (at g (first hits) c))))))

Provenance

Generator
generators/4842b1ca59e2/generator.py
Notes and decisions
generators/4842b1ca59e2/notes.md
Review label
reviewed_safe
Generator SHA-256
ef33c3cb5dee1b3f479bcf27f6122ffcfe74dfd2f1dfce09aed2f1adccd5de74
Rule hash
977235c720d6
Sources
bank:2eea055c3155
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 4842b1ca59e2 --count 1 --seed 20261108 --test 1