follow-up(statistics): P3 cleanups from #122 review (baseline rules) #124
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#124
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 #122 (#105 usual weekday baseline rules). All P3; both pass-1 P2s were fixed before merge.
Standards
get_counted_cycle_quality_range_asyncbounds its audit CTE withBETWEEN cycles[0][0] AND cycles[-1][0], so newest-first input silently drops audit rows. Usemin/maxof the dates inside the repository (or document the precondition).database.pyseeds still hard-code'10:00', '18:00'and"08:00", "21:00"next toDEFAULT_HOLIDAY_HOURS/DEFAULT_WEEKDAY_HOURS.update_config_fields_asyncraisesTypeError(→ 500) if row 1 is missing;init_schemaalways seeds it, so theoretical — guard or assert with a clear message.lookback_weeksqueries when many days are untrusted), and the summary re-reads each selected day's flow. A batched trust query would finish the job.🤖 Generated with Claude Code