← 89c85768abe1 · 8a2e39528187 →

89dfcff52ee8

Sparse row markers expand to inclusive horizontal spans, including singleton rows.

parametric familyextreme detectionrow-wise span completionsame-size blank output

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 (nonzero-cells grid) (filter (lambda (cell) (not (= (third cell) 0))) (grid-cells grid))) (define (pos-only cells) (map (lambda (cell) (list (first cell) (second cell))) cells)) (define (row-close cells) (remove-duplicates (flatmap (lambda (r) (let* ((cols (sort (map second (filter (lambda (p) (= (first p) r)) cells)) <))) (if (empty? cols) (list) (for/list ((c (in-range (first cols) (+ (last cols) 1)))) (list r c))))) (remove-duplicates (map first cells))))) (paint-cells (empty-grid (rows g) (cols g) 0) (row-close (pos-only (nonzero-cells g))) 8)))

Provenance

Generator
generators/89dfcff52ee8/generator.py
Notes and decisions
generators/89dfcff52ee8/notes.md
Review label
reviewed_safe
Generator SHA-256
dd5617a0394e9da860e9be43cbfaef9b389e29666d1d1453a79db0113c900a93
Rule hash
a6278ce3852f
Sources
bank:129d068bbf4e
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 89dfcff52ee8 --count 1 --seed 20261108 --test 1