← ebe355c22d70 · ebe910be6876 →

ebe7614a49f4

Blue(1) cells activate rows and red(2) cells activate columns. A fresh same-size output paints green(3) at every active-row/active-column intersection and black(0) elsewhere.

parametric family

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 ((rs (filter (lambda (r) (member? 1 (list-ref g r))) (range (rows g)))) (cs (filter (lambda (c) (any? (lambda (r) (= (at g r c) 2)) (range (rows g)))) (range (cols g))))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((r (in-list rs))) (paint-cells out (map (lambda (c) (list r c)) cs) 3)))))

Provenance

Generator
generators/ebe7614a49f4/generator.py
Notes and decisions
generators/ebe7614a49f4/notes.md
Review label
reviewed_safe
Generator SHA-256
c251a3f1455a9ee94c64e881574a196f30e7e23266cf1fbd7799409b6ce684e9
Rule hash
0f1e6548baed
Sources
bank:bfb58307fa26
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate ebe7614a49f4 --count 1 --seed 20261108 --test 1