DOT Permit Routing
Trucks hauling oversize loads must follow the exact roads listed in a state-issued permit, a dense PDF no driver can navigate by. I built the system that reads those permits and turns them into turn-by-turn navigation routes drivers can trust.
The problemEvery state formats permits differently; getting the route wrong can mean a bridge strike or a fine.
My roleSole developer, end-to-end: parsing, routing logic, AI integration, reliability.
DecisionThe AI kept inventing wrong turns, and no prompt fixed it. Exact geometry can't come from a probabilistic model, so I wrote code that pulls the real route from the state's own QR data.
OutcomeExact routes drivers can trust, from permits no two states format alike.
TypeScript · PythonAI + deterministic codePDF parsingMapping APIs
Read the case →client withheld · visuals recreated