← 72a261e69372 · 72b99d3a9be8 →

72a6d8b343e4

A 0-background grid contains distinct-colour endpoint groups. Colours appearing exactly twice are bridged only when the endpoints share a row or column; the inclusive straight segment is painted in that colour. Adjacent pairs need no added cells. Misaligned pairs and three-occurrence groups are unchanged and serve as explicit guards against shortcut rules.

alignmentline drawingpairing

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).

Reference rule (Racket)

(rule! (let ((dummy 0)) (define (e8b-colors-reading grid) (remove-duplicates (filter (lambda (v) (not (= v 0))) (map (lambda (p) (at grid (first p) (second p))) (grid-positions grid))))) (define (t12b-line-cells r1 c1 r2 c2) (cond ((= r1 r2) (let ((step (if (<= c1 c2) 1 -1))) (map (lambda (c) (list r1 c)) (range c1 (+ c2 step) step)))) ((= c1 c2) (let ((step (if (<= r1 r2) 1 -1))) (map (lambda (r) (list r c1)) (range r1 (+ r2 step) step)))) (else (list)))) (for/fold ((out g)) ((color (in-list (e8b-colors-reading g)))) (let ((pts (find-color g color))) (if (= (length pts) 2) (let* ((a (first pts)) (b (second pts)) (r1 (first a)) (c1 (second a)) (r2 (first b)) (c2 (second b))) (if (or (= r1 r2) (= c1 c2)) (paint-cells out (t12b-line-cells r1 c1 r2 c2) color) out)) out)))))

Provenance

Generator
generators/72a6d8b343e4/generator.py
Notes and decisions
generators/72a6d8b343e4/notes.md
Review label
reviewed_safe
Generator SHA-256
a4e9484773602a3e6e2f8302ad2d999a6ed94d55d6bbae46e938d2bb1e8b2192
Rule hash
3650a4704dc3
Sources
bank:eb9f9fbbbec1
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 72a6d8b343e4 --count 1 --seed 20261108 --test 1