in model/model_experiment_room.go [81:91]
func (e *ExperimentRoom) Match(experimentContext *ExperimentContext) bool {
if _, found := e.debugUserMap[experimentContext.Uid]; found {
return true
}
if e.diversionBucket != nil {
return e.diversionBucket.Match(experimentContext)
}
return false
}