How to Evaluate AI Coding Agents: From Generation Speed to Delivery Quality
This article explains how to evaluate agentic AI coding systems by their ability to complete tasks, not just by the quality of their answers. It covers three core capabilities, a verifiable mobile weather web page task, five technical abilities to assess, how to measure total delivery time, and the quality gates and permission boundaries needed for real-world use.
1. Focus Evaluation on Task Completion, Not Just Answer Quality
AI coding systems are changing. They no longer only generate code snippets from a prompt. Given a goal, they can keep analyzing requirements, searching for reference material, editing files, running verification, and fixing errors.
This way of working is often called agentic development. What matters most is not how long a single output is. It is whether the system can keep its goal consistent across many tool calls and adjust its plan based on execution feedback.
So when evaluating a coding agent, at least three capabilities should be separated:
- Code generation: Can it write well-structured, syntactically correct implementations?
- Engineering execution: Can it work within a project environment and handle dependencies, paths, builds, and runtime issues?
- Closed-loop delivery: Can it verify results, find defects, keep fixing them, and ultimately deliver an application that meets the acceptance criteria?
These three capabilities are not equivalent. One system may generate a large amount of code quickly but fail to notice that a page is covered, scrolling is broken, or a state switch misbehaves. Another system may be slower on the first pass but repeatedly verify and fix the app until it works. For real development, the second system is often more valuable.
The central question in technical evaluation should shift from “How long did it take to write the code?” to “What quality of task was completed, at what cost, and with how much human intervention?”
2. Building a Verifiable Task with a Mobile Weather Web Page
A mobile weather web page is a comprehensive task for observing agent capabilities. It involves visual layout, interaction behavior, dynamic effects, and adaptation across devices. It can also expose many engineering problems without requiring complex backend business logic.
However, the requirement should not simply be “make it look like a certain app.” That wording lacks verifiable criteria, and it encourages the agent to focus on surface imitation.
A more reasonable requirement can be written as:
Build a mobile weather web page that includes current weather, an hourly forecast, a multi-day forecast, and city switching. Support demo weather states such as sunny, rainy, and snowy, with matching dynamic backgrounds. The page should adapt to different screen sizes, support touch, mouse wheel, and trackpad interaction, and provide a reduced-motion mode. Develop the page with local demo data, and deliver run instructions, test records, and known limitations.
This description breaks the task into observable outcomes and sets a clear data boundary. Demo weather states do not provide real weather data.
1. Make Functional Requirements Specific to Behavior
“Support multiple weather types” needs more precision:
- When the weather type changes, do the text, icons, and background update together?
- Does city switching keep the correct data mapping?
- Can the hourly forecast be browsed horizontally?
- Is the multi-day forecast displayed in full?
- How are loading, empty data, and error states handled?
Without these conditions, an agent can easily treat “showing a few different icons” as a completed feature.
2. Turn Visual Requirements into Layout Constraints
Visual acceptance should focus on information hierarchy, spacing, contrast, and screen adaptation. Judging whether a screenshot “looks similar” is not enough.
For example, the current temperature should sit in the main visual area. Forecast cards should not crowd out core information. Text should remain readable over dynamic backgrounds. Narrow screens should not truncate content. A device frame can help with presentation, but it should not become part of the actual page structure. It also should not hide real scrolling or layout problems.
3. Cover Multiple Input Methods in Interaction Requirements
Mobile web pages are often tested in desktop browsers too. Verifying only touch swiping misses the event behavior of mouse wheels and trackpads.
This matters most when a page has a vertical scroll area, a horizontal forecast list, and a full-screen animation layer at the same time. Problems can include events being intercepted incorrectly, scroll containers with the wrong height, and transparent layers blocking clicks. Static screenshots cannot reveal these defects.
3. Five Technical Capabilities Worth Watching
1. Task Planning: Can the Agent Break a Vague Goal into a Stable Path?
A reliable agent should first identify the key constraints of a task, then decide the order of implementation. For the weather page, a reasonable path usually looks like this:
Requirements summary → page structure → data and state → basic interaction → dynamic effects → adaptation verification → defect fixing
This order reduces the risk of rework. If the agent spends heavy effort on particle animations before discovering that the page structure cannot scroll, the earlier work may need to be redone.
A longer plan does not automatically indicate stronger capability, though. An effective plan includes clear phase outputs, risk notes, and acceptance conditions. It also gets adjusted in time as execution reveals new information.
2. Tool Execution: Can the Agent Act on the Real Environment?
An agent may need to read directories, modify files, start a development server, and call a browser for verification. The most important requirement is that actions and evidence match.
For example, the agent should confirm the project location before modifying files. After a failed run, it should read the specific error instead of repeating the same action. Before checking a page, it should confirm that the access address corresponds to the current build.
A wrong path may look like a small mistake, but it can trigger a chain of errors: reading the wrong file, editing the wrong directory, and testing an old version of the page. The result is false progress, where many changes were made but the actual problem remains unsolved.
Therefore, the number of tool calls is not a valid measure of work. What matters more is whether each operation reduced uncertainty and moved the task closer to its acceptance goals.
3. Self-Correction: Can the Agent Run an Observe, Locate, Fix, and Retest Loop?
Automatic screenshots and test runs are only the basics. What matters is whether the agent can explain the cause of a failure and choose a fix that matches the evidence.
Take a page that cannot scroll. The cause may be:
- An outer container restricting overflow;
- The content area not forming a scrollable height;
- A full-screen background layer intercepting input events;
- Event handling logic canceling the default scroll behavior;
- Fixed positioning conflicting with nested containers.
If the agent only keeps adjusting the page height, it may improve the screenshot by accident while introducing new adaptation problems. A reliable repair process checks each related structure in turn. After each change, it retests touch, wheel, and trackpad behavior.
4. Context Retention: Does the Agent Still Track the Acceptance Goal in Long Tasks?
Agentic development often runs across many rounds. As conversation history, logs, and code snippets accumulate, the system must compress or organize past information.
The evaluation should focus not only on how much text the system can process, but also on whether the compressed context keeps the key facts:
- The features the user originally requested;
- Completed and unfinished items;
- Important architecture decisions;
- The current cause of failure;
- Approaches that were tried and did not work;
- The conditions the final delivery must meet.
A common engineering practice is to keep a short task state file in the project. The file records the requirement checklist, current progress, and verification results separately. This reduces goal drift that happens when the agent relies only on session memory.
5. Completion Judgment: Can the Agent Tell “Generated” from “Delivered”?
Being able to open the page does not mean the task is finished. A reliable agent should provide verifiable evidence of completion, such as which scenarios passed, which issues remain open, and what conditions are needed to run the app.
If a system declares completion without testing key interactions, the delivery is less trustworthy, even when the code looks complete. Accurately stating known limitations reflects engineering maturity.
4. Fast First Generation Does Not Necessarily Mean Fast Total Delivery
When measuring speed, record at least three time points:
- When the first code is produced;
- When the app first reaches a basic runnable state;
- When all agreed acceptance items first pass.
Each metric has a different value. Fast prototypes suit exploring approaches, but production work depends more on the final delivery time.
End-to-end cost can be understood with this relationship:
Total delivery time = understanding and planning time + initial implementation time + verification time + repair time + human intervention time
Record human intervention time separately. When users add requirements, help locate errors, or adjust the environment by hand, the difficulty of the task changes. If one test is completed fully autonomously and
