← 997c17fd6870 · 99d71aabd753 →
99d5bc858270
A 0-background grid contains exactly one yellow (4) border light and one or more non-yellow interior caster cells. The light may occupy any edge or corner; at corners, the selected rule gives left/right borders priority. The Racket authority casts a yellow ray from every caster cell away from the light and clears the original light. Generated scenes include separated collinear casters so a canonical-fitting farthest-caster-only shortcut is visibly wrong.
beamcastobject_reasoningprojectionsame_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* ((light (first (filter (lambda (p) (and (= (at g (first p) (second p)) 4) (or (= (first p) 0) (= (first p) (- (rows g) 1)) (= (second p) 0) (= (second p) (- (cols g) 1))))) (grid-positions g)))) (lr (first light)) (lc (second light)) (dir (cond ((= lc 0) (list 0 1)) ((= lc (- (cols g) 1)) (list 0 -1)) ((= lr 0) (list 1 0)) (else (list -1 0)))) (obj-cells (filter values (map (lambda (p) (let ((v (at g (first p) (second p)))) (if (and (not (= v 0)) (not (equal? p light))) (list (first p) (second p) v) #f))) (grid-positions g))))) (let* ((shadowed (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((p (in-list obj-cells))) (let ray ((r (+ (first p) (first dir))) (c (+ (second p) (second dir))) (acc out)) (if (in-bounds? r c (rows g) (cols g)) (ray (+ r (first dir)) (+ c (second dir)) (set-cell acc r c 4)) acc))))) (for/fold ((out shadowed)) ((p (in-list obj-cells))) (set-cell out (first p) (second p) (third p)))))))
Provenance
- Generator
- generators/99d5bc858270/generator.py
- Notes and decisions
- generators/99d5bc858270/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 3dc7718bd44600c5b7d8fbb9cd1447b17e1548a130747e70ec199b37ac8999c0
- Rule hash
- e48cc46570d0
- Sources
- bank:e07509d599a1
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 99d5bc858270 --count 1 --seed 20261108 --test 1