Case study · Data platforms & decision support

Turning raw carrier data into recommendations operations can use.

Finding the right carrier for a lane depends on data scattered across telemetry feeds, market signals, and internal history. I delivered the pipeline that turns that data into ranked carrier recommendations for operations.

The questionWhat has to be true about the data before a carrier ranking means anything?

BeforeData on 52,000 carriers was scattered across feeds with duplicate identities and mismatched geography, and choosing a carrier leaned on operator memory.
AfterA trip-history pipeline that resolves 4.5 million trips across 52,000 carriers to origin and destination markets and refreshes nightly, a rebuilt carrier score that matched the previous one on 100% of comparable rows, and ranked carrier shortlists delivered to operations.

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.

  1. Business askWhich carrier should we call for this lane?
  2. Technical questionBuild one reconciled view of every carrier across telemetry and market feeds, then rank carriers for each lane.
  3. 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.

Considered

Rank directly on raw feeds

Upside. Quick to ship.

Cost. Duplicates and mismatched identities quietly distort the scores.

Considered

Rely on operator memory

Upside. Rich context.

Cost. Doesn’t scale, and it lives in people’s heads.

Chosen

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

  1. IngestCarrier telemetry and freight-market feeds
  2. ReconcileIdentity, events, and geography
  3. ModelProduction models in Snowflake and dbt
  4. RankScore carriers for each lane
  5. 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.

Batch carrier feeds and incoming event feeds land side by side, then reconciliation separates delivery identity from logical events and resolves carrier identity and geography. dbt marts and market indices feed a per-lane carrier score, which becomes a ranked shortlist for operations to book from.
Two ingestion cadences, one set of definitions. The output is a ranked shortlist; the booking stays with operations.

How it got built, scaled, and fixed

  1. Build

    Ingestion into Snowflake with dbt models for each source.

  2. Scale

    Production models across the carrier network that combine telemetry with freight-market signals.

  3. 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

SnowflakedbtEntity resolutionEvent deduplicationRankingData modeling

Collaborative work with product and engineering partners; this page describes my contribution. Diagrams are simplified.