← be5d9fa6fec1 · be743fd05a59 →
be6269bef667
A 7..10 by 8..10 grid contains 7..10 directional emitters (1=up, 2=right, 3=down, 4=left) and 4..6 color-5 walls. Rays include their emitter, pass through emitters, stop before walls, and add in a fresh count map. Constructive layouts include all four directions, a ray overlap, and a downward wall-stop witness.
parametric familydirection decodingoverlap countingray casting
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 ((dirs (list (list 1 -1 0) (list 2 0 1) (list 3 1 0) (list 4 0 -1)))) (for*/fold ((out (empty-grid (rows g) (cols g) 0))) ((r (in-range (rows g))) (c (in-range (cols g)))) (let* ((v (at g r c)) (hit (filter (lambda (d) (= (first d) v)) dirs))) (if (empty? hit) out (let ((dr (second (first hit))) (dc (third (first hit)))) (let loop ((rr r) (cc c) (acc out)) (if (or (not (in-bounds? rr cc (rows g) (cols g))) (= (at g rr cc) 5)) acc (loop (+ rr dr) (+ cc dc) (set-cell acc rr cc (+ 1 (at acc rr cc)))))))))))))
Provenance
- Generator
- generators/be6269bef667/generator.py
- Notes and decisions
- generators/be6269bef667/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 48d327986948b9ee31cbd0dcfeb8d8381ed0ce016efc4bfacc50f3393122e9d8
- Rule hash
- c3e717030acc
- Sources
- bank:0eb6e7ee3b18
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate be6269bef667 --count 1 --seed 20261108 --test 1