Skip to content
System One

vclic/smoking-extraction-benchmark

Paired comparison of Jev and OpenAI structured outputs on 1,000 synthetic outpatient notes, both given the same note, policy, candidate values and ten typed questions. OpenAI got 98.7% of records fully correct against Jev's 92.4%, while Jev cost about 133 times less with 5.2 times lower mean latency.

Accuracy comparison
Image from github.com

vclic/smoking-extraction-benchmark on GitHub

Stars
0
Forks
0
Language
Python
Last push
18 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

from .shared import prediction

ENDPOINTS = {
    'typesafe': 'https://api.typesafe.ai/v1/systemone',
    'openai': 'https://api.openai.com/v1/responses',
}
OPENAI_INSTRUCTIONS = (
    'Evaluate every typed question against the supplied state. For each question, '
    'choose exactly one option from its criteria. Treat candidate calculations as '
    'possibilities requiring verification against the note, not established facts. '
    'Return answers with type choice and the selected choice. Follow the extraction '
    'policy in state. Do not include probabilities or commentary.'
)

View in smoking_eval/providers.py

Open on GitHub

More like this

Use cases this is tagged with