Splits calculator
const tests = [ { name: 'loginType', variations: [ { name: 'compact', probability: [0, 0.5] }, { name: 'full', probability: [0.5, 1] } ] }]const splits = new Splits(tests, {prefix: 'x_'})const variations = splits.getVariations()// {loginType: 'compact'} Copy
const tests = [ { name: 'loginType', variations: [ { name: 'compact', probability: [0, 0.5] }, { name: 'full', probability: [0.5, 1] } ] }]const splits = new Splits(tests, {prefix: 'x_'})const variations = splits.getVariations()// {loginType: 'compact'}
Splits constructor
Get calculated variations
Generated using TypeDoc
Splits calculator