← 3020cc038f3f · 3031e2ee53d1 →

302ddfbe2baa

Yellow emitters paint cyan rightward through zero cells, passing through other colors and stopping before the first maroon blocker or the edge.

blockingdirectional propagationsame-size transform

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).

Reference rule (Racket)

(rule! (let ((dummy 0)) (define (raycast grid start dr dc blockers) (let loop ((r (+ (first start) dr)) (c (+ (second start) dc)) (acc (list))) (cond ((not (in-bounds? r c (rows grid) (cols grid))) acc) ((member? (at grid r c) blockers) acc) (else (loop (+ r dr) (+ c dc) (append acc (list (list r c)))))))) (for/fold ((out g)) ((p (in-list (find-color g 4)))) (for/fold ((acc out)) ((q (in-list (raycast g p 0 1 (list 9))))) (if (= (at acc (first q) (second q)) 0) (set-cell acc (first q) (second q) 8) acc)))))

Provenance

Generator
generators/302ddfbe2baa/generator.py
Notes and decisions
generators/302ddfbe2baa/notes.md
Review label
reviewed_safe
Generator SHA-256
2624691778323d7fd756ad82817a5802d5cac2b9101236cd61c67d4a4e3f3439
Rule hash
923c6879d312
Sources
bank:0e5302a13aba
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 302ddfbe2baa --count 1 --seed 20261108 --test 1