Skip to main content

PercentileStrategy

typeType (string)required
Constant value: percentile
params objectrequired

percentile strategy parameters.

direction: 'top' | 'bottom' (NOT 'above'/'below') value: percentile cutoff in range [0, 100]

directionPercentileDirection (string)required

top / bottom — NOT above / below (a common source of bugs).

Possible values: [top, bottom]

valueValue (number)required

Possible values: >= 0 and <= 100

PercentileStrategy
{
"type": "percentile",
"params": {
"direction": "top",
"value": 0
}
}