← dfc4967f816f · dfda42e49ff5 →

dfc7297269cc

Fill a zero exactly between equal nonzero horizontal neighbours; generated scenes include wide-gap, mismatched, and vertical negatives.

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)) (for*/fold ((out g)) ((r (in-range (rows g))) (c (in-range 1 (- (cols g) 1)))) (if (and (= (at g r c) 0) (not (= (at g r (- c 1)) 0)) (= (at g r (- c 1)) (at g r (+ c 1)))) (set-cell out r c (at g r (- c 1))) out))))

Provenance

Generator
generators/dfc7297269cc/generator.py
Notes and decisions
generators/dfc7297269cc/notes.md
Review label
reviewed_safe
Generator SHA-256
92519a1fabdd7fbfb96fccf57d53788ad232a954d6a463c44ff78c462f3a0988
Rule hash
80ec61287499
Sources
bank:391ca7d21fbe
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate dfc7297269cc --count 1 --seed 20261108 --test 1