← 7944933e200f · 79a30e61d332 →

7946249c9684

Six- to twelve-row grids containing 3-8 same-color vertical runs in 2-3 colors. Scheduled profiles include canonical sparse bars, multiple runs in one column, touching colors, connected systems, and reused colors.

vertical_run_endcaps

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))
    (define (paint-col c out)
      (let loop ([r 0] [acc out])
        (cond [(>= r (rows g)) acc]
              [(= (at g r c) 0) (loop (+ r 1) acc)]
              [else
               (let* ((color (at g r c))
                      (r2 (let find-end ([rr r])
                            (if (and (< (+ rr 1) (rows g)) (= (at g (+ rr 1) c) color))
                                (find-end (+ rr 1))
                                rr)))
                      (next (set-cell (set-cell acc r c color) r2 c color)))
                 (loop (+ r2 1) next))])))
    (for/fold ([out (empty-grid (rows g) (cols g) 0)]) ([c (in-range (cols g))])
      (paint-col c out))))

Provenance

Generator
generators/7946249c9684/generator.py
Notes and decisions
generators/7946249c9684/notes.md
Review label
reviewed_safe
Generator SHA-256
0e39b781378bcd3b94bf4bceb407dc9fc1528c0e4fada003a4a1512c0d3bdf6f
Rule hash
ab25d2969132
Sources
bank:f4425e302da7
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 7946249c9684 --count 1 --seed 20261108 --test 1