← d1c500f060a1 · d250e5455b23 →
d1dab66b0d54
Find the equally spaced green guide cells. Infer their positive row/column interval, erase the red 3x3 ring, and translate every red cell forward by one guide interval while leaving the green guide unchanged.
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! (lambda (g)
(let* ((h (rows g))
(w (cols g))
(greens (find-color g 3))
(all-same-row (let* ((r0 (fst (first greens))))
(for/and ((p (rest greens))) (= (fst p) r0))))
(spacing (if all-same-row
(let* ((cols (sort (map snd greens) <)))
(- (second cols) (first cols)))
(let* ((rows (sort (map fst greens) <)))
(- (second rows) (first rows)))))
(dr (if all-same-row 0 spacing))
(dc (if all-same-row spacing 0))
(reds (find-color g 2))
(cleared (recolor-cells g reds 0)))
(reduce (lambda (g2 p)
(let* ((nr (+ (fst p) dr))
(nc (+ (snd p) dc)))
(if (and (>= nr 0) (< nr h) (>= nc 0) (< nc w))
(set-cell g2 nr nc 2)
g2)))
cleared
reds))))Provenance
- Generator
- generators/d1dab66b0d54/generator.py
- Notes and decisions
- generators/d1dab66b0d54/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- d3a05c7d652ef8b3da1b4257692114ff09ffd318d677f45c43ec351ed941df17
- Rule hash
- 76783c197f4d
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate d1dab66b0d54 --count 1 --seed 20261108 --test 1