Repository navigation
Description
Status — In progress; capacity and overflow are implemented
Reviewed on 2026-11-01. The previous statement that shelters have no capacity field/enforcement is obsolete. PR #94, merged as 48d1eff, added optional max_occupants, an editable Properties control, deterministic admission limits, and rerouting when shelters fill.
Completed
- Real single-floor tornado objective through existing batch/live APIs, walkable editable
tornado_zones, separate sheltered counts, and recorded arrivals. - Seeded moving tornado footprint and shelter clearance; tornado agents shelter rather than evacuating through windows/exterior exits.
- Optional per-zone
max_occupants(default 50 for older layouts), validation, names/JSON/history, and Properties editing. - Capacity-limited admission and rerouting to other available shelters. Simultaneous arrivals cannot overbook; insufficient accessible capacity leaves unsheltered people remaining/incomplete.
- Focused capacity/overflow regressions in
backend/src/simulation/tests.rsand frontendshelterCapacity.test.tsx/DisasterControls.test.tsx.
Remaining acceptance criteria
- Connor/Nick/Layth agree on tornado-specific stress objectives, scenario generation, ranking, and result labels.
- Implement and verify agreed shelter-closure/unreachable/capacity failure experiments through stress testing and analytics; generic exit-blocking comparisons are not a substitute.
- Document whether advance reservations are needed; current capacity limits are admission-based, not a reservation model.
PR #94 records 627 frontend tests, 283 Rust tests, and lint/build/format/Clippy verification. The current main also includes #98 with successful required frontend/backend CI on c077992. These are existing verification results, not newly rerun suites.
Keep this issue open for the unfinished stress/analysis scope. Do not introduce the obsolete alternative ScenarioRequest/ShelterResult wrapper or shelter_zones spelling. Multi-floor remains #11, and configured capacity is not a certified value derived from floor area.
Activity
[-]Plan tornado shelter zones and scenario-aware simulation contracts[/-][+]Tornado follow-ups: shelter capacity and scenario-aware stress review[/+][-]Tornado follow-ups: shelter capacity and scenario-aware stress review[/-][+]Tornado follow-ups: scenario-aware shelter stress testing[/+]