Enterprise AI Transformation for Retail

The model is rarely what stops a retail AI project. Data silos, trust and governance stop it. Score a retailer on eight readiness dimensions, 1 to 6 each, and the total out of 48 picks its first move.

Pick a retailer, or tap any cell to set a score. Watch the total, the tier and the weakest dimension. Then we build, piece by piece, the people, the guardrails, the first pilot and the numbers that judge it.

You need a little Python and what a probability is. No business degree. We build the rest from zero.

Based on Anthropic’s The Enterprise AI Transformation Guide for Retail (PDF). The readiness matrix, the tiers and the three case studies come from the guide. The inventory, pricing and testing maths is standard operations and statistics; every number in a toy is illustrative.

Score a retailer’s readiness

The eight dimensions, the 1 to 6 scale and the tiers (8 to 15, 16 to 31, 32 to 48) come from the guide. The three example retailers and their scores are illustrative.

Chapter 0

Why the Model Is Not the Hard Part

See how a good model gives partial answers when the data it needs sits in five separate systems

You build a demand forecaster in an afternoon. It works on the sample file. A buyer asks: how many coats should store 12 order? Your forecaster sees last year’s till sales. It does not see the stock in the back room, the online orders or next week’s promotion.

The guide names the cause. A retailer keeps its data in five systems: the e-commerce platform, the point of sale (POS, the tills), inventory management, the CRM (the customer records) and marketing automation. A point solution is an AI tool wired to one of them. It answers with a fifth of the picture.

Ask a question across the stack

Warm rings mark the systems a question needs. Purple lines show what the AI tool can read. Pick a question, then connect the stack.

The five systems are the guide’s list. Which system each question needs is our illustration.

The guide puts the thesis in one line: technical solutions alone cannot drive transformation, because people, processes and workflows must change with the technology. Its plan has three steps.

  1. Lay the foundation: align the stakeholders and set up governance.
  2. Launch a pilot: a quick, low-risk win that shows a return.
  3. Scale what works: train people and build a center of excellence.

Symptom: the demo impresses, and six months later nobody uses the tool.

Measure: list the systems each answer needs, and count how many the tool reads.

Fix: wire the data first, or pick a first task that needs only the systems you have.

The road

  1. Listening and the coalition: who must say yes, and why the frontline decides.
  2. Governance as a review gate: how a human check shrinks the errors customers see.
  3. Choosing the first pilot: low risk, a human approves, small scope.
  4. Measuring a forecast: forecast error as one number.
  5. Safety stock and the newsvendor: how a better forecast becomes less stock.
  6. Markdowns and elasticity: the price that clears the shelf.
  7. Measuring lift: the A/B test and how many visitors it needs.
  8. The pilot’s payback: the showcase, where adoption sets the return.
  9. Scaling, and three retailers: training, the center of excellence, Shopify, L’Oréal and Lotte.
  10. The field guide: terms, numbers, code and links.
According to the guide, what most often blocks a retail AI transformation?

Chapter 1

Listening and the Coalition

Start from the pain staff already named, and win the people who decide fifty times a day

Bad tools burned these staff before. The guide lists the scars. A platform migration broke sales in peak season. Personalization recommended the wrong products. Inventory showed stock that was not there, and marketing automation wrote off-brand copy. Each scar is a reason to fold arms.

So the guide starts with deep listening: you ask teams where manual work slows them before you show a demo. A category manager who sees the tool remove her spreadsheet nights becomes an advocate. A skeptic who asks “what if the bot quotes the wrong return policy?” has written your most important test case.

Watch two rollouts of the same tool

Each curve is the share of staff who use the tool each week. Drag the week and compare.

6

Both curves are an illustrative toy. The shape, a launch spike that fades against slow growth that holds, is the point; the guide gives no adoption numbers.

Listening is half of the foundation. The other half is a coalition: support from every function the system touches. The guide names two structures.

StructureWhoWhat they give you
Steering committeeA C-suite sponsor, functional leaders, technology, finance, legalRemoves blockers, tracks the return, sets governance
ChampionsRespected managers, experts in old and new systems, early adopters, skepticsPeer influence and honest test cases
FrontlineStore associates, service reps, category managers, digital marketersThe daily choice to use the tool

The guide’s trust moves are all measurable. Admit past failures. Measure the effect on customers and sales, and open feedback channels. Promise to switch off tools that do not deliver, and show a quick win in 30 to 60 days.

Symptom: usage looks fine in the weekly report, but staff use the old way when nobody watches.

Measure: count active users per eligible user, per store, per week, not total logins.

Fix: go back to the frontline, find the friction, and recruit a champion in each store.

Per the guide, which group finally decides whether an AI tool succeeds?

Chapter 2

Governance as a Review Gate

Turn four legal and brand risks into one control, and count the errors it stops

A model writes 10,000 product descriptions overnight. Some invent a feature. Some sound like another brand. One calls a coat “waterproof” when the label says “water resistant”. Who stops that before a customer reads it?

The guide lists four governance domains, each a rule set with a control.

DomainRulesControl
Customer data privacyGDPR, CCPA/CPRAAudit trails of consent when you personalize
Brand safetyBrand voice and qualityApproval workflows, voice guidelines, quality scores
AccessibilityADA, WCAGScreen reader and keyboard tests in the pilot
AdvertisingFTC: true claims, disclosed endorsementsHuman review before publishing; no invented claims or reviews

Three of the four share one shape: the model drafts, and a person checks before a customer sees it. That check is a review gate. How many bad drafts still get through? Call the number of drafts N. Call the share of drafts that are wrong the draft error rate e. Call the share of wrong drafts the reviewer catches the catch rate h.

Say it aloud

V equals N, times e, times one minus h.

V
V the number of bad drafts that reach customers.
N
N the number of drafts the model writes.
e
e the draft error rate: the share of drafts that are wrong, from 0 to 1.
h
h the catch rate: the share of wrong drafts the human reviewer stops.
1 − h
one minus h the share of wrong drafts the reviewer misses.
In plain words

Count the wrong drafts: N times e. Keep only the ones the reviewer misses: multiply by one minus h. That is V.

With numbers

With made-up numbers: N = 10,000, e = 0.04 and h = 0.95. V = 10,000 × 0.04 × 0.05 = 20. With no gate, all 400 wrong drafts go live.

Tune the gate

Purple is the model’s drafts, blue the reviewer, red the bad drafts that reach customers. Move both sliders.

4%
95%

10,000 drafts. The error and catch rates are illustrative knobs, not figures from the guide.

Symptom: reviewers approve everything after the first week.

Measure: plant known bad drafts in the queue and count how many they catch: that is h.

Fix: smaller batches, a checklist from the brand guide, and a rotation so reviewers stay fresh.

A model writes 5,000 drafts with a 6% error rate. Reviewers catch 90% of the bad ones. How many bad drafts reach customers?

Chapter 3

Choosing the First Pilot

Place each candidate on a map of risk and visibility, and see what a human approval does to it

The board wants an AI stylist on the home page. The guide disagrees. Consumer-facing AI wins headlines, but the fastest return often comes from “unglamorous” back-office work: demand forecasting, vendor management, compliance documents and inventory. These save money without risk to customers, and they earn the team trust for the visible work later.

A pilot is a small, time-boxed deployment with success criteria set in advance. Judge each candidate on two axes: risk, the harm a mistake does to customers or the brand, and visibility, how many people see it.

Place the pilot

Pick a candidate. Then switch the human approval off and on, and watch its risk move.

The first three pilots and why each is safe come from the guide. Auto pricing and the stylist are our counterexamples. All positions are illustrative.

The guide’s three starter pilots each keep a person in the loop.

PilotThe AI doesWhy it is safe
Demand forecastingForecasts by SKU, store and region; replenishment; markdownsBuyers review each recommendation; checks against history; one category first
Customer serviceOrder status, sizing, store hours, returns, gift cardsAnswers questions, never touches transactions, stock or prices; hard cases go to people
ContentProduct copy, SEO pages, emails, social postsApproved before going live; A/B tested against human copy; low-stakes categories first

So the recipe for a safe first pilot has three parts: the AI drafts, a human approves, and the scope starts small. A SKU (stock keeping unit) is one sellable item, such as one coat in one size and colour.

Symptom: one public mistake by the first pilot, and the whole program loses its sponsor.

Measure: for each candidate, write the worst output and who would see it.

Fix: start where the worst output is caught by a reviewer before anyone outside sees it.

Where does the guide say the fastest retail AI return often comes from?

Chapter 4

Measuring a Demand Forecast

Score a forecast with one number that weights each week by how much it sold

You run the forecasting pilot on one category. After eight weeks the buyer asks: is the new forecast better than the old spreadsheet? “It looks closer” does not keep a sponsor. You need one number.

A forecast is a predicted number of units sold in a period. The miss in one week is the gap between what sold and what you predicted. A miss of 20 units hurts more on a slow item than on a fast one, so you divide by what sold. Call the units sold in week t the actual A-t. Call the forecast for week t F-t.

Say it aloud

WAPE equals the sum over t of the absolute value of A-t minus F-t, divided by the sum over t of A-t.

WAPE
W-A-P-E weighted absolute percentage error: the total miss as a share of the total sold. Lower is better.
Σt
the sum over t add one term for each week in the test period.
At
A-t the actual units sold in week t.
Ft
F-t the forecast for week t, made before week t began.
| · |
the absolute value of drop the sign, so a miss above and a miss below both count.
Σt At
the sum over t of A-t all units sold in the period.
In plain words

For each week, take the gap between A-t and F-t, without its sign. Add the gaps. Divide by the total of A-t.

With numbers

With made-up numbers: sales A-t of 100, 140, 90 and 170 against forecasts F-t of 110, 120, 100 and 150. The gaps are 10, 20, 10 and 20, so 60 in total. WAPE = 60 / 500 = 12%.

Race three forecasters

Warm bars are weekly sales of one coat at one store. The purple line is the forecast. Pick a forecaster, then add noise.

±14

An illustrative series: a base of 100 a week, a winter season, two promotion weeks and random noise. The model knows the season and the promotion calendar; it cannot know the noise. We score WAPE on weeks 5 to 26.

Look at the promotion weeks. The naive and average forecasts react a week late, so they miss twice: short in the promo week, long after it. The model reads the promotion calendar from marketing. That is Chapter 0 again: the forecast is only as good as the systems it reads.

Symptom: the pilot reports a low error, but stores still run out.

Measure: split WAPE by store and by fast and slow items. A good total can hide a bad tail.

Fix: score at the level where the buyer decides: SKU by store by week.

Three weeks sell 50, 100 and 50. The forecasts are 60, 90 and 50. What is the WAPE?

Chapter 5

Safety Stock and the Newsvendor

Turn a smaller forecast error into less stock on the shelf and more profit

The guide promises fewer stockouts (an empty shelf when a customer wants the item) and fewer markdowns. Both come from one fact: you hold extra stock to cover the forecast’s miss. A better forecast needs less extra.

Safety stock

A store reorders a basic item and waits for delivery. How much extra stops it running out in more than 1 cycle in 20? Call the extra stock the safety stock SS. Call the typical daily forecast miss sigma, the standard deviation of the daily error. Call the delivery wait the lead time L, in days. Call the service factor z: how many sigmas of cover you want.

Say it aloud

SS equals z, times sigma, times the square root of L.

SS
S-S safety stock: units held above the expected demand over the lead time.
z
z the service factor: 1.645 covers 95% of cycles if errors are bell-shaped.
σ
sigma the standard deviation of the daily forecast error, in units.
√L
the square root of L L is the lead time in days. Independent daily errors add up like a random walk, so their spread grows with the square root.
In plain words

Scale the daily miss sigma up to the whole wait: multiply by the square root of L. Then hold z of those.

With numbers

With made-up numbers: sigma = 12 units a day, L = 4 days, z = 1.645. SS = 1.645 × 12 × 2 = 39.5, so about 40 units. Cut sigma to 8 and SS falls to 26 units.

The newsvendor

A winter coat is different. You buy once, and leftovers go to clearance. Too few loses the margin on each missed sale; too many loses on each cleared coat. Call the price p, the unit cost c and the clearance (salvage) price s. The newsvendor rule sets the order by the critical ratio CR.

Say it aloud

CR equals p minus c, divided by p minus s.

CR
C-R the critical ratio: the chance of selling out you should aim for, from 0 to 1.
p − c
p minus c the margin lost on each sale you miss (price minus cost).
c
c the unit cost you pay the supplier.
p − s
p minus s the margin lost on a missed sale plus the loss on a cleared coat: (p − c) + (c − s).
s
s the salvage price a leftover fetches at clearance.
In plain words

Compare the loss per missed sale, p minus c, with the total of both losses, p minus s. Order enough that demand stays at or below your stock CR of the time.

With numbers

With made-up numbers: p = $80, c = $35, s = $20. CR = 45 / 60 = 0.75. The 75th percentile of a bell curve sits 0.674 standard deviations above the mean.

Call the season forecast mu and its error’s standard deviation sigma-season. The order is the forecast plus a cushion: Q* = μ + 0.674 × σseason. With mu = 500 and sigma-season = 120, Q* = 581 and expected profit is $20,212. With sigma-season = 80: 554 coats and $20,975, so $763 more.

Set the order for a winter coat

The warm curve is likely demand. The teal line is the best order. Pink is leftover risk, red is stockout risk. Shrink the forecast error.

120
$20

Illustrative: price $80, cost $35, forecast 500 coats, demand bell-shaped. Expected profit uses the exact normal formula, checked by numerical integration.

Symptom: stockouts on promoted items and piles of the rest.

Measure: compare the sigma the safety stock assumes with the error the forecast makes in practice.

Fix: set safety stock from the measured error of the forecast in use, per item.

A scarf sells for $30, costs $10 and clears for $0. What critical ratio should the order aim for?

Chapter 6

Markdowns and Price Elasticity

Find the discount that sells the last coat at the best total revenue

Four weeks of season are left. You hold 300 coats. At full price, $80, they sell 50 a week, so 100 will go to clearance at $20. Should you mark down now, and by how much? The guide lists markdown optimization as part of the forecasting pilot, with a buyer approving each price.

The answer needs one more number: how much demand rises when the price falls. Call the weekly sales at the new price q, and at full price q-zero. Call the new price p and the full price p-zero. Call the price elasticity epsilon: the percent change in demand for a 1% change in price.

Say it aloud

q equals q-zero, times p over p-zero, to the power epsilon.

q
q units sold per week at the new price.
q0
q-zero units sold per week at full price: 50 here.
p
p the new price after the markdown.
p0
p-zero the full price: $80 here.
ε
epsilon the price elasticity, a negative number. At −2.5, a 1% price cut lifts demand about 2.5%.
In plain words

Divide the new price p by the full price p-zero. Raise that ratio to the power epsilon. Multiply q-zero by the result to get the new weekly sales q.

With numbers

With made-up numbers: 15% off makes p = $68, so p / p-zero = 0.85. With epsilon = −2.5, 0.85 to that power is 1.50. q = 50 × 1.50 = 75 a week: 300 in four weeks, the whole stock.

Mark down the last 300 coats

The yellow curve is total revenue, clearance included. Below it, pink coats are sold and grey go to clearance. Find the peak, then change the elasticity.

0%
−2.5

Illustrative: 300 coats, 4 weeks, 50 a week at $80, clearance at $20, constant elasticity. Real teams estimate elasticity from past price tests, per item.

With epsilon = −2.5, no markdown earns $18,000: 200 sold at $80 and 100 cleared at $20. Fifteen percent off earns $20,400 and sells out. Twenty percent off sells out a few days early and earns only $19,200. The best markdown is the one that clears the stock right at the season’s end.

Symptom: the model marks down early and deep, and margin falls even as sell-through rises.

Measure: track total revenue per unit bought, clearance included, not sell-through alone.

Fix: refit elasticity from recent price tests, and keep the buyer’s approval on every price.

At full price, 300 coats would leave 100 unsold. Which markdown earns the most?

Chapter 7

Measuring Lift with an A/B Test

Score a pilot on six dimensions, and test a conversion lift before you claim it

Before any pilot, the guide asks for success metrics that stakeholders accept, across six dimensions. One number always hides something: content written 5 times faster can lose the brand voice.

DimensionExample metrics from the guide
AdoptionDaily active users, feature use, session frequency
EfficiencyTime saved on descriptions or forecasts; inquiries per hour
Quality95% accuracy on product information; brand voice ratings
Customer impactConversion, cart abandonment, satisfaction, repeat purchases
Revenue and marginSales lift, fewer markdowns, order value, lifetime value
SatisfactionNet Promoter Score, task difficulty, would recommend to colleagues

Track weekly, review monthly. Now take one customer metric. A new recommendation block goes on product pages. Conversion rate is the share of visitors who buy. In an A/B test, half the visitors see the old page (A) and half the new one (B), at random. Is B’s higher rate real, or luck?

Call the conversion rates r-A and r-B, the visitors in each arm n, and the pooled rate of both arms together r-bar. The z-score says how many standard errors apart the two rates are.

Say it aloud

z equals r-B minus r-A, divided by the square root of r-bar times one minus r-bar, times two over n.

z
z the gap in standard errors. Above 1.96, luck alone would do this less than 5% of the time.
rB
r-B the conversion rate of the new page.
rA
r-A the conversion rate of the old page.
r̄
r-bar the conversion rate of both arms pooled.
2/n
two over n n is the visitors per arm. More visitors shrink the noise.
√( )
the square root of turns the variance of the gap into its standard error.
In plain words

Take the gap r-B minus r-A. Divide it by the noise you expect from luck, which shrinks as n grows. If z passes 1.96, call the lift real.

With numbers

With made-up numbers: r-A = 3.0%, r-B = 3.3% (a 10% lift), n = 20,000. r-bar = 3.15%. The standard error is 0.175 points, so z = 0.30 / 0.175 = 1.72. Not yet significant.

Run 200 A/B tests

Each tick is one test’s measured lift. Green ticks passed z = 1.96. The dashed line is the true lift. Set the visitors, then run.

10%
20,000

Illustrative: base conversion 3.0%, simulated with the normal approximation. At 20,000 per arm, about 40% of tests detect a true 10% lift. About 53,000 per arm gives 80%.

Symptom: a pilot reports a 10% lift after three days, and it vanishes at rollout.

Measure: compute the visitors you need before the test starts, and do not peek and stop early.

Fix: fix n in advance; for a 10% lift on 3% conversion that is about 53,000 per arm.

You double the visitors per arm. What happens to the z-score of the same true lift, on average?

Chapter 8

The Pilot’s Payback

Put the pilot’s gains and costs on one line, and see adoption decide the return

The CFO on your steering committee asks one question: when do we get the money back? Start with the content pilot. A catalog has 10,000 SKUs. A writer takes 15 minutes per description; the AI draft plus a review takes 3. That saves 10,000 × 12 = 120,000 minutes, or 2,000 hours. At $40 an hour, that is $80,000 of writing time back.

Now compare gains with costs. Call the total benefit over a period B and the total cost over the same period C, build and running costs together. The return on investment is the net gain per dollar spent.

Say it aloud

ROI equals B minus C, divided by C.

ROI
R-O-I return on investment: dollars of net gain per dollar spent, over a fixed period.
B
B the total benefit in the period: hours saved, markdowns avoided, sales gained.
B − C
B minus C the net gain.
C
C the total cost in the period: the upfront build plus monthly running costs.
In plain words

Add up the benefit B. Subtract the cost C. Divide by C.

With numbers

With made-up numbers: a service pilot costs $60,000 to build and $4,000 a month to run, and returns $15,000 a month. Over 12 months B = $180,000 and C = $108,000. ROI = 72,000 / 108,000 = 67%.

The payback period is the months until the net gain covers the build. Call the upfront build cost U, the monthly benefit b and the monthly running cost R: payback = U / (b − R). Here 60,000 / 11,000 = 5.5 months. But staff earn b only when they use the tool. Multiply it by the adoption share, and Chapter 1 becomes a number.

Find the payback month

The line is cumulative net cash; it starts at minus the build cost. Pick a pilot, then drag adoption and watch the payback month move.

60%

All costs and benefits are illustrative. Monthly benefit at full adoption: forecast $24,000 (fewer markdowns and stockouts), service $15,000, copy $6,667 (the $80,000 a year above). Running costs: $5,000, $4,000 and $2,000.

At 60% adoption the forecasting pilot pays back in 9.6 months and returns 15% in a year. At 30% it needs 41 months and loses 42% in the first year. Below 52% adoption it does not break even within 12 months. The model did not change. People did.

Symptom: the business case promised payback in six months, and month nine is still negative.

Measure: log adoption weekly next to the benefit; check which one missed the plan.

Fix: if adoption missed, fix training and workflow before you touch the model.

A pilot costs $40,000 upfront and $2,000 a month. It returns $10,000 a month at full use, and 50% of staff use it. What is the payback period?

Chapter 9

Scaling, and Three Retailers

Train each role for its own job, keep a center of excellence close to the business, and read the results as error counts

The pilot paid back. Scaling is not more servers. The guide says each audience needs its own learning path.

AudienceWhat they learn
ExecutivesJudge vendors and returns in retail terms: conversion, lifetime value, inventory
Middle managersFind use cases, drive adoption, measure impact, feed errors back
FrontlineUse the tool daily, and know when human judgement must win
ChampionsAdvanced features, prompting for retail tasks, help for everyone else

The guide adds hackathons, peer mentors and certification tied to promotion. It then names a center of excellence (CoE): architects, domain experts and data scientists in one team. The CoE writes best practices and tests new uses. Functional experts rotate in for 3 to 6 months, so the CoE stays tied to real business needs.

Three retailers

RetailerWhat Claude doesReported result
ShopifyPowers Sidekick, the merchant assistant; turns plain questions into ShopifyQL queriesFirst sales in days instead of weeks; analytics without technical skill
L’OréalOrchestrates 15+ specialized agents over the Beauty Tech Data Platform99.9% accuracy on conversational analytics, up from 90%; 44,000 monthly users, 2.5 million messages a month
Lotte HomeshoppingMoni, via Sendbird: 24/7 support for partner suppliers on QA and KC certification30 to 40% fewer QA delays

L’Oréal routes each query type to a purpose-built agent: calculations, product master data, geography master data. The guide says this routing reduces accuracy risk. Accuracy percentages hide the scale of the change, so count errors. Call the old accuracy a-old and the new one a-new. The error multiple M is how many times fewer wrong answers you get.

Say it aloud

M equals one minus a-old, divided by one minus a-new.

M
M the error multiple: old error rate over new error rate.
aold
a-old the share of answers right before the change.
anew
a-new the share of answers right after it.
1 − a
one minus a the error rate: the share of answers that are wrong.
In plain words

Turn each accuracy into an error rate: one minus a. Divide the old error rate by the new one.

With numbers

With L’Oréal’s reported accuracies: a-old = 0.90 and a-new = 0.999. M = 0.10 / 0.001 = 100 times fewer wrong answers.

Count the wrong answers

Each cell is one answer out of 1,000. Red cells are wrong. Step the accuracy up.

90% and 99.9% are L’Oréal’s reported figures; the middle stops are for comparison. The monthly counts treat each of the 2.5 million messages as one answer, which is our simplification.

Symptom: staff stop trusting a tool that is “90% accurate”.

Measure: count wrong answers per user per week, not accuracy.

Fix: route each query type to a specialist and check it with its own tests, as L’Oréal did.

A tool goes from 95% to 99% accuracy. How many times fewer wrong answers is that?

Chapter 10

The Field Guide

Keep the terms, the tiers, the checklist and the code on one page

A retail AI program runs in three steps: lay the foundation, launch a pilot, scale what works. The model is one part; the data, the people and the review gate decide the return.

Terms and numbers

TermMeaningNumber on this page
Point solutionAn AI tool wired to one systemSees 1 of 5 systems
Review gateA human check between draft and customerV = N × e × (1 − h): 20 of 400
WAPETotal forecast miss over total sold60 / 500 = 12%
Safety stockExtra units to cover forecast error over the lead time1.645 × 12 × 2 = 40
Critical ratioThe sell-out chance a one-shot order aims for45 / 60 = 0.75
ElasticityPercent change in demand per 1% change in price−2.5; best markdown 15%
z-scoreGap between arms in standard errors1.72 at 20,000; need 1.96
ROINet gain per dollar spent72,000 / 108,000 = 67%
Error multipleOld error rate over new0.10 / 0.001 = 100

The readiness tiers

ScoreTierFirst move, per the guide
8 to 15Building readinessSecure executive sponsorship and unify customer data before one controlled pilot
16 to 31Moderate readinessTwo or three pilots in content or customer service while modernizing data
32 to 48High readinessParallel pilots across customer experience, merchandising and operations

Checklist

  1. Score readiness on all eight dimensions. Fix the lowest first.
  2. Listen to each team. Write down the pain in their words.
  3. Form the steering committee and name a champion in each function.
  4. Put a review gate on every customer-facing output. Test accessibility in the pilot.
  5. Pick a pilot where the AI drafts, a human approves and the scope is small.
  6. Set metrics on all six dimensions and the test size before launch.
  7. Track adoption weekly next to the benefit. Switch off what does not deliver.
  8. Scale through role-based training and a center of excellence with rotations.

The core in code

pythonfrom statistics import NormalDist
from math import sqrt
N = NormalDist()

def leaks(n, e, h):            return n * e * (1 - h)                 # bad drafts that reach customers
def wape(actual, fc):          return sum(abs(a - f) for a, f in zip(actual, fc)) / sum(actual)
def safety_stock(sigma, L, service=0.95):
    return N.inv_cdf(service) * sigma * sqrt(L)
def newsvendor(mu, sigma, p, c, s):
    cr = (p - c) / (p - s)
    return mu + N.inv_cdf(cr) * sigma               # units to order
def weekly_sales(q0, p, p0, eps): return q0 * (p / p0) ** eps
def ab_z(conv_a, conv_b, n):        # conversion rates, visitors per arm
    r = (conv_a + conv_b) / 2
    return (conv_b - conv_a) / sqrt(r * (1 - r) * 2 / n)
def payback(upfront, benefit, run, adoption=1.0):
    net = benefit * adoption - run
    return upfront / net if net > 0 else float("inf")

print(leaks(10_000, 0.04, 0.95))                 # 20.0
print(wape([100, 140, 90, 170], [110, 120, 100, 150]))  # 0.12
print(round(safety_stock(12, 4), 1))               # 39.5
print(round(newsvendor(500, 120, 80, 35, 20)))       # 581
print(round(weekly_sales(50, 68, 80, -2.5), 1))       # 75.1
print(round(ab_z(0.030, 0.033, 20_000), 2))          # 1.72
print(round(payback(90_000, 24_000, 5_000, 0.6), 1))  # 9.6 months

Keep going

The takeaway. Wire the data, win the frontline, gate every customer-facing output, and start where a human approves. Then judge the pilot in numbers: forecast error, stock, price, lift and payback, with adoption as the multiplier.
A retailer scores 12 on the readiness matrix. What should it do first?

Now press Present or Teach. Explain from memory the three steps, the review gate, WAPE, the newsvendor, the markdown, the A/B test and the payback. Then go back to the hero and say what a retailer at 22 points should do first.

Credit and source

The playbook, the readiness matrix, the metrics and the case studies come from Anthropic’s The Enterprise AI Transformation Guide for Retail (PDF). The forecast, inventory, pricing, testing and payback maths is standard; the toys and their numbers are our own and illustrative.

Enterprise AI Transformation for Retail
The guide · Back to Gleams