Evaluating AI Coding Agents: Key Technical Capabilities and How to Assess Them in Real Engineering Work
AI coding agents are moving beyond one-shot code generation toward sustained, goal-driven development. This article explains how to evaluate them across planning, iterative debugging, automated testing, long-task stability, interaction quality, and security boundaries, and offers a reproducible methodology for measuring real engineering value instead of demo performance.
1. Evaluating AI Coding Ability: From “Generating Code” to “Delivering Results”
AI-assisted programming is shifting from one-off Q&A-style assistance to agentic development that can execute tasks continuously. The most important difference is not how much code is produced in a single output, but whether the system can work toward one goal and continuously complete requirement understanding, project inspection, code modification, runtime verification, and defect fixing.
Take an interactive page with complex animations as an example. Code that compiles does not mean the task is done. The page may fail to render correctly, animations may break at specific viewport sizes, or the page may only be scrollable by dragging the scrollbar while ignoring trackpad gestures. What truly determines delivery quality is whether the system can detect these issues, find their causes, and fix them without breaking existing functionality.
When evaluating technical capabilities, three layers should be distinguished:
- Generation ability: Can it turn requirements into well-structured code?
- Execution ability: Can it invoke the necessary tools to build, launch, inspect, and test?
- Convergence ability: Can it progressively eliminate defects based on feedback until explicit acceptance criteria are met?
Convergence ability is the easiest to overlook in short demos, yet it often has the greatest impact on real engineering value.
2. Task Planning: Longer Is Not Better—Reducing Execution Risk Is What Matters
Complex development tasks usually involve multiple interdependent steps. If an agent modifies entry files before understanding the project structure, it may misjudge paths, re-implement existing features, or break established style conventions.
A more robust approach is to build the minimum necessary understanding of the project before moving into implementation.
2.1 Confirm the Environment and Constraints First
Before modifying code, the agent should identify:
- The project’s directory structure and main entry points.
- Existing build and test workflows.
- Reusable components, styles, and assets.
- Whether the working tree contains uncommitted changes.
- Which directories are writable and which operations require human confirmation.
This is not a ceremonial preparation step. Errors in path identification or environment assumptions can cause large amounts of subsequent work to be built on wrong premises—long execution times that never converge on the goal.
2.2 Turn Vague Requirements into Verifiable Conditions
Phrases like “make it polished,” “smooth animations,” or “mobile-friendly” are directional descriptions, not strict completion criteria. The agent should decompose them into observable behaviors, for example:
- First-screen content displays fully, without occlusion or overflow.
- The page supports mouse wheel, trackpad, and touch scrolling.
- After animations finish, content remains accessible.
- Primary action entry points stay visible across viewports.
- Key interactions trigger no unhandled exceptions.
The clearer the acceptance conditions, the easier it is for the agent to decide whether to keep modifying or to conclude the task.
2.3 Use Phased Plans Instead of Predicting Every Detail Upfront
A sound plan leaves room for adjustment. One approach is to build the basic page first, wire up key interactions next, and finish with compatibility and edge-case checks. Each phase produces a runnable result, which helps expose wrong directions early.
The value of planning is not generating an impressively complex task list—it is reducing high-risk assumptions so problems surface while they are still cheap to fix.
3. “Minimal Version First, Then Iterate”: Value and Boundaries
Building a minimal viable version first and then iterating against real feedback is a common software development strategy. For AI coding agents, it shortens the first verification loop: only when the page actually runs do conflicts among layout, animations, and input events fully surface.
But one point must be clear: continuous fixing is a valid method; an unusable first attempt is not, by itself, a result worth celebrating.
3.1 A Minimal Version Should Still Be Basically Usable
A minimal version can lack decorative details, but it should satisfy: the core path runs, primary content is visible, and basic operations work. If the first version cannot even open the page, subsequent fixes are not experience optimization—they are backfilling basic correctness.
Delivery states can therefore be recorded as distinct stages:
- Buildable: The code passes basic build checks.
- Runnable: The application starts and the page loads.
- Operable: Primary user flows can be completed.
- Acceptable: Functional, interaction, and stability requirements are met.
Recording these states separately is more engineering-meaningful than a blanket claim of “done.”
3.2 Fixes Must Converge Around Defects
Effective iteration looks like this: high-priority defects steadily decrease, existing features remain stable, and the scope of new changes gradually shrinks.
Ineffective iteration may look like: repeatedly rewriting large code blocks, constantly switching implementation approaches, the same problem recurring multiple times, or fixing only whatever a screenshot happens to show.
Therefore, an agent “working for a long time” is not evidence of strong capability. What matters more is whether it reaches stable conformance with acceptance criteria using less repeated effort.
4. The Core of Automated Testing: Let Observations Drive the Next Decision
A key capability of agentic development is incorporating runtime feedback into decision-making. An effective loop can be summarized as:
Execute an action → collect evidence → form a hypothesis → make a minimal change → run regression checks.
4.1 Different Evidence Solves Different Problems
Automated checks should not rely on screenshots alone; they should combine multiple signals:
- Build output for syntax, type, and asset-reference problems.
- Runtime logs for initialization failures and exception paths.
- Browser console output for script errors.
- DOM inspection to confirm elements exist and are not obscured.
- Screenshots for layout, layering, and visual results.
- Input-event tests to verify real behaviors such as scrolling, clicking, and dragging.
A correct screenshot only proves the visual state was as expected at one moment. It does not prove the interaction flow is correct, and certainly not that all viewports and input devices are supported.
4.2 Establish a Testable Cause Hypothesis Before Fixing
For example, if a page cannot scroll down, possible causes include the root container disabling scroll, a fixed-position overlay covering the page, event listeners preventing default behavior, or animation logic incorrectly taking over scroll position.
A more reliable process is:
- Confirm the page area and input method where the problem occurs.
- Inspect the scroll container and its size relationships.
- Check whether event handlers block default scrolling.
- Determine whether the problem comes from layout constraints or animation control.
- Modify only the code related to the current hypothesis.
- Re-verify with the same operation and check other interactions.
This process reduces the chance of “accidentally fixing one symptom while introducing another problem.”
4.3 Regression Tests Should Cover the Affected Scope
After modifying shared layout, check multiple page regions. After adjusting input events, re-verify that clicking, dragging, and scrolling do not interfere with each other. After changing animation state management, verify repeated entry, reverse operations, and viewport resizing.
An agent’s maturity shows not only in whether it can fix the current error, but also in whether it understands the blast radius of its changes.
5. Long-Task Stability: The Key Is Explicit State Management
Complex tasks can run for a long time. As file contents, tool outputs, and debugging records accumulate, available context becomes limited. Relying solely on conversation history easily leads to forgotten requirements, repeated attempts, and stale conclusions being carried forward.
5.1 Separate Goal State from Process Logs
What is most worth preserving in a long task is not every operational detail, but the information that supports the next decision:
- The original goal and immutable constraints.
- Completed and verified functionality.
- Unresolved problems and their priorities.
- Approaches already tried that did not work.
- The current working hypothesis.
- The next action and its corresponding acceptance condition.
This information should form an updatable task summary, not remain scattered across lengthy logs.
5.2 Explicitly Mark “Fact,” “Speculation,” and “Unverified”
“Scroll logic has been modified” is a fact. “It probably fixes the trackpad issue” is speculation. “Trackpad scrolling works normally again” must be backed by verification evidence.
If context compression turns speculation into conclusion, later execution tends to skip necessary checks. Reliable state records always preserve evidence boundaries and avoid equating “code has been written” with “the requirement is complete.”
6. Interaction Quality Cannot Be Replaced by Visual Acceptance
Pages with animations are especially prone to the “looks done, actually unusable” problem. Adding device-frame decorations, adjusting proportions, or polishing the background improves presentation, but proves nothing about real-device usability.
6.1 Trackpad and Mouse Wheel Are Not Fully Equivalent
The two can produce scroll events of different frequencies and magnitudes. If an implementation maps every event to a fixed distance, or over-intercepts scroll input, the result can be jumping, lag, or an inability to browse continuously.
A more robust principle is to prefer the browser’s native scrolling and only add animation coupling when genuinely needed—avoid taking over input behavior wholesale for the sake of visual effect.
6.2 Cover Multiple Input Paths
Interaction acceptance should consider at least:
- Mouse click and wheel operations.
- Continuous trackpad scrolling.
- Touch swiping.
- Keyboard focus movement and operation.
- Content access under reduced-motion preferences.
Automated simulation can catch obvious problems, but complex gestures, device differences, and real hand feel may still require manual spot checks.
6.3 Animations Should Degrade Gracefully
If animations fail to load or the user prefers reduced motion, primary content should remain visible, readable, and operable. Decoupling the accessibility of business content from decorative animation is generally more robust than controlling the page entirely through animation progress.
7. How to Build a Reproducible Evaluation Methodology
The subjective experience of a single task has reference value but is not proof of general capability. Task difficulty, initial project state, permission configuration, network conditions, and supplementary human input can all influence the outcome.
7.1 Fix the Experimental Conditions
For the same class of task, keep the requirement text, starting code, runtime environment, resource limits, and acceptance criteria as consistent as possible. If new requirements are added mid-run, record them separately instead of attributing all changes in outcome to the agent’s execution ability.
7.2 Record Time, Quality, and Human Effort Together
It is recommended to observe at least the following metrics:
| Dimension | What to Observe |
|---|---|
| Time to first runnable state | From start of execution until the app launches and shows core content |
| Time to final acceptance | From start of execution until all predefined conditions are met |
| Number of human interventions | Times a human corrected errors, supplied key environment info, or modified code directly |
| Defect convergence | Whether problems steadily decrease or keep recurring |
| Regression quality | Whether changes break existing functionality |
| Resource consumption | Model calls, tool executions, environment and human review costs |
| Stability across repeated runs | Variance of results under identical conditions |
Output speed is only one of these dimensions. Fast generation that requires heavy human rework is not necessarily cheaper than a more careful approach that converges stably.
In addition, analysis summaries displayed in the interface should not be treated as a complete internal reasoning process, and capability should not be judged by their wording, length, or display speed alone.
8. Engineering Deployment Requires Permission Boundaries and Stop Mechanisms
An agent that can modify files, run processes, and access the network can also perform operations beyond what the task needs. The stronger the capability, the clearer the constraints must be.
It is recommended to run automated development tasks in isolated environments, follow the principle of least privilege, and retain version snapshots and operation logs. Operations involving production deployment, data deletion, permission changes, sensitive information access, or sending data externally should require human confirmation.
Stop conditions should also be defined:
- Multiple consecutive rounds of modification produce no verifiable progress.
- The same defect keeps recurring.
- The scope of changes clearly exceeds the original task.
- Execution time or resource consumption reaches its budget.
- Critical tests keep failing and the cause remains unclear.
When a stop condition is triggered, the agent should organize the current state, known issues, and recovery steps rather than retry indefinitely. Being able to stop safely and hand over clearly is itself part of reliable delivery.
9. Conclusion: Technical Highlights Must Land on Verifiable Engineering Results
When evaluating AI coding agents, focus on whether planning is effective, whether tool feedback is used correctly, whether defects converge continuously, whether long tasks stay aligned with the goal, and whether the final result passes real interaction acceptance.
A more mature working mode is neither generating all the code in one shot nor treating long hours of automated fixing as an advantage in itself. It is continuously completing the loop of “implement, observe, judge, fix, regress” under explicit constraints.
For developers, the most practical approach is: define acceptance criteria first, then record execution evidence; confirm the core path works before polishing presentation; establish permission and rollback mechanisms before expanding automation scope. Only by connecting these steps can AI coding move from an impressive demo to a reusable, auditable, and controllable engineering capability.
