Skip to content

Docs

Score

Rate content against 2 to 10 ordered levels. Returns a probability-weighted score that can land between levels, per-level probabilities, and confidence, with the arithmetic left to code.
Format
Docs
Reading time
2 min
Published by
TypeSafe AI
Last verified
Sep 2026

Highlights

  • Levels are numbered by array position from 0; the model sees the descriptions, not the numbers.
  • The score is each level number times its probability: 0x0.0 + 1x0.57 + 2x0.43 = 1.43.
  • Levels are judged separately, so describing one level as worse than another adds no signal.
  • Confidence 1.0 means every ounce of probability sits on a single level.

Quickstart

python
"bug_severity": Score(
    instructions="How severe is the reported issue?",
    criteria=[
        "Cosmetic; no impact to functionality",
        "Broken or degraded feature, but workaround exists",
        "Blocking issue; no workaround exists",
    ],
)

Watch out

A confident answer is not a correct answer, and Score levels are poor at exact numeric calibration, so threshold in code rather than reading the score as a measurement.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai