← e04777b1f6d7 · e0680a673043 →

e0650802a8fb

On a 0-background grid, every color that appears exactly twice on a non-trivial 45-degree diagonal fills its inclusive span. Colors are processed in row-major first-appearance order, so the later color owns crossings. A five-sample schedule covers disjoint and crossing spans, both endpoint outcomes, plus axis-pair/singleton/triple controls.

diagonal spanssame-color endpoint pairingsame-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))))) (for/fold ((out g)) ((color (in-list (e8b-colors-reading g)))) (let ((cells (find-color g color))) (if (not (= (length cells) 2)) out (let* ((a (first cells)) (b (second cells)) (dr (- (first b) (first a))) (dc (- (second b) (second a)))) (if (not (= (abs dr) (abs dc))) out (let ((sr (if (> dr 0) 1 -1)) (sc (if (> dc 0) 1 -1))) (for/fold ((acc out)) ((k (in-range (+ 1 (abs dr))))) (set-cell acc (+ (first a) (* sr k)) (+ (second a) (* sc k)) color))))))))))

Provenance

Generator
generators/e0650802a8fb/generator.py
Notes and decisions
generators/e0650802a8fb/notes.md
Review label
reviewed_safe
Generator SHA-256
9edaeb09de4a1961f9556220121fc4ee8ab4d09a3ca626c568ba7f03da5e6abc
Rule hash
040cfb38300e
Sources
bank:db2a1cce4e4e
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate e0650802a8fb --count 1 --seed 20261108 --test 1