← 7073328cf3f2 · 7092d9933e2d →
70913cf98cee
A sparse same-size recoloring task. Row 0 contains two to four ordered source/destination color pairs, displayed as source, zero, destination triplets with an optional leading zero offset. Row 1 is a blank separator. Every source color appears in multiple body components below the separator. The output preserves row 0 and all geometry, replaces each body source color with its paired destination color, and leaves background plus at most one unmapped distractor color unchanged.
parametric familycolor remappinglegend readingsymbolic control
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)) (let* ((nonzero (filter (lambda (v) (not (= v 0))) (row g 0))) (pairs (let loop ((xs nonzero)) (if (empty? xs) (list) (cons (list (first xs) (second xs)) (loop (rest (rest xs)))))))) (grid-from-fn (rows g) (cols g) (lambda (r c) (if (= r 0) (at g r c) (let ((hit (find-first (lambda (pair) (= (first pair) (at g r c))) pairs))) (if (eq? hit #f) (at g r c) (second hit)))))))))
Provenance
- Generator
- generators/70913cf98cee/generator.py
- Notes and decisions
- generators/70913cf98cee/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 0ffbdc636859321577beb904ba9356bab7b722ab43ed910d9fc4e19e598930c5
- Rule hash
- cfa85dd4cc66
- Sources
- bank:b4ec712e8849
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 70913cf98cee --count 1 --seed 20261108 --test 1