Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This topic explains how LaunchDarkly reassigns contexts to flag variations when you change or increase traffic in an experiment. When you make certain edits to an experiment, such as adding additional metrics or increasing traffic, LaunchDarkly creates a new experiment iteration. By default, LaunchDarkly reshuffles experiment traffic when you start a new iteration to help keep traffic balanced between variations. If you want to keep contexts assigned to their original variation, you can disable variation reassignment for your experiment. You may want to do this when it’s important to minimize disruption to the end-user experience, such as when different variations display different versions of navigation menus or other significant user interface (UI) elements.Disable variation reassignment
To disable variation reassignment for a new or existing experiment:- Navigate to the experiment’s Design tab.
- In the “Audience allocation” section, click Advanced.
- Check the Prevent variation reassignment when traffic increases checkbox.
Example of an experiment with variation reassignment disabled
Here is an example of running an experiment with variation reassignment disabled: you add an experiment to a flag with three variations: A, B, and C. You roll out the three variations to 6% of contexts, while the remaining 94% receives the control, variation A. The control traffic is not part of the experiment nor its analysis. Here is a visualization of the starting traffic allocation, with the control group on the right:
