← 97f17772dd96 · 983d0ea3bd17 →
981730af48bb
Each active row has two equal-colored endpoints at an even distance; replace every pair by one same-colored dot at its integer midpoint.
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)) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((r (in-range (rows g)))) (let ((pos (filter (lambda (c) (not (= (at g r c) 0))) (range (cols g))))) (if (and (= (length pos) 2) (= (at g r (first pos)) (at g r (second pos))) (= (modulo (+ (first pos) (second pos)) 2) 0)) (set-cell out r (quotient (+ (first pos) (second pos)) 2) (at g r (first pos))) out)))))
Provenance
- Generator
- generators/981730af48bb/generator.py
- Notes and decisions
- generators/981730af48bb/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 1b39f28ec3a84046c570ec2b2d7ad5e89bcad5b8320c9cc502607691b4eae277
- Rule hash
- 250fc3187c8a
- Sources
- bank:7d2e04a04712
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 981730af48bb --count 1 --seed 20261108 --test 1