D Decision models
01 / A model for the decisions inside software

What should
happen next?

Meet Jev.
A decision model from TypeSafe.

CI RUN #1842test_checkout ✕
ETIMEDOUT
GET /health
→
Jev
→
LIKELY CAUSEInfrastructure+ probabilities
02 / Two different jobs

Generate an answer.
Or evaluate a decision.

GENERATIVE LLM
State + prompt
↓
Generate response tokens
↓
“This looks like a network timeout.
It may be an infrastructure issue…”

Explain. Write tests. Synthesize.

JEV / DECISION MODEL
State + typed question + criteria
↓
Evaluate the allowed answers
↓
choice: "infrastructure"probabilities + confidence

Classify. Route. Score.

LLMs can also return schema-constrained JSON. Jev returns typed decisions without generating prose.

03 / One example throughout

A test failed.
Now make a useful call.

ci / checkout.spec.ts
FAIL  test_checkout

GET /health → ETIMEDOUT
Setup failed before assertion.

Runner could not reach
staging service.
NOULNetwork timeout present?
CHOICEWhich failure category?
SCOREHow disruptive is this?

Illustrative CI log and outputs. Public experiments: Jev CI Classifier ↗ · Flaky Detective ↗.

04 / Three answer shapes

Match the output
to the question.

Is there a
network timeout?

A probability that the statement is true.

noul: 0.96
0.96 P(yes)
No · 0Unsure · 0.5Yes · 1

Your code chooses the cutoff.
Noul has no separate confidence field.

Illustrative values. Multiple checks can be composed from separate Noul questions.

05 / An answer is only half the story

How clear
is the decision?

Infrastructure
0.90
Product
0.06
Test code
0.04

The probability distribution is the signal.

CHOICE CONFIDENCE0.85

One option clearly leads.

Confidence summarizes the distribution. It is not the winning probability or a guarantee of correctness.

06 / Keep the policy in your code

Model judgment.
Engineering control.

JEVDecision
+ confidence
CLEAR + VALIDATEDRoute to the right owner
UNCERTAINGather more evidence
LOW CONFIDENCEEngineer review
PermissionsRetry limitsReview thresholdsStay in code.

A timeout alone does not prove flakiness. Validate thresholds on labeled cases before automating actions.

07 / A place in the test toolchain

Small decisions.
Repeated everywhere.

01

Author

Does this test cover
the stated requirement?

NOUL
02

Select

Which test suite
should run?

CHOICE
03

Triage

How disruptive
is this failure?

SCORE
Typed output→ less output plumbingBounded questions→ targeted evaluationUncertainty signal→ review policy

Illustrative toolchain ideas. Public CI experiments exist; test authoring and suite selection here are proposed applications. Keep the LLM for test generation and investigation.

08 / From a useful interface to evidence

Does it hold up
on real cases?

193.6× faster. 444.6× cheaper?
Our benchmark tests the tradeoffs.

125cases
×
6models
→
QualityLatencyCostMisses
Explore the benchmark results ↗

Five saved workflows: prompt injection, PII, answerability, moderation, and tool choice.
The CI walkthrough above is illustrative; CI triage was not part of this pilot.