fix(admin): name the hour before midnight 23:00 on the day the clocks go forward #822
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.32) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 134 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.293
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #822"
general
weight: 0.35
aaronbrethorst
On the day the clocks go forward, the hour charts on Analytics can label an hour "-1:00".
That day's service day starts at 23:00 the evening before, noon minus twelve hours, so a trip the feed times at 00:30 leaves at 23:30 and falls in the service day's hour -1. The charts named an hour with
hour % 24, which is -1 in Go. They now wrap it the way the page's lede already does in its "most of them on trips leaving between" sentence, so the hour reads 23:00, the time on the agency's clock.It showed in "Early and late by hour of day", on its axis, in its table and in its tips, and in the gaps chart, which is drawn the same way. That is on the day itself and in every 7 or 28 day period that holds it, for an agency in a zone with daylight saving and a trip between midnight and 01:00.
Tests: a reports page test on a feed with a trip at 00:30 opens 8 March 2026 in Los Angeles. Every hour it names is a time of day and the first is 23:00. On main it reads "-1:00", three times on the page.
go fmt, go vet and go test ./... pass, with the database tests (4,698 tests).