Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple allocations #353

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions docs/feature-flagging/experiment-assignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,32 @@ sidebar_position: 4

# Experiment assignment

Flags can be used to assign users into experiment buckets (i.e randomization) for A/B testing. Teams that use Eppo for assignments run their entire experimentation workflow through the tool.
Flags can be used to assign users into experiment buckets (i.e., randomization) for A/B testing. Teams that use Eppo for assignments run their entire experimentation workflow through the tool.

## Create an experiment allocation

The begin, create an experiment allocation in your Feature Flag. An experiment allocation has a randomized traffic split needed to run an A/B or multi-variant test. You must select this type of allocation to run an experiment.
To begin, create an experiment allocation in your Feature Flag. An experiment allocation splits traffic randomly as expected for an A/B or a multi-variant test. To run an experiment, you have to select this type of allocation.

![Randomization 0](/img/feature-flagging/randomization-0.png)

Your flag must be active to start the experiment assignment.

## Create an experiment

Click "Create Experiment" on the experiment allocation to create an experiment. You can do this at any time, even after experiment assignment has begun.
Click "Create Experiment" on the experiment allocation to create an experiment. You can do this at any time, even after the experiment assignment has begun.

![Randomization 1](/img/feature-flagging/randomization-1.png)

Once assignments have begun, they will need to be logged to your data warehouse to be analyzed by Eppo. All SDKs take in a callback function that is called with the assignment parameters (`subject_id`, `experiment_id`, `timestamp`, etc.) passed in when assignments are made. That function is completely managed by you - the only requirement is that the assignment data eventually makes it to your warehouse.

### Run multiple experiments (optional)

You can add multiple experiment allocations that target different segments of traffic. To accomplish this, you can create multiple experiment allocations with mutually exclusive targeting rules. Subjects for whom the first targeting rule does not apply pass on to the following allocation on the flag.

You may want to do this if you want to test different variants for mutually exclusive groups, such as variants that apply to subjects in different countries.

![Multiple allocations](/img/feature-flagging/multiple_allocations.png)

Once assignments have begun, they must be logged into your data warehouse to be analyzed by Eppo. All SDKs take in a callback function that is called with the assignment parameters (`subject_id`, `experiment_id`, `timestamp`, etc.) passed in when assignments are made. You manage that function completely; Eppo's only requirement is that the assignment data eventually reaches your warehouse.

Congratulations on setting up your first Eppo randomized experiment! Refer to our [analysis setup guide](/experiment-quickstart) to connect Eppo to your data warehouse and easily analyze the results.

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.