The Default Rule
is simply a list of buckets.
If a specific id did not match any Rule
, then this rule is applied in order to determine the treatment to be returned.
Note that you do not need to provide all treatments in the Default Rule
, however, the sum of treatment sizes must be 100
{
"rules" : [{ "..." }],
"defaultRule": [
{ "treatment": String, size: Number },
{ "treatment": String, size: Number },
…
]
}
If no rule is matched for the id, then the Default Rule
is evaluated and there is a 90% chance that the result will be on, and 10% chance that it will be off.