Skip to content

Jev directory

Jev DSPy Lab

Unofficial companion to dspy-typesafeify that records and replays TypeSafe calls to measure calibration, selective risk, confidence-gated abstention, latency, tokens and modeled cost for Jev decisions.
Stars
16
Language
Python
License
MIT
Reading time
3 min
Published by
Community
Author
jmanhype
Last verified
Sep 2026

jmanhype/jev-dspy-lab

User repository on GitHub

View on GitHub

Reproducible calibration and selective-risk benchmarks for Jev/TypeSafe decisions in DSPy workflows

Forks
2
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

Reproducible calibration, confidence-gating, latency, and modeled-cost benchmarks for Jev / TypeSafe System One decisions used in DSPy workflows. This is not another DSPy fork. It is a companion measurement lab for typesafeainate/dspy-typesafeify and other callers that use TypeSafe decisions inside DSPy-style pipelines. The existing dspy-typesafeify proof of concept is useful and its focused tests pass, but its published benchmark: reports latency and modeled cost but not dataset-level calibration,.

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

Highlights

  • The checked 24-case fixture is synthetic and reports 75.0% coverage, 0.667 accuracy among answered, and a Brier score of 0.4844.
  • A 24-case live jev-latest recording (response model jev-1.13.0) reports 95.8% coverage, 0.913 accuracy and selective risk 0.087.
  • Optional --calibration fits dependency-free Platt scaling only after the confidence gate is declared, and overlapping splits fail.
  • Reports include a deterministic exploratory threshold sweep from 0.0 to 1.0; the selected gate stays the confirmatory result.
  • Replaying a recording through the offline CLI produces byte-identical JSON and Markdown reports keyed by request hashes.

Quickstart

bash
uv run jev-dspy-benchmark --dataset fixtures/tickets.jsonl --responses fixtures/typesafe_responses.jsonl --output evidence/benchmark --field owner --threshold 0.7

Watch out

MIT-licensed. Replay needs no API keys, but recording uses a TypeSafe key; the fixture is synthetic and the project is independent of TypeSafe AI and DSPy.

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