fresh-application-65175
01/27/2025, 12:30 PMfresh-application-65175
01/27/2025, 12:50 PMif (reweight) {
// apply the latest weights (SDK level)
changes.phases[phase].variationWeights = banditResult.updatedWeights;
// re-randomize to reduce bias (in cases of multiple exposures / failed sticky bucketing)
changes.phases[phase].seed = uuidv4();
}
So the correct request would be to add separate variationWeights
{
"phases": [
{
"name": "MAB Optimization 2025-01-27T12:46:43Z",
"dateStarted": "2025-01-27T12:46:43Z",
"trafficSplit": [
{
"variationId": "var_404rwz1tm6f1iccp",
"weight": 0.4
},
{
"variationId": "var_404rwz1tm6f1iccq",
"weight": 0.6
}
],
"coverage": 1,
"reason": "Multiarm Bandit Optimization",
"seed": "seed_2025-01-27T12:46:43Z",
"targetingCondition": "{}",
"savedGroupTargeting": [],
"variationWeights": [
0.4,
0.6
]
}
],
"status": "running"
}"}
helpful-application-7107
01/27/2025, 8:01 PM