← c0bd45c81959 · c130e51c4310 →
c0f52d961a7c
A connected magenta (6) payload and one direction marker appear on a black grid. Marker colors 1/2/3/4 mean left/up/right/down. Shift every payload cell one step in that direction and output only the shifted payload on a blank grid.
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* ((marker (find-first (lambda (p)
(let ((v (at g (first p) (second p))))
(or (= v 1) (= v 2) (= v 3) (= v 4))))
(grid-positions g)))
(mcolor (at g (first marker) (second marker)))
(delta (cond [(= mcolor 1) (list 0 -1)]
[(= mcolor 2) (list -1 0)]
[(= mcolor 3) (list 0 1)]
[else (list 1 0)])))
(foldl (lambda (p out)
(let ((nr (+ (first p) (first delta))) (nc (+ (second p) (second delta))))
(if (in-bounds? nr nc (rows g) (cols g))
(set-cell out nr nc 6)
out)))
(empty-grid (rows g) (cols g) 0)
(find-color g 6))))Provenance
- Generator
- generators/c0f52d961a7c/generator.py
- Notes and decisions
- generators/c0f52d961a7c/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 3fd0e0e9b95eb3ce66e47ebb31d2892815b1af95fcaa31d11b564f6a634942c4
- Rule hash
- 0f51670bbbc2
- Sources
- bank:2f7d84161f6a
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate c0f52d961a7c --count 1 --seed 20261108 --test 1