feat(statistics): Closed Days are not business days #103
Labels
No labels
blocked
bug
enhancement
high-priority
low-priority
needs-info
needs-triage
ready-for-agent
ready-for-human
referenced
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gabogg/hikcentral#103
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Step 1 of the pre-deck work agreed on 2026-09-25 (grilling session after the #89–#94 merges). Decisions below are settled.
Problem
The facility can already declare a closed day: a weekday unchecked in the weekly schedule (
occupancy_daily_schedule.is_open = 0) or a dated entry marked closed (occupancy_holidays.is_open = 0). Statistics ignore it. A closed day with no counted data makes its week/month a Partial Period exactly like an outage, and a closed day with staff passages is counted as a normal business day.Decisions
business_days, so it never makes a period partial and never lowers the daily average.closed_daysonPeriodQuality,is_closedonDailyStatistics.Out of scope
🤖 Generated with Claude Code
gabogg referenced this issue2026-09-27 23:39:54 +00:00