custom

fun custom(curve: ScoreCurve, name: String = "custom"): ScoreCalibration

A client-supplied curve. Must be monotonic non-decreasing over 0..1 and finite everywhere; outputs are clamped to 0..1 at apply time.

Throws

if the sampled curve is non-finite, decreasing, or constant.