← 1e99030a2d90 · 1ec277b81469 →

1ea6c72cb7e3

Interleave canonical-scale anchors, line-of-sight counterexamples, and broad wall/watcher layouts; each three-draw lesson refutes named rivals.

occlusionoverlaprays

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)) (define (line-of-sight-clear? grid a b) (let* ((r1 (first a)) (c1 (second a)) (r2 (first b)) (c2 (second b))) (cond ((= r1 r2) (all? (lambda (c) (not (= (at grid r1 c) 5))) (range (+ (min c1 c2) 1) (max c1 c2)))) ((= c1 c2) (all? (lambda (r) (not (= (at grid r c1) 5))) (range (+ (min r1 r2) 1) (max r1 r2)))) (else #f)))) (define watchers (filter (lambda (cell) (let ((v (third cell))) (and (not (= v 0)) (not (= v 5))))) (grid-cells g))) (grid-from-fn (rows g) (cols g) (lambda (r c) (let ((v (at g r c))) (if (not (= v 0)) v (let* ((seen (remove-duplicates (map third (filter (lambda (w) (and (or (= r (first w)) (= c (second w))) (line-of-sight-clear? g (list r c) (list (first w) (second w))))) watchers))))) (cond ((= (length seen) 0) 0) ((= (length seen) 1) (first seen)) (else 8)))))))))

Provenance

Generator
generators/1ea6c72cb7e3/generator.py
Notes and decisions
generators/1ea6c72cb7e3/notes.md
Review label
reviewed_safe
Generator SHA-256
2a0ccefe674e9ec4c42ae6db6c96bc6229594924f72708a7744612f79a912d6b
Rule hash
e74d7b3af3b2
Sources
bank:cf5246d38569
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 1ea6c72cb7e3 --count 1 --seed 20261108 --test 1