The problem
Carrier data arrives from external feeds at different cadences, with duplicate identities and inconsistent geography. Before any score means anything, the inputs have to agree on who a carrier is and where it operates.
From business problem to technical problem
The first job is translation. Here is how the ask changed shape before any code was written.
- Business askWhich carrier should we call for this lane?
- Technical questionBuild one reconciled view of every carrier across telemetry and market feeds, then rank carriers for each lane.
- What success looks likeRecommendations operations actually use, built on records that agree on identity and geography.
Paths I weighed
There was more than one reasonable way to do this. These are the options I compared and why I picked one.
Rank directly on raw feeds
Upside. Quick to ship.
Cost. Duplicates and mismatched identities quietly distort the scores.
Rely on operator memory
Upside. Rich context.
Cost. Doesn’t scale, and it lives in people’s heads.
Reconcile first, rank second, operator decides
Upside. Rankings are trustworthy and explainable, and the call stays with operations.
Cost. More data work before anything is visible.
What I built
- IngestCarrier telemetry and freight-market feeds
- ReconcileIdentity, events, and geography
- ModelProduction models in Snowflake and dbt
- RankScore carriers for each lane
- RecommendRanked options surfaced to operations
I built the Snowflake and dbt ingestion and the production data models, then delivered the pipeline that turns them into ranked recommendations.
How it got built, scaled, and fixed
- Build
Ingestion into Snowflake with dbt models for each source.
- Scale
Production models across the carrier network that combine telemetry with freight-market signals.
- Fix
Separating delivery identity from logical-event identity stopped retried events from being counted twice.
Decisions that mattered
Reconcile identity first
A retried delivery of the same event should not count twice. Separating delivery identity from logical-event identity keeps activity signals honest.
One definition for history and live data
Batch history and incoming events share the same definitions, so a carrier’s record means the same thing in both.
Rank, don’t decide
Recommendations give operators a ranked shortlist with the signals behind it; the booking decision stays with them.
What transfers
Rankings inherit every flaw in identity and definitions. Most of the work in decision support is making the inputs agree before scoring them, and keeping the final call with the operator.
Methods
Collaborative work with product and engineering partners; this page describes my contribution. Diagrams are simplified.