Skip to content

Stuntdouble

A zero-dependency Node proxy that sits in front of Jev, forwards every request unchanged, and reports whether a local decision model would have made the same call on your own traffic.

Stars
1
Language
JavaScript
License
MIT
Published by
Community
Author
ReallyArtificial
Last verified
Oct 2026

About this project

stuntdouble is a zero-dependency Node proxy that sits between your app and TypeSafe's Jev API: you change one line (baseURL) and your app keeps getting Jev's exact answers, while the proxy quietly sends every request to one or more local decision models (Kev, Laya, anything on the same wire shape), records all the answers, and then produces a report that tells you whether the local model would have made the same decision, at what confidence, how much faster, how much cheaper, and, uniquely, whether your…

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

Highlights

  • Change one base URL in either official SDK; the app still gets the star's reply byte-for-byte, plus two extra response headers.
  • Policy agreement asks whether your own application code would have branched differently, which a label-level benchmark cannot produce.
  • Reports include confidence-gated agreement and a swap verdict: the threshold that keeps disagreement inside a budget you choose.
  • Replay reruns recorded requests against a new checkpoint for free, keeping the star's recorded answers for comparison.

Watch out

Agreement is measured against the star, not against truth, so a local model that agrees with a wrong star is wrong too; only the labeled suites can say which one is right. The published launch report did not involve Jev at all: the machine could not hold the larger model, the star was a local model served in bfloat16, the double was a 421M model through a bundled sidecar, and there was no TypeSafe key available. Every verdict in that run was do not route. Option order is identical for every backend because they all receive the same body, so option-order sensitivity goes untested even though a separate benchmark measures it. Probability rounding differs between backends, which the validator tolerates proportionally, and latency is machine-specific and includes network time for hosted backends. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

23GitHub stars
Live race rig that labels 1,000 real app reviews with Jev typed questions against Gemini JSON output on identical batches, then replays recordings and re-ranks rows locally without extra model calls.
Jev Practices & Patterns#community#jevbest#catalog-import
Recorded experiments on how Jev reports probability rather than whether it predicts well. On a hidden fair die it picked an option with a mean reported probability of 82.9% while accuracy stayed at 19.0% over 400 trials, and Choice lost a stated 45% versus 55% distinction in an input document.
Jev Practices & Patterns#community#jevbest#catalog-import
3GitHub stars
An experiment that composes TypeSafe Jev Choice decisions into free-form text: every next character becomes one typed decision over 98 options, with branch backtracking and a final complete/incomplete check.
Jev Practices & Patterns#community#jevbest#catalog-import
An eval that puts Jev two questions about shadcn-ui/lint: whether each finding is a real rule violation, and whether the linter's message tells you what to change. It runs the real linter over 131 rule test cases and scores both the detections and the messages.
Jev Practices & Patterns#community#jevbest#catalog-import
0GitHub stars
A Japanese-language repository that continuously researches TypeSafe's Jev and System One models and organises the findings as Markdown slides, a presentation script and a standalone article.
Jev Practices & Patterns#community#jevbest#catalog-import
32GitHub stars
CLI that calibrates Jev questions against your own labels: write questions, label examples in JSONL, run check, and get a verdict per question — gate, gate-above-confidence, ranker, unusable, or too-few-examples.
Jev Practices & Patterns#community#jevbest#catalog-import

From the Jev guides

Original write-ups on what this entry is for.

Most Jev accuracy problems are state problems. What belongs in a state, what is a pre-made judgment to leave out, and why naming the slice you ask about matters more than the wording.
Jev Practices & Patterns#state#design#primitives
Read article
A Noul returns one number and no separate confidence. How to read the value, pin its boundary with criteria, split compound questions, and set a per-action threshold that matches the cost of being wrong.
Jev Practices & Patterns#noul#primitives#confidence
Read article
A Score is a weighted position, not a ruler. Why the number can land between levels, why levels are judged separately, and how to combine several atomic scores in code instead of one crowded rubric.
Jev Practices & Patterns#score#primitives#scoring
Read article
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai