← e2eab62ba331 · e3a2ff6ea587 →

e2fa7e7aee7c

A zero-background grid contains two to nine independent motifs. In each motif, two cells of one unique non-zero color lie exactly two cells apart in the same row or column, with a zero midpoint. The output fills every such midpoint with the matching endpoint color while preserving all endpoints. A different-color gap stays zero in every generated input/output pair. Horizontal and vertical negative gaps alternate, while positive modes cycle mixed/horizontal/vertical/mixed. Residues 0 and 3 use official-scale 7x7 or 8x8 scenes with two motifs; exact overrides remain available.

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

Provenance

Generator
generators/e2fa7e7aee7c/generator.py
Notes and decisions
generators/e2fa7e7aee7c/notes.md
Review label
reviewed_safe
Generator SHA-256
eac8ad9e5856366425b9f03efb2a47e05706bbdbb0ac99fd7acaec8594aa74b1
Rule hash
f12a9797c652
Sources
bank:5b06d39592a3
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate e2fa7e7aee7c --count 1 --seed 20261108 --test 1