qodebase logoqodebase
← All tracks

Unit 4 — routing baselines, residual post-processing, and a stable countdown

Pickup & Trip ETA Prediction

Routing (Unit 1) answers what path? This unit answers the harder question the rider actually stares at: how long will that path take, right now? The same road takes four minutes at 2 a.m. and eleven at 8:30. A great ETA sets expectations, feeds dispatch scoring, and anchors the fare — and a jittery, wrong one erodes trust faster than almost anything else in the app.

Uber frames ETA as a hybrid problem: a physical routing model produces a baseline, then a machine-learned model predicts the residual between that baseline and reality. You will build exactly that ladder — baseline → congestion model → residual post-processing → smoothed display — implementing each piece, checking it with python test.py, and unlocking the next with a deterministic checkpoint.

Pickup & Trip ETA Prediction — qodebase — qodebase