fixed A/B test control group selection
This commit is contained in:
parent
8e14d3f8f7
commit
137f474b69
@ -22,7 +22,7 @@ const experiments = {
|
|||||||
return this.luckyNumber(state) >= 0.5;
|
return this.luckyNumber(state) >= 0.5;
|
||||||
},
|
},
|
||||||
variant: function(state) {
|
variant: function(state) {
|
||||||
return this.luckyNumber(state) < 0.5 ? 0 : 1;
|
return this.luckyNumber(state) < 0.75 ? 0 : 1;
|
||||||
},
|
},
|
||||||
luckyNumber: function(state) {
|
luckyNumber: function(state) {
|
||||||
return luckyNumber(
|
return luckyNumber(
|
||||||
|
Loading…
Reference in New Issue
Block a user