mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
fixed A/B test control group selection
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user