Overview
Curated: · Written: · Reviewed:
Decision Models (System One)
In one line
A decision model answers typed questions about a state you supply and returns a probability per option you name, in one forward pass, so code can branch on a measured number instead of parsing generated text. Reach for it when each outcome of a branch has a cost and the options are yours to list.
Key definitions
- State: the text (and, for Jev, images) you send, with one or more named questions.
- Question types: Choice (pick among named options), Score (ordered levels you define), and yes/no (a two-option Choice read on the positive option). Box is available from Jev 1.14.0 only.
- Calibration: stated probability matches observed frequency. Of calls scored 0.9, about 90% should be yes.
- ECE: the bin-size-weighted average gap between confidence and accuracy across confidence bins.
- Brier score: mean squared error between the predicted probability and the 0/1 outcome.
- Abstain or defer: the middle band where the branch neither acts nor rejects and a person takes the item.
Formulas and complexity
Worked count, using the MCQ 7 figures: at 0.5 the cost is 300 x 1 + 40 x 10 = 700; at 0.3 it is 380 + 220 = 600; at 0.2 it is 800 + 120 = 920. The 0.3 threshold is cheapest under those costs. Latency, hypothetical: a generated 350-token answer at 40 tokens/s takes 8.75 s per call, against 0.1 s for a single-pass answer (vendor timing unverified). Across 40,000 calls that is about 346,000 s of serial time saved, roughly 96 hours.
How it works
Send the state and named questions to POST /v1/systemone. The model evaluates them in one forward pass and returns a probability over each question's options plus a confidence estimate. Answers are keyed by question name, so match each result to its question by that key. Code then compares the probability to a threshold you chose from error costs. Check field names against the API reference for the version you deploy.
When to use and when not to
| Situation | Decision model | Chat LLM with JSON | Fine-tuned classifier |
|---|---|---|---|
| Options change often | Pass them at call time | Pass them in the prompt | Needs new labels and retrain |
| Stable label set, lots of labels | Works | Works | Cheap and strong |
| Person needs the reason | Poor: no rationale | Good | Poor |
| Calibration you can measure | Vendor claim: verify on your holdout | Self-reported, not calibrated | Yes, on your holdout |
| Latency-bound branch | One pass | One decode step per output token | Fast |
Traps interviewers probe
- Blaming the model for one wrong call. A single 0.92 that proves wrong does not show miscalibration. Fix: judge calibration over many calls per bin, using ECE and a reliability diagram on labelled data.
- Fitting and scoring on the same split. A temperature fitted on a split and then measured on that split gives an optimistic ECE. Fix: fit on one split and report ECE on a fresh held-out split.
- Floating model aliases in production. A
latestalias can move between tests and prod. Fix: pin a version such as jev-1.14.0, and confirm the question type exists in that version before deploying. - Choosing the threshold by habit. 0.5 and 0.9 are defaults, not decisions. Fix: sweep the threshold on labelled data, compute cost per call at each value, and size the defer band to review capacity.
- Re-running whole requests when some answers come back empty. Re-running the full ticket wastes the shared context cost. Fix: match results by key and re-ask only the missing questions against the same state.
Interview tips
Opening: 'A decision model returns a probability per named option in one pass, so the branch reads a number I have measured, not text I have parsed.'
Follow-ups to expect:
- How do you know it is calibrated? Name the labelled holdout, ECE, the Brier score and the reliability diagram.
- How do you pick the threshold? From the cost of each error on your data, with a defer band.
- A new category appears. Add it as an option, re-evaluate, and check the old options' calibration.
- Why not JSON from an LLM? One pass and typed answers, with calibration you measure, against no rationale.
- What can't it do? No rationale, answers bounded by the options you supply, weak across documents, and vendor benchmarks need your own check.
30-second outline:
- One sentence on what it is.
- When to use it: a branch where each outcome has a cost.
- Answers come back keyed by question name, from one pass.
- Calibration checked on our labelled holdout with ECE, Brier and a reliability diagram.
- Threshold set from error costs, with a defer band for the middle.
- Model version pinned, and re-evaluated on every change.
- Limits: no rationale, bounded options, weak cross-document reasoning.
Feedback on this overview
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.