Skip to content

Jev directory

Jevcal

CLI that fits a per-question confidence threshold to a target accuracy on your own labeled data, verifies it on a held-out split, estimates how much traffic still needs an LLM, and re-checks locked thresholds in CI. It publishes no Jev results of its own.
Stars
10
Language
Python
License
MIT
Reading time
3 min
Published by
Community
Author
abhixhek
Last verified
Sep 2026

About this project

Stop guessing confidence thresholds. jevcal measures a typed decision model on your data, picks the threshold that meets your accuracy target, tells you how much traffic still needs an LLM, and fails CI when a model update quietly breaks it. Built for Jev (TypeSafe's System One model), and for anything else that returns answers with probabilities.

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

Highlights

  • Fits a per-question confidence threshold to your accuracy target and verifies it on a held-out split.
  • Reports handled and accepted accuracy, ECE, and the share of traffic that still escalates.
  • Locks thresholds and their evidence in decisions.lock.json, then re-checks them in CI.
  • Publishes no Jev performance numbers, because TypeSafe's customer agreement restricts them.
  • jevcal lint flags negations, counting, dates, compound questions, and overlapping options without an API key.

Quickstart

bash
pip install "git+https://github.com/abhixhek/jevcal"
jevcal demo
open jevcal-demo/report.html

Watch out

MIT-licensed and not affiliated with TypeSafe. Needs Python 3.10+ and a TYPESAFE_API_KEY for real runs (the demo uses a built-in simulator), and thresholds fitted on fewer than about 100 labeled rows should not be trusted.

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