Rates the state along a rubric you define. Returns a probability-weighted value across your levels.
criteria is an ordered list of level descriptions (2–10 levels).
%ExTypesafe.Question.Score{
instructions: "How frustrated is the customer?",
criteria: ["Calm", "Frustrated", "Very angry"]
}
Summary
Types
@type t() :: %ExTypesafe.Question.Score{ criteria: [String.t()], instructions: ExTypesafe.Question.instructions(), type: term() }