Series II: From infrastructure to agentic projects in production. Episode 11 out of 20.
A programming agent can impress in a demo and yet produce changes that are hard to accept in a company project. For the fictional B2B portal used in this series, the decision is a concrete one: which tasks can we delegate to it, and what should we check? The answer requires a project evaluation set, with observable outcomes, a working budget, and someone responsible for acceptance.
In the episode about shared memory, we established how to retain confirmed decisions. Now we use those decisions as controlled context. We evaluate the agents developing the portal; any future agents integrated into the app will have their own evaluations, focused on user actions.
What a score means and what needs checking locally
A benchmark is a set of tasks and a measurement protocol, used for comparison. “State of the art”, meaning cutting-edge performance, only makes sense if the task, protocol, and date of comparison are specified. A public score can justify investigating a tool, but by itself doesn't determine what is worth delegating to our portal.
SWE-bench applies the generated changes to actual repositories, i.e., codebases, and runs tests in Docker, a platform for containerized app execution. The result describes whether those tests resolve the tasks. The UTBoost paper, published at ACL in July 2025, identified in its evaluation changes that were accepted by tests but didn’t actually solve the issue. The practical takeaway is that the strength of the evidence also depends on the evaluator. The study does not claim that all scores or all generated changes are wrong.
We evaluate the full stack: the model, instructions, context, tools, and environment. The system that connects the model to tools and drives execution is sometimes called a harness. Changing this can alter the results even if the model stays the same. That’s why local comparison starts with an identifiable configuration, not just the agent’s brand name.
An initial set for the B2B portal
We propose six tasks inspired by the portal’s functions. This is a test scenario, not real client results. Each task starts from a known version of the code and includes a description, sample data, expected behavior, and acceptance criteria prepared before execution.
Task | Minimal proof for acceptance |
|---|---|
Validating a request form | Valid entries are accepted; missing required fields return helpful messages. |
Correcting document access | The owning organization can read; another organization is denied access. |
Paginating the request list | The order is stable; no omissions or duplicates appear with fixed data. |
CSV export—a table file with delimiter-separated values | Columns, diacritics, and values with delimiters are correctly preserved. |
Refactoring a component—reorganizing code without changing its behavior | The existing behavior remains validated, and the public contract is unchanged. |
Investigating an incompletely described error | The agent reproduces the problem or requests the needed information before making speculative changes. |
The set combines typical, edge, and rejection-required behaviors. Six tasks are a suggested starting point, not enough for broad statistical conclusions. We expand the set with relevant issues discovered during work. We separate tasks used for instruction refinement from those reserved for final validation, to avoid optimizing solely for already-seen examples.
Before comparing, a developer prepares a reference solution and confirms that it is accepted by the evaluator. They also check an intentionally wrong variant, which should be rejected. The criteria describe the required behavior without unnecessarily enforcing the same implementation as the reference. For pagination, for example, we specify what order must be preserved and what happens on the last page. The agent can choose a different solution as long as it meets the contract. Any new requirement discovered during review is added to a new version of the task, not retroactively penalized.
Verification must be independent
An evaluation compares the actual result to the set criteria. The message “I fixed the problem” is not proof. We run the code, inspect the resulting data, and review the code difference, called a diff. Acceptance tests are managed independently from the evaluated agent; the agent can suggest extra tests but cannot weaken official checks to get a favorable result.
An regression means the breakdown of something that previously worked. Besides testing the new requirement, we run relevant checks for existing features. We also add type analysis, style checks, and security controls as needed for the project. Passing them does not prove the absence of all defects. A human reviewer checks readability, architectural compliance, and any unnecessary changes.
An AI-powered evaluator can flag issues in explanation or structure using an explicit rubric. We periodically compare its verdict with that of a specialist. The Anthropic guide from January 9, 2026 recommends combining code-based, model-based, and human evaluators depending on the task. For the document access rule, passing the test and verification of implementation remain mandatory; a favorable style score does not compensate for unauthorized access.
Fair comparisons and repeated attempts
We record the code version, model, tool version, instructions, context sources, and available memory. We set time and resource limits and a policy for human interventions. We use an isolated environment, synthetic data, and test credentials. Each attempt starts cleanly, with no leftover solutions or conversations from the previous attempt.
Reproducibility means that someone else can follow the protocol and understand the result; it does not promise an identical response every run. We recommend several attempts per task, all using the same budget, and report all outcomes. Keeping only the best attempt would hide the variation the team is likely to encounter.
We distinguish between an incorrect change and a test that cannot run due to the environment. The Anthropic publication from February 5, 2026 shows in their own experiments that resources and enforcement of limits can affect scores. Our report includes the total number of attempts and infrastructure errors; we do not omit them without explanation. If a requirement is ambiguous or the evaluator rejects a valid solution, we correct the protocol and re-evaluate the affected configurations.
The record supporting the delegation decision
For each task, the record logs the accepted or rejected outcome, tests, regressions, interventions, execution time, review time, and tool-reported consumption. Cost is calculated based on actual usage and applicable commercial terms. We track the time to an accepted change, including fixes, not just the speed of the first solution.
We compare configurations on the same tasks and against the team's current workflow. A configuration may be suitable for form validation but still inadequate for authorization changes. A useful decision is a list of delegate-able tasks with the necessary checks, not a blanket agent approval. An inter-organizational access issue blocks acceptance of that change, regardless of aggregate outcomes.
The result of the episode is a small evaluation set and a reusable acceptance record. We revisit them when the model, tools, or instructions change and keep a history of configurations. The next episode adds dependency and component provenance checks: code functioning is just one part of the delivery decision.
Sources
Documentation and works reviewed as of October 12, 2026:
- SWE-bench, Evaluation Guide, for evaluating changes and interpreting results.
- Anthropic, Demystifying evals for AI agents, January 9, 2026, engineering guide for evaluators and repeated trials.
- Yu et al., UTBoost: Rigorous Evaluation of Coding Agents on SWE-Bench, ACL, July 2025, on the limitations of insufficient tests for the tasks investigated.
- Anthropic, Quantifying infrastructure noise in agentic coding evals, February 5, 2026, on the effect of execution conditions in the authors’ experiments.
Evaluate agents on your product’s tasks
Want to test coding agents on tasks representative of your product? Talk to the i8 team about acceptance criteria and a verifiable pilot.



