← 8d46d66e31b0 · 8dac9e436a4c →
8d7d1364cf11
On background 4, two or three separated multicolor source templates each contain a globally unique accent cell. Isolated dots matching an accent stamp that template with the accent aligned to the dot; isolated colors absent from all templates are decoys and vanish. The output contains only the stamped copies, not the source templates or original dots.
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! (lambda (g)
(let ((h (rows g))
(w (cols g))
(bg 4))
(let ((comps (objects-multicolor g bg)))
(let ((shapes (filter (lambda (o) (> (obj-size o) 1)) comps))
(dots (filter (lambda (o) (= (obj-size o) 1)) comps)))
(let ((shape-cells (flatmap (lambda (s)
(map (lambda (cell) (list s cell))
(obj-cells s)))
shapes)))
(reduce (lambda (acc dot)
(let ((dp (fst (obj-cells dot)))
(dc (at g
(fst (fst (obj-cells dot)))
(snd (fst (obj-cells dot))))))
(let ((matches (filter (lambda (m)
(= (at g
(fst (snd m))
(snd (snd m)))
dc))
shape-cells)))
(if (empty? matches)
acc
(let ((tmpl (fst (first matches)))
(anchor (snd (first matches))))
(let ((dr (- (fst dp) (fst anchor)))
(dcc (- (snd dp) (snd anchor))))
(reduce (lambda (a cell)
(let ((nr (+ (fst cell) dr))
(nc (+ (snd cell) dcc)))
(if (in-bounds? nr nc h w)
(set-cell a
nr
nc
(at g
(fst cell)
(snd cell)))
a)))
acc
(obj-cells tmpl))))))))
(grid-from-fn h w (lambda (r c) bg))
dots)))))))Provenance
- Generator
- generators/8d7d1364cf11/generator.py
- Notes and decisions
- generators/8d7d1364cf11/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 45fa66a378159e73b07f50830d273b51cf303ec062481c3a3dcd4eee4e9055e0
- Rule hash
- 0a9706fafc20
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 8d7d1364cf11 --count 1 --seed 20261108 --test 1