← aba5e4aeb835 · abee0b4bed48 →
abe8a3c35e86
A unique color-9 pivot copies one connected monochrome motif across the pivot column when the motif is wholly left/right; otherwise it copies an above/below motif across the pivot row. Column priority is exercised explicitly when both conditions hold.
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 ((dummy 0)) (let* ((pivot (first (find-color g 9))) (pr (first pivot)) (pc (second pivot)) (objs (filter (lambda (p) (not (member? (at g (first p) (second p)) (list 0 9)))) (grid-positions g))) (rs (map first objs)) (cs (map second objs))) (cond ((empty? objs) g) ((or (< (apply max cs) pc) (> (apply min cs) pc)) (for/fold ((out g)) ((p (in-list objs))) (let ((mc (- (* 2 pc) (second p)))) (if (in-bounds? (first p) mc (rows g) (cols g)) (set-cell out (first p) mc (at g (first p) (second p))) out)))) ((or (< (apply max rs) pr) (> (apply min rs) pr)) (for/fold ((out g)) ((p (in-list objs))) (let ((mr (- (* 2 pr) (first p)))) (if (in-bounds? mr (second p) (rows g) (cols g)) (set-cell out mr (second p) (at g (first p) (second p))) out)))) (else g)))))
Provenance
- Generator
- generators/abe8a3c35e86/generator.py
- Notes and decisions
- generators/abe8a3c35e86/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 7b0070d31baf4909cd9a87423f3fb5fb26f118a4062f6436c7ac1fd6d8318493
- Rule hash
- eb5d6fb489a0
- Sources
- bank:56b8d7075625
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate abe8a3c35e86 --count 1 --seed 20261108 --test 1