AdaptiveThresholds
constructor(floor: Double, ceiling: Double, targetRejectionRate: Double = DEFAULT_TARGET_REJECTION_RATE, minimumSamples: Int = DEFAULT_MINIMUM_SAMPLES, step: Double = DEFAULT_STEP)
Parameters
floor
the lowest threshold it may recommend. Set it where you would be uncomfortable going lower by hand.
ceiling
the highest. A scope pinned at the ceiling for a long time is a scope whose traffic is not cacheable at any threshold, which is worth knowing.
targetRejectionRate
the share of verified candidates the verifier may refuse before the threshold is judged too loose.
minimumSamples
verified candidates required in a scope before it moves at all.
step
how far it moves each time.