set_experiment_bandit
Switch bandit allocation on or off for one of your stored experiments, and set its floors: pass experiment_key and bandit_enabled, and optionally min_weight_pct (1 to 50, the least traffic any arm keeps) and control_min_weight_pct (1 to 90, the least control keeps). The floors have to fit the number of arms. Read the result with get_experiment_stopping. Answers "not enabled" until sequential testing is switched on for your workspace. Needs a claimed Last Price credential for the workspace that owns the experiment. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bandit_enabled | Yes | Whether bandit allocation is on. | |
| experiment_key | Yes | The experiment key, as created (lowercase letters, digits and underscores). | |
| min_weight_pct | No | The least traffic any arm keeps, in percent. | |
| control_min_weight_pct | No | The least traffic control keeps, in percent. |