Skip to content
Français

ScoreQuestion

import type { ScoreQuestion } from "@elie-laloum/outpost";
  • typeRequired
    "score"
    Score discriminator: evaluate 2 to 10 ordered levels indexed from zero.
  • instructionsRequired
    string
    Nonempty natural-language instructions for this question.
  • criteriaRequired
    readonly string[]
    Nonempty level descriptions, ordered from index 0 to the number of levels minus one.
export interface ScoreQuestion {
  readonly type: "score";
  readonly instructions: string;
  readonly criteria: readonly string[];
}