← 4c26a1072222 · 4c33979d9cc2 →
4c331f7e97e6
A closed rectangular color-1 chamber contains two to five colored single-cell markers. Every marker fires four cardinal rays through original background, stopping at the chamber wall; overlapping paints resolve in row-major marker order, matching the selected Racket rule.
parametric familyframesinvented primitiveprojection to blocker
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 ((starts (filter (lambda (cell) (not (member (third cell) (list 0 1)))) (grid-cells g))))
(define (draw-dir out start d)
(let walk ([acc out] [r (+ (first start) (first d))] [c (+ (second start) (second d))])
(cond [(not (in-bounds? r c (rows g) (cols g))) acc]
[(= (at g r c) 1) acc]
[(not (= (at g r c) 0)) (walk acc (+ r (first d)) (+ c (second d)))]
[else (walk (set-cell acc r c (third start)) (+ r (first d)) (+ c (second d)))])))
(for*/fold ([out g])
([start (in-list starts)]
[d (in-list cardinal-deltas)])
(draw-dir out start d))))Provenance
- Generator
- generators/4c331f7e97e6/generator.py
- Notes and decisions
- generators/4c331f7e97e6/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 35b93a7c79dcfd46b22ff12c49167d33761bd235521673d659a4ce170c162380
- Rule hash
- f6aef1d09ea3
- Sources
- bank:8ed83d4e427b
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 4c331f7e97e6 --count 1 --seed 20261108 --test 1