← 6a289c5b0897 · 6afe10b621e4 →

6af5c333e5c1

0-bg grid (h~6-9, w~8-12) with: (a) 2-4 ACTIVE ROWS each containing EXACTLY 2 COLOR-1 (blue) CELLS at distinct columns c0 < c1 with c1 - c0 ≥ 2 (so there's a fillable gap between them); (b) 0 to (count // 2) DISTRACTOR rows each containing exactly 1 blue cell (singleton, not a pair). Active rows and singleton rows are mutually exclusive. Rule: for EACH ROW independently, COUNT its color-1 cells. If COUNT == 2, FILL every cell between the two endpoints (inclusive) with COLOR 1. If COUNT == 0, 1, or 3+, leave the row UNCHANGED. Net: rows with exactly 2 blue endpoints get the gap filled in blue; singleton/empty rows stay; no other colors involved.

parametric familybetween-markers fillsame-size transformscanline reasoning

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).

Reference rule (Racket)

(rule! (let ((dummy 0)) (for/fold ((out g)) ((r (in-range (rows g)))) (let ((cols (filter (lambda (c) (= (at g r c) 1)) (range 0 (cols g))))) (if (= (length cols) 2) (for/fold ((acc out)) ((c (in-range (first cols) (+ (second cols) 1)))) (set-cell acc r c 1)) out)))))

Provenance

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