← 3e5b763caa3d · 3ef5f8be2639 →
3e68f3e3f66f
Broadcast the source-relative motif to row-major color-6 anchors, recolored by the top-row legend.
anchored copyinglegend recolorordering
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* ((legend (filter (lambda (v) (not (= v 0))) (first g)))
(src (first (find-color g 5)))
(anchors (sort (find-color g 6)
(lambda (a b) (if (= (first a) (first b)) (< (second a) (second b)) (< (first a) (first b))))))
(motif (filter (lambda (cell) (and (not (= (first cell) 0))
(not (member? (third cell) (list 0 5 6)))))
(grid-cells g))))
(for/fold ([out g]) ([anchor (in-list anchors)] [idx (in-naturals)])
(for/fold ([cur out]) ([cell (in-list motif)])
(let ((r (+ (first anchor) (- (first cell) (first src))))
(c (+ (second anchor) (- (second cell) (second src)))))
(if (in-bounds? r c (rows g) (cols g))
(set-cell cur r c (list-ref legend idx))
cur))))))Provenance
- Generator
- generators/3e68f3e3f66f/generator.py
- Notes and decisions
- generators/3e68f3e3f66f/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- b250f517e5ab3c165640f00fc87e04e593ff3cd58098ec9da4f842ca33ff58f8
- Rule hash
- 4f92f2063a9e
- Sources
- bank:cc07013acae1
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 3e68f3e3f66f --count 1 --seed 20261108 --test 1