A lean team with 8,000 eligible users a week is testing an AI onboarding assistant. Midway through the test someone tunes the prompt, the model vendor ships an update, and two users in the same variant get different answers to the same question. The thing being measured never held still, so what exactly won? Three weeks of traffic went into a result nobody can reproduce, and for a team that size, nothing else could be tested in those three weeks.
A drifting treatment is the first thing to fix
Eric Ries built "The Lean Startup" (2011) around validated learning: every experiment should leave the team knowing something it can act on. AI features put that at risk in a specific way. The thing you test can change while the test runs. Prompts get tuned, the documents the AI searches get updated and models get swapped. A classic A/B test assumes that version B on day 20 is the same as version B on day 1. With an AI model in the loop, you have to make that true on purpose.
There are three ways to do it. Pick one in writing before launch.
A fixed version freezes the setup until the test ends: one prompt version, one set of documents, one pinned model. Pinning is cheap. OpenAI and Anthropic both publish model names with dates (OpenAI's gpt-4o-2024-08-06 is one), while names like "latest" can change under you mid-test.
A holdout keeps a stable group with no AI while the AI version is allowed to change. You measure "the AI program" against no AI at all. A wrapper-only test keeps the model's behavior the same and changes only the product around it: where the feature appears, defaults, controls and explanations.
Each choice answers a different question. The fixed version tells you whether this exact assistant beats the old flow. The holdout tells you whether investing in the assistant pays off at all, without saying which version did the work. The wrapper test tells you whether the interface is the bottleneck. Skip this decision, and the meeting after the test turns into an argument about what you actually tested.
This choice only helps if the goal is clear. Describe it as a result for the user that would still matter if nothing else changed: a customer finishes a key task, a buyer purchases and stays happy, a user solves a problem without coming back annoyed. When the goal is fuzzy, the test chases surface numbers such as clicks, time spent or number of messages. AI makes those very easy to inflate. An assistant that asks one extra question doubles "engagement" and helps nobody.
Then name what stands in the user's way before you brainstorm fixes, because the type of obstacle decides the fix. It might be uncertainty ("I'm not sure what happens if I proceed"), effort ("this takes too many steps"), fragility ("if I do this wrong, I'll break something"), poor fit ("this doesn't match my workflow") or delayed payoff ("I won't see the benefit for weeks"). AI will suggest endless solutions. Naming the obstacle stops you from testing ideas that never touched the real problem.
The cheapest proof that can kill the doubt
An A/B test is only one kind of proof. Reaching for it by habit eats more of a small team's calendar than anything else. Before you default to "A vs B", decide what you need to prove. Do people want it? A fake button that leads nowhere can answer that in days. Do they understand it? Five observed sessions often settle it. Does it change what people do? That's where a randomized test is worth its cost. Does it work financially and in practice? That's a separate question again.
Changing behavior is also the proof that needs traffic, so check whether a test is even possible before you build. Tests with too few users burn weeks and teach nothing. First run the numbers in a sample size and significance calculator. If your weekly traffic can't detect the gain you care about, the test will block the calendar and never give an answer.
Here is the arithmetic that call hinges on, using the common rule-of-16 approximation (roughly 80% power, 95% two-sided):
n per variant ≈ 16 × p × (1 - p) / (MDE)²
where p is the baseline rate and MDE is the smallest absolute change worth acting on. Say a checkout converts at 5% and you would ship a fix that lifts it by one percentage point (illustrative numbers): n ≈ 16 × 0.05 × 0.95 / 0.01² ≈ 7,600 randomized users per variant, about 15,200 in total. If each variant sees about 4,000 eligible users a week, that is a two-week floor before the result means anything. Halve the MDE to half a point and the requirement roughly quadruples to about 30,000 per variant, or seven to eight weeks.
A small effect costs far more traffic to prove than a big one. That is why the effect size you care about, not the traffic you happen to have, sets the calendar. The decision rule is blunt: if the test needs more than six weeks at your traffic, and the change is cheap to reverse, ship it behind a flag and monitor guardrails instead. If it is expensive to reverse, buy a cheaper proof first.
One lever per test, read through its mechanism
Even with that choice made, AI tempts teams to bundle changes: a new assistant prompt, a new layout, different pricing text and new defaults, all shipped together because it feels faster. Bundles can win, but they rarely teach you anything. If the bundle wins by 8%, nobody knows whether the prompt, the layout or the text did it. So nobody knows what to build next.
Change one main thing per test. Reduce uncertainty or effort, make the step easier to undo, reorder the flow or make the decision clearer. If several things must change, test them one after another. First a test shows the whole bundle changes the result at all. Then smaller tests take it apart.
Measure the result, then check how it happened. A clean test has one main metric that makes the decision, a few guardrails that name what must not get worse and a few supporting numbers that explain why the result moved. If the result moves but the supporting numbers don't, suspect chance, a tracking error or a side effect you didn't expect. A 6% rise in activation with no change in the step the assistant was meant to shorten is a red flag.
Make every change easy to undo, because AI changes can burn user trust fast. Previews before committing, clear undo, explanations of how the AI got its answer, the option to turn it off and safe defaults are testing tools as much as design. Many AI improvements fail because users have no safe way to correct or recover, even when the model itself is strong. Undo also gives you a metric: the share of AI actions undone within a minute is one of the most honest quality signals you can track.
Cost per successful outcome decides whether a win is affordable
Some AI wins are margin traps. Conversion or retention improves while cost to serve (compute, moderation, support) climbs faster than the value created. A worked example shows how fast this happens. Take a SaaS trial with 10,000 trial users a month converting at 5% to a $30 monthly plan: 500 new subscribers. The variant adds an AI setup assistant and lifts conversion to 5.5%, or 550 subscribers. That is 50 extra subscribers and $1,500 of new monthly recurring revenue (all numbers illustrative).
Now the cost side. Suppose each trial user triggers 40 model calls averaging 3,000 tokens, 120,000 tokens per user. At an assumed blended price of $5 per million tokens, that is $0.60 per trial user, or $6,000 a month across all 10,000 users. The 50 incremental subscribers therefore cost $120 each in inference alone, four months of their subscription. If the plan's gross margin is 80% and the average subscriber churns in month six, the feature barely breaks even, and every non-converting trial user still burns tokens.
The test report would say "plus 10% conversion, significant". The economics say "maybe". Add cost guardrails from day one, and watch the numbers that expose a trap before it grows:
- Cost per successful result, so more conversions that cost more than they bring in show up instead of hiding in averages.
- Model calls per finished task, which shows when a feature uses the model far more than the job needs.
- Support minutes per activated user, a sign that an "automated" flow is pushing work onto people later.
- Extra manual review the change creates, because moderation and exceptions can grow faster than the revenue.
The rule follows from the example. Ship when the extra AI cost per extra result is lower than the margin that result earns within your payback target. In the example, that target would have to be at least five months. A version that lifts conversion while doubling the cost per successful result has proven a business a small company can't afford to run.
Assignment and stopping rules leak more winners than bad ideas
Good design still leaks when the controls are loose. The most common leak is how users are assigned to groups. Choose the unit based on how the product is used: by user for personal flows, by account or workspace for shared settings, by organization for company-wide changes. Then keep it stable. If two colleagues in one workspace see different assistants, they compare notes, and the control group stops being a control.
Stopping rules are where false winners sneak in, because it's very easy to peek at an A/B test and end it early. Ramesh Johari and co-authors showed in "Peeking at A/B Tests" (KDD 2017) that checking ordinary p-values all the time and stopping at the first significant reading pushes false positives far above the expected 5%. Commit in advance to a minimum duration, a minimum gain worth shipping and a rule for what mixed results mean: ship, try again or roll back. If the team must look early, use a sequential method built for that.
AI adds a third leak: answers vary. The same prompt can give different answers to two users in the same group, so what each user experiences differs. With every exposure, log the model version, the prompt version and a fingerprint (hash) of the documents the AI pulled in. When a result looks odd, you can then check whether users saw what you think they saw.
Tracking has to explain the result, not just record it. If you track only the finish line, you can't tell where people dropped off, whether they got value faster, whether they needed more help or whether they had to fix more errors. AI products need event logs that capture the whole journey and the recovery steps: undo, re-edit, contact support, opt-out.
The obstacle type picks the metric
The same discipline plays out differently by product. Six cases show how the obstacle sets the primary metric, the guardrails and the mechanism you inspect.
A credit card application flow fails on uncertainty at the commitment moment. The treatment replaces a generic "You may be approved" screen with a transparent pre-check: what gets assessed, what won't affect the credit score (where that fits the product's logic), which documents might be needed and how long the decision takes.
Completed applications per eligible start make the decision. Guardrails watch complaint rate, abandonment after verification steps, fraud flags and manual review volume. Time on the decision screen, backtracking and "contact support" clicks from that step explain the result. AI can tailor the explanations, but the test still has to prove it cuts drop-off without inviting risky submissions.
A B2B data connector setup fights effort plus fragility, mostly the fear of misconfiguring credentials. An adaptive wizard asks two questions (data source type and permission model), then presents the smallest viable sequence with a credential checklist and a reversible validation step.
First successful sync is the outcome. Authentication error rate, time to successful sync, integration support tickets and disable-connector events are the guardrails; failed validation attempts and retries are the mechanism. A friendlier wizard that syncs no faster has failed.
A retail subscription cancellation flow runs into delayed payoff, because users forget the benefits they pay for. Instead of a hard save, it shows a factual usage recap (orders delivered, savings versus one-time purchases, delivery speed) and offers a downgrade or pause. The outcome is retained users who stay active through the next cycle, because a saved subscriber who never orders again is a refund request in waiting. Refunds, complaints about misleading messaging and re-cancellation within a short window guard against dark patterns that spike short-term retention and provoke backlash later.
A customer support portal usually suffers from misfit: self-serve content that doesn't match the situation. A guided resolver opens with a structured choice ("billing", "delivery", "account access", "technical issue"), asks one clarifying question and returns a plan with timelines and escalation options. The outcome is resolution without repeat contact within a defined window, say seven days. A resolver that merely keeps people away from agents would look great on deflection and still fail this metric.
An ad platform campaign creation flow is all fragility: the fear of wasting budget. AI-assisted setup proposes targeting and creative variations but requires a preview of estimated reach, a budget pacing simulation and a "safe mode" with conservative defaults.
The outcome is campaigns that pass quality checks and keep running past an initial short window. Billing surprises, early pausing, credit requests and policy flags are the guardrails. Without confidence and control, users abandon, or churn after one bad first run.
A productivity app task capture feature mixes effort with a trust question. An AI capture bar turns notes into tasks with due dates and owners but keeps them in "draft" until the user confirms. Only tasks that later get completed count. Deletion right after creation and time spent correcting are the guardrails; confirmation rate and correction frequency are the mechanism. The test shows whether automation gets more work done or just produces more drafts.
What a test costs, and when the answer is worth it
A test costs something even when the tools are free. The biggest cost is traffic over time. While 8,000 users a week are split between two versions, nothing else that needs those users can run. At the two-week minimum from the checkout example, that's half a month of a small team's testing capacity. At seven to eight weeks, it's most of a quarter. Add the engineering time to build and track both versions, the analyst's time to read the result and, for an AI feature, the AI bill for the test group while it runs.
Against that sits the value of the answer. It depends on two things: how likely the test is to change your decision and how much money rides on that decision. Say you'd ship the AI setup assistant anyway, and you think there's a one-in-four chance it quietly loses money, as in the margin example above. If a money-losing version burns $6,000 a month in AI costs for six months before anyone notices, the downside is $36,000. The expected loss a test can prevent is about $9,000. If two weeks of traffic, a few days of engineering and the test group's AI costs come to less than that, run the test. If the change could be rolled back in a day with no lasting damage, the same math says the test is worth little, because the mistake is cheap to undo.
That's also why teams that ship AI features every week rely on offline evaluation. If the model changes every few days and you have 8,000 users a week, a seven-week test answers a question about a product that no longer exists. When the risk is in answer quality and a set of graded examples can score it, that set is the cheaper proof. Grade the new prompt against 200 saved conversations, roll it out to 10% of traffic, watch the guardrails and then expand. Questions about behavior and money are different. Whether people trust a draft task enough to confirm it, or what a feature does to conversion and cost, can't be read from saved examples. That's where traffic is well spent. Offline tests decide whether a model version is good enough to show people. A/B tests decide whether showing it changes the business.
Even a test worth its cost can come back mixed, and that needs its own rule. Outcome up, a guardrail down: check which guardrail failed before deciding. Tighten scope through opt-in, progressive rollout or segment targeting, improve reversibility, then run a follow-up aimed squarely at the degraded guardrail. A 4% conversion lift with a 15% rise in refund requests is a different decision from the same lift with longer handle times.
A debrief makes the result reusable
The result only compounds if the team pulls the lesson out of it. Skip the long postmortem and use a short ritual with fixed prompts, run in order:
- State what changed, in one sentence.
- Say what you expected and why, framed as a mechanism: which step should change, and why.
- Report what happened to the primary outcome, in absolute and relative terms.
- Note which guardrails moved, and by how much.
- Write down what you believe now that you didn't believe before the test.
- Name the next smallest experiment that would reduce the remaining uncertainty.
Six short answers are cheap enough that teams keep writing them. The answers to step five become a running log of what the company has learned, which is exactly the validated learning Ries asked for.
If you change one thing before your next experiment, make it the exposure boundary. Write down whether the treatment is frozen, measured against a holdout or limited to the wrapper, which model version is pinned, and who may touch the prompt while the test runs. Pick the destination and the obstacle next, and the metric last: a metric chosen first tends to be the one AI inflates most easily. If your traffic can't support the MDE you care about inside six weeks, skip the A/B test and buy a cheaper proof.