← ec1260207f71 · ec491e97a5d5 →
ec23789c7821
Interior horizontal same-color triples are removed and replaced by vertical triples centered on their middle columns; all other cells remain.
parametric familylocalrotationrunssame_size
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* ((used (apply append (for*/list ((r (in-range (rows g))) (c (in-range 0 (- (cols g) 2)))) (let ((v (at g r c))) (if (and (not (= v 0)) (= (at g r (+ c 1)) v) (= (at g r (+ c 2)) v) (> r 0) (< r (- (rows g) 1))) (list (list r c) (list r (+ c 1)) (list r (+ c 2))) (list)))))) (turned (for*/fold ((out (empty-grid (rows g) (cols g) 0))) ((r (in-range (rows g))) (c (in-range 0 (- (cols g) 2)))) (let ((v (at g r c))) (if (and (not (= v 0)) (= (at g r (+ c 1)) v) (= (at g r (+ c 2)) v) (> r 0) (< r (- (rows g) 1))) (set-cell (set-cell (set-cell out (- r 1) (+ c 1) v) r (+ c 1) v) (+ r 1) (+ c 1) v) out))))) (for*/fold ((out turned)) ((r (in-range (rows g))) (c (in-range (cols g)))) (if (and (not (= (at g r c) 0)) (not (member? (list r c) used))) (set-cell out r c (at g r c)) out)))))
Provenance
- Generator
- generators/ec23789c7821/generator.py
- Notes and decisions
- generators/ec23789c7821/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 162a73c18539242c15947b827ad9b1c04db7aa55a378400f00923ebc473134e3
- Rule hash
- 281bfb5a3049
- Sources
- bank:fc0f4ba66a95
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate ec23789c7821 --count 1 --seed 20261108 --test 1