← 2b7bcfbf942b · 2bb81826c18d →

2b83f40cf6d9

Two or three colors appear exactly twice. Connect each pair by moving one row toward the later marker, then one column, repeating to form a monotone staircase; aligned pairs become straight segments.

pair groupingpath constructionsame-size transform

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 (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 (s17b-stair-cells p0 p1) (let ((tr (first p1)) (tc (second p1))) (let loop ((r (first p0)) (c (second p0)) (acc (list p0))) (if (and (= r tr) (= c tc)) (reverse acc) (let* ((r2 (if (= r tr) r (+ r (if (> tr r) 1 -1)))) (acc1 (if (= r2 r) acc (cons (list r2 c) acc))) (c2 (if (= c tc) c (+ c (if (> tc c) 1 -1)))) (acc2 (if (= c2 c) acc1 (cons (list r2 c2) acc1)))) (loop r2 c2 acc2)))))) (for/fold ((out g)) ((color (in-list (e8b-colors-reading g)))) (let ((cells (find-color g color))) (if (= (length cells) 2) (paint-cells out (s17b-stair-cells (first cells) (second cells)) color) out)))))

Provenance

Generator
generators/2b83f40cf6d9/generator.py
Notes and decisions
generators/2b83f40cf6d9/notes.md
Review label
reviewed_safe
Generator SHA-256
4ca15e7a48171953ca72ee9527dfcba7d62624a33ed71bbf9ce90085008586d6
Rule hash
cbbc66a297e5
Sources
bank:f716aa11d181
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2b83f40cf6d9 --count 1 --seed 20261108 --test 1