← 4c04ce6c5477 · 4c17a205be08 →

4c0d744296ec

Distinct top-row color markers project their colors down full columns.

column projectionheader interpretationsame-size abstraction

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)) (define (paint grid cells color) (for/fold ((out grid)) ((p (in-list cells))) (if (in-bounds? (first p) (second p) (rows out) (cols out)) (set-cell out (first p) (second p) color) out))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((c (in-range (cols g)))) (let ((v (at g 0 c))) (if (= v 0) out (paint out (map (lambda (r) (list r c)) (range (rows g))) v))))))

Provenance

Generator
generators/4c0d744296ec/generator.py
Notes and decisions
generators/4c0d744296ec/notes.md
Review label
reviewed_safe
Generator SHA-256
4fc11b52308efea4793909e9675d2a7f090282a3fa1d5d5eaee8c4fed2d24ae8
Rule hash
c508f4ec9417
Sources
bank:01130745873d
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 4c0d744296ec --count 1 --seed 20261108 --test 1