Judge (Choice / Noul / Score)
judgeGet calibrated, structured decisions at a decision point by passing state and questions; receive typed answers with probabilities and confidence, not prose.
Instructions
Get fast, calibrated judgments from the Jev model at a decision point, instead of guessing in free text. Returns typed answers with probabilities. It never returns prose or reasoning, and it does not decide for you.
WHEN TO USE: you are about to pick between known options (which tool, route, plan, or file; allow/confirm/deny a risky action), check whether a condition holds (is the task complete, is there enough information to stop, does this need user confirmation), or grade something on a dimension you can describe (risk, relevance, severity). Do not use it for open-ended reasoning, arithmetic, exact lookups, or anything plain code or a tool can settle.
QUESTION TYPES:
choice: exactly one of a set of options you define.
noul: whether a condition holds. Use one noul per label when several labels may apply.
score: a position on ordered levels you describe.
HOW TO READ THE RESULT:
choice: "choice" is the top option, "probabilities" covers every option, "confidence" (0-1) says how concentrated that distribution is. Low confidence means no option clearly wins, which can also happen when two options are both acceptable.
noul: "noul" is the probability that the answer is yes. Near 1 is a strong yes, near 0 a strong no. Near 0.5 means the model cannot tell. It does NOT mean "medium" or "partly". If you want a degree, ask a score question.
score: "score" is the probability-weighted mean level, from 0 to "max_level", and can land between levels. Different distributions give the same score, so read "probabilities" and "confidence" with it.
"certainty" (high/medium/low) and the noul "verdict" (yes/no/uncertain) apply the thresholds to those numbers. "needs_escalation" lists every question id whose answer is low certainty or uncertain.
WHEN AN ANSWER IS FLAGGED: do not act on it as if it were settled. Escalate in whatever way fits your situation: gather the missing evidence and ask again, reason the point through yourself, or ask the user. Medium certainty means proceed with caution, and verify first if the action is hard to undo. High confidence describes the model's answer, not a guarantee of truth or permission to act.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | The facts the judgment is about. Prefer an object with named fields (e.g. { user_request, plan_a, plan_b, test_output }) over one blob of text. Pass only what bears on the decision, and pass actual content (the log, the diff), not your summary of it: the model sees nothing else and knows nothing about your conversation. | |
| questions | Yes | Map of question id -> question. Put every independent question about this state in the same call, including ones you may not need: they run in parallel and cannot see each other's answers. | |
| thresholds | No | Override the uncertainty thresholds for this call. Tighten them (e.g. confidence_high 0.9, noul_band [0.1, 0.9]) when acting on a wrong answer would be costly or irreversible. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| usage | Yes | ||
| answers | Yes | ||
| needs_escalation | Yes |