Start with the decision question
Compare versions to make a specific decision, not to discover which response looks more polished. The question might be: does the new version maintain correct classification, reduce incomplete responses, or improve tool selection without increasing critical failures? Each objective calls for a different sample and metric. Without this focus, a more detailed version may seem better simply because it writes more.
Also define the acceptance threshold before running the test. An average improvement does not necessarily offset a failure in an essential category, such as sending an incorrect argument to a tool or exposing content that should remain isolated. The decision should consider quality, consistency, operating cost, and the impact of regressions, but these factors need to be named and weighted in advance.
- Describe the task the workflow must perform in one verifiable sentence.
- Separate mandatory criteria, desirable criteria, and purely cosmetic criteria.
- Determine which failures block adoption, even if the average improves.
Sources and references: [1]
Freeze the sample and conditions
The comparison is interpretable only when both versions receive exactly the same cases, context, and supporting data. Build a sample that represents expected use, but also include ambiguous cases, malformed inputs, relevant languages, long conversations, and adversarial situations. Mix historical examples, cases selected by specialists, and cases extracted from available records, removing information that cannot be used in the test.
Freeze the list of inputs, retrieved documents, tool responses, and normalization rules. Record identifiers, dataset version, date, relevant configuration, and infrastructure failures. If the workflow has several stages, save intermediate outputs because the final response can hide a regression in classification, retrieval, or tool calling. Application specific evaluations are more useful than relying only on generic metrics, according to the evaluation guidance cited in the source.
- Divide the sample into common cases, boundary cases, and adversarial cases.
- Use a holdout portion for final confirmation, without tuning the workflow against it.
- Repeat identical conditions, including simulated tools and available documents.
Use blind evaluation when possible
Blind evaluation reduces the risk of favoring the known version. Generate responses from the current and candidate versions, shuffle their order, and replace their names with neutral identifiers. The evaluator, whether human or automated, should receive only the input, both outputs, and a rubric. For open ended tasks, paired comparison is often more informative than requesting an isolated score because it forces a decision about which response better meets the defined objective.
The rubric should explain what counts as correct, incomplete, dangerous, or irrelevant, with boundary examples. Ask for an approval or rejection decision for essential requirements and, separately, an overall preference. An automated evaluator can help scale the process, but it needs calibration against reference judgments. Control the order of the responses and avoid automatically rewarding longer texts, because both factors can distort the comparison.
Do not turn the evaluation into a contest for one average score. Analyze ties, disagreements, cases where one version wins by a small margin, and cases where the difference changes a business action. The practical recommendation is to decide by failure category first, then consolidate the result into a launch rule that stakeholders can audit.
- Show the responses in random order and alternate the candidates’ positions.
- Evaluate separate criteria, such as faithfulness, completeness, format, and correct action.
- Keep a brief justification for each preference or rejection.
Sources and references: [1]
Record regressions at the level where they arise
A regression is not merely a decline in the average. It can appear as a new error category, an unnecessary tool call, a poorly extracted argument, an incorrect transfer between agents, or a response that violates the expected format. Record the case identifier, version, observed behavior, severity, likely failure stage, and internal link to available artifacts. The record should make it possible to reproduce the case without relying on the memory of whoever tested it.
For workflows with tools, compare the complete trajectory: the decision to use a tool, the selected name, the arguments, the result received, and the final response. For agent workflows, also record changes in responsibility and stopping conditions. Documentation on agentic systems recommends starting with the simplest solution and adding complexity only when evaluation demonstrates a benefit; this rule helps prevent a regression from being hidden behind additional stages.
Consider a hypothetical example. A company has a workflow that classifies refund requests, looks up the order, and drafts a response. Version B improves the clarity of the final message, but in some cases extracts an incomplete identifier and looks up the wrong order. An average text quality score could favor B. A stage by stage record would reveal that the regression occurs during extraction, making it possible to fix the component or reject the version before expanding its use.
- Classify each regression by stage, severity, and observed frequency.
- Keep minimal reproducible examples for every important failure.
- Compare the executed path as well as the text delivered to the user.
Make the decision using an explicit rule
After the evaluation, use a decision table with four outcomes: adopt, adopt with restrictions, investigate, or reject. The candidate version should outperform the current version on the criteria that motivated the change, not merely show an aggregate advantage. If the result is tied, prefer preserving known behavior while the cause of the difference remains uncertain. If the candidate introduces a critical regression, treat improvements in other categories as insufficient until the risk is resolved.
Repeat the test set after every relevant change and add cases that revealed real failures to the permanent set. Record the complete configuration, date, technical person responsible for the experiment, and decision rationale, without confusing this record with a guarantee of future performance. Continuous evaluation is useful because probabilistic systems can vary and because the input distribution changes with use.
The most useful result for the business is not an abstract winner. It is a decision tied to real work: which behavior changed, which risk was accepted, which regression remains open, and what evidence will cause the team to revisit the decision. This structure makes comparison repeatable, even when the workflow grows from a simple call into several stages and tools.
- Define in advance which regressions cancel an adoption.
- Publish the result by category as well as the aggregate result.
- Turn relevant failures into new permanent evaluation cases.
Put it into practice
- Specify the comparison objective and the criteria that block adoption.
- Freeze the same sample, context, tool data, and configuration for both versions.
- Run a blind evaluation or, when that is not possible, alternate the order and separate the identifiers.
- Record results by case and by stage, including tool and transfer regressions.
- Document the decision, accepted risks, and cases that will enter the next round.
Common questions
Is the same sample enough to compare two versions?
It is necessary, but not sufficient. The sample also needs to cover common, boundary, and adversarial cases, while context, tools, and configurations remain comparable.
When is blind evaluation not feasible?
It can be difficult when a visual difference reveals the version or when the evaluator needs to inspect a specific execution. In that case, alternate the order, neutralize names, and record the limitation.
Does an average improvement offset a critical regression?
Usually not. If the regression affects an action, a piece of data, or an essential stage, treat it as a blocker until its cause is understood and a verifiable correction is defined.
Sources and references
- OpenAI: Evaluation best practices ↗Accessed on November 20, 2026
- Anthropic: Building effective agents ↗Accessed on November 20, 2026
- OpenAI: Safety in building agents ↗Accessed on November 20, 2026



