← 11c53dabb028 · 1216927d148b →
11ebef5b0986
Three distinct legend colors from 2..8 at row 0 columns 1..3; one closed color-1 rectangular chamber and one interior color-9 seed. Paint eight rays with the legend cycle, stopping at the actual frame. Ordinary three-example windows cover gray 5, deep insets and rays beyond distance 7.
eight-direction raysmasked propagationperiodic painting
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* ((palette (take (filter (lambda (v) (not (= v 0))) (row g 0)) 3))
(seed (first (find-color g 9)))
(mask (connected-region g (first seed) (second seed)
(lambda (r c v) (not (= v 1))) 4)))
(define dirs (list (list -1 0) (list 1 0) (list 0 -1) (list 0 1)
(list -1 -1) (list -1 1) (list 1 -1) (list 1 1)))
(define (draw-dir out d)
(let walk ([acc out]
[r (+ (first seed) (first d))]
[c (+ (second seed) (second d))]
[step 0])
(if (and (in-bounds? r c (rows g) (cols g)) (member (list r c) mask))
(let ((next (if (= (at acc r c) 0)
(set-cell acc r c (nth palette (modulo step (length palette))))
acc)))
(walk next (+ r (first d)) (+ c (second d)) (+ step 1)))
acc)))
(for/fold ([out g]) ([d (in-list dirs)])
(draw-dir out d))))Provenance
- Generator
- generators/11ebef5b0986/generator.py
- Notes and decisions
- generators/11ebef5b0986/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 3058ecb8478de8e7241d56a367b4c52da4402501662a6a961492ff78fc430d03
- Rule hash
- 37be31441b18
- Sources
- bank:fd166f81148e
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 11ebef5b0986 --count 1 --seed 20261108 --test 1