← 2692a3e47a66 · 26cfe7595a4a →
26ac80084566
A colored shape casts row-wise horizontal shadows toward a movable vertical 8-wall from either side.
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 (paint grid cells color) (for/fold ((out grid)) ((p (in-list cells))) (if (in-bounds? (first p) (second p) (rows out) (cols out)) (set-cell out (first p) (second p) color) out))) (define (full-col-of? grid c color) (all? (lambda (r) (= (at grid r c) color)) (range (rows grid)))) (let* ((wall (first (filter (lambda (c) (full-col-of? g c 8)) (range (cols g))))) (cells (filter (lambda (p) (not (member? (at g (first p) (second p)) (list 0 8)))) (grid-positions g))) (left-side (all? (lambda (p) (< (second p) wall)) cells))) (for/fold ((out (paint (empty-grid (rows g) (cols g) 0) (map (lambda (r) (list r wall)) (range (rows g))) 8))) ((p (in-list cells))) (let ((v (at g (first p) (second p)))) (paint out (map (lambda (c) (list (first p) c)) (if left-side (range (second p) wall) (range (+ wall 1) (+ (second p) 1)))) v))))))
Provenance
- Generator
- generators/26ac80084566/generator.py
- Notes and decisions
- generators/26ac80084566/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- e54d63489690a77af1ad3a08904b463b5e7465f29ecbefdf57d4c36f035e2fbd
- Rule hash
- 4397ca98d7a5
- Sources
- bank:f7fa4dfa2903
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 26ac80084566 --count 1 --seed 20261108 --test 1