Create an experiment
To create your first experiment, simply pass the experiment configuration (via YAML) to a built-in stored procedureapply_resource
.
my-first-experiment
). It has two variants (control
and treatment
), each receiving 50% of traffic in a single cohort.
Make Assignments
Every experiment needs to have some identifier for which traffic is randomized. Typically this is a user ID, anonymous ID, session ID, etc. We call this a Subject. An assignment is the variant that a subject ID is assigned within a given experiment. Once assigned, a subject ID will be pinned to that variant forever and always. There are currently 3 ways to implement experiments and to get/set assignments:- Directly in SQL
- Via the RESTful API
- Using the Python SDK