← b0881729e53a · b13481ce1294 →
b0e266482663
Green (3) markers on the top edge shoot downward and red (2) markers on the left edge shoot rightward. Maroon (9) cells stop rays. Horizontal-only and vertical-only cells become 2 and 3; crossings become cyan (8).
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 (s7-ray-clear-row? grid r c) (and (>= c 1) (= (at grid r 0) 2) (all? (lambda (cc) (not (= (at grid r cc) 9))) (range 1 (+ c 1))))) (define (s7-ray-clear-col? grid r c) (and (>= r 1) (= (at grid 0 c) 3) (all? (lambda (rr) (not (= (at grid rr c) 9))) (range 1 (+ r 1))))) (for*/fold ((out g)) ((r (in-range (rows g))) (c (in-range (cols g)))) (if (= (at g r c) 9) out (let ((hh (s7-ray-clear-row? g r c)) (vv (s7-ray-clear-col? g r c))) (if (and hh vv) (set-cell out r c 8) (if hh (set-cell out r c 2) (if vv (set-cell out r c 3) out))))))))
Provenance
- Generator
- generators/b0e266482663/generator.py
- Notes and decisions
- generators/b0e266482663/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- bd9bba5d02cec811f5e7a6f9b209281bfe604f47f224d9598e2bc050476e23ec
- Rule hash
- d12310adc715
- Sources
- bank:97e1cc8b45f0
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate b0e266482663 --count 1 --seed 20261108 --test 1