Ayomitan Adesua

E-commerce logistics

Freight looked like the problem. The promise was the problem.

A marketplace charges customers freight at 16.6 percent of item value and bears the consequences of slow delivery. That makes freight look like the cost-recovery opportunity. It is not where the money is, and the obvious fix to the real problem makes things measurably worse.

  • The decisionWhich lanes, sellers and product classes to intervene on next quarter, with which lever on each, ranked by expected value
  • Who decidesHead of Logistics
  • Data97,300 orders after cleaning, 3,095 sellers, Jan 2017 to Aug 2018, all Brazilian states
  • StackSQL (DuckDB), Python (pandas, statsmodels, scikit-learn), Excel, Power BI

The promise is padded, and still missed

The delivery promise runs 11.81 days longer than the 12.5-day actual delivery time, and is still missed one time in twelve. A padded promise that fails anyway looks like an easy win: tighten it.

Tightening it uniformly is the wrong move. Cutting three days off every lane takes lateness from 8.1 percent up to 13.1 percent, because the padding is not slack, it is cover for how much lanes vary. Setting the promise per lane at the 95th percentile of that lane's own history cuts lateness to 5.0 percent instead, while actually shortening the promise on 42 of 100 lanes. The customer gets a quicker date and the marketplace misses fewer of them.

Dashboard page 2: lanes and the delivery promise
Page 2 of 4. Lane variance, and what a per-lane promise does to it.

Lateness damage is a cliff, not a slope

Poor reviews run at 9.2 percent when an order arrives on time and 62.4 percent when it is late, a relative risk of 6.75. One day late nearly triples the poor-review rate. That shape matters for where the budget goes: there is no gentle penalty region to trade against, so preventing the first day of lateness is worth far more than shaving days off orders that are already late.

The seller leg carries the failure

The seller's own dispatch step is 22 percent of the clock and most of the breakage. A missed dispatch deadline multiplies the odds of a late delivery by 4.71 (95 percent CI 4.45 to 4.98), while doubling the delivery distance barely moves them. The top 100 sellers account for 54.3 percent of all breaches, so enforcement has a short, nameable target list.

Dashboard page 3: seller dispatch enforcement
Page 3 of 4. Dispatch breaches concentrated in a short seller list.

Where freight is not

Distance, weight and item count explain 47 percent of freight variation, and the lanes sitting above that model account for 2.12 percent of freight spend. Renegotiation is a real lever but a small one, which is the opposite of where the 16.6 percent headline points.

The finding I reported rather than used

Split shipments appear 1.4 percent late against 8.2 percent for everything else, yet carry a 47 percent poor-review rate against 13 percent. Faster, rarely late and rated far worse is not operationally possible. The delivery date records the first parcel to arrive, not the last, so split shipments look punctual by construction.

Their lateness is excluded from every timing conclusion in the case. The finding is reported rather than used, because an artefact that produces a clean result is more dangerous than one that produces a messy one.

An artefact that produces a clean result is more dangerous than one that produces a messy one.

The recommendation

Four levers, ranked by expected value, each with a cost, an owner and a verification metric.

  1. Per-lane delivery promise, shortening lanes first. 1,697 fewer late orders a year. High confidence, measured.
  2. Dispatch enforcement on the top 100 sellers. 564 fewer late orders and 300 fewer poor reviews. High confidence on the effect, low on the money.
  3. Freight renegotiation on 16 north-east lanes. 28,224 BRL. High confidence on the number, low on whether it is recoverable.
  4. Size peak capacity against March, which runs at 2.63 times the average late rate.
Dashboard page 4: method and limitations
Page 4 of 4. Method and limitations, carried on the report itself.

Limitations

  1. Freight is the amount charged to the customer, not the carrier's cost. It is used throughout as a proxy for cost to serve.
  2. Carrier identity is absent, so renegotiation can only land at lane level.
  3. No returns, refunds or service-contact costs exist in the data, so the cost of a late order is understated and every recommendation is worth more than modelled.
  4. Repeat purchasing is near absent, about 3 percent of customers, so review damage is valued with a published benchmark rather than measured in this business. This is the weakest number in the case and it sits in one editable cell of the Excel model.
  5. Lane percentiles are computed in sample. In production the promise should be set from a trailing 90-day window, refreshed monthly.
  6. Promise rules cover the 100 lanes with 50 or more orders, not the long tail.

Read more