ScoreAnswer

com.softinio.verdict4s.algebra.ScoreAnswer
See theScoreAnswer companion object
final case class ScoreAnswer(score: Double, legend: SortedMap[Int, String], probabilities: SortedMap[Int, Probability], confidence: Confidence)

A Score answer.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def levelAs[A](using levels: Levels[A]): Option[A]

nearestLevel mapped back into a level type.

nearestLevel mapped back into a level type.

Attributes

The description of nearestLevel.

The description of nearestLevel.

Attributes

The level the score is closest to.

The level the score is closest to.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product