Compare a product behavior, not two labels
After defining quality and operating cost, you can compare Jev with another system. comparison runner: a versioned runner that gives systems equivalent evidence and answer meanings, records every attempt, and applies the same downstream policy keeps the task constant. Freeze state, reference labels, questions, answer space, deadlines, retry budget, and failure accounting.
Create an equivalence table before running anything. For each semantic output, name the Jev primitive, the comparator schema field, the allowed labels, missing-value behavior, and how policy consumes it. Flag outputs that have no honest equivalent. A generative explanation, for example, should not be scored as though Jev were asked to generate prose. Conversely, a Jev distribution should not be discarded merely because the comparator emits only a label. The table determines which comparisons are valid and which are workflow-specific.
Jev returns native probabilities for bounded primitives. A generative model may return prose, strict structured output, prompted JSON, or one discrete selection. These are different interfaces. TypeSafe's System One adapter can map equivalent question objects onto other providers, but interface comparability does not establish semantic equivalence. The adapter's confidence calculations are local algorithms, and discrete one-hot answers contain artificial certainty. Never compare them as native calibrated probability distributions.
from system_one_adapter import SystemOneAdapterClient, Choice, RetryPolicy
questions = {
"queue": Choice(
instructions="Which queue directly owns the ticket?",
criteria={"billing": "Charges", "technical": "Product failure", "review": "No clear owner"},
)
}
with SystemOneAdapterClient(
structured_outputs=True,
llm_answer_mode="probabilities",
normalize_probabilities=True,
n_retry_malformed_structure=1,
retry_policy=RetryPolicy(max_retries=0),
) as client:
result = client.system_one(
state={"ticket": {"message": "The invoice API returns 403"}},
questions=questions,
provider="openai",
model="the-exact-version-under-test",
)
# Retain result.debug, usage, adapter settings, provider parameters, and all attempts.
Trace this example from input to result
Customer choice
A team evaluates Jev against an existing LLM classifier.
Request or event
The runner loads one frozen row and identical semantic question pack.
Backend behavior
Each adapter receives equivalent evidence, all attempts are recorded, and one policy converts responses into route or review.
Customer sees
Reviewers compare customer outcomes rather than cherry-picked successful labels.
Diagnostic reasoning
Check state parity, answer-space parity, adapter mode, retries, malformed responses, probability meaning, and downstream policy before attributing a difference to a model.
Normalize what can be normalized
Use the same source state and avoid giving one system explanatory context the other lacks. Preserve model-specific serialization because forcing identical prompt text can disadvantage a native API, but document the transformation. The semantic instruction, criteria, and options must mean the same thing. If one system can choose other, the other must have an equivalent escape.
Structured-output LLM mode can enforce a JSON schema, while prompted JSON may produce malformed output and corrective retries. Count malformed responses, correction turns, truncation, and provider retries. If a system fails to return a usable decision within the deadline, record a failure rather than dropping the row.
Randomize execution order or interleave systems so a transient provider event does not affect only one arm. Preserve a common logical fixture ID and separate request IDs. Warm-up behavior, connection reuse, and concurrency can alter latency, so document the runner configuration. If rate limits differ, compare behavior under the load each product design actually requires and report throttling rather than silently slowing one arm until errors disappear.
Compare requested and returned model versions, tokenizer usage, input and output cost, end-to-end latency, attempts, and availability. Jev output is currently free by documented pricing, while a generative provider can bill output; use actual invoices or current rate cards. Do not publish original service benchmarks without checking the applicable agreement.
| Customer sees | Application does | Jev returns |
|---|---|---|
| The same route or review policy in both arms | Normalizes semantic answer meanings and applies one policy | Native typed answers and distributions |
| A review result when either arm fails | Counts unavailable and malformed outputs in the denominator | An answer or classified service failure |
The LLM looks perfect after failed rows disappear
200 fixtures · 17 malformed outputs excluded · reported n=183Restore all 200 rows. Treat each unusable result according to the production fallback, then compare downstream actions. Inspect whether schema mode, truncation, or retry configuration caused failures. A comparison of only successful responses answers a different question from production reliability.
Interpret probability and confidence honestly
A Jev Noul probability is the probability of yes for its semantic question. Choice and Score return distributions; their confidence summarizes concentration. An LLM's emitted numeric field may be an unsupported self-report. In adapter probability mode, the prompt requests a distribution, but calibration must still be evaluated. In discrete mode, one-hot conversion merely represents a selected label.
Measure label metrics and downstream action outcomes for every system. Evaluate calibration only for comparable probability objects, with Brier or log loss and reliability views. If a system exposes only a label, compare selective accuracy under a separate abstention signal or omit probability claims. Do not infer that 0.9 from two systems means the same thing.
Review disagreement cases blind to system identity. Classify missing evidence, ambiguous reference, semantic error, policy threshold, malformed output, and service failure. This prevents reviewers from explaining away errors from a preferred provider. When the reference itself is disputed, resolve the rubric or mark the row ambiguous instead of awarding a convenient winner. Report how many rows changed after adjudication and whether conclusions survive that change.
Fairness also requires equivalent policy opportunity. If Jev uses a no-match Noul alongside a Choice, give the comparator an equivalent absolute-suitability output. If one arm receives retrieval candidates and another sees the full corpus, you are comparing workflows, which may be valid, but name the comparison accordingly.
Dig deeperWhen workflow comparison is the right question+
Products purchase outcomes rather than isolated model calls. A Jev workflow may use deterministic retrieval, parallel typed questions, and code-owned thresholds. An LLM workflow may combine retrieval and generation. Compare both complete designs when deciding what to ship, but also run boundary tests to explain why they differ. Report retrieval coverage, semantic quality, malformed output, retries, review load, and action correctness. This keeps an architecture advantage visible without pretending it is a pure model benchmark.
Write a decision report with limits
The report should state the dataset source, synthetic content, date range, split, label process, exact model/version, adapter mode, questions, provider parameters, retries, deadlines, pricing date, and metrics. Show confidence intervals and slice counts. Attribute vendor results and community claims. Avoid universal claims from a narrow support dataset.
Keep the raw run artifact immutable and derive tables from code. A reviewer should be able to trace a headline metric to fixture outcomes and all attempts. If legal terms prevent publishing service benchmarks, separate internal adoption evidence from public course claims. The public explanation can still teach the runner, probability caveats, and decision criteria without disclosing restricted performance results.
Choose the system by explicit product priorities: action quality, safe abstention, service reliability, privacy terms, operational burden, and total cost per successful decision. A small accuracy difference may not justify a new failure mode; a lower token bill may not survive review labor. Preserve the rejected system's strongest result and the chosen system's weakest slice so the tradeoff remains reviewable.
Before recommending a winner, rerun the report calculation from the stored attempt ledger. Confirm that token totals include corrective and transient retries, latency begins before serialization and ends after validation, and the denominator includes timed-out rows. Then inspect action disagreements rather than only label disagreements. Two systems may choose different labels yet both enter review under the shared policy; conversely, a small probability movement can cross a threshold and change customer behavior. Record both cases so reviewers can see whether the measured difference matters to the product.
Design a fair comparison
Your answers stay in this browser. Write enough that another engineer could continue the investigation.
Check your understanding
Make structured-decision comparisons fair by matching semantic tasks, retaining failed rows, distinguishing native probability from adapter confidence, and judging the complete customer outcome.