Skip to content

Jev directory

Does Jev know when it doesn't know?

An independent calibration study of Jev over three public benchmarks and 900 rule-generated support tickets, publishing every raw Gateway response and the quantization limits of returned probabilities.
Stars
6
Language
Python
License
MIT
Reading time
4 min
Published by
Community
Author
scienthoon
Last verified
Sep 2026

Independent calibration test of TypeSafe's Jev on a task it cannot have seen: 900 rule-generated support tickets (choice / score / boolean) plus 3 public benchmarks via Vercel AI Gateway. Raw responses, ECE with noise floor, temperature refit, per-type sign of miscalibration. Reproducible for ~$0.06.

Forks
0
Last pushed
Updated Oct 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

An independent calibration test of TypeSafe's Jev on a task it cannot have seen, alongside three public benchmarks it probably has. Jev's pitch is epistemically honest probabilities: you set a confidence threshold, automate above it, and route the rest to a human. That only works if the probabilities stay honest on inputs the model has not been trained on. This repo measures that directly, on $0.06 of API calls, and publishes every raw response.

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

Highlights

  • 3,721 public-benchmark items and 900 synthetic tickets, all through the Vercel AI Gateway with zeroDataRetention, for about $0.06 in API calls.
  • On public sets the probabilities look in-domain calibrated: OpenBookQA 94.2% accuracy at ECE 0.024, CommonsenseQA 88.1%, HellaSwag 86.1%.
  • On the unseen priority rule accuracy was 44.7% with ECE 0.325; after an endpoint-floor correction the score refit T is 1.92, still overconfident.
  • The boolean question goes the other way at refit T 0.66, so the sign of the calibration error flips by question type.
  • Probabilities are quantised to 0.01 and often exactly 0 or 1: 1,051 of 2,000 OpenBookQA option probabilities are exactly 0.

Quickstart

bash
python scripts/endpoint_refit.py --dump results/jev_synth.jsonl

Watch out

MIT-licensed code with CC0 synthetic data; one synthetic task family at n=900, the Gateway exposes no model version, and all numbers are from 2026-09-19.

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