Evaluation and QualityExperiments and causal evidencePrincipal
How should teams decide whether to release a model that improves preferences but regresses a critical tool workflow?
By Amit Kumar4 min readWorked answer includedReviewed 26 Sept 2026
The question
Interview question
A shared model update improves pairwise preference by six percentage points, but tool errors rise in a small, high-impact agent workflow owned by another team. Decide what evidence is needed, who has release authority, and whether a partial rollout is appropriate. Address limited samples, shadow testing, version pinning and rollback. The workflow owner has not yet responded.
Draft your approach first
Take a few minutes before you read the answer. Name the constraint that matters most, the failure you are designing for and how you would know it worked.
Reveal the worked answerWorked answer
A preference win and a workflow regression can both be real. People may prefer the new model's explanations while it chooses the wrong tool, supplies an unsafe argument or mishandles an ambiguous result. The release decision needs evidence about the action path and its consequences, not just how attractive the final answer appears.
Clarify what the reported six percentage points means. Pairwise preference usually compares two outputs for the same task, but its denominator, tie handling, reviewers and task mix matter. Moving from 50 percent to 56 percent on a defined comparison is not a six-percent improvement in successful refunds or tool correctness. Keep the preference result as evidence about the measured experience, while evaluating the critical workflow on its own acceptance criteria.
Find the first diverging decision in failing traces. Did the model select a different tool, produce malformed arguments, choose the wrong account, repeat a write or announce success before completion? Did the tool schema, adapter or policy change at the same time? Replay matched inputs against pinned old and new configurations. Use side-effect-free fixtures for writes, with controlled tool responses and source revisions. Otherwise a changing environment can be mistaken for a model regression.
OpenAI's agent evaluation guidance points to evaluation of workflows and traces, which is useful here. The team's acceptance gate still needs to describe its own business invariants. A valid refund call might require the correct payment, an allowed amount, current authority, one operation identity and confirmed provider completion. A response that reads well after violating one of those conditions is not task success.
Small samples require care in both directions. Hypothetically, two failures in 20 cases give an observed rate of 10 percent, but not a precise production estimate. Inspect their severity and mechanism, then add independent cases that exercise the same boundary and cases from the actual workload. Repeated variations of the same seed cannot substitute for independent situations. A reproducible authorization bypass can block release without waiting to estimate its frequency. A harmless formatting change may instead need a compatibility fix and broader measurement.
Decision rights should follow the effect's ownership and blast radius. The platform team qualifies and versions the shared model and can block a platform-wide security defect. The workflow owner defines the business acceptance criteria and operational consequences of a change. An agreed risk authority resolves exceptional disputes. No team should silently replace every application's default because a general preference benchmark improved. Keep the affected workflow on its old pinned configuration while other qualified applications adopt the new version if the platform contract allows that separation.
The owner's silence is not evidence that the regression is acceptable. Package the failing traces, reproduction and proposed remedy for a concrete decision. Continue independent qualification work, but do not move that workflow by default without the established authority accepting its evidence. If the old model is being retired, name the continuity problem explicitly. The available choices may include a tested adapter, human review for a narrow action or temporarily reduced functionality, each with a clear owner.
Shadow testing runs a candidate alongside the live path without letting it perform real effects. It can compare proposals and identify differences, but it does not reproduce every consequence of a live action. A model that would receive a different tool result after its first different choice cannot be fully evaluated by replaying the baseline's remaining transcript. Use interactive fixtures and bounded experiments to explore those branches safely.
For a canary, define the eligible applications and exclude the failing workflow until its gate passes. Assign traffic consistently and record model, prompt, schema, policy and routing versions. Monitor action-level success, policy violations, corrections, latency and cost by slice. Prepare a rollback that restores the compatible configuration, not just the model name. A new prompt or adapter left behind can preserve the very regression rollback was supposed to remove.
A mixed-model workaround may be appropriate if one step has a clean interface, but it is another system to validate. The handoff must preserve state, authority and external operation identity. Recheck the general preference slices after a prompt or schema fix, since that repair can create other trade-offs. I would release only the qualified scope and move the critical workflow when its authorized owner has evidence that its action contract is preserved. The broad preference gain remains useful without being treated as permission for an unexamined consequential change.
Related questions
- How would you reconcile flat offline scores with lower online success after a prompt rollout?Principal
- When can historical routing logs support an estimate of a new model router’s quality and cost?Principal
- How would you explain and investigate a public coding-benchmark gain that does not transfer to private tasks?Principal
Keep practising evaluation and quality
Follow another question in this area, or search the complete library.
Get my essays on AI engineering and distributed systems by email. Subscribe to ArchCrux