← 297c05190f7c · 299bf6bf9785 →

297e46df4407

Copy the one blue tetromino in cyan by the vector from its attached red port to the green destination port. Preserve the input scene except where the cyan copy overwrites a demonstrated target cell.

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* ((source (first (filter (lambda (o) (= (obj-color o) 1)) (objects g 0))))
         (src (first (find-color g 2)))
         (dst (first (find-color g 3)))
         (dr (- (first dst) (first src)))
         (dc (- (second dst) (second src))))
    (foldl (lambda (p out)
             (let ((nr (+ (first p) dr))
                   (nc (+ (second p) dc)))
               (if (in-bounds? nr nc (rows g) (cols g))
                   (set-cell out nr nc 8)
                   out)))
           g
           (obj-cells source))))

Provenance

Generator
generators/297e46df4407/generator.py
Notes and decisions
generators/297e46df4407/notes.md
Review label
reviewed_safe
Generator SHA-256
8a9af3d87028a2fc61b9de9f2370447e5cf4b8a7af388742399b8bd2a6af305e
Rule hash
47ca0464346f
Sources
bank:0d41ded5f4cd
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 297e46df4407 --count 1 --seed 20261108 --test 1