File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
core-api/src/main/java/com/optimizely/ab/bucketing Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,8 @@ private DecisionResponse<Variation> bucketToVariation(@Nonnull ExperimentCore ex
115115
116116 // Only apply CMAB traffic allocation logic if decision path is WITH_CMAB
117117 if (decisionPath == DecisionPath .WITH_CMAB && experiment instanceof Experiment && ((Experiment ) experiment ).getCmab () != null ) {
118- // Override traffic allocations for CMAB experiments
118+ // For CMAB experiments, the original trafficAllocation is kept empty for backward compatibility.
119+ // Use the traffic allocation defined in the CMAB block for bucketing instead.
119120 String message = reasons .addInfo ("Using CMAB traffic allocation for experiment \" %s\" " , experimentKey );
120121 logger .info (message );
121122 trafficAllocations = Collections .singletonList (
You can’t perform that action at this time.
0 commit comments