← e0680a673043 · e078230e5469 →

e06cc4c752b2

Separated singleton markers expand into horizontal bars of length three.

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)) (define dirs4 (list (list -1 0) (list 1 0) (list 0 -1) (list 0 1))) (for*/fold ((out g)) ((r (in-range (rows g))) (c (in-range (cols g)))) (let ((v (at g r c))) (if (and (not (= v 0)) (all? (lambda (d) (let ((nr (+ r (first d))) (nc (+ c (second d)))) (not (and (in-bounds? nr nc (rows g) (cols g)) (not (= (at g nr nc) 0)))))) dirs4)) (let* ((left (if (and (>= (- c 1) 0) (= (at out r (- c 1)) 0)) (set-cell out r (- c 1) v) out)) (right (if (and (< (+ c 1) (cols g)) (= (at left r (+ c 1)) 0)) (set-cell left r (+ c 1) v) left))) right) out)))))

Provenance

Generator
generators/e06cc4c752b2/generator.py
Notes and decisions
generators/e06cc4c752b2/notes.md
Review label
reviewed_safe
Generator SHA-256
46a9a3efe8edda531b363e9289a12ee0670080fa8cf3ac3165e6f0b970df6670
Rule hash
4cf331b98beb
Sources
bank:884454e62c49
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate e06cc4c752b2 --count 1 --seed 20261108 --test 1