perf(statistics): batch per-cycle peak and average occupancy Riemann integration #203
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#203
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-up from #96 and PR #167: batch per-cycle peak and average occupancy integration across multi-day ranges.
Context
In
get_statistics_daily_series_async, per-cycle peak occupancy (get_cycle_peak_occupancy_async) and Little's Law average integration (get_cycle_average_occupancy_async) still run per active day containing event data. While quality, flow, calibration logs, schedule calendar, and open-window counts are batched, a 62-day daily series query with data on all days still executes ~120 individual queries for peak and average Riemann sums.Acceptance Criteria
get_cycle_peak_occupancy_asyncandget_cycle_average_occupancy_asyncresults, including exit multiplier handling and open window boundaries.gabogg referenced this issue2026-10-02 15:41:49 +00:00