← 981730af48bb · 98a65dc7fcb1 →

983d0ea3bd17

Two or three red sources emit orange cardinal rays through zeros; every three-sample lesson includes a two-color obstacle probe showing that rays stop at every nonzero cell and only red cells emit.

edge clippinginvented primitiveprojection

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 (find-color g 2)))
    (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]
              [(not (= (at g r c) 0)) acc]
              [else (walk (set-cell acc r c 7) (+ 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/983d0ea3bd17/generator.py
Notes and decisions
generators/983d0ea3bd17/notes.md
Review label
reviewed_safe
Generator SHA-256
46118d5bc35659688a189e90a8e481adb11404d932d3fa0d45401641857746f1
Rule hash
fd605125c9f8
Sources
bank:8ed83d4e427b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 983d0ea3bd17 --count 1 --seed 20261108 --test 1