← 02a33ab58da6 · 02dc25c0440b →
02b21c59893a
A zero-background grid has one blue source anchor, one or two red anchors, and a multicolour payload. Use the last red in row-major order as the destination, copy each payload offset from blue to that red on a fresh canvas, preserve payload colours, and clip translated cells at the edge.
anchorsrelative-positionsame_size
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)) (define (nonzero-cells grid) (sort (filter (lambda (cell) (not (= (third cell) 0))) (grid-cells grid)) (lambda (a b) (cell< (list (first a) (second a)) (list (first b) (second b)))))) (define (points-of grid color) (sort (find-color grid color) cell<)) (let* ((src (first (points-of g 1))) (dst (last (points-of g 2))) (payload (filter (lambda (cell) (not (member (third cell) (list 1 2)))) (nonzero-cells g)))) (for/fold ((out (set-cell (empty-grid (rows g) (cols g) 0) (first dst) (second dst) 2))) ((cell (in-list payload))) (let ((nr (+ (first dst) (- (first cell) (first src)))) (nc (+ (second dst) (- (second cell) (second src))))) (if (in-bounds? nr nc (rows out) (cols out)) (set-cell out nr nc (third cell)) out))))))
Provenance
- Generator
- generators/02b21c59893a/generator.py
- Notes and decisions
- generators/02b21c59893a/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 66abb67e4ed0161fd60b795abcfd8953e3971749798c5ec7f3f0668377be9317
- Rule hash
- ba8a3944ecbc
- Sources
- bank:1cd6e373f225
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 02b21c59893a --count 1 --seed 20261108 --test 1