https://www.growthbook.io/ logo
b

busy-air-96466

03/30/2023, 6:22 PM
Is there a way to randomly, but consistently, divide users into segments, say by id, which can then be used to ensure that different experiments are applied to different groups of users? As a trivial example, to divide users into two groups. Group 1 would then be used for an A/A experiment, and Group 2 would have a new feature rolled out at 50% and be used for an A/B experiment. Looking through the docs I haven’t seen anything that does exactly this?
o

orange-rocket-9599

03/30/2023, 6:31 PM
I believe you're looking for Namespaces, though I don't see specifics on what field it's using to assign users
b

busy-air-96466

03/30/2023, 6:37 PM
That seems likely, but I can’t see enough info in the docs to find and use namespaces? I can create namespaces but I don’t see how you activate or use them? I can’t seem to access the controls shown in the doc you linked to.
f

fresh-football-47124

03/30/2023, 6:38 PM
You can active the namespaces within the experiment over ride rule in feature flags
b

busy-air-96466

03/30/2023, 6:42 PM
Thanks…I’m a bit confused, how does an A/B experiment override rule relate to an experiment? And would this put half of all users into the ‘blue’ namespace? And half of those users would see the new feature?
And to conduct different experiments on different groups of users, would I use a different namespace for each experiment? I’m sorry, I have read the docs, but I’m missing something here!
f

fresh-football-47124

03/30/2023, 6:57 PM
it takes your 100% of traffic and allows you to allocate that audience as you see fit to experiments to ensure user cohorts don’t overlap
so you could define that 0 to 0.5 group, and then run experiments within that set of users
so a 50/50 test, within a 50% namespace, would result in 25%/25% overall exposure
b

busy-air-96466

03/31/2023, 8:33 AM
Ah, so you only need one namespace to set up two experiments? One would use the 0 0.5 range, the other the 0.5 - 1 range?
f

fresh-football-47124

03/31/2023, 9:00 AM
you can do that, yes
you can also intentionally overlap a namespace if you want too
b

busy-air-96466

03/31/2023, 1:12 PM
Interesting, what would be the use case for overlapping?
f

fresh-football-47124

03/31/2023, 4:40 PM
you can use that for holdouts - to keep a group of users unexposed to any experiments
3 Views