← 5d13a2fe59fc · 5d3738a6b89c →
5d321adb3a28
Fill each zero cell whose immediate left/right neighbours match and are nonzero; otherwise fill it when its immediate up/down neighbours match and are nonzero. Preserve every other cell. Generated lessons include both positive orientations, mismatched endpoints, and longer same-color spans that must remain unchanged. Each generated grid contains three fillable gaps, matching the canonical 2:1 horizontal/vertical profiles.
gap-filllocalsame_size
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)) (map-grid g (lambda (r c v) (if (= v 0) (cond ((and (> c 0) (< c (- (cols g) 1)) (not (= (at g r (- c 1)) 0)) (= (at g r (- c 1)) (at g r (+ c 1)))) (at g r (- c 1))) ((and (> r 0) (< r (- (rows g) 1)) (not (= (at g (- r 1) c) 0)) (= (at g (- r 1) c) (at g (+ r 1) c))) (at g (- r 1) c)) (else v)) v)))))
Provenance
- Generator
- generators/5d321adb3a28/generator.py
- Notes and decisions
- generators/5d321adb3a28/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 5ba20f935adf01ed25f58b70211cdd0c945979dadc1f1106b693816d5dae0c15
- Rule hash
- 980e1ed5540b
- Sources
- bank:1cd6e373f225
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 5d321adb3a28 --count 1 --seed 20261108 --test 1