Launching AI Features: Pilots and Experiments

Updated · 5 min read
mediumPython 3.13aiexperimentsab-testinglaunchproduct-management

How do you know Campus Helper is better than the old FAQ page? It feels better to the team, but they built it. The fair test is to let real parents use both, and compare how many questions get answered without a call to the office.

This lesson covers the three stages of launching an AI feature safely: a pilot, an A/B test and a staged rollout.

Three Stages

Pilot, A/B test, staged rollout
StageWhat it doesCampus Helper
1. PilotA small, closely watched groupOne grade's parents, every conversation read
2. A/B testCompare the new feature with the old way, at randomHalf see the FAQ page, half see Campus Helper
3. Staged rolloutExpand step by step, checking at each step10%, then 50%, then everyone, with an off switch

Reading the Test Results

In an A/B test, visitors are split at random, so the only systematic difference between the groups is the feature itself:

Python
import math
 
# Two weeks: half the parents saw the old FAQ page (A), half saw Campus Helper (B)
a_visits, a_resolved = 400, 152   # questions answered without calling the office
b_visits, b_resolved = 400, 244
 
pa, pb = a_resolved / a_visits, b_resolved / b_visits
pooled = (a_resolved + b_resolved) / (a_visits + b_visits)
se = math.sqrt(pooled * (1 - pooled) * (1 / a_visits + 1 / b_visits))
z = (pb - pa) / se
 
print(f"A (FAQ page): {pa:.0%} resolved without calling")
print(f"B (Campus Helper): {pb:.0%} resolved without calling")
print(f"Difference: {pb - pa:+.0%}, z = {z:.1f}")
print("Likely a real difference" if abs(z) > 1.96 else "Could be chance: keep testing")
Output
A (FAQ page): 38% resolved without calling
B (Campus Helper): 61% resolved without calling
Difference: +23%, z = 6.5
Likely a real difference

The z value measures how unlikely the difference is to be chance. Above about 2, a difference this big would rarely happen by luck alone. These are example numbers; a real test also checks quality and safety, not just the headline metric, since a feature can resolve more questions by giving confident wrong answers.

Common Mistakes

Skipping the pilot. Small problems become big ones at full scale.

Stopping a test early because it looks good. Run it for the planned time.

Watching only one metric. Check quality, cost and incidents too.

Launching without an off switch. Be able to turn the feature off instantly.

Interview Corner

How would you launch an AI feature?

Start with a closely watched pilot, then run an A/B test against the current experience, then roll out in stages, checking quality, cost and safety at each step and keeping a way to switch it off.

Why randomize users in an A/B test?

So the groups differ only in the feature being tested. Then a difference in results can be attributed to the feature rather than to who happened to see it.

Practice

Exercise: rerun the test. Change the B result to 168 resolved out of 400 and rerun the program. Is the difference still likely real? Then write a launch plan for an AI feature: who joins the pilot, what the A/B test measures, what result means "go", and the rollout steps.

Check your understanding:

  1. Name the three launch stages.
  2. Why are users split at random in an A/B test?
  3. Why check quality as well as the headline metric?

Quick check: pilots and experiments

4 questions
1What is the purpose of a pilot?
2In the example, what share of questions did Campus Helper resolve?
3What does a z value above about 2 suggest?
4What should a staged rollout always include?

Key Takeaways

Quick reference

StageKey check
PilotRead every conversation
A/B testRandom split, planned metric
RolloutCheck at each step; off switch

Was this tutorial helpful?

Lesson 68 of 186