Score
com.softinio.verdict4s.algebra.Answer.Score
final case class Score(score: Double, legend: SortedMap[Int, String], probabilities: SortedMap[Int, Probability], confidence: Confidence)
A probability-weighted value across the levels; it can land between them.
legend and probabilities are keyed by level index. The service sends those keys as strings ("0", "1", …); decoding them to Int is faithful to their documented meaning, and means legend.head is level 0 rather than level 10.
Attributes
Members list
In this article