← 01bb2cbe1309 · 01dfed2930fa →
01bdf9b8d2db
Color-5 perimeter and divider walls partition the input into chambers. Every 4-connected non-wall chamber has exactly one colored seed, and the output floods the whole chamber with that seed color. Scheduled divider gaps merge neighboring rectangles and make connectivity observable.
parametric familychamber partitioningseed propagationwall handling
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 ((dummy 0))
(define (chamber-cells start)
(connected-region g (first start) (second start)
(lambda (r c v) (not (= v 5)))
4))
(define (marker-color cells)
(let ((hit (find-first (lambda (p)
(let ((v (at g (first p) (second p))))
(and (not (= v 0)) (not (= v 5)))))
cells)))
(if hit (at g (first hit) (second hit)) 0)))
(let loop ([remaining (filter-cells g (lambda (r c v) (not (= v 5))))] [out (keep-only g 5)])
(if (empty? remaining)
out
(let* ((region (chamber-cells (first remaining)))
(color (marker-color region)))
(loop (filter (lambda (p) (not (member? p region))) remaining)
(paint-cells out region color)))))))Provenance
- Generator
- generators/01bdf9b8d2db/generator.py
- Notes and decisions
- generators/01bdf9b8d2db/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 281c46cb5254cf1051dd9d25a8e693481d1a58b7d9a23645428040c1d9d943c5
- Rule hash
- 816bf3c1378a
- Sources
- bank:dc02f6f7c147
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 01bdf9b8d2db --count 1 --seed 20261108 --test 1