← 1a5d49e539de · 1a92a12bac06 →

1a8932958b14

A 0-background grid contains exactly one connected payload (colors other than 0/2/3), one red source marker (2), and one green destination marker (3). Translate the entire payload, preserving all of its colors, by the vector from red to green onto a blank grid; remove both markers and the original payload. Grid dimensions, payload size/colors, vector direction, shape, placement, and marker positions vary.

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!
  ;; Red (2) is the source marker and green (3) is the destination marker.
  (let* ((src (first (find-color g 2)))
         (dst (first (find-color g 3)))
         (dr (- (first dst) (first src)))
         (dc (- (second dst) (second src))))
    ;; Copy only payload cells to a blank grid, shifted by the 2->3 vector.
    (foldl (lambda (cell out)
             (let* ((r (first cell)) (c (second cell)) (v (third cell))
                    (nr (+ r dr)) (nc (+ c dc)))
               (if (and (not (= v 0)) (not (= v 2)) (not (= v 3))
                        (in-bounds? nr nc (rows g) (cols g)))
                   (set-cell out nr nc v)
                   out)))
           (empty-grid (rows g) (cols g) 0)
           (grid-cells g))))

Provenance

Generator
generators/1a8932958b14/generator.py
Notes and decisions
generators/1a8932958b14/notes.md
Review label
reviewed_safe
Generator SHA-256
1754a515ea3eb89cf00bb871d647e249061a23305896dca3f4a2f6f456524a54
Rule hash
42869e666344
Sources
bank:38166e88069b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 1a8932958b14 --count 1 --seed 20261108 --test 1