← dfda42e49ff5 · e005c30bc59a →
dfdc40167549
On a 0-background grid, locate the unique color-1 source marker, the unique color-2 destination marker, and the unique monochrome non-marker object. Translate every object cell by marker2-marker1 onto an otherwise empty grid. Paint translated 4-neighbor boundary cells orange (7) and strict interior cells cyan (8); clip translated cells that leave the canvas. Ordinary five-example windows include canonical-scale full and clipped rectangles, all vector quadrants, overlap, and a concave object that distinguishes topological boundary from bounding-box border.
boundary/interior separationconstructive recolortranslation vectors
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* ((src (first (find-color g 1)))
(dst (first (find-color g 2)))
(comp (first (sort (filter (lambda (obj) (not (member (obj-color obj) (list 1 2)))) (objects g 0))
(lambda (a b) (> (obj-size a) (obj-size b))))))
(boundary (obj-boundary-cells comp))
(dr (- (first dst) (first src)))
(dc (- (second dst) (second src))))
(for/fold ([out (empty-grid (rows g) (cols g) 0)]) ([p (in-list (obj-cells comp))])
(let ((nr (+ (first p) dr)) (nc (+ (second p) dc)))
(if (in-bounds? nr nc (rows g) (cols g))
(set-cell out nr nc (if (member p boundary) 7 8))
out)))))Provenance
- Generator
- generators/dfdc40167549/generator.py
- Notes and decisions
- generators/dfdc40167549/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 759c79fb4e00ad01217bd718ff621b03209d54b188b532de608cb31c4d949781
- Rule hash
- 8c8aa2055364
- Sources
- bank:fe45a3aa7042
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate dfdc40167549 --count 1 --seed 20261108 --test 1