follow-up(statistics): P3 cleanups from #92 review (period KPIs and entrances) #99
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#99
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?
Follow-ups from the pass-2 review of #92 (comment on #92). All P3; no P1/P2 remained. The partial-period design question is split out into its own
needs-triageissue.Standards
bounds.end,is not None) andget_calibration_audit(bounds.next_start, truthiness) now select the cycle multiplier differently; a trusted0.0is accepted by one and not the other. Extract_trusted_cycle_multiplier(day, bounds, default).get_dwell_dayparts_asyncusesactive_exit_multiplierwhile the daily series uses the cycle's trusted multiplier, so one day can show two dwell values.statistics_visitor_comparison_asyncand twice inline in the entrances route. Onecompare_visitors(current, reference, partial)factory.get_statistics_summary_async.previous_month_daily_average_reason: str | Noneshould useComparisonReason.year_qualityisPeriodQuality | Nonebut read as.partialwithout narrowing.granularityinsideget_statistics_summary_async.ValueError → 422,LookupError → 404) across both routes.busiest_day/best_dayhold the same value;old/prior/topin the entrances loop;EntranceStatistics.zone_nameconflicts with CONTEXT.md's "Zone" avoid-list.Spec
NO_REFERENCE_DATA; period dwell weighted byopen_window_visitors;PARTIAL_PERIODon the entrances route; skipping zero-event cameras; the< end_epochbound onis_new.🤖 Generated with Claude Code
The daypart dwell multiplier and the trusted-multiplier helper moved to #106. The rest stays here.
🤖 Generated with Claude Code