← 8384d9743be8 · 83ca9df09514 →

83c4d8ce9656

For each maximal same-color horizontal run, keep only its left and right endpoints (preserving singletons). Four scheduled scene profiles retain canonical-scale examples while refuting longest-run-only, per-color-span, and color-blind nonzero-block shortcuts.

row_segmentssame_sizeselection

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 (empty-grid (rows g) (cols g) 0))) ((r (in-range (rows g)))) (let row-loop ((c 0) (acc out)) (if (>= c (cols g)) acc (let ((v (at g r c))) (if (= v 0) (row-loop (+ c 1) acc) (let run ((j c)) (if (and (< (+ j 1) (cols g)) (= (at g r (+ j 1)) v)) (run (+ j 1)) (row-loop (+ j 1) (if (= c j) (set-cell acc r c v) (set-cell (set-cell acc r c v) r j v))))))))))))

Provenance

Generator
generators/83c4d8ce9656/generator.py
Notes and decisions
generators/83c4d8ce9656/notes.md
Review label
reviewed_safe
Generator SHA-256
c6dc5079fc6da7a74184184c4385b0a93a3cb1b6ca95d1f17eeb23de0136efa6
Rule hash
8cf1fe655564
Sources
bank:e07509d599a1
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 83c4d8ce9656 --count 1 --seed 20261108 --test 1