TypeSafe.Score (typesafe_ex v0.1.0)

Copy Markdown View Source

A question that rates the state against ordered levels, worst or least first.

Build one with TypeSafe.score/2. The answer's score is a probability-weighted level index, so with four levels it lies between 0 and 3.

Summary

Types

t()

@type t() :: %TypeSafe.Score{
  criteria: [TypeSafe.json()],
  instructions: TypeSafe.json()
}