Run experiments
Register an experiment in a change set, check its design, start it, and act only on the calls Handline makes at its planned looks.
Handline calls experiments, not you. It tests the numbers only at planned looks, with a method that keeps the false-positive rate where the experiment rules set it however often you read the results. Between looks, numbers are interim and can't be called.
Register and start one#
Write the arms
For a page experiment, create each variant page in a change set with
variantOf: the experiment's id and the arm's id. For a message experiment, write each arm's copy.Register the experiment
In the same change set, create an
experimentitem. Give it aname,questionandhypothesis, itstypeandsplit, and 2 to 5arms. Add thedecisionMetricstage, the smallest worthwhile effectminEffect, yourdecisionsfor a win, a loss and no difference, and itsscope. Publish it.Check the design
Call
experiments_designwith its id. It works out the baseline, each arm's traffic, the sample, the planned looks, the duration and the cost, and says whether it is feasible. When it isn't, it lists alternatives.Start it
Call
experiments_start. Handline checks it, locks the plan and schedules its looks. From then on, its arms and metric can't change.
Exactly one arm is the control, and the arms' shares add up to 1. A page experiment's arms each name a page; a concept or message experiment's arms each name a concept or copy.
type | Tests | split |
|---|---|---|
page | Two or more versions of a page | app: Handline assigns each visitor an arm. |
message | Email or outbound versions | app: Handline deals out recipient links per arm. |
concept | Different concepts in one cell | platform, with the platform's test, or none |
platform | A test run in the ad platform's own A/B tool | platform, with platformTest naming the test |
An experiment Handline splits is grade A; a platform's own test is grade B. A comparison outside an experiment is an observation, grade C, which you propose with learnings_propose.
When there is no traffic history yet#
The design check works from the traffic the experiment will split. A message or platform test draws only on its own placements, so a test on new sequences or new ads has no history yet. Registering it without assumptions is refused, because there is nothing to design on.
Give assumptions in the experiment item: a baseline, the share of visits expected to reach the decision metric (0.05 is 5%), and dailyVisits, the visits a day across all arms. For a message experiment, dailyVisits is the recipients a day. The design check and experiments_start use them, and the design says its baseline was assumed. Once there is history, Handline uses the history instead.
While it runs#
- Read
experiments_resultsas often as you like. Every read is logged. Until a look calls the experiment, it says the numbers are not callable. - An
experiment_lookwork item opens at each planned look. If the look makes a call,experiments_getshows it. - Never stop an experiment because interim numbers look good or bad. Reading results many times a day, or changing arms after a look, raises a flag.
experiments_sliceshows an exploratory slice by country, day, channel or placement. A slice is never a result. To test it properly,experiments_promoteSliceregisters it as its own experiment.experiments_stopstops an experiment early. It makes no call and produces no learning.
When it is called#
A call is a win, a loss or no difference, made at a planned look. Before any call, a grade A experiment must pass a sample ratio check, and guardrails can stop a win.
- Act on the decision you registered.
- For a page win,
experiments_applyWinnerapplies the winning version through a change set. It keeps a small standing control on the old version, so the effect is checked over time. experiments_readoutshows the readout Handline wrote from the stored results. Add your reading withexperiments_interpret; it is shown as yours and can't change a number.experiments_publishReadoutpublishes it.- The learning goes into the library (
learnings_list,learnings_library), which the next design check uses.
A message experiment in a sending tool#
Sending tools' own A/B features break a clean comparison, so Handline makes the split.
- Write each arm's copy, and record one placement per arm in the sending tool: one sequence per arm, or one variant per arm with the tool's A/B feature off.
- Register the experiment with
"type": "message"and"split": "app", listing each arm's placement in itsplacementIds. New sequences have no history, so giveassumptionswith the recipients a day. Then start it. - Call
experiments_recipientLinkswith the number of recipients. Each link comes back with its arm. Give every recipient their arm's version and their own link at every step, and never move a recipient between arms. - Report sends, deliveries, replies, bounces and complaints per arm with
numbers_report, on each arm's placement. Sends per arm are the base of the sample ratio check.
The backlog#
Keep hypotheses in the backlog until there is room to test them. Add them with backlog_add and change them with backlog_update. Then list them with backlog_list, which ranks them by what is feasible and fits the exploration budget. To test one, call backlog_promote: it turns it into a registered experiment in a new change set. A simulated pre-screen (backlog_attachPrescreen) can help rank an item, but is never evidence.
Was this page helpful?