← 8a63cd5c5bfb · 8a802749348c →
8a761b80b11b
0-background grid with an exact requested count of horizontal same-color runs. Each ordinary run is a contiguous nonzero segment in one row, has length 2-5, and no row contains two abutting runs. At least one run has length at least 3, so endpoint reduction is observable. The canonical rule creates a fresh empty grid and paints only each run's first and last cells in its original color; all run interiors become 0. Explicit degenerate textures (blank, vertical-only, singleton-only) are dimension-honoring negative probes rather than ordinary samples.
parametric familyprojectionrowsrunssame_size
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 (fifth xs) (list-ref xs 4)) (define (row-run r start end color) (list r start end (+ 1 (- end start)) color (for/list ((c (in-range start (+ end 1)))) (list r c)))) (define (run-line run) (first run)) (define (run-start run) (second run)) (define (run-end run) (third run)) (define (run-color run) (fifth run)) (define (row-runs grid) (apply append (for/list ((r (in-range (rows grid)))) (let loop ((c 0) (acc (list))) (if (>= c (cols grid)) (reverse acc) (let ((v (at grid r c))) (if (= v 0) (loop (+ c 1) acc) (let find-end ((cc c)) (if (and (< (+ cc 1) (cols grid)) (= (at grid r (+ cc 1)) v)) (find-end (+ cc 1)) (loop (+ cc 1) (cons (row-run r c cc v) acc))))))))))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((run (in-list (row-runs g)))) (set-cell (set-cell out (run-line run) (run-start run) (run-color run)) (run-line run) (run-end run) (run-color run)))))
Provenance
- Generator
- generators/8a761b80b11b/generator.py
- Notes and decisions
- generators/8a761b80b11b/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 6196893c074abcf831b2b4cbc21bf04ceb4d5f840dd8eeaad051f91ca9f61ef5
- Rule hash
- 3a22139b1073
- Sources
- bank:bc9ea2a8b0ce
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 8a761b80b11b --count 1 --seed 20261108 --test 1