Skip to main content

band_for_score

Function band_for_score 

Source
pub fn band_for_score(score: f64) -> PowCapabilityBand
Expand description

Map a unit-interval score to a PowCapabilityBand.

Exposed publicly so the policy mapper can reuse the thresholds without depending on the scorer.