← bd8613daf5b1 · bdcb4c9eb6bd →

bdb419bbf286

Paint three color-8 copies of the first color-2 object along the vector from the first color-3 cell to the first color-4 cell.

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* ((shape (obj-cells (first (filter (lambda (o) (= (obj-color o) 2)) (objects g 0)))))
         (a (first (find-color g 3)))
         (b (first (find-color g 4)))
         (dr (- (first b) (first a)))
         (dc (- (second b) (second a))))
    (for/fold ([out (empty-grid (rows g) (cols g) 0)]) ([k (in-range 0 3)])
      (paint-cells out
                   (map (lambda (p) (list (+ (first p) (* k dr)) (+ (second p) (* k dc)))) shape)
                   8))))

Provenance

Generator
generators/bdb419bbf286/generator.py
Notes and decisions
generators/bdb419bbf286/notes.md
Review label
reviewed_safe
Generator SHA-256
cc624fcb44d66d0bf85e923b5ed0f75113209514e0d513181d9d68674e325443
Rule hash
6669efb7af1c
Sources
bank:e00836ab832d
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate bdb419bbf286 --count 1 --seed 20261108 --test 1