← 2fb8d019f6ca · 2fd7d58a066c →

2fc4ca4ea6c4

A zero-background grid contains separated same-color horizontal runs of odd length. Keep only each run's midpoint cell in its original color and erase every other cell. Regular draws include singleton and longer runs.

parametric familyline runsmidpoint detectionsame-size reduction

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!
  (cellmap g (r c v)
    (if (zero? v)
        0
        (let* ((start (last (filter (lambda (cc)
                                      (or (zero? cc)
                                          (!= (at g r (- cc 1)) v)))
                                    (range 0 (+ c 1)))))
               (end (find-first (lambda (cc)
                                  (or (= cc (- w 1))
                                      (!= (at g r (+ cc 1)) v)))
                                (range c w)))
               (mid (quotient (+ start end) 2)))
          (if (= c mid) v 0)))))

Provenance

Generator
generators/2fc4ca4ea6c4/generator.py
Notes and decisions
generators/2fc4ca4ea6c4/notes.md
Review label
reviewed_safe
Generator SHA-256
5f51e33200dff8131e741dc6d1a42988de5745c449d6b470480bf72d5551aec5
Rule hash
bc623d507a59
Sources
bank:02cfd661bb19
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2fc4ca4ea6c4 --count 1 --seed 20261108 --test 1