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 roleOwned it end to end: architecture, AI integration, routing logic, acceptance and reliability; built by directing AI coding agents.
DecisionThe AI kept inventing wrong turns, and no prompt fixed it. Exact geometry can't come from a probabilistic model, so I moved it to deterministic code that pulls the real route from the state's own QR data.
OutcomeRoute accuracy rose from ~60% to ~97%. Exact routes drivers can trust, from permits no two states format alike.
TypeScript · PythonAI + deterministic codePDF parsingMapping APIs
Read the case →client withheld · visuals recreated