Docs

Interface: ScoreResponse<T>

Interface: ScoreResponse<T>

An expected score with its rubric and probabilities.

Type Parameters

T

T extends ScoreCriteria = ScoreCriteria

Properties

confidence

readonly confidence: number;

Reported confidence in the score.


legend

readonly legend: ScoreLegend<T>;

Rubric descriptions keyed by score.


probabilities

readonly probabilities: { readonly [score in number | `${number}`]: number };

Probabilities keyed by score.


score

readonly score: number;

Expected score, which may fall between integer rubric levels.


type

readonly type: "score";