← 9ffa0c8841bb · a02bd9f85082 →

a0076c1c960c

Canonical-size zero-background grids contain two to four active rows. Each active row has exactly two nonzero endpoint markers; the authoritative output drops those markers and paints only zero cells strictly between the row's leftmost and rightmost marker with color 8. Ordinary lessons mix the canonical color-2 palette with same-color and mixed-color endpoints, and include lawful adjacent pairs whose bridge is empty.

difference of setsrow-wise closuresame-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))))) (define (bridge-only cells) (filter (lambda (p) (not (member p cells))) (row-close cells))) (let ((cells (pos-only (nonzero-cells g)))) (paint-cells (empty-grid (rows g) (cols g) 0) (bridge-only cells) 8))))

Provenance

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