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'}

Hierarchy

  • Splits

Constructors

Methods

Constructors

Methods

Generated using TypeDoc