← 6b694a414d96 · 6b6fc5374976 →
6b6e3acc8a0a
0-bg grid with: (a) exactly one color-1 cell (source anchor); (b) exactly one color-2 cell (destination anchor); (c) one or more shapes in colors other than {0, 1, 2} (e.g. one connected blob in some color, OR multiple separate cells). Rule: compute translation (dr, dc) = pos(2) - pos(1). On a FRESH 0-grid, for every non-{0,1,2} input cell at (r, c) with value v, paint (r + dr, c + dc) with v if in-bounds (else drop). The two anchor cells (1 and 2) do NOT appear in the output; only the translated non-anchor cells are kept.
parametric family
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)) (let* ((src (first (find-color g 1))) (dst (first (find-color g 2))) (dr (- (first dst) (first src))) (dc (- (second dst) (second src))) (objs (filter (lambda (p) (not (member? (at g (first p) (second p)) (list 0 1 2)))) (grid-positions g)))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((p (in-list objs))) (let ((r (+ (first p) dr)) (c (+ (second p) dc)) (v (at g (first p) (second p)))) (if (in-bounds? r c (rows g) (cols g)) (set-cell out r c v) out))))))
Provenance
- Generator
- generators/6b6e3acc8a0a/generator.py
- Notes and decisions
- generators/6b6e3acc8a0a/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 113a717934a50cc6bfeb9e0826461a7e76e2901d513f949fae36c3f72397267c
- Rule hash
- 5e9828153ac8
- Sources
- bank:c0e651d407f3
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 6b6e3acc8a0a --count 1 --seed 20261108 --test 1