Multiple mutually-exclusive A-B tests available in parallel
Example code for selecting which A-B test to place a user in when wanting to run many tests. It's assumed a cookie or other state is stored with the user. Once a user is "in" a test they shouldn't be considered.
the number line approach
The number line approach uses a range of numbers between zero and one. Each test we want to run 'consumes' fractional space on the number line, with the remainder unoccupied. When an elegible user arrives at the experience —i.e. they do not have the piece of state or cookie indicating they're already