fix(statistics): daypart dwell multiplier, usual daypart labels, per-day excluded flag #106

Closed
opened 2026-09-25 17:29:06 +00:00 by gabogg · 0 comments
Owner

Step 4 of the pre-deck work agreed on 2026-09-25. Decisions are settled. Pulls three items forward from #96, #97 and #99 because the deck would show them.

Decisions

  • Daypart dwell multiplier (from #99): get_dwell_dayparts_async uses each cycle's trusted computed_exit_multiplier, falling back to the active multiplier, the same rule as the summary and daily series. One shared helper for "trusted multiplier for this cycle" (also fixes the bounds.next_start vs bounds.end / truthiness drift in get_calibration_audit).
  • Clock labels on usual dayparts (from #97): each UsualDaypart carries its start/end clock labels so the deck can show which times it covers.
  • Per-day excluded flag (from #96): DailyStatistics.excluded so the deck can hatch an excluded day. The data-quality marker is triggered by the audit verdict (excluded/untrusted), gap estimates and missing days — not by a trust-score threshold.

🤖 Generated with Claude Code

Step 4 of the pre-deck work agreed on 2026-09-25. Decisions are settled. Pulls three items forward from #96, #97 and #99 because the deck would show them. ## Decisions - **Daypart dwell multiplier** (from #99): `get_dwell_dayparts_async` uses each cycle's trusted `computed_exit_multiplier`, falling back to the active multiplier, the same rule as the summary and daily series. One shared helper for "trusted multiplier for this cycle" (also fixes the `bounds.next_start` vs `bounds.end` / truthiness drift in `get_calibration_audit`). - **Clock labels on usual dayparts** (from #97): each `UsualDaypart` carries its start/end clock labels so the deck can show which times it covers. - **Per-day excluded flag** (from #96): `DailyStatistics.excluded` so the deck can hatch an excluded day. The data-quality marker is triggered by the audit verdict (excluded/untrusted), gap estimates and missing days — not by a trust-score threshold. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gabogg/hikcentral#106
No description provided.