Blog

The default changed under you

If your code calls Jev with jev-latest, the version answering your customer decisions can change without anyone on your team shipping anything. No deploy, no config change, no pull request. One day a claim, a credit application, or a case is decided by one version; the next day, a different one answers.

That just happened. jev-latest recently moved to a new version. If you route claims, credit, or case decisions through that alias, your decisions are now coming from a different version than they were last week, whether or not anyone noticed.

This post is about making that kind of change visible, deliberate, and reversible.

Why a moving default is a risk for decisions

Aliases like jev-latest are convenient. They're great for prototypes and for trying new capabilities. But for decisions that affect customers, convenience cuts the wrong way:

  • Behavior changes without a change on your side. A new version may be better on average and still decide some of your cases differently.
  • Your thresholds were tuned for the old version. If confidence scores shift, a cutoff that used to send 5 cases to review might now send 50, or none.
  • You can't explain past decisions. When someone asks why a claim was denied in March, "whatever jev-latest was that day" isn't an answer.

Step 1: Pin a specific version

Name the exact version in your config, and treat changing it as a code change.

# decisions.yaml
jev:
  model: jev-1.13.0        # pinned. Do not use jev-latest in production.
  instructions: prompts/claims-triage-v7.md
  confidence_threshold: 0.82
  project: claims-triage

Now the version changes only when someone edits this file, and that edit goes through review like any other change.

Step 2: Record which version actually answered

Pinning says what you asked for. The response's model field tells you what answered. Record it on every call, along with enough context to reconstruct the decision:

import hashlib, json, time

def record_decision(resp, instructions_text, threshold, project, case_id):
    entry = {
        "ts": time.time(),
        "case_id": case_id,
        "project": project,
        "model": resp["model"],  # the version that answered
        "instructions_sha256": hashlib.sha256(instructions_text.encode()).hexdigest(),
        "answer": resp["answer"],
        "confidence": resp["confidence"],
        "threshold_applied": threshold,
        "outcome": "auto" if resp["confidence"] >= threshold else "review",
    }
    append_to_decision_log(json.dumps(entry))

The instructions hash matters as much as the version: change the prompt and you've changed the decision-maker, even on the same model. The threshold matters because it's your code that turns a confidence score into an outcome. We cover the fields in more detail in our earlier guide, the minimum record for a Jev decision.

A useful check: alert when the recorded model doesn't match the version you pinned. That's how you catch a default that moved under you.

Step 3: Before upgrading, retest on your own past cases

Public benchmarks and leaderboards test someone else's cases. They can tell you a new version is generally capable. They can't tell you how it will decide your claims, your applicants, your edge cases, against your thresholds.

Before moving to a new version:

  1. Pull a sample of your past cases, including the hard ones: borderline confidence, overturned decisions, escalations, complaints.
  2. Run them through the candidate version with the same instructions and threshold.
  3. Compare outcomes case by case, not just in aggregate. An unchanged approval rate can hide many decisions that flipped in both directions.
  4. Review every decision that changed. Each flip is either an improvement, a regression, or a sign your threshold needs retuning. Someone with domain knowledge should look at each one.
  5. Check the confidence distribution. If scores shift, decide whether to adjust the threshold before promoting, not after.

Step 4: Promote on the record, keep a rollback path

When the retest looks good, make the upgrade a recorded decision:

  • Who approved it
  • When it took effect
  • Why: a link to the retest results and the review of changed decisions
jev:
  model: jev-1.14.0
  previous_model: jev-1.13.0   # rollback target
  promoted_by: claims-platform-oncall
  promoted_at: 2026-10-22
  change_ref: RISK-1182         # retest + changed-decision review

Keep the previous version ready. If something looks wrong after promotion, rolling back should be a one-line change, not an investigation. And because every call records the model that answered, you can tell exactly which decisions came from which version on either side of the switch.

The short version

  • Don't let jev-latest decide customer outcomes in production. Pin a version.
  • Record the model field, instructions hash, answer, confidence, applied threshold, and project on every call.
  • Retest on your own past cases and review every decision that changed.
  • Promote on the record and keep a rollback path.

Where ModelMesa fits

ModelMesa keeps a governed record of every decision you route through ModelMesa: which version answered, under which instructions, with what confidence and threshold. That produces evidence for your compliance program. Replay of Jev decision traffic that a project has opted in to capture, so you can retest a candidate version on your own past cases, is coming soon. You can join the early-access list at modelmesa.com.