← d48317a7c7c8 · d4be41674012 →

d48ec0001283

A color-0 grid contains 2..3 independent horizontal endpoint pairs. A fillable row has exactly two equal non-zero cells with at least one zero between them; the output fills that inclusive row interval in the endpoint color. Optional negative-control rows contain two different endpoint colors, equal endpoints plus a different-color blocker, or three separated same-color markers; all controls remain unchanged.

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 grid cells color) (for/fold ((out grid)) ((p (in-list cells))) (if (in-bounds? (first p) (second p) (rows out) (cols out)) (set-cell out (first p) (second p) color) out))) (for/fold ((out g)) ((r (in-range (rows g)))) (let ((pos (filter (lambda (c) (not (= (at g r c) 0))) (range (cols g))))) (if (and (= (length pos) 2) (= (at g r (first pos)) (at g r (second pos)))) (paint out (map (lambda (c) (list r c)) (range (first pos) (+ (second pos) 1))) (at g r (first pos))) out)))))

Provenance

Generator
generators/d48ec0001283/generator.py
Notes and decisions
generators/d48ec0001283/notes.md
Review label
reviewed_safe
Generator SHA-256
955ee9a2026b451a9b2d64952175ad0d46587021104b6b39bddf2f23f0ee7145
Rule hash
ff9a3ff6c04a
Sources
bank:7d2e04a04712
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate d48ec0001283 --count 1 --seed 20261108 --test 1