AI product engineering / Decision support / Case study
TruckerPath Dispatcher OS
Turn operational signals into explainable decisions.
A logistics prototype combining explainable load ranking with a Gemini PM Copilot that turns feedback into structured product hypotheses and experiment plans.
- My role
- Individual project · design and implementation
- Engineering focus
- Explainable scoring, dispatch workflows, optional Gemini integration
- Evidence snapshot
- Eight-factor ranking exposes its reasons and risks; booking is simulated.
- Status
- Independent prototype with seeded data and mocked integrations
Next.js · Load scoring · PM Copilot · Tailwind CSS · Leaflet · Gemini API integration · API routes · Deterministic fallbacks · Weighted ranking

Dispatch recommendations and fleet context. Prototype with seeded scenario data; displayed metrics and confidence scores are demo values.
The problem
Dispatchers and drivers face competing signals: route fit, deadhead, hours of service, parking, reliability, and return-load options. A useful workflow needs to expose these trade-offs before an assignment.
My contribution
Individual project. I built the dispatch and route-planning workflows, deterministic load ranking, marketplace prototype, and PM Copilot integration.
Evidence at a glance
Implementation and authored test evidence from a seeded prototype. Displayed fleet metrics, confidence scores, and bookings are not production outcomes.
| Check | Result | Conditions and limits |
|---|---|---|
| Load ranking | 8 weighted factors | Deterministic and untrained; economics, deadhead, HOS, parking, reliability, return-load and risk remain inspectable. |
| Scoring test coverage | 7 authored test cases | Source tests cover bounds, relative ordering, economics, reasons and risks. This is a test inventory, not a new test-run result. |
| Tested net estimate | $1,455 estimate | $2,000 payout − $400 fuel − 100 deadhead miles × $1.45. A model assumption, not realized driver profit. |
| Copilot fallback | Provider optional | Missing credentials, provider failures, or failed JSON/required-field checks use deterministic insights. Model quality and business gains were not evaluated. |
Architecture
A Next.js/Tailwind/Leaflet prototype connects reports, map planning, and driver assignment through a shared route planner. The growth workflow connects onboarding preferences, discovery, saved loads, and simulated booking. An API route integrates an optional Gemini PM Copilot for feedback synthesis and experiment planning.
- Driver preferences + seeded loads
- Eight-factor scoring
- Reasons + risk flags
- Save load
- Simulated booking
Prototype data and mocked partner integrations. Ranking penalties do not establish production safety or realized profit.
- Seeded feedback
- Gemini or deterministic fallback
- Hypothesis + experiment + PRD draft
Proposed experiments are ideas to test; they are not completed experiments or measured growth.
A consequential decision
- Constraint
- A high-paying load may still carry expensive deadhead or operational risk.
- Alternative
- Sort by gross payout or hide the ranking factors behind a single recommendation.
- My choice
- Compute explicit score components, estimated net, reasons and risks. Keep load ranking deterministic; use the separate Gemini PM Copilot to draft product hypotheses from feedback.
- Consequence
- A reviewer can inspect the assumptions behind a ranking and distinguish operational scoring from generated product ideas. HOS penalties are not a qualified booking-safety system.
Guided walkthrough
Inspect one calculation behind the ranking, then distinguish the operational workflow from the product copilot. Values below are an illustrative calculation using the repository’s formula.
01Inspect economics
The tested example starts with $2,000 payout, $400 fuel and 100 deadhead miles. The model charges deadhead at $1.45 per mile, producing a $1,455 estimated net.
02Test a cost trade-off
Change deadhead from 100 to 250 miles in the calculation below. With payout and fuel unchanged, estimated net falls by $217.50 to $1,237.50. This isolates one cost assumption; the full eight-factor ranking and its risk flags are documented in the linked source.
03Keep the copilot separate
The PM Copilot turns feedback into a hypothesis, experiment and PRD draft. Its provider path and deterministic fallback are separate from load ranking.
Source example: $2,000 − $400 − (100 miles × $1.45/mile) = $1,455. This formula estimates payout less fuel and a modeled deadhead cost; it does not include every operating expense.
Current scope
This independent prototype uses seeded KPI and funnel data, simulated booking, and mocked partner integrations. LoadPilot is a rule-based ranking system. The copilot supports product exploration; experiment outcomes and production impact have not been established. The project is not affiliated with or endorsed by Trucker Path.
Source evidence
Implementation and documentation pinned to the reviewed source revision.