← a5bda33d14a0 · a61246736c26 →
a5e17b975ae0
A 12..14 by 17..20 zero-background grid contains exactly two detached hollow color-9 rectangular frames. Color-5 dividers split frame interiors into chambers. One or two distinct non-{0,5,9} key cells sit in separate 4-connected open regions, while at least one region remains unkeyed. Flood each key through original 0/same-color cells, stopping at both color-5 and color-9 walls; leave all walls and unkeyed chambers unchanged.
parametric familyconstrained flood fillframe-local reasoningmultiple independent regions
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 dirs4 (list (list -1 0) (list 1 0) (list 0 -1) (list 0 1))) (let ((seeds (filter (lambda (p) (let ((v (at g (first p) (second p)))) (and (not (= v 0)) (not (member? v (list 5 9)))))) (grid-positions g)))) (for/fold ((out g)) ((seed (in-list seeds))) (let ((color (at g (first seed) (second seed)))) (let bfs ((queue (list seed)) (seen (list seed)) (acc out)) (if (empty? queue) acc (let* ((cur (first queue)) (painted (set-cell acc (first cur) (second cur) color)) (nbrs (filter (lambda (p) (and (in-bounds? (first p) (second p) (rows g) (cols g)) (not (member? p seen)) (let ((v (at g (first p) (second p)))) (and (not (member? v (list 5 9))) (or (= v 0) (= v color)))))) (map (lambda (d) (list (+ (first cur) (first d)) (+ (second cur) (second d)))) dirs4)))) (bfs (append (rest queue) nbrs) (append seen nbrs) painted)))))))))
Provenance
- Generator
- generators/a5e17b975ae0/generator.py
- Notes and decisions
- generators/a5e17b975ae0/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- f6aa8282a799c77a75b3f696ac10a79e24ab406b6c1259fcad7defdd643188d4
- Rule hash
- ced8e283e2c4
- Sources
- bank:db2a1cce4e4e
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate a5e17b975ae0 --count 1 --seed 20261108 --test 1