← 0d1deab2505c · 0d5077971eea →
0d27a69b5a98
A full color-9 row or column is a reflection axis. Copy every colored cell to its in-bounds mirror, regardless of which side supplied it.
parametric familyaxis_detectionreflection
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)) (define full-col (find-first (lambda (c) (all? (lambda (r) (= (at g r c) 9)) (range 0 (rows g)))) (range 0 (cols g)))) (define full-row (find-first (lambda (r) (all? (lambda (c) (= (at g r c) 9)) (range 0 (cols g)))) (range 0 (rows g)))) (if (not (eq? full-col #f)) (fold-cells g g (lambda (out r c v) (let ((mc (- (* 2 full-col) c))) (if (and (not (= v 0)) (not (= v 9)) (in-bounds? r mc (rows g) (cols g))) (set-cell out r mc v) out)))) (if (not (eq? full-row #f)) (fold-cells g g (lambda (out r c v) (let ((mr (- (* 2 full-row) r))) (if (and (not (= v 0)) (not (= v 9)) (in-bounds? mr c (rows g) (cols g))) (set-cell out mr c v) out)))) g))))
Provenance
- Generator
- generators/0d27a69b5a98/generator.py
- Notes and decisions
- generators/0d27a69b5a98/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- a0c84b5b70f7be5a103647787110bf05f2a6de148e3907319bdc38312f135fc7
- Rule hash
- 84d7043f128c
- Sources
- bank:e1d39660275b
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 0d27a69b5a98 --count 1 --seed 20261108 --test 1