shipwithjev

Catalog / Research & data

0361GitHub

jevcal

Fits and drift-checks confidence thresholds against labeled data.

abhixhek/jevcalREADME ↗
# jevcal

**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](https://typesafe.ai) (TypeSafe's System One model), and for anything else that returns
answers with probabilities.

```
$ jevcal demo        # bundled example, built-in simulator, no API key

question               threshold  handled  accepted acc  all acc     ECE  status
is_urgent                  0.994    21.2%        100.0%    94.5%    3.5%  ok
department                 0.954    81.3%         96.3%    93.8%    3.5%  ok
frustration                0.875    98.0%         95.4%    95.5%    1.6%  ok
(handled / accepted accuracy are measured on the held-out split)

rows that escalate: 85.4%   cascade $1.930 per 1k rows vs LLM-only $2.25 (14.4% saved)
a row escalates when any question is unsure; the bottleneck is is_urgent (handles 21.2% at a 97% target)
```





That is simulator output, not a Jev benchmark. TypeSafe's customer agreement restricts publishing performance
numbers for Jev, so this README contains none, on purpose. That is also the reason this tool exists: nobody can
hand you trustworthy numbers for your use case, so you measure it yourself, privately, in one command.

Read the output as the kind of answer you get: `department` can run
81% on the fast model at 96% accuracy, while the 97% target on `is_urgent` is so strict that it alone sends
most rows to the LLM. Loosen that one target, or reword that one question, and the bill moves.

## Why

Jev answers "is this fraud?" with a probability, not a paragraph. That is the whole appeal: you can act on
the confident answers and send the rest

Also filed under Research & data

  1. 0620

    Jev Score: rubrics, scores and confidence

    A worked guide to Jev's Score primitive: writing a request, defining rubric levels, reading recorded probabilities and the weighted-score math.

    Jev Trader · Research & data

  2. 0614

    Bot journey classification in WebDecoy

    Sends a detected bot's last 48 request paths to Jev, which picks what it's after (prices, articles…) and how it crawls (pagination, IDs…), or unknown.

    WebDecoy · Research & data

  3. 0610

    Fake / Real: link fact-checker with Jev as judge

    Paste an article or post link. Fake / Real extracts its claims, finds outside evidence, and has Jev judge whether the evidence supports or contradicts each one.

    @DansiDanutz · Research & data

  4. 0609

    AutoRubric: rubric-based evaluation

    Combines rubric science and LLM-as-a-judge research to grade outputs with AI judges: LLMs, decision models like Jev, or both.

    @deliprao · Research & data