← a8a8969ab4f1 · a8d6e6039a6f →

a8a99930c51a

Distinct colors in row 0 define a left-to-right directed cycle. Every body cell whose color occurs in the strip changes to the next strip color; the strip, background, and out-of-strip body colors remain unchanged.

dynamic color mappingmeta-rule from strip

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 (t10-alist-ref pairs key default) (let ((hits (filter (lambda (p) (= (first p) key)) pairs))) (if (empty? hits) default (second (first hits))))) (let* ((strip (filter (lambda (v) (not (= v 0))) (row g 0))) (pairs (map (lambda (v idx) (list v (list-ref strip (modulo (+ idx 1) (length strip))))) strip (range (length strip))))) (grid-from-fn (rows g) (cols g) (lambda (r c) (let ((v (at g r c))) (if (= r 0) v (t10-alist-ref pairs v v))))))))

Provenance

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