← 0eb83be0298d · 0ee26bf68bad →
0ed4fa8c0b40
A yellow five-cell arrow has an apex one column left or right of its three-cell bar. Read that relative offset, then reflect every cyan(8) cell across the cyan bounding box's indicated vertical edge and paint the reflected copy immediately outside it. Preserve the input.
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! (lambda (g)
(let* ((h (rows g))
(w (cols g)))
(let* ((cyans (find-color g 8))
(yellows (find-color g 4))
(yr-min (min-of fst yellows))
(pointer-col (snd (find (lambda (p) (= (fst p) yr-min)) yellows)))
(yc-center (quotient (+ (min-of snd yellows) (max-of snd yellows)) 2))
(go-right (> pointer-col yc-center))
(cc-min (min-of snd cyans))
(cc-max (max-of snd cyans)))
(reduce (lambda (acc p)
(let* ((r (fst p))
(c (snd p))
(nc (if go-right
(+ cc-max 1 (- cc-max c))
(- cc-min 1 (- c cc-min)))))
(if (and (>= nc 0) (< nc w)) (set-cell acc r nc 8) acc)))
g
cyans)))))Provenance
- Generator
- generators/0ed4fa8c0b40/generator.py
- Notes and decisions
- generators/0ed4fa8c0b40/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 5ff1e2d5705bf658b3ce6c0247c5fee012ae53b8952e21670137c15a90a4974f
- Rule hash
- d42dbc127318
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 0ed4fa8c0b40 --count 1 --seed 20261108 --test 1