Skip to content

Jev directory

Jev calibration study

A sentiment study of whether Jev's stated confidence matches accuracy, comparing raw scores with Platt scaling and isotonic regression.
Stars
3
Language
Python
Reading time
3 min
Published by
Community
Author
AnthusAI
Last verified
Sep 2026

AnthusAI/Jev-Calibration

Organization repository on GitHub

View on GitHub

Does Jev's confidence mean what it says? Calibrating Jev (TypeSafe System One) with Platt scaling and isotonic regression.

Forks
1
Last pushed
Updated Oct 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

This is the follow-up to Making Decisions Instead of Generating Text, which ended with "test calibration against a held-out set." It reuses the dataset and calibration ideas from Classification-with-Confidence, where we squeezed confidence out of a local LLM's token log-probabilities. Here the model hands us the probabilities directly. Three ideas run through everything below: Accuracy is measured: the share of predictions that agreed with the ground-truth labels, over some set of examples.

Quoted from the project's README. Read the full README.

Highlights

  • On 8,801 unique sentiment examples, raw expected calibration error for P(positive) was 0.117.
  • Platt scaling cut that to 0.052. Isotonic regression cut it to 0.008 on the held-out split.
  • Isotonic matched or beat Platt at every calibration size from 20 to 5,280 examples.
  • Noul accuracy rose from 47.6% at 50–60% confidence to 100% above 95% (2,104 of 2,104).
  • For a two-option Choice, the confidence field matched 2 times p_top minus 1, within rounding.

Quickstart

bash
# results live in results/variants.json and results/raw_confidence_bands.json

Watch out

No license file. One constructed sentiment set and jev-1.13.0. Neutral-tier labels are arbitrary by design. The whole dataset was about 330 input tokens per request and a median latency of 0.24 seconds.

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