Evaluating Coding Agents: Beyond Benchmark Scores to Full-Stack Delivery

    Open-weight models keep climbing the public leaderboards, and in some categories they are now close to or ahead of closed-source options. Once "catching up" is routine, the useful question shifts from scores to something more practical: what can these agents actually deliver? This article explains why benchmark results cannot be the only criterion, proposes a four-layer framework for grading a coding agent by its deliverables, and works through three test tasks — a high-information-density spaceflight brand site, a deep-sea research institute site, and an aesthetics-first fragrance product page. It then covers the real dividing line between a toy and a product: booking logic that respects capacity limits, serializes concurrent requests, and rolls back cleanly. Finally, it outlines a four-step process for building your own acceptance pipeline and the practical constraints of self-hosting open-weight models.

    Why leaderboard scores cannot be the only criterion

    Benchmarks built around software engineering tasks and terminal command execution are a clear improvement over the early factual-QA sets — they measure engineering work rather than recall. But they carry three limitations that no amount of score tuning can remove.

    Distribution bias. Benchmark tasks are mostly well-scoped, function- or repository-level problems where acceptance means unit tests pass. Real requirements are vague, open-ended and mutually constraining. “Build a marketing site that feels like a commercial spaceflight company and also lets people book a seat” is a single sentence carrying three separate constraints: brand tone, information architecture and interaction logic.

    Sampling bias. Leaderboards typically report the best result across multiple attempts — pass@1, or a pass rate over repeated samples. Production use is a single shot with no rollback. Robustness on a one-shot generation matters far more than “it works one time in five.”

    Missing verification dimensions. Most evaluations check only whether the code passes tests. They say nothing about first-screen load performance, how motion degrades on low-end devices, accessibility, whether dependencies are trustworthy, or whether secrets leaked into the client bundle.

    The conclusion is straightforward: a high score is a necessary condition, not a sufficient one. Evaluation has to move from “code correctness” to “end-to-end deliverability.”

    An evaluation framework built on deliverables

    Treat the agent as a vendor and accept its work in four layers:

    1. Requirement structuring. Can it turn one sentence into an information architecture, a visual spec, a component inventory and a data model? Get this wrong and no amount of code quality downstream will rescue the result — it is just wasted work.
    2. Visual and interaction design. Layout hierarchy, type pairing, motion timing, responsive breakpoints. This is precisely the layer conventional benchmarks do not cover.
    3. Full-stack implementation. Componentization, state management and routing on the front end; storage, transactions and business constraints on the back end.
    4. Self-verification. Can it build, run, find its own errors and loop back into a fix cycle?

    Task 1: a high-information-density brand site

    Take a brief for a commercial spaceflight brand. The ideal output looks roughly like this: a full-screen animated background seen through a porthole, Earth’s curved limb drifting slowly past, the atmospheric edge glowing cold blue; a monospaced telemetry panel in the lower right; a fluorescent cyan dot in the upper left breathing slowly to suggest the system is online.

    Scrolling down turns the page into a vertical-timeline flight narrative: donning the pressure suit at the spaceport sixty hours before launch, sustained g-load during the ascent burn, the onset of weightlessness, and finally splashdown with recovery crews approaching. Each stage carries one key parameter and one scene image.

    The technical difficulty is not “write a page.” It is three specific things:

    • Coupling multimodal assets to structure. Background video, stage images and icons need to align with the copy’s meaning, not be filled with random placeholders.
    • Scroll-driven motion orchestration. Timeline progress, parallax depth and the changing numbers in the data panel all have to be driven from a single scroll-progress source.
    • A performance budget. A full-screen video is the biggest threat to largest-contentful-paint. It needs resolution adaptation, first-frame prioritization and a fallback to a static image.

    Illustrative implementation (scroll-driven stage activation):

    1. // Bind timeline stages to viewport progress instead of computing per frame
    2. const observer = new IntersectionObserver((entries) => {
    3. for (const entry of entries) {
    4. if (entry.isIntersecting) entry.target.dataset.active = "true";
    5. }
    6. }, { threshold: 0.6 });
    7. document.querySelectorAll("[data-stage]").forEach(el => observer.observe(el));

    The real differentiator is that everything lands in a single generation: design tokens (color, type scale, spacing) through to an interactive seat-map component. That tells you the model produced a self-consistent design system rather than scattered style fragments.

    Task 2: consistency and transferability on content sites

    Reuse the same prompt skeleton with a different subject and the agent produces a site for a deep-sea research institute: the opening shot sinks vertically from the surface, and at the waterline the frame splits into an upper and lower layer, blue deepening from light to dark, with two warm-toned searchlights glowing in the distant navy. Parameter cards for three submersibles specify propulsion method and observation-window dimensions. Six categories of deep-sea life each get a full screen. Field notes carry three articles credited to a chief scientist, a marine biologist and a documentary director.

    This kind of site tests information-architecture judgment: equipment specs are naturally structured data and suit card rendering from a single data model; species showcases suit full-screen sections with scroll snapping; bylined articles need a typographic hierarchy that is distinct from the main body of the site.

    The more interesting signal is cross-domain stability. The same prompt skeleton producing structurally complete, visually coherent output in a completely different semantic domain suggests the model has learned transferable design and engineering skills rather than template memory for a particular page type. That is the important test of real capability.

    Task 3: extreme aesthetics and engineering tradeoffs

    For a high-end fragrance brand product page, the emphasis shifts from function to taste. The target look: an amber bottle standing on a stone surface, liquid rotating slowly inside, light passing through the glass to cast caustic patterns on the surface, a serif wordmark overlaid above the bottle.

    Several engineering tradeoffs are unavoidable here:

    • Rendering path. Liquid motion and caustics look most natural under real-time shaders but are expensive. Use feature detection to decide between real-time rendering and pre-rendered video, and keep a static fallback for unsupported devices.
    • Font loading strategy. A display serif needs subsetting, preloading and a sensible fallback chain so that text swapping does not break the first impression.
    • Motion and accessibility. Respect the operating system’s reduced-motion preference, and provide an information structure that works for keyboard and screen-reader users.
    • Balancing performance against aesthetics. The stronger the motion, the tighter the control needed over main-thread blocking and the number of composited layers.

    The watershed: business constraints and data persistence

    However good the marketing site looks, it is still just a view. What separates a toy from a product is whether the booking flow actually runs and holds its constraints.

    A minimal viable flight booking flow has to handle at least four entities — flight, seat, passenger and order — plus a per-flight capacity ceiling, automatic lockout once a flight is sold out, duplicate orders and concurrent contention for the same seat.

    Illustrative implementation (pseudocode):

    1. def reserve(flight_id, seat_no, user_id):
    2. with db.transaction():
    3. # 1. Serialize concurrent requests for the same flight with a row lock
    4. flight = db.select_flight_for_update(flight_id)
    5. # 2. Capacity constraint takes precedence over seat validation; check sold-out first
    6. if db.count_confirmed(flight_id) >= flight.capacity:
    7. raise SoldOut()
    8. # 3. Unique index as a backstop against duplicate occupancy under concurrency
    9. if db.seat_occupied(flight_id, seat_no):
    10. raise Conflict()
    11. db.insert_reservation(flight_id, seat_no, user_id, status="CONFIRMED")

    Three points matter. Constraints must be enforced by the storage layer, not by application-level checks alone. Concurrent paths need explicit locking or a unique constraint. Failure must be rollback-safe, so a partial order never lands in the database. Whether an agent writes these three things out on its own initiative is one of the most reliable markers of its engineering maturity today.

    How teams can reproduce this evaluation

    Build your own acceptance process in four steps.

    Task set design. Pick three to five differentiated subjects — brand site, content site, commerce page, admin console — and hold the prompt skeleton constant while swapping only the business semantics. That isolates subject difficulty as a variable.

    Acceptance checklist. Score functional completeness, whether business constraints were bypassed, first-screen load metrics, motion fallbacks, accessibility, dependency trustworthiness, whether secrets leaked, and code readability and component decomposition — item by item, rather than as an overall impression.

    Automated loop. Generate → static analysis → build → run → screenshots and visual diff comparison → automatic feedback of failures into the fix cycle. Only a repeatable loop makes results comparable across runs.

    Security baseline. Never write secrets into the client bundle; validate all external input; escape rendered user content to prevent script injection; pin versions and audit the provenance of third-party dependencies; enforce server-side authorization checks on any operation touching accounts or data. Agents can speed up output, but the boundary of responsibility still sits with people — key changes must go through human review.

    The engineering value of self-hosting open-weight models

    Compared with options that are only reachable through an API, models whose weights you can hold yourself are more attractive in a few respects: data can stay inside the network, which helps with sensitive code assets; inference cost scales with actual business volume; the model can be fine-tuned continuously on vertical corpora; and it can be embedded directly into an existing CI and developer toolchain as a single entry point.

    The practical constraints to plan for: size inference capacity against peak concurrency; pair long-context work with repository retrieval rather than simply stretching the context window; capture team conventions as version-controlled context files so the agent follows the same rules every time; and run the inference service on a container platform for elastic scaling, with object storage for artifacts and logging and monitoring wired into observability. Baidu AI Cloud can provide support across these general-purpose building blocks, helping connect model capability into a production workflow.

    Conclusion

    Benchmark scores are useful for establishing a floor. The ceiling depends on whether an agent can close the loop under real constraints — carry the visual and narrative work while still holding capacity, concurrency and consistency. The most effective way to judge whether a coding agent is worth adopting is not its leaderboard rank, but handing it a single unified prompt and a strict acceptance checklist and seeing whether it delivers a complete system that runs, locks and rolls back.