← 2c8fab02e3fe · 2ca60ab198d6 →

2ca05c7eef24

Three h-by-pw panels (h=3..7, pw=2..6) separated by two gray-5 columns. At each local position, fewer than two nonzero votes produce zero; otherwise select the most frequent nonzero color, with larger color winning a frequency tie. Ordinary draws cycle through 1,2,3,3,1,1,3,3 foreground colors and construct voting counterexamples. Exact count, geometry and palette controls use a separate feasible constructor.

parametric family

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 (s17-split-panel-row grid count) (let ((pw (quotient (- (cols grid) (- count 1)) count))) (for/list ((i (in-range count))) (let ((left (* i (+ pw 1)))) (grid-from-fn (rows grid) pw (lambda (r c) (at grid r (+ left c)))))))) (let* ((panels (s17-split-panel-row g 3)) (p0 (first panels))) (grid-from-fn (rows p0) (cols p0) (lambda (r c) (let* ((vals (map (lambda (p) (at p r c)) panels)) (nz (filter (lambda (v) (not (= v 0))) vals))) (if (< (length nz) 2) 0 (let* ((colors (remove-duplicates nz)) (best (first (sort colors (lambda (a b) (let ((ca (count-where (lambda (v) (= v a)) nz)) (cb (count-where (lambda (v) (= v b)) nz))) (or (> ca cb) (and (= ca cb) (> a b))))))))) best))))))))

Provenance

Generator
generators/2ca05c7eef24/generator.py
Notes and decisions
generators/2ca05c7eef24/notes.md
Review label
reviewed_safe
Generator SHA-256
8f0694eebe24e4f3d5cce2d0d7bfa84b771bbb0952bb9da7219935bf2b4b1e09
Rule hash
92b2f8e4de94
Sources
bank:110177dcbe3a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2ca05c7eef24 --count 1 --seed 20261108 --test 1