Inspiration
When the power goes out, the first responder is usually a single troubleshooter. About 1 in 10 times (roughly 18,300 outages a year in this data), that person finds a job they can't finish alone, like a broken pole, a tree on the line or a failed transformer. All they can do is make it safe, call it in, and wait for a different crew. Meanwhile dispatchers, flooded with outages, calls and weather alerts during a storm, have no way to see which outage hides that broken pole. Those hand-offs are only 10.5% of outages but about 35% of all customer-minutes without power. After Hurricane Beryl, restoration speed became one of the most scrutinized things a Houston utility does. We wanted to catch those hand-offs before they happen.
What it does
CrewWise scores every outage the moment the first crew is dispatched and tells the dispatcher:
- Risk that a second crew will be needed
- Action tier: consider a larger crew · send a troubleshooter and pre-alert the likely crew · standard
- Likely crew type (line, two-person, vegetation, underground)
- Three plain-English reasons behind the score
It's a helper, not an autopilot: the dispatcher always makes the final call.
The dispatcher console has five views:
- Service Map: risk-colored outage pins and crews
- Prediction review: risk, recommended action and reasons, with the real outcome hidden until an explicit Reveal
- Crew Demand: where follow-up work is building up
- Incidents
- Why trust it: a model card with the evaluation, leakage tests and limits
A full dispatch flow runs from approve-and-dispatch through arrival, reveal and follow-up crew. Storm mode saves scarce larger crews for the clearest cases when many outages are open in an area. The demo replays the biggest storm day in the data (Sep 26, 2033) with real model output. Crews, map positions and field updates are simulated and clearly labeled; this is not live dispatch.
How we built it
- Defining the target. There's no "second trip" column, so we built one: a different crew sent while customers were still out, or a referral logged by the first crew before power came back. Follow-up repairs after restoration don't count. Result: 10.5% of 524,416 outages. In 85% of them, customers were still waiting 30+ minutes after the first crew left (vs 3% of the rest).
- Cleaning. We converted mixed UTC/local timestamps, removed about 35k duplicate trip records, normalized inconsistent spellings, and recovered 27k first trips with blank dispatch times.
- Features, every one known at dispatch. Outage level, device and circuit attributes, call symptoms, the previous day's weather, live storm load (open outages in the area), recent hand-offs nearby, and equipment history.
- Model. LightGBM (50 dispatch-time features) with a time-based split: train 2031 to Sep 2032, validate Q4 2032, test on 2033. A separate crew-type model estimates which crew a hand-off needs.
- Decision layer. Risk cutoffs become action tiers, with storm mode on when 18+ outages are open in a zone (the busiest quarter of conditions). Sending a larger crew first pays off only when
$$ P(\text{second trip}) > \frac{r}{1+r}, \quad r = \frac{\text{cost of a wasted larger-crew send}}{\text{cost of a second trip}} $$
- App. A Vite + JavaScript + MapLibre dispatcher console, fed by a Python export that follows a shared data contract. Real outcomes stay hidden until an explicit Reveal, so the demo can't leak the answer. 108 automated tests and a production build pass, and the private replay files are checksum-verified and never committed.
Results
Synthetic data, 2031–2033. 2033 was held out from training but inspected during development. Base rate in 2033: 9.5%.
- ROC-AUC 0.702, PR-AUC 0.216. The riskiest 10% of outages are 2.68× more likely to need a second crew (25.4% vs 9.5%), and that band catches 26.8% of all second trips.
- Beats every simple rule (wind, outage level, caller symptoms, storm load) at the same number of flags, and holds up across four separate half-years in a rolling backtest.
- Dispatcher recommendation for 2033 (storm mode on at 18+ open outages in a zone):
- Consider a larger crew: about 8 in 100 outages; 27.1% of them truly needed a second crew
- Pre-alert the likely crew: 19.5% of outages; 14.8% needed one
- Standard: 72.7% of outages; 6.1% needed one
- Crew type: the right crew is in the top two guesses 81% of the time, and an underground-crew flag gives a 3.2× lift.
- Impact depends on one unmeasured number: how many second trips a larger crew actually prevents.
- If it prevents all of them, sending one first breaks even at $343 per wasted trip (roughly −$1.0M to +$2.3M a year).
- If it prevents half, break-even is $812 (−$1.3M to +$0.3M).
- If it prevents a quarter, it loses money.
A pilot must measure that rate. Sending a larger crew to every outage always loses.
Challenges we ran into
- Leakage everywhere. Work orders, crew counts, final customer counts, same-day weather, and an equipment table that is an end-of-period snapshot (replaced equipment looks "new") all leak the answer. A model allowed to cheat scores 0.994. We audited every column and kept only what a dispatcher would know.
- Defining the label. Three teammates proposed three definitions. We settled it with evidence: which definition matches customers actually waiting?
- Checking for leaks. We tested four ways and found no leak in the tested version:
- scrambled labels → 0.52, chance level
- cheat columns → 0.994, showing what leakage looks like
- deleting all future data → all 50 features unchanged, 0 labels changed
- freezing the clock at dispatch time → all features unchanged at the moments tested
Two independent code reviews found subtle peeks, such as counting earlier hand-offs before they were confirmed, and we fixed them.
Accomplishments we're proud of
An honest model with a full leakage audit, a decision layer that turns a probability into an action, and an end-to-end app running on real model output, built and cross-checked by four people in under 24 hours.
What we learned
- At dispatch, the data says much more about whether a hand-off is coming than which crew it needs. The first crew's referral reason identifies the crew almost perfectly, so making that hand-off instant matters as much as predicting it.
- Pre-alerting is the main lever. It captures much of the benefit without committing scarce crews.
- Being strict about leakage cost us almost nothing (about 0.004 ROC-AUC) and made every number defensible.
What's next
- Pilot: one Houston service area for one storm season, to measure how many second trips a larger crew really prevents. That one number decides what CrewWise is worth.
- Houston-wide: retrain on CenterPoint's real outage history, with live outage-system data, smart-meter alerts and day-ahead weather forecasts.
- Beyond Houston: the pipeline learns from any territory's outage and crew history, so it can be retrained for CenterPoint's other service areas. The same first-responder-to-specialist pattern also exists in gas service.
- Storm surges: use the Crew Demand Meter to stage mutual-assistance crews before hand-offs pile up.
- Continuous improvement: thresholds set from CenterPoint's actual cost per wasted trip and recalibrated monthly, with dispatcher overrides fed back as training data.
Built with, and credit
All data is the synthetic CenterPoint dataset provided for the event. Open-source libraries: pandas, NumPy, PyArrow, scikit-learn, LightGBM, Vite, MapLibre. [Map data: © OpenStreetMap contributors, if the basemap uses it.] AI assistance: Claude (Anthropic) [plus any other tools the team used, e.g. OpenAI Codex] helped with data analysis, code and documentation. All code was written during the hackathon.