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

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

The value of the wire type field.

The value of the wire type field.

Attributes

Inherited from:
Answer