A/B Testing Platform 00:00:01 A green checkout button needs a trustworthy comparison A cooperative wants to test a new checkout button. An illustrative experimentation platform must answer two different questions: who belongs in the experiment, and which version each eligible participant sees. Separate those decisions before looking at purchases. The SDK asks the edge with its last ETag. Most answers are 304: nothing new. The person is in Canada, so they match. Traffic bucket 412 is below 1,000. A separately salted deterministic assignment places the participating user into a variant under the experiment's configured split. Put into the next batch, before the button is drawn. Use a stable randomization unit and persist or reproduce assignment. Record a meaningful exposure when the tested experience is actually available. An assignment that the user never encounters can answer a different scientific question. 00:00:58 Expand eligibility without moving the original people The first ramp enrolls ten percent of eligible people. The cooperative now wants fifty percent while preserving the treatment already shown to the original group. Predict what happens to the first two participants. Each has two buckets, from two salts. Traffic buckets below 1,000 take part: A and B. The version bucket splits A and B, independent of traffic. Raising the enrollment threshold admits additional buckets under the same experiment definition. A and B see what they saw before. Keep the enrollment bucket and variant assignment stable. Increasing the enrollment threshold admits more users without recomputing the original participants' variants. Check that changes to targeting or allocation do not quietly invalidate that promise. 00:01:46 Count outcomes only under a declared analysis plan A participant views the new button on Monday and purchases on Tuesday. A second participant purchases before seeing either version. The experiment needs an exposure clock, outcome window and consistent unit of analysis. Every 10 s or 100 events, each with an id made on the device. Repeats share an event id within the three late days and are removed. The earliest for each person and test. Two versions for one person: excluded and counted. Under this exposure-based analysis, join eligible outcomes occurring after the recorded exposure within the declared window. 45,230 and 45,180: p equals 0.87. Healthy. Check missing or conflicting exposures and assignment balance before interpreting the effect. Decide the intended causal comparison in advance. The event join and aggregation should implement that question, not whichever number happens to look largest. 00:02:50 Looking repeatedly changes the decision procedure Suppose the team calls a win whenever a conventional fixed-horizon test first looks significant. It checks the same accumulating experiment every day. A five-percent threshold at a single scheduled look does not guarantee that stopping rule a five-percent false-positive probability. The limit 1.96 is made for this. Each additional opportunity to stop deserves an analysis rule that accounts for repeated examination. Ten looks at overlapping cumulative data are not ten independent experiments. More than four times the promised 5%. Daily cumulative looks are correlated. A calculation assuming independent tests is an illustration, not the actual error rate of this experiment. Choose a fixed stopping plan or an appropriate sequential method and validate its assumptions. 00:03:41 The winning button loses its exposure events The treatment appears to win, but its observed population does not match the intended allocation. Investigate the sample-ratio mismatch before congratulating the designer. A biased denominator can manufacture an improvement. Conversion is 4% higher. The team is pleased. The observed imbalance is large relative to sampling variation under the assigned split. Pause interpretation of the treatment metric. Only slow phones. Their exposures are lost after the new page has loaded. Log exposure before drawing. New salts, start again. Here exposure loss affects one experience. Repair and validate the logging mechanism, then run a clean comparison under an agreed assignment policy. Randomization, actual exposure and outcome collection must all remain observable.