By Abhijith N M · Reviewed 24 October 2026 · Editorial standards
Helio Assist ships prompt v3 to half of live traffic on a Monday. By Wednesday the variant resolves 24.9% of conversations without escalation, against 23.4% for the control. The product manager wants it in front of everyone. The architect asks for the guardrail table and the pre-registered sample size. Neither exists yet.
An A/B test compares two versions on live traffic, split at random, over a fixed period. It answers one question: did this change cause a difference in the metric we chose? Write the hypothesis before the test starts, in a form that could be proven wrong.
| Part | Helio Assist hypothesis |
|---|---|
| Cause | Refund answers fail when retrieval ranks a stale policy above the current one |
| Change | Prefer the newest document version in the retrieval filter |
| Effect | Eligibility match on the refund group rises from 0.52 to 0.80 |
| Limits | p95 latency stays under 2.5 s and cost under $0.15 per conversation |
One primary metric per test. If you change retrieval and prompt tone together, a win tells you nothing about which change caused it, and a loss tells you even less.
The noise floor is the size of difference you would see by chance if the change did nothing. A test that stops while the floor is larger than the effect cannot separate a win from luck. Set the sample size in advance from three inputs: the baseline rate, the smallest effect worth acting on, and your tolerance for a false positive.
| Input | Helio Assist value | What it changes |
|---|---|---|
| Baseline rate | 0.234 resolved | Higher baselines need smaller samples for the same relative lift |
| Smallest effect worth acting on | 1.5 points absolute | Halving the effect roughly quadruples the sample |
| False-positive tolerance | 5%, two-sided | Tightening it widens every interval |
| Power | 80% | Raising it reduces the chance of missing a real win |
At a 23.4% baseline and a 1.5-point effect, 5,000 conversations per arm is thin. The standard error is about 0.86 points, so a 1.5-point lift sits well inside the noise.
from math import sqrt
control_conv, control_n = 1170, 5000
variant_conv, variant_n = 1245, 5000
control = control_conv / control_n
variant = variant_conv / variant_n
se = sqrt(
control * (1 - control) / control_n
+ variant * (1 - variant) / variant_n
)
lift = variant - control
print(f"control {control:.3f} variant {variant:.3f}")
print(f"lift {lift:+.3f} standard error {se:.4f} z {lift / se:.2f}")A novelty effect is a temporary change in behaviour caused by the new thing itself, not by its quality. Users try the new prompt, click more, then settle. A two-day read is mostly novelty. Run for at least one full weekly cycle, and compare the same days of the week.
Practical significance asks whether the win is worth the cost of keeping it. A 1.5-point lift that adds $0.03 per conversation and 300 ms of latency may be a loss for the business even when the statistics are clean. Write the price of the win into the hypothesis.
Variant v3 shows +1.5 points on resolution. p95 latency rose 600 ms, from 1.9 s to 2.5 s against a 2.5 s limit. Cost per conversation rose from $0.11 to $0.14 against a $0.15 limit. One unauthorised refund appeared in 900 audited conversations, against a limit of zero. The test has run two days with 5,000 conversations per arm. Decide: ship, extend or stop. Name the next test.
Definition of done: a four-line decision record with the guardrail status, the statistical read, the business price, and the next hypothesis.
Key takeaways
A test needs a hypothesis that names the cause, the group and the guardrails.
Set the sample size from the baseline, the smallest effect worth acting on, and your error tolerance.
Read guardrails first; a safety breach makes the primary uplift irrelevant.
Two days measures novelty, not quality; run a full weekly cycle.
Write the stopping rule before you look at the result.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.
Don't lose this lesson
Create a free account to save your progress, keep your streak, and work toward a shareable certificate.