← 64592477ccc8 · 6470a9c16f7b →
646eeb47599b
5..8 by 5..8 orange fields, exactly 4..14 cyan wall cells (which may touch), and an adjacent green seed. Unpinned production alternates two rich laser examples with one broad lawful draw. Rich examples distinguish nine declared rivals, including centerward-only launch and absorbing cyan clusters. Racket remains the label authority.
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!
;; Laser from a 2-cell green(3) seed: beams start at every seed cell along
;; the seed's axis (one shared row -> horizontal, else vertical), paint
;; traversed orange(7) green, SPLIT perpendicular at cyan(8) walls, and stop
;; at grid edges. Pure worklist over (r c dr dc) beam states.
(lambda (g)
(let* ((h (rows g))
(w (cols g))
(open? (lambda (r c) (and (in-bounds? r c h w) (!= (at g r c) 8))))
(seeds (find-color g 3))
(horiz (= 1 (length (unique (map first seeds)))))
(dirs (if horiz
(list (list 0 1) (list 0 -1))
(list (list 1 0) (list -1 0))))
(start (flatmap (lambda (p)
(map (lambda (d)
(list (first p) (second p) (first d) (second d)))
dirs))
seeds))
(filled
(let run ((stack start) (visited (list)) (acc seeds))
(cond
((null? stack) acc)
((member (first stack) visited)
(run (rest stack) visited acc))
(else
(let* ((head (first stack))
(dr (third head))
(dc (fourth head))
(seen (cons head visited)))
(let march ((cr (first head)) (cc (second head)) (hit acc))
(let ((nr (+ cr dr)) (nc (+ cc dc)))
(cond
((open? nr nc) (march nr nc (cons (list nr nc) hit)))
((and (in-bounds? nr nc h w) (= (at g nr nc) 8))
(let* ((perp (if (!= dc 0)
(list (list 1 0) (list -1 0))
(list (list 0 1) (list 0 -1))))
(splits (map (lambda (d)
(list cr cc (first d) (second d)))
(filter (lambda (d)
(open? (+ cr (first d))
(+ cc (second d))))
perp))))
(run (append splits (rest stack)) seen hit)))
(else (run (rest stack) seen hit)))))))))))
(cellmap g (r c v)
(if (and (= v 7) (member (list r c) filled)) 3 v)))))Provenance
- Generator
- generators/646eeb47599b/generator.py
- Notes and decisions
- generators/646eeb47599b/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- aa9940392c76ce0e2006361be2bb1c4e874ea6bb0969d96106a62783941744af
- Rule hash
- 610c94f513d9
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 646eeb47599b --count 1 --seed 20261108 --test 1