ConceptioArchivearXiv CS
arXiv CSopen access

Asuka-Bench: Benchmarking Code Agents on Underspecified User Intent and Multi-Round Refinement

Unknown · 2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
softwarearchitecturesoftwareengineeringtesting
software engineering, software architecture, testing

Asuka-Bench: Benchmarking Code Agents on Underspecified User Intent and Multi-Round Refinement Xin Wang1* , Liangtai Sun2,* , Yaoming Zhu2 , Shuang Zhou2 , Jiaxing Liu2 , Fengjiao Chen2 , Lin Qiu2 , Xuezhi Cao2 , Xunliang Cai2 , Licheng Zhang1 , Zhendong Mao1, † 1

University of Science and Technology of China 2 Independent researchers * Equally contributed authors, † Corresponding author

arXiv:2606.05920v1 [cs.SE] 4 Jun 2026

Abstract Existing code-generation benchmarks score a single mapping from a complete prompt to a one-shot output. However, real web development is different. Users seldom write a full spec at the start; many requirements only become clear once they look at an intermediate result and react to it. We present Asuka-Bench, a benchmark that pairs underspecified user intent with multi-round refinement, grounded in browser-rendered behavior. Each task is resolved through a closed loop: a Code Agent generates a web project, a UI Agent executes test cases on the deployed site, and a User LLM turns evaluation outcomes into natural-language feedback for the next round. The benchmark comprises 50 web tasks with 784 evaluation criteria and 2,402 expected outcomes. We benchmark 8 LLMs across 2 agent frameworks. The results separate models clearly: weighted Task Pass Rate varies by 38 percentage points and models also differ substantially in their ability to repair from feedback. Asuka-Bench is also far from saturated: even the strongest model completes only 52% of projects after three rounds.

1

Introduction

Large Language Models (LLMs) have shown remarkable progress in code generation, giving rise to increasingly capable code agents that can produce functional software from natural language instructions. To measure this progress, the community has developed a range of benchmarks spanning code completion (Austin et al., 2021; Chen et al., 2021), bug fix (Jimenez et al., 2023; Yang et al., 2024), and end-to-end project generation (Fu et al., 2025; Lu et al., 2025). Despite their diversity in task format, these benchmarks share a common paradigm: the input is a single, complete, and unambiguous specification, and the agent is expected to produce a correct output in one pass.

Existing Paradigm Clarified PRD

Pass / Fail Code Agent

Project

Single Turn, No Iteration

Asuka-Bench Underspecified Intent Code Agent

Project

UI Agent

Feedback Multi Turn, Iterative Refinement

Figure 1: Comparison between existing paradigm and Asuka-Bench. Existing paradigm (top) uses clarified specs and single-turn execution; Asuka-Bench (bottom) supports iterative refinement from underspecified intents via agent feedback loops.

This static instruction, one-shot output paradigm, however, fundamentally mismatches real-world development: users rarely articulate a complete specification upfront, and true requirements surface only as they inspect intermediate outputs, identify gaps, and provide corrective feedback. What ultimately distinguishes a capable code agent is therefore not whether it hits a full specification in one pass, but whether it converges under a feedback-driven loop. Web development is a uniquely natural testbed for studying this loop: web applications follow a what-you-see-is-what-you-get paradigm, allowing users to verify functional correctness, interaction logic, and error handling directly from the rendered interface without examining source code. This interaction-driven feedback loop is inherently absent in non-UI software such as command-line tools or libraries. Existing benchmarks, however, overlook this iterative process. By measuring only static, one-shot mappings from a complete prompt to a final output, they cannot evaluate whether an agent can incorporate execution feedback to pro-

gressively refine its work. This ability to iterate based on runtime feedback is essential for realworld deployment. We close this gap with Asuka-Bench, a benchmark that pairs underspecified user intent with multi-round iterative refinement, and grounds both in the browser-observable behavior of the generated website. Each task begins with a deliberately underspecified request that mirrors how real users initiate development, and is resolved through a closed loop: (1) a Code Agent generates an initial web project from the underspecified request; (2) a User Agent deploys the project in a browser and drives an autonomous web-navigation module to exercise predefined test cases, judging outcomes from rendered behavior rather than source code; and (3) the User Agent then synthesizes the per-criterion results into structured natural-language feedback. The Code Agent refines its implementation accordingly, and the loop repeats until all requirements are satisfied or a maximum number of rounds is reached. Asuka-Bench comprises 50 web development tasks, each paired with a set of natural-language test cases that are executed through browser interaction, covering element existence, functional correctness, and robustness. We evaluate eight state-of-the-art LLMs across two agent frameworks. Results show that Asuka-Bench effectively differentiates model performance along two dimensions: weighted Task Pass Rate varies by more than 30 percentage points (pp), and models exhibit substantial differences in leveraging user feedback to fix errors over multiple rounds. The benchmark is also far from saturated: even the strongest model completes only 52% of projects after three rounds. Our contributions are summarized as follows: • Benchmark. We present Asuka-Bench, the first web generation benchmark that systematically evaluates code agents under underspecified user requests with multi-round interactive refinement, addressing a critical blind spot in existing static-instruction benchmarks. • An Evaluation Protocol Centered on User Feedback. We ground evaluation in the userfeedback loop along two axes: interactionas-feedback, judging each criterion from rendered browser behavior rather than source code; and DAG-aware iterative evaluation, which runs criteria in topological order on a DAG of dependencies and stops early so feedback stays focused on root causes, yielding

10.5 pp higher task fix rates on average while cutting evaluation token cost by 23–26%. • Comprehensive Empirical Analysis. We evaluate 8 state-of-the-art LLMs across 2 agent frameworks, providing insights into how intent ambiguity and iterative feedback affect web generation performance.

2

Related Work

2.1

Code Generation Benchmarks

Early benchmarks for LLM-based code generation, such as HumanEval (Chen et al., 2021) and MBPP (Austin et al., 2021), evaluate models on self-contained function-level tasks with pre-defined unit tests. These benchmarks provide fully specified docstrings and assess whether a model can produce a correct implementation in a single pass. While they have been instrumental in tracking progress on code synthesis, they focus on isolated, short-horizon tasks that do not reflect the complexity of real-world software engineering. To bridge this gap, repository-level benchmarks have been proposed. SWE-Bench (Jimenez et al., 2023) and its multimodal extension (Yang et al., 2024) require agents to resolve real GitHub issues by editing existing codebases, testing whether models can localize bugs, understand cross-file dependencies, and produce targeted patches. In the web domain, Web-Bench (Xu et al., 2025) constructs 50 projects with 20 sequentially dependent tasks each, simulating incremental feature development within an existing codebase and evaluating agents with pre-defined unit tests. WebMMMU (Awal et al., 2025) further introduces multimodal code editing tasks that require models to modify HTML/CSS/JavaScript given screenshots and edit requests. While these benchmarks move closer to realistic development workflows, they still assume that the task specification is complete and unambiguous, where the agent receives a fully described issue or edit request and is expected to produce a correct patch without further clarification. A parallel line of work studies iterative code generation from self or environment grounded feedback (Madaan et al., 2023; Shinn et al., 2023); Asuka-Bench instead grounds refinement in simulated user feedback derived from browser-rendered behavior.

de-identify & qualify collect & format

Clarified PRD rewrite

collect & summary

## E-commerce Shopping Application ### 1. Project Overview This project builds an e-commerce shopping application, .. ### 2. Core Functional Requirements - Provides a homepage product information flow display, ... ### 3. Fault Tolerance and Exception Handling - When a product is unavailable, out of stock, or the SKU ... abstract

Simulated Data

Create a shopping website that includes features such as a product list, shopping cart, and user system.

Code Agent User LLM

product list, user info, etc.

generate Web Project

Evaluation Result 1. Pass 2. Pass 3. Fail, Reason: ... ...

generate

Ambiguous Query

Feedback

UI Agent

Evaluation Criteria 1. (Presence) Verify the existence of core display elements on the homepage 2. (Functionality) Verify the linkage between SKU selection, price, and inventory on the product details page. 3. (Robustness) Verify the handling exceptions when validating shopping cart quantity input ...

Figure 2: Overview of Asuka-Bench. Top: Dataset construction—raw queries from three sources are rewritten into a Clarified PRD, from which an underspecified query, simulated data, and DAG-organized evaluation criteria are derived. Bottom-left: Evaluation loop—a Code Agent generates a web project from the underspecified query; a UI Agent executes criteria as browser-based test cases; a User LLM synthesizes pass/fail results into feedback for the next refinement round.

2.2

Web Generation Benchmarks

A parallel line of work evaluates the ability of LLMs to generate complete web artifacts from scratch. One category focuses on screenshot-tocode generation: given a webpage screenshot, the model must reproduce the corresponding HTML/CSS. Web2Code (Yun et al., 2024) and Design2Code (Si et al., 2025) evaluate this capability using visual similarity metrics, comparing the rendered output of the generated code against the original screenshot via structural, color, and layout dimensions. WebUIBench (Lin et al., 2025) further introduces fine-grained element-level and layout-level evaluation by parsing DOM trees and computing matching scores. However, these benchmarks are inherently limited to visual fidelity and cannot assess functional correctness, user interaction logic, or robustness. A more recent category evaluates text-to-web generation: given a natural language description, the model must produce a deployable, interactive website. FrontendBench (Zhu et al., 2025) provides 148 prompt-test case pairs spanning five complexity levels and evaluates generated websites using Puppeteer-based unit tests. However, its prompts embed specific DOM identifiers (e.g., element id and class names) to facilitate automated testing, which deviates from realistic user specifications

and introduces brittleness. WebGen-Bench (Lu et al., 2025) addresses this by using GPT-4o to generate natural-language test cases from task instructions and employing a web navigation agent (WebVoyager (He et al., 2024)) to execute them on the generated websites, enabling more flexible and human-like evaluation. Despite this progress, all existing text-to-web benchmarks share two fundamental limitations: (1) the input is a single, fully specified instruction that exhaustively describes the desired functionality, and (2) evaluation is performed in a one-shot manner without iterative refinement. These assumptions are at odds with realworld web development, where users typically provide underspecified initial requests and progressively clarify their intent through dialogue.

3

Asuka-Bench

3.1

Evaluation Framework

Figure 2 (bottom left) illustrates the overall evaluation pipeline of Asuka-Bench, comprising four stages: task specification, code generation, automated evaluation, and feedback-driven refinement. Task Specification Each benchmark task originates from a deliberately underspecified query that mimics how real users initiate web development, e.g., “Create a shopping website that in-

cludes features such as a product list, shopping cart, and user system.” To establish ground-truth requirements without revealing them to the agent, we pair each underspecified query with a Clarified PRD (Product Requirements Document), a structured specification that decomposes the vague request into hierarchical functional modules with concrete requirements. The Clarified PRD covers not only core functional modules (e.g., product display with waterfall loading, category-based filtering, and price sorting) but also fault tolerance and exception handling rules (e.g., prohibiting cart additions and order placement when a product is unavailable or a SKU is out of stock). From each Clarified PRD, we further derive a set of evaluation criteria, i.e., natural-language test cases that describe expected behaviors at varying granularities, including element existence verification (“Verify the existence of core display elements on the homepage”), interaction logic validation (“Verify the linkage between SKU selection, price, and inventory on the product details page”), and exception handling verification (“Verify the handling of exceptions when validating shopping cart quantity input”). Crucially, only the underspecified query is provided to the Code Agent; the Clarified PRD and evaluation criteria serve exclusively as internal ground truth for automated assessment. Code Agent Given the underspecified query, a Code Agent generates an initial web project. The Code Agent is instantiated with a backbone LLM and an agent framework that manages tool usage, file operations, and code execution. Across evaluation rounds, the Code Agent receives naturallanguage feedback from the User Agent and iteratively refines its implementation by modifying, adding, or restructuring project files. Automated Evaluation Once the Code Agent produces a web project, the system deploys it in a browser environment. A UI Agent, which serves as an autonomous web-navigation module, then executes the pre-defined evaluation criteria as interactive test cases on the live website. For each criterion, the UI Agent performs the necessary browser interactions (navigating pages, clicking elements, filling forms, inspecting rendered content, etc.) and compares the observed behavior against the expected outcome specified in the criterion. Each test case yields a binary result: Pass if the observed behavior matches the expectation, or Fail accompanied by a natural-language explanation describing

the discrepancy (e.g., “the price did not update after selecting a different SKU”). Feedback-Driven Iterative Refinement The per-criterion evaluation results are aggregated by a User LLM, which synthesizes them into structured natural-language feedback. This feedback is returned to the Code Agent, which uses it to diagnose failures and refine its implementation. The evaluation-feedback-refinement loop repeats until all evaluation criteria are satisfied or a pre-defined maximum number of interaction rounds is reached. This closed-loop mechanism enables Asuka-Bench to measure not only a code agent’s initial generation quality but also its capacity to interpret underspecified feedback and iteratively converge on a correct implementation. 3.2

Dataset Construction

Figure 2 (top right) illustrates the dataset construction pipeline. We describe the process in three stages: query sourcing, PRD construction, and evaluation criteria generation. Query Sourcing We collect seed queries from three complementary sources to ensure diversity in domain, complexity, and interaction pattern. (1) Online user data. We sample real user requests from a production web development service, apply de-identification to remove personally identifiable information, and filter for high-quality queries that involve non-trivial functional requirements. (2) GitHub repositories. We curate a set of high-quality open-source repositories and formalize their corresponding web applications into structured queries that describe the target functionality. (3) Existing websites. We select a diverse set of established, feature-rich websites (e.g., e-commerce platforms, knowledge forums) and summarize each into a query that captures its core functional characteristics. Together, these three sources yield a pool of raw queries spanning a broad range of web application scenarios. Task Formalization We employ an LLM to rewrite each raw query into a Clarified PRD that decomposes the high-level intent into hierarchical functional modules with concrete specifications; see Appendix G for details. From the Clarified PRD, we derive two additional artifacts. First, we abstract the PRD into a deliberately underspecified query by removing implementation details, specific interaction logic, and edge-case require-

Statistic 6.0% 6.0%

38.0%

8.0% 20.0%

22.0%

Utility (19) Data Visualization (11) Management System (10) E-Commerce (4) Marketing / Display (3) Social (3)

Value

Number of tasks (PRDs) Application categories

50 6

Total evaluation tasks Presence Functionality Robustness Total expected outcomes

784 129 (16.5%) 492 (62.8%) 163 (20.8%) 2,402

Avg. evaluation tasks / PRD Avg. expected outcomes / task Avg. difficulty weight

15.7 3.1 2.96

Avg. DAG depth (levels) Max DAG depth

4.4 9

Figure 3: Dataset overview. Left: Distribution of benchmark tasks across six application categories. Right: Summary statistics of the Asuka-Bench dataset.

ments, retaining only a high-level description of the desired application. This underspecified query serves as the sole input to the Code Agent during evaluation. Second, since each benchmark task requires a fully functional frontend application without backend dependencies, we generate simulated data (e.g., mock API responses, sample product catalogs, user profiles) based on the PRD to enable self-contained frontend execution. Evaluation Criteria Generation The evaluation criteria constitute the core assessment instrument of Asuka-Bench. Given a Clarified PRD and its associated simulated data, we generate a structured set of evaluation criteria that the UI Agent will execute as test cases. The criteria are organized in a hierarchical structure: each PRD maps to multiple evaluation tasks, and each evaluation task comprises multiple expected outcomes that collectively determine whether the task is satisfied. Each task is annotated with three attributes: task type, difficulty weight, and prerequisite dependencies. Task types fall into three categories: • Presence tasks verify whether a required UI element or functional component exists in the generated application (e.g., “Verify that the homepage contains a product search bar”). • Functionality tasks validate whether an interactive feature behaves correctly according to its specification (e.g., “Verify that selecting a different SKU updates the displayed price and inventory”). • Robustness tasks assess whether the application handles edge cases and invalid inputs gracefully (e.g., “Verify that adding a quantity

exceeding available stock to the cart displays an appropriate error message”).

The difficulty weight assigns a scalar coefficient to each task, reflecting its implementation complexity, and is used to compute weighted scores during evaluation. Prerequisite dependencies encode logical ordering constraints: for instance, a functionality task that tests a feature’s interactive behavior depends on the prior satisfaction of the presence task confirming that the feature’s constituent elements exist. These dependencies induce a directed acyclic graph (DAG) over the evaluation tasks associated with each PRD.

DAG-Based Evaluation Protocol During evaluation, the UI Agent executes tasks following the topological order of the DAG. A task is executed if and only if all of its prerequisite dependencies have passed; if any prerequisite has failed or was not executed, the task is skipped without evaluation. After all reachable tasks have been processed, only the tasks that were actually executed and returned a failure are compiled into structured feedback and returned to the Code Agent for the next refinement iteration. Skipped tasks produce no feedback, as their failures are indirect consequences of upstream issues. This dependency-driven protocol avoids wasteful evaluation of tasks whose foundations are unmet, and focuses the Code Agent’s attention on the root causes of failure rather than their downstream symptoms. We validate this design choice and analyze the evaluation gap introduced by dependency blocking in Appendix A.

Table 1: Main results on Asuka-Bench. PCR: Project Completion Rate. R1 –R3 : cumulative weighted Task Pass Rate per round. Criteria: cumulative weighted Criteria Pass Rate at Round 3. 95% CIs (CLT, n=50) shown as subscripts; best values per framework block in bold.

Framework

OpenHands

Claude Code

3.3

Model

Cumulative Task Pass Rate

PCR

R1

R2

R3

Criteria

GPT-5.4 Kimi-K2.6 Gemini-3.1-Pro GLM-5 Qwen3.5-Plus MiniMax-M2.7 Seed-2.0-Pro

52 50 36 32 24 24 14

56.6±7.3 44.3±8.2 37.2±7.9 40.5±8.2 40.2±8.6 36.7±8.2 26.9±7.3

82.1±5.6 74.7±7.8 69.2±7.4 64.4±8.8 61.1±9.0 59.1±9.2 44.7±9.3

90.1±4.7 86.6±6.0 80.7±6.8 75.3±8.1 72.9±7.9 70.7±9.0 53.7±10.0

95.1±2.6 92.1±4.8 89.4±4.7 83.3±7.2 82.5±6.4 79.8±8.1 63.9±9.7

Claude-4.6-Sonnet GPT-5.4 LongCat-Preview GLM-5 LongCat-2.0-Preview Qwen3.5-Plus MiniMax-M2.7 Seed-2.0-Pro

46 44 32 30 26 24 22 8

55.7±7.5 49.7±7.4 44.1±7.8 40.8±9.2 33.3±9.1 41.3±8.3 39.2±8.3 24.7±8.0

82.4±6.2 89.4±5.7 80.3±6.4 88.1±5.9 66.8±9.0 ±7.2 80.2±6.8 66.5±9.2 76.6±8.9 61.3±9.7 73.1±9.1 60.4±9.0 70.1±8.3 65.7±7.8 76.4±6.6 39.8±9.7 51.8±10.1

93.6±5.4 92.8±4.8 86.3±6.3 82.9±8.5 80.0±8.6 80.2±6.7 86.3±5.0 60.9±10.4

Dataset Statistics

Asuka-Bench comprises 50 web development tasks spanning six application categories adopted from the ArtifactsBench taxonomy (Zhang et al., 2025). As shown in Figure 3 (left), the distribution is dominated by Utility (38.0%), Data Visualization (22.0%), and Management System (20.0%), followed by E-Commerce (8.0%), Marketing/Display (6.0%), and Social (6.0%). This distribution is aligned with the real-world category distribution observed in our production user traffic, ensuring that the benchmark reflects practical development demand. Figure 3 (right) summarizes the key statistics. Across the 50 tasks, we derive a total of 784 evaluation tasks containing 2,402 expected outcomes, with an average of 15.7 evaluation tasks and 3.1 expected outcomes per task. In terms of task type, Functionality tasks account for the majority (62.8%), followed by Robustness (20.8%) and Presence (16.5%), reflecting the emphasis on verifying interactive behaviors and edge-case handling beyond mere element existence. Difficulty weights range from 1 to 5, with an average weight of 2.96. The dependency-induced DAGs have an average depth of 4.4 levels (maximum 9), indicating that the evaluation criteria encode substantial inter-task dependencies that require systematic, layered veri-

fication. A complete walkthrough of one representative task is provided in Appendix H.

4

Experiments and Results

4.1

Settings

Models and frameworks. We evaluate eight state-of-the-art LLMs as Code Agent backbones: GPT-5.4 (Medium) (OpenAI, 2025), Gemini3.1-Pro (Google DeepMind, 2025), Claude-4.6Sonnet (Anthropic, 2025), GLM-5 (Team GLM, 2024), Kimi-K2.6 (Kimi Team, 2025), Seed-2.0Pro (ByteDance Seed Team, 2025), MiniMaxM2.7 (MiniMax, 2025), and Qwen3.5-Plus (Qwen Team, 2025). These LLMs are paired with two representative agent frameworks: OpenHands (Wang et al., 2024), an open-source sandbox-based agent with explicit tool calls, and Claude Code, a CLIbased agent with conversational tool orchestration. We report all accessible model–framework combinations, and use GPT-5.4 as the backbone for both the Evaluation Agent and the User Agent (feedback synthesis) across all configurations. Gemini-3.1Pro and Kimi-K2.6 on Claude Code, and Claude4.6-Sonnet on OpenHands are skipped, see Appendix C for reasons. Protocol and metrics. The maximum number of refinement rounds is 3; the UI Agent uses

vision-enabled browser interaction with up to 100 steps per task. Tasks are evaluated under our DAG-aware protocol with soft-satisfaction threshold T =0.5; full hyperparameters are listed in Appendix C. We report three metrics: Project Completion Rate (PCR, fraction of projects where all tasks weighted Task Pass Ppass), cumulative P Rate ( i∈passed wi / i wi with difficulty weight wP weighted Criteria Pass Rate i ), and cumulative P pass ( i wi (ci /ctotal )/ i i wi ), which softens the binary task indicator to the sub-criteria pass ratio. Confidence intervals. For each (model, framework, round) cell, we report 95% CIs via Central Limit Theorem normal approximation √over the 50 per-project pass ratios: x̄ ± 1.96 · s/ 50. Details are deferred to Appendix C. 4.2

Results

Table 1 reveals a clear separation across the 13 (model, framework) configurations: cumulative weighted Task Pass Rate after three rounds spans 51.8%–90.1%, a 38-point range with nonoverlapping 95% CIs at the top and bottom of the ranking. The headline gap, however, is between tasks and projects: even the strongest configurations reach ∼90% Task Pass Rate yet only 46–52% Project Completion Rate, since a deployable web application requires all of its specified tasks to pass. The residual failures concentrate on functional logic and robustness rather than on element presence, as detailed in the per-type breakdown of Appendix D. Iterative feedback contributes most of its gain in Round 2 (∼25 pp absolute), with Round 3 adding a smaller 7–13 pp; no model saturates within three rounds. A detailed framework comparison is provided in Appendix B, and two qualitative case studies illustrate how round-wise feedback localizes and resolves cross-page defects in Appendix I. Project Completion Rate 92.0

100

74.0

Cumulative Rate (%)

Cumulative Rate (%)

84.0 80

60.0

60

46.0 40

24.0 20

R1

89.4

90

93.0

95.5 97.5

99.0 100.0

77.6

80 70 60

54.4

50

6.0 0

Weighted Task Pass Rate

110

100.0

100

R2

R3

R4

R5

Round

R6

R7

R8

40

R1

R2

R3

R4

R5

Round

R6

R7

R8

Figure 4: Cumulative Project Completion Rate and weighted Task Pass Rate for Claude-4.6-Sonnet across 8 feedback rounds, both reaching 100%.

55.7

Claude-4.6-Sonnet +21.2

GPT-5.4

+20.1

49.7 GLM-5

MiniMax-M2.7 39.2 Qwen3.5-Plus 41.3 Seed-2.0-Pro 24.7

20

30

+8.7

40

88.1

+26.6

40.8

76.6

+21.7

76.4

+15.2

70.1

51.8

50

89.4

Unspecified Query R1/R2/R3 PRD R1 60

70

Weighted Task Pass Rate (%)

80

90

Figure 5: Weighted Task Pass Rate per Claude Code model under four settings: a single round on the Clarified PRD, and three Rounds on the underspecified query

Saturation Analysis. To verify that the evaluation tasks are inherently solvable rather than illdefined, we extend the SOTA model (Claude-4.6Sonnet) to 8 interaction rounds. As shown in Figure 4, both Project Completion and weighted Task Pass Rate converge to 100% by Round 8, confirming that all benchmark tasks are achievable given sufficient iterations. The monotonically increasing curve also demonstrates that our feedback mechanism consistently provides actionable guidance without introducing noise or regression.

5

Analysis

RQ1: Multi-round refinement on an underspecified query vs. a single-round Clarified PRD. We give each model two budgets that supply the same eventual information: a single round on the Clarified PRD (denoted PRD-1R), or three rounds on the underspecified query with browser-grounded feedback (Figure 5, Claude Code, six models). The first ambiguous round loses 9–18 pp relative to the PRD baseline, but every model overtakes its PRD score by Round 3 (net gains 8.7–26.6 pp), confirming that multi-round refinement on an ambiguous start can match—and exceed—a fully specified one-shot prompt. The two protocols are also complementary. Under PRD-1R, Qwen3.5-Plus (54.8%) edges out GLM-5 (50.1%), and Claude4.6-Sonnet ties GPT-5.4 (both 68.1%); after three ambiguous rounds the order shifts (GLM-5: 76.6% vs. Qwen3.5-Plus: 70.1%; Sonnet: 89.4% vs. GPT5.4: 88.1%). Asuka-Bench therefore complements existing one-shot benchmarks by surfacing repairfrom-feedback ability, which we examine in RQ2.

Cum. Weighted Rate (%)

Claude Code 100

89.4

82.4

80

R1 Pass R2 Pass

88.1 80.3

76.6

76.4

66.5

60

55.7

R3 Pass R1 Impl.

R2 Impl. R3 Impl.

70.1

65.7

60.4 51.8

49.7 40.8

40

41.3

39.2

39.8 24.7

20 0

Claude-4.6-Sonnet

GPT-5.4

GLM-5

MiniMax-M2.7

Qwen3.5-Plus

Seed-2.0-Pro

Cum. Weighted Rate (%)

OpenHands 100

86.6

82.1

80 60

R1 Pass R2 Pass

90.1

80.7

74.7

75.3

69.2

72.9

64.4

44.3

40

37.2

40.5

40.2

R2 Impl. R3 Impl.

70.7

61.1

56.6

R3 Pass R1 Impl.

59.1

53.7 44.7

36.7 26.9

20 0

GPT-5.4

Kimi-K2.6

Gemini-3.1-Pro

GLM-5

Qwen3.5-Plus

MiniMax-M2.7

Seed-2.0-Pro

Figure 6: Cumulative weighted Implemented (translucent outer bar; tasks reachable under the DAG evaluation protocol) and Pass (solid inner bar; tasks fully passed) rates per round, under the underspecified-query setting. Top: Claude Code; bottom: OpenHands. The Implemented−Pass gap measures evaluable tasks the model failed to complete, and how it shrinks across rounds reflects each model’s repair-from-feedback ability.

RQ2: Is repair-from-feedback ability a separable dimension of model capability? Figure 6 pairs each round’s Implemented rate (tasks the model attempted) with its Pass rate (tasks that fully passed); the gap between them is the share of attempted-but-broken tasks. Stronger models close it fast (GPT-5.4 on OpenHands: 99.5% vs. 90.1% at Round 3), while weaker models retain a persistent residual (Seed-2.0-Pro on OpenHands: 79.1% vs. 53.7%). Crucially, first-round generation and later-round repair are not the same axis: Kimi-K2.6 on OpenHands climbs 44.3% → 74.7% → 86.6%, ending second-best in its framework after a mediocre first round. A single-round evaluation would have recorded only its 44.3%, conflating “cannot generate from an underspecified prompt” with “cannot benefit from feedback.” Per-round fix rates are tabulated in Appendix E. RQ3: Does the closed-loop evaluation framework align with human judgment? To validate the reliability of our automated evaluation, we conduct a human-agreement study. We randomly sample 50 projects across five representative models (Claude-4.6-Sonnet, GLM-5, GPT-5.4, MiniMax-M2.7, Seed-2.0-Pro), covering 3,576 individual criterion-level annotations across the sam-

pled projects. Expert annotators independently judge each criterion as Pass or Fail by interacting with the deployed web application; full annotation guidelines and the annotation console are provided in Appendix F. Taking human judgments as the gold standard, our BrowserUse-based evaluation agent achieves 93.35% accuracy and 96.52% F1 (precision 97.37%, recall 95.68%), demonstrating strong alignment with human assessment and confirming that the closed-loop evaluation framework provides a reliable, cost-effective proxy for human judgment in large-scale iterative benchmarking.

6

Conclusion

We presented Asuka-Bench, the first web generation benchmark that evaluates code agents under underspecified user intent with multi-round iterative refinement grounded in browser-observable behavior. Our evaluation of 8 state-of-the-art LLMs across 2 agent frameworks yields three main findings. First, intent ambiguity introduces a substantial performance gap, which iterative feedback effectively bridges within three rounds. Second, repair-from-feedback ability is largely decoupled from first-round generation quality, revealing a capability axis that existing one-shot benchmarks cannot surface. Third, our DAG-aware evaluation protocol provides reliable automated judgment. The

benchmark is far from saturated, and we hope it encourages the community to move beyond static, one-shot evaluation toward benchmarks reflecting the iterative nature of real-world development.

Limitations Asuka-Bench has three main limitations that we wish to flag. First, in terms of domain coverage, the 50 tasks span six categories sampled to mirror our production traffic and target self-contained frontends with simulated data; 3D, real-time collaborative, and live-backend scenarios remain out of scope and would require non-trivial extensions to both the data pipeline and the deployment harness. Second, regarding evaluator dependence, both the UI Agent and the User LLM are instantiated with GPT-5.4: although our human-agreement study reports 93.35% accuracy with single-annotator labels, swapping the evaluator backbone may shift absolute scores, and a multi-annotator follow-up would tighten the upper bound on automated-evaluator quality. Third, like any static benchmark surface, Asuka-Bench’s underspecified queries and criterion DAGs can in principle be memorized by future training runs; long-term contamination resistance would require periodic refresh of the task pool, which we leave to future work.

References Anthropic. 2025. Introducing claude sonnet 4.6. https://www.anthropic.com/news/ claude-sonnet-4-6. Accessed: 2026. Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, and 1 others. 2021. Program synthesis with large language models. arXiv preprint arXiv:2108.07732. Rabiul Awal, Mahsa Massoud, Aarash Feizi, Zichao Li, Suyuchen Wang, Christopher Pal, Aishwarya Agrawal, David Vazquez, Siva Reddy, Juan A Rodriguez, and 1 others. 2025. Webmmu: A benchmark for multimodal multilingual website understanding and code generation. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 25129–25156. ByteDance Seed Team. 2025. Seed 2.0. https:// seed.bytedance.com/en/seed2. Accessed: 2026. Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde De Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, and 1 others. 2021. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374.

Lingyue Fu, Bolun Zhang, Hao Guan, Yaoming Zhu, Lin Qiu, Weiwen Liu, Xuezhi Cao, Xunliang Cai, Weinan Zhang, and Yong Yu. 2025. Automatically benchmarking llm code agents through agentdriven annotation and evaluation. arXiv preprint arXiv:2510.24358. Google DeepMind. 2025. Gemini 3.1 pro. https: //deepmind.google/models/gemini/pro/. Accessed: 2026. Hongliang He, Wenlin Yao, Kaixin Ma, Wenhao Yu, Yong Dai, Hongming Zhang, Zhenzhong Lan, and Dong Yu. 2024. Webvoyager: Building an end-toend web agent with large multimodal models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 6864–6890. Carlos E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. 2023. Swe-bench: Can language models resolve real-world github issues? arXiv preprint arXiv:2310.06770. Kimi Team. 2025. Kimi k2: A mixture-of-experts model with 1 trillion total parameters. arXiv preprint arXiv:2507.04205. Zhiyu Lin, Zhengda Zhou, Zhiyuan Zhao, Tianrui Wan, Yilun Ma, Junyu Gao, and Xuelong Li. 2025. Webuibench: a comprehensive benchmark for evaluating multimodal large language models in webui-to-code. In Findings of the Association for Computational Linguistics: ACL 2025, pages 15780–15797. Zimu Lu, Yunqiao Yang, Houxing Ren, Haotian Hou, Han Xiao, Ke Wang, Weikang Shi, Aojun Zhou, Mingjie Zhan, and Hongsheng Li. 2025. Webgenbench: Evaluating llms on generating interactive and functional websites from scratch. arXiv preprint arXiv:2505.03733. Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, Shashank Gupta, Bodhisattwa Prasad Majumder, Katherine Hermann, Sean Welleck, Amir Yazdanbakhsh, and Peter Clark. 2023. Self-refine: Iterative refinement with self-feedback. In NeurIPS. MiniMax. 2025. Minimax-m2.7. https:// huggingface.co/MiniMaxAI/MiniMax-M2.7. Accessed: 2026. OpenAI. 2025. Introducing gpt-5.4. https://openai. com/index/introducing-gpt-5-4/. Accessed: 2026. Qwen Team. 2025. Qwen3 technical report. arXiv preprint arXiv:2505.09388. Noah Shinn, Federico Cassano, Edward Berman, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. 2023. Reflexion: Language agents with verbal reinforcement learning. In NeurIPS.

Chenglei Si, Yanzhe Zhang, Ryan Li, Zhengyuan Yang, Ruibo Liu, and Diyi Yang. 2025. Design2code: Benchmarking multimodal code generation for automated front-end engineering. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 3956–3974. Team GLM. 2024. Chatglm: A family of large language models from glm-130b to glm-4 all tools. arXiv preprint arXiv:2406.12793. Xingyao Wang, Boxuan Li, Yufan Song, Frank F. Xu, Xiangru Tang, Mingchen Zhuge, Jiayi Pan, Yueqi Song, Bowen Li, Jaskirat Singh, Hoang H. Tran, Fuqiang Li, Ren Ma, Mingzhang Zheng, Bill Qian, Yanjun Shao, Niklas Muennighoff, Yizhe Zhang, Binyuan Hui, and 5 others. 2024. Openhands: An open platform for ai software developers as generalist agents. arXiv preprint arXiv:2407.16741. Kai Xu, YiWei Mao, XinYi Guan, and ZiLong Feng. 2025. Web-bench: A llm code benchmark based on web standards and frameworks. arXiv preprint arXiv:2505.07473. John Yang, Carlos E Jimenez, Alex L Zhang, Kilian Lieret, Joyce Yang, Xindi Wu, Ori Press, Niklas Muennighoff, Gabriel Synnaeve, Karthik R Narasimhan, and 1 others. 2024. Swe-bench multimodal: Do ai systems generalize to visual software domains? arXiv preprint arXiv:2410.03859. Sukmin Yun, Haokun Lin, Rusiru Thushara, Mohammad Q Bhat, Yongxin Wang, Zutao Jiang, Mingkai Deng, Jinhong Wang, Tianhua Tao, Junbo Li, and 1 others. 2024. Web2code: A large-scale webpageto-code dataset and evaluation framework for multimodal llms. Advances in neural information processing systems, 37:112134–112157. Chenchen Zhang, Yuhang Li, Can Xu, and 1 others. 2025. ArtifactsBench: Bridging the visualinteractive gap in LLM code generation evaluation. In arXiv preprint arXiv:2507.04952. Hongda Zhu, Yiwen Zhang, Bing Zhao, Jingzhe Ding, Siyao Liu, Tong Liu, Dandan Wang, Yanan Liu, and Zhaojian Li. 2025. Frontendbench: A benchmark for evaluating llms on front-end development via automatic evaluation. arXiv preprint arXiv:2506.13832.

A

DAG-Based Evaluation Analysis

Why a soft satisfaction threshold. The DAG protocol skips a downstream task whenever its prerequisites are deemed unmet. Exactly how strict that test should be is a design choice: under strict enforcement (T =1.0, every parent sub-criterion must pass) a single peripheral defect in a parent blocks every descendant; under soft enforcement (T =0.5) a parent is non-blocking once at least half

of its sub-criteria pass. We define the DAG gap as the reduction in cumulative weighted Task Pass Rate when DAG blocking is applied to the same outputs that were also evaluated under full evaluation, and we measure this gap on every (model, framework) configuration in Table 2. The strict variant produces a substantial gap (mean 6.0 pp; 3.4–9.9 pp per row), since a parent that fails on a single sub-criterion is forced to block its entire subtree even when the failure is unrelated to the child’s data contract. The soft-satisfaction variant we adopt (T =0.5) shrinks the mean gap to 0.6 pp (worst case 1.6 pp), indicating that dependency enforcement under our protocol introduces negligible distortion to the final scores while still preserving the root-cause focus of the protocol. The tenfold reduction supports our choice of T =0.5 as the default soft-satisfaction threshold. DAG vs. Flat protocol. Table 3 compares the DAG-based evaluation protocol against a Flat baseline that evaluates every criterion independently. DAG numbers are recomputed under our adopted T =0.5 soft-satisfaction protocol; Flat numbers and the evaluation token totals are reported as in the previous version of this work (re-running the Flat protocol was not necessary, because its score is upper-bounded by the Full column of Table 2 and the difference relative to DAG at T =0.5 is small). DAG yields slightly lower cumulative pass rates than Flat (e.g., GLM-5: 76.6% vs. 83.6% weighted Task Pass Rate), because tasks whose prerequisites are unmet are not credited even when their own code happens to be correct—an intentional consequence of dependency enforcement, not an evaluation bias. In return, DAG is consistently more efficient: it cuts evaluation token consumption by 23–26% (GLM-5: 17.9M vs. 23.4M tokens; Qwen3.5-Plus: 18.4M vs. 25.0M) and yields uniformly higher fix rates because feedback is concentrated on root-cause failures (e.g., GLM-5 R2 task fix rate: 61.8% vs. 45.9%; MiniMax R2 : 57.7% vs. 39.9%; Seed-2.0-Pro R2 : 35.7% vs. 30.9%). Across all four models and both rounds the DAG protocol posts a higher fix rate than Flat, supporting DAG as the preferred protocol: more focused, slightly stricter, and substantially cheaper.

B

Framework Comparison

Across the five LLMs evaluated under both frameworks (GPT-5.4, GLM-5, Qwen3.5-Plus, MiniMaxM2.7, Seed-2.0-Pro), OpenHands posts a higher

Table 2: DAG-gap analysis of cumulative weighted Task Pass Rate after Round 3, comparing strict (T =1.0, every parent failure blocks all children) and soft-satisfaction (T =0.5, a parent is non-blocking once at least 50% of its sub-criteria pass) variants of the DAG-aware protocol against full evaluation. Full: weighted Task Pass Rate when every task is evaluated regardless of dependencies. GapT : reduction (in pp) introduced by DAG blocking at threshold T . Mean gaps shown in the bottom row. Framework

Model

Full (%)

GapT =1.0

GapT =0.5

Claude Code

GPT-5.4 Claude-4.6-Sonnet GLM-5 Qwen3.5-Plus MiniMax-M2.7 Seed-2.0-Pro

88.6 89.4 77.9 70.8 77.2 53.4

4.0 3.4 3.8 8.4 9.9 9.3

0.5 0.0 1.2 0.7 0.8 1.6

OpenHands

GPT-5.4 Gemini-3.1-Pro GLM-5 Kimi-K2.6 Qwen3.5-Plus MiniMax-M2.7 Seed-2.0-Pro

90.1 80.7 76.0 86.8 73.6 71.4 54.6

3.6 4.6 7.6 6.3 5.0 4.7 6.9

0.0 0.1 0.8 0.3 0.8 0.8 0.9

6.0

0.6

Mean

Table 3: Comparison of DAG-based vs. Flat evaluation protocols under the Claude Code framework (3 rounds). Proj.: Project Completion Rate; Taskw /Crit.w : cumulative weighted pass rates after Round 3; Eval Tokens: total evaluation tokens consumed (input + output, in millions). DAG numbers are computed under the DAG-aware protocol with T =0.5 soft-satisfaction; Flat numbers are reported as in the previous version of this work, where every criterion is evaluated independently regardless of dependency status. DAG reduces evaluation token consumption by 23–27% while achieving higher fix rates due to focused root-cause feedback. Protocol Model

Pass Rates (%) Fix Rate R2 (%) Fix Rate R3 (%) Eval Tokens Proj. Taskw Crit.w Task Crit. Task Crit. (M)

DAG

GLM-5 Seed-2.0-Pro MiniMax-M2.7 Qwen3.5-Plus

30 8 22 24

76.6 51.8 76.4 70.1

82.9 60.9 86.3 80.2

61.8 35.7 57.7 44.4

66.6 38.7 68.0 51.8

44.7 35.4 35.4 31.4

48.7 42.9 47.8 38.2

17.9 21.9 21.2 18.4

Flat

GLM-5 Seed-2.0-Pro MiniMax-M2.7 Qwen3.5-Plus

36 16 26 18

83.6 69.6 74.0 77.3

89.0 79.4 84.9 86.6

45.9 30.9 39.9 40.8

49.0 35.0 43.3 45.3

38.7 28.1 27.9 26.9

46.6 39.9 40.4 34.0

23.4 26.9 25.7 25.0

Project Completion Rate on every backbone (5model mean 29.2% vs. 25.6%, +3.6 pp), yet the cumulative weighted Task Pass Rate is essentially tied (72.5% vs. 72.6%) and Claude Code even leads on MiniMax-M2.7 (76.4% vs. 70.7%). The divergence indicates that Claude Code’s failures are predominantly “near-miss” projects missing only one or two tasks out of fifteen-plus, which the strict all-pass PCR threshold amplifies into binary failures. Stronger first-round code on the top model contributes additionally: on GPT-5.4, OpenHands reaches 56.6% Round-1 weighted Task Pass Rate versus 49.7% on Claude Code, providing a higher baseline for subsequent refinement. Despite this PCR gap, Claude Code is roughly 1.8× faster end-to-end (64.5 vs. 116.3 minutes per project across three rounds) and uses tokens

more efficiently for models that exercise plan mode (GPT-5.4 input tokens: 5.5M vs. 11.0M). The frameworks also fail in distinct ways: Claude Code mostly through near-miss tasks and infrastructure timeouts, OpenHands more often through processmanagement deadlocks where the agent fails to terminate its dev server or inadvertently kills the orchestrator via broad pkill commands.

C

Implementation Details

This appendix consolidates the operational details of our experiments, complementing the high-level setup in subsection 4.1. Model–Framework Coverage. Three (model, framework) cells are skipped in Table 1: • Gemini-3.1-Pro on Claude Code. Gem-

ini’s native tool-call protocol is not supported by our in-house Claude Code sandbox; running it without protocol shimming produces malformed trajectories (cf. https://github.com/coffeegrind123/ gemini-for-claude-code). • Kimi-K2.6 on Claude Code. Kimi’s reasoning protocol is not supported by our in-house Claude Code sandbox, leading to truncated rollouts in pilot. • Claude-4.6-Sonnet on OpenHands. OpenHands’ explicit-tool-call loop issues markedly more LLM calls per task than Claude Code; completing the full 50 tasks × 3 rounds matrix at Sonnet’s per-token rate exceeded our evaluation API budget, so we report Sonnet on Claude Code only. Evaluation Hyperparameters. Unless otherwise specified, all experiments use: • Generation: max_steps=3 (Code Agent rounds); temperature follows each model’s default for tool-using agents. • Evaluation: max_retry=3 per dependency layer, browser concurrency = 3, headless Chrome with vision-enabled UI Agent (max 100 navigation steps per criterion, 3600 s wallclock timeout). On the DAG, a parent task is marked as satisfied for downstream propagation once at least 50% of its sub-criteria pass (softsatisfaction threshold T =0.5); a parent’s failure on a peripheral sub-criterion (e.g., a cornercase validation rule unrelated to the child task’s data contract) should not block evaluation of otherwise-independent descendants. Empirically, T =0.5 reduces the mean DAG-blocking gap from 6.0 pp to 0.6 pp relative to strict (T =1.0) propagation while preserving the rootcause focus of the protocol. • LLM roles: GPT-5.4 serves as the backbone for both the UI Agent (criterion judging) and the User LLM (feedback synthesis), held fixed across all Code Agent configurations to isolate Code Agent capability. Reproducibility. Each task is run once per (model, framework, round) cell to keep the total budget tractable, and we treat the 50 projects in each cell as i.i.d. samples. Within a project, the per-project metric is a {0, 1} indicator (PCR) or a

weighted pass ratio in [0, 1] (weighted Task / Criteria Pass Rate, weighted by difficulty wi ); the 50 per-project values are averaged into the cell mean x̄, and the 95% CI is the symmetric√CLT normalapproximation interval x̄ ± 1.96 · s/ 50 with s the unbiased sample standard deviation, computed via scipy.stats.norm.interval; subscripts in Table 1 report the half-width (e.g., 90.1±4.7 denotes [85.4, 94.8]), and we use CIs to support qualitative comparisons (overlapping vs. non-overlapping) rather than as exact probability statements since the normal approximation can degrade for PCR cells near the 0–1 boundary.

D

Per-Task-Type Performance Breakdown

To understand where the residual failures concentrate, we decompose the cumulative weighted Task Pass Rate after Round 3 by task type. Recall from Section 3.2 that every task is annotated as one of three types: Presence verifies that a required UI element exists, Functionality validates whether an interactive feature behaves correctly, and Robustness checks edge-case and invalid-input handling. The ordering Presence > Functionality > Robustness holds for every configuration in Table 4: rendering the right elements is by far the easiest sub-problem (68.1–98.0%), getting their interactive behaviour correct is harder (52.8–90.1%), and handling edge cases is the hardest (42.2–87.6%). The inter-model spread also widens monotonically, from 30 pp on Presence to 45 pp on Robustness, which means that Robustness is the dimension on which stronger and weaker code agents separate most cleanly. Claude-4.6-Sonnet on Claude Code is the only configuration that nearly closes the Functionality–Robustness gap (89.5% vs. 87.6%), suggesting that robustness on edge cases is a property of model training rather than of agent scaffolding.

E

Per-Round Fix Rate

Section 5 (RQ2) argues that initial generation and feedback-driven repair are largely decoupled capabilities, and uses Figure 6 to make this argument visually. For a quantitative companion, Table 5 reports the per-round fix rate, defined as the fraction of previously-failed items that become passing after the next round of refinement. Concretely, at

Table 4: Per-task-type breakdown of cumulative weighted Task Pass Rate after three rounds, under the DAG-aware evaluation protocol (T =0.5). Tasks are partitioned into Presence (element existence), Functionality (interactive behaviour), and Robustness (edge-case / invalid input handling). Per-project averages with within-project difficulty weighting. Highest values per framework block in bold.

Framework

Model

Pres. (%)

Func. (%)

Rob. (%)

OpenHands

GPT-5.4 Kimi-K2.6 Gemini-3.1-Pro GLM-5 Qwen3.5-Plus MiniMax-M2.7 Seed-2.0-Pro

98.0 90.1 95.8 88.6 86.9 85.7 68.1

90.1 87.3 81.3 76.5 73.3 71.1 55.0

86.0 81.7 71.5 67.1 67.5 64.5 42.2

Claude Code

Claude-4.6-Sonnet GPT-5.4 GLM-5 MiniMax-M2.7 Qwen3.5-Plus Seed-2.0-Pro

93.4 95.9 88.0 92.9 85.4 71.0

89.5 88.3 78.1 77.8 71.3 52.8

87.6 84.7 70.6 66.2 62.7 45.9

the task level FixRatetask = s

|Fs−1 ∩ Ps | , |Fs−1 |

where Fs−1 is the set of tasks that appeared in the fail[] list of round s−1 and Ps is the set of tasks that appeared in the pass[] list of round s. The criteria variant counts at the sub-criterion level: a previously-failed sub-criterion is fixed if its parent task fully passes in round s, or if its sub-criterion text is judged pass in round s. Numerator and denominator are aggregated across all 50 projects and reported as a single global ratio per round, matching the original fix-rate convention from earlier work and ensuring that each task or sub-criterion is counted at most once per round. A subtlety worth flagging is that the denominator |Fs−1 | differs across rows: a model that already converted most tasks in Round 1 has a smaller residual failure set to repair from, which can lower its later-round fix rates even when its absolute performance is high. Cross-row comparisons should therefore focus on the trajectory within a row (e.g., R2 versus R3 for the same model) rather than on the magnitude of any single cell. Two trends are nonetheless robust. First, every model’s R2 task fix rate exceeds its R3 , consistent with the diminishing-returns shape of the cumulative pass-rate curves in Figure 6. Second, models with lower first-round Task Pass Rates do not necessarily have lower fix rates: Kimi-K2.6 on Open-

Hands posts an R2 task fix rate of 66.0% from a 44.3% first-round baseline, exceeding several models with stronger first rounds, which is the quantitative analogue of the “decoupled” observation in RQ2.

F

Human Annotation Protocol

This appendix records the rubric and conventions that human annotators followed to produce the gold labels used in RQ3, together with the annotation console (Figure 7) used to apply them. Annotation is single-annotated (one independent annotator per criterion) and applied only to the final-round (Round 3) deployed application; intermediate rounds are not annotated. Each criterion is judged independently and the resulting JSON file follows the exact same schema as our automated evaluator’s eval_step3_results.json, which makes the agreement comparison schemaaligned by construction.

G

Prompt used to synthesize the underspecified user query from a Clarified PRD

See Figure 9.

H

A Fully Compliant Implementation

To calibrate what a successful Asuka-Bench task looks like end-to-end, we walk through one

Figure 7: The web-based annotation console used by human annotators. The deployed project under evaluation is rendered live in the centre pane; the right pane lists the per-criterion checklist grouped by task; annotators interact with the live application and judge each criterion as Pass or Fail before saving.

Annotation Rubric Pass criterion. A criterion is judged Pass if the behaviour it describes works as expected on the deployed application: the relevant UI element is present and interactive, the interaction produces the expected effect, and any associated data is correctly saved, updated, or displayed. Fail criterion. A criterion is judged Fail if any of the following hold: • Missing functionality: the UI element or feature described by the criterion is absent. • Incorrect behaviour: the feature exists but the interaction outcome does not match the criterion’s description. • Data error: data is not correctly saved, updated, or displayed in the way the criterion specifies. Conventions. Annotators were instructed to follow four conventions to keep judgements aligned across the cohort: 1. Per-criterion independence. Each criterion is judged on its own merits. A failing peer criterion within the same task does not propagate: if the current criterion’s description is satisfied, it is marked Pass. 2. Faithful to the description. Annotators judge only against the literal text of the criterion; additional acceptance standards beyond what the criterion specifies must not be introduced. 3. Style differences are not failures. Cosmetic differences (colour, typography, spacing, exact wording of static labels) do not count against a criterion as long as the described functionality is correct. 4. Completeness. Every criterion in the project must receive a Pass or Fail label before the annotation file is saved; skipped criteria are not allowed.

Figure 8: Rule for human annotators.

Prompt for Generating the Underspecified User Query from a Clarified PRD # Task You are a senior product manager responsible for generating an ambiguous user query for a Web frontend page based on its detailed Product Requirements Document (PRD). The ambiguous query will be used to instruct a Code Agent to develop the corresponding Web frontend project. • The ambiguous query should cover all functional requirements in the PRD, ensuring every functional point is reflected in the query. • The query should be deliberately vague, avoiding overly specific technical terms or implementation details, so as to test the Code Agent’s understanding and reasoning ability. • The query should be written in natural language, with clear and easily understandable phrasing. • The query must be concise: only state what the page needs to do, without elaborating on detailed requirements or implementation approaches. Use as few words as possible to convey as much information as possible. • The query must not contain any information unrelated to the PRD; every description must be directly tied to the PRD. • The query should avoid absolute wording such as “must” or “necessarily”, in order to preserve ambiguity and flexibility. • The query should be user-experience oriented, reflecting the needs and expectations of the end user when interacting with the page. • The query should include necessary domain information such as label names or rule names, but avoid overly specific implementation details. • Excluding the additional information (label names, rule names, etc.), the body of the ambiguous query must be kept within 200 words. # Example underspecified Query Please build a stock analysis and customized report generation website for individual investors. The site should quantitatively score and comprehensively evaluate stocks based on market-data and fundamental indicators, generate a ranked leaderboard from high to low, and use a radar chart to present each stock’s score structure across sub-indicator dimensions, so that strengths and weaknesses can be quickly identified. Requirements: indicators and scoring rules should be maintainable; after selecting a trading day or time window, market data is loaded and annotated with source and update time; market / fundamental / composite scores are automatically computed and a stable ranking is produced; sorting, searching, and filtering by industry / market are supported; clicking on a stock shows its radar chart and sub-indicator details, and allows one-click generation of a customized stock report; multi-stock comparison is supported; for missing or anomalous data, identification, reasons, and placeholder prompts should be shown. # PRD content {prd}

Figure 9: Prompt used to synthesize the underspecified user query from a Clarified PRD.

Table 5: Per-round fix rates. Task fix rate at Rs = |Fs−1 ∩ Ps |/|Fs−1 |, where Fs−1 is the set of tasks that were in the fail[] list of round s−1 and Ps is the set of tasks that passed in round s. Criteria fix rate is analogous at the sub-criterion level: a previously-failed sub-criterion is counted as fixed if its parent task is fully passed in round s or if its sub-criterion text is judged pass in round s. Counts are aggregated across all 50 projects as a single global ratio. The denominator differs across rows (each row’s prior-failure set depends on its own first-round performance), so column-wise ranking should be interpreted with care. Task Fix Rate (%)

Criteria Fix Rate (%)

R2

R3

R2

R3

OpenHands

GPT-5.4 Kimi-K2.6 Gemini-3.1-Pro GLM-5 Qwen3.5-Plus MiniMax-M2.7 Seed-2.0-Pro

62.6 66.0 61.2 56.3 45.8 48.4 39.0

52.6 58.1 43.6 45.0 39.4 40.9 26.7

71.2 73.7 70.1 60.1 50.1 57.8 47.0

63.7 69.8 53.9 55.9 47.8 51.0 31.6

Claude Code

Claude-4.6-Sonnet GPT-5.4 GLM-5 MiniMax-M2.7 Qwen3.5-Plus Seed-2.0-Pro

67.9 68.7 61.8 57.7 44.4 35.7

52.2 53.3 44.7 35.4 31.4 35.4

72.7 78.3 66.6 68.0 51.8 38.7

63.0 58.6 48.7 47.8 38.2 42.9

Framework

Model

project drawn from the dataset, proj_34 – Supplier Resource Evaluation Visualization Ranking Page. This project is representative of the datavisualization slice of Asuka-Bench: it requires a maintainable indicator system, a weighted scoring engine, a sortable / filterable ranking list, a radar chart with hover and multi-supplier comparison, and explicit fault tolerance for missing or anomalous data. Below we present, in order, (i) the underspecified user query the Code Agent receives; (ii) the Clarified PRD that defines ground truth; (iii) the 16-task evaluation rubric (Table 6); (iv) the task-dependency DAG (Figure 12); and (v) screenshots of the resulting page (Figure 13). H.1

2. Clarified PRD

See Figure 11. H.3

3. Evaluation Rubric

See Table 6. H.4

H.5

5. Resulting Page (Successful Implementation)

1. Underspecified User Query

See Figure 10. H.2

The dataset only enforces “everything depends on the page-layout root” plus three robustness gates (#13, #14 ← #7; #15 ← #8); the dashed sky-blue edges expose the semantic flow a correct implementation must additionally honour: scoring → composite, composite → ranking, scored data → radar, radar → tooltip and comparison. These hidden edges are where most single-pass models break.

4. Task-Dependency DAG

Figure 12 renders the dependencies between the 16 tasks. Filled colour encodes task type ( Presence / Functionality / Robustness ); node-border thickness encodes weight; the four swim-lanes correspond to the PRD’s four functional areas (data foundation, scoring engine, ranking & filter, visualization), and the bottom lane gathers the three robustness tasks.

Figure 13 shows the final page produced by Claude4.6-Sonnet (Claude Code framework) after three rounds of iterative repair (R1 6/16 → R2 11/16 → R3 14/16; the two remaining failures are tasks #10 and #15). The page implements every PRD module: a header data-source bar with last-update timestamps; a left ranking list with composite / resource / quality score progress bars, sortable headers, search and category / region filters, and an explicit non-evaluable badge for suppliers excluded by the missing-data rule; a right detail panel with the per-supplier radar chart and the sub-indicator detail table. Anomalous inputs surface inline (e.g. “On-Time Delivery Rate: Nonnumeric value”), and the data-quality alerts strip at the top exposes the system-level robustness state.

Raw user input (vague) Supplier Resource Evaluation Visualization Ranking Page. This project builds a visualization ranking page for supplier management and procurement evaluation scenarios. It quantitatively scores and comprehensively ranks suppliers based on resource-type and quality-type indicators, displays the ranking from high to low, and presents each supplier’s score structure across sub-indicator dimensions via a radar chart so that strengths and weaknesses can be identified quickly. Loose requirements. Maintainable indicators and scoring rules; load data after selecting a period / scope and annotate source and update time; automatically compute resource / quality / composite scores and emit a stable ranking; support sort, search, and category / region filtering; click a supplier to see its radar chart and sub-indicator detail; support multi-supplier comparison; for missing or anomalous data, show identification, reasons, and placeholder prompts. • Indicator schema: name | type (resource / quality) | scoring direction (positive / negative) | weight | belonging dimension. • Rule schema: normalization range | threshold interval | reverse-scoring strategy | missing-data strategy. • Ranking columns: rank | supplier name | composite score | resource score | quality score. • Radar tooltip: dimension score | sub-indicator list | key raw values. • Anomaly info: anomalous field + supplier name | entry point for non-evaluable reason.

Figure 10: Vague user input of proj_34

PRD — Supplier Resource Evaluation Visualization Ranking Page 1. Project Overview. A visualization ranking page for supplier management and procurement evaluation. Suppliers are scored on resource-type and quality-type indicators and ranked by composite score; a radar chart shows each supplier’s per-dimension score structure for quick strength / weakness diagnosis. 2. Core Functional Requirements. 2.1 Indicator System & Scoring Rules. Maintain an indicator list with the fields: name, type, scoring direction, weight, belonging dimension. Resource-type and quality-type indicators must be scored under their respective rule configurations: normalization range, threshold intervals, reverse-scoring strategy. 2.2 Data Loading & Scope Selection. A statistical-period selector and data-scope selector control loading; switching the period synchronously refreshes the ranking and the visualization. Each indicator’s raw data must be field-matched against the indicator list, and data update time and source identifiers (e.g. ERP, QMS) must be displayed for traceability. 2.3 Score Calculation & Ranking Generation. For each supplier, compute per-indicator scores, the resource sub-score, the quality sub-score, and a weighted composite score; positive- and negative-direction indicators are scored independently and mapped onto the same scale before aggregation. The ranking is sorted by composite score in descending order; ties are broken by a fixed, stable rule. 2.4 Composite Ranking Display. The ranking list contains, at minimum, columns for rank, supplier name, composite score, resource score, quality score; default sort is by composite score, and column headers (resource, quality, any sub-indicator) toggle alternative sort keys. The list supports search by supplier name and filters on supplier category and region. 2.5 Sub-Indicator Detail & Radar Chart. Selecting a supplier populates that supplier’s radar chart, whose axes correspond to the indicator’s belonging dimensions or a preset dimension set. Hover tooltips show dimension score, the sub-indicator list under that dimension, and key raw values. A sub-indicator detail list (name, type, raw value, score, weight, score contribution) accompanies the radar chart. Comparison mode allows simultaneous display of multiple suppliers’ dimension curves on the same radar chart. 3. Fault Tolerance & Exception Handling. 3.1 Missing / Incomplete Data. When raw indicator data is missing, apply the configured missing strategy (mark-missing or median-imputation) and clearly mark missing items in the list and detail view. If missing data makes the composite score uncomputable, mark the supplier as non-evaluable, exclude it from the default ranking, and provide an entry point to inspect the reason. 3.2 Out-of-Range / Non-Numeric Input. When raw data exceeds the rule-allowed range or is non-numeric, block scoring and prompt with the anomalous field and supplier name; the supplier shows an error-state badge in the list. 3.3 Radar-Chart Robustness. On division-by-zero, infinity, or empty dimensions that would make the radar chart unrenderable, fall back to a placeholder state and prompt the user to adjust the data or rule configuration. 4. Appearance. Dashboard-style layout with a clear hierarchy and a distinct ranking-area / detail-area separation. Resourcetype and quality-type information must be visually distinguished consistently across the whole page.

Figure 11: Full PRD doc of proj_34

#

Task summary

Type

Wt.

0

Page-layout elements present

Presence

2

1

Period switching

Functionality

3

2

Ranking columns & consistency

Functionality

3

3

Sortable list

Functionality

4

4

Search & filter intersection

Functionality

3

5

Resource-type scoring

Functionality

5

6

Quality-type scoring

Functionality

5

7

Composite-score correctness

Functionality

4

8

Radar chart per supplier

Functionality

4

9

Radar hover tooltip

Functionality

3

10

Multi-supplier comparison

Functionality

4

11

Sub-indicator detail list

Functionality

3

12

Source & update-time annotation

Functionality

3

13

Missing-data handling

Robustness

4

14

Anomalous-input handling

Robustness

4

15

Radar-chart fallback

Robustness

3

Criteria (1) Statistical-period selector at the top. (2) Supplier ranking list container in the main area. (3) Radar-chart container in the detail area. (4) Supplier-name search box and category / region filter dropdowns. (1) Switching the period changes the ranking-list data. (2) Radar chart and detail data update synchronously. (3) An empty period shows an empty-state prompt. (1) Columns include rank, supplier name, composite, resource, and quality scores. (2) List data matches the selected period. (3) All three scores are displayed numerically. (1) Default sort is by composite score, descending. (2) Clicking the resource header sorts by resource score. (3) Clicking the quality header sorts by quality score. (4) Clicking any sub-indicator header sorts by that sub-indicator. (1) Name-keyword search filters the list. (2) Category filter narrows to that category. (3) Region filter narrows to that region. (4) Combined search + filter returns the intersection. (1) Resource sub-indicator detail shows raw value and score. (2) Resource sub-score equals the weighted aggregate of its sub-indicator scores. (3) For negative indicators (e.g. Avg. Lead Time), smaller raw values yield higher scores. (1) Quality sub-indicator detail shows raw value and score. (2) Quality sub-score equals the weighted aggregate of its sub-indicator scores. (3) For negative indicators (e.g. Defect PPM), smaller raw values yield higher scores. (1) Composite equals the weighted combination of resource + quality scores. (2) Numeric precision matches the display requirement. (3) Composite shown in the list matches the value shown in the detail panel. (1) Selecting a supplier populates that supplier’s radar chart. (2) Axes correspond to indicator-belonging dimensions (or the preset dimension set). (3) Plotted points reflect each dimension’s score. (1) Hovering a dimension shows a tooltip. (2) Tooltip displays the dimension score. (3) Tooltip lists the sub-indicators under that dimension and their key raw values. (1) Selecting comparison mode plus multiple suppliers renders multiple curves. (2) Curves are distinguished by color or legend. (3) Hovering a dimension shows the comparison values across selected suppliers. (1) Detail area shows a sub-indicator list. (2) Columns include name, type, raw value, score, weight, and score contribution. (3) Data matches the selected supplier and period. (1) Page or detail area shows the data update time. (2) Each indicator is annotated with its source (e.g. ERP, QMS). (3) Source labels are consistent with the metadata configuration. (1) Missing raw values trigger the configured strategy (mark-missing / median-imputation). (2) Missing items have a clear visual indicator in the list / detail. (3) If composite is incomputable, the supplier is marked non-evaluable and excluded from the default ranking. (1) Out-of-range raw values block scoring. (2) Non-numeric inputs prompt with the anomalous field and supplier name. (3) Anomalous suppliers carry an error-state badge in the list. (1) Infinite or uncomputable dimension scores must not crash the radar chart. (2) If unrenderable, the area shows a placeholder state. (3) The system prompts the user to check data / rule configuration.

Table 6: Evaluation rubric of proj_34. Tasks 5 and 6 (resource / quality scoring) carry the heaviest weights; tasks 13, 14, 15 are the robustness frontier typically missed by single-pass generation.

I

Case Study: Progressive Repair Through Iterative Feedback

Asuka-Bench’s criterion-level scoring exposes failure modes that project-level pass/fail metrics hide. We illustrate this on two cases drawn from different UI families: a single-page analytics dashboard and a multi-page social app. Both show the same pattern under one round of low-verbosity feedback. Surface-rendering defects are fixed cleanly; deeper interaction-logic defects (sign-change reasoning in Case 1, file-reader wiring in Case 2) survive the round and would need richer feedback or another iteration to resolve. The split is only visible because every criterion is graded independently. Case 1: Rural-Stay Revenue Strategy Tool (Figure 14, Table 7). Claude-4.6-Sonnet generates a single-page revenue dashboard. v1 has four defects on the dial, the Revenue Chart, the break-even highlight, and the variable-cost pie. After Round-1,

1 ⃝, 2 ⃝) 4 are cleanly fixed, while the breakthree (⃝, 3 even highlight (⃝), which requires sign-change reasoning on the profit curve, remains unfixed. Net: 7/11 → 10/11 criteria.

Case 2: Visual Social Media Platform (Figure 15, Table 8). Claude-4.6-Sonnet generates a six-tab social platform. v1 has four cross-page rendering 1 ⃝). 4 defects (⃝– After Round-1, three are fixed; 3 only the Publish thumbnail (⃝) is misread as a label issue and left unfixed. Net: 13/20 → 16/20 criteria.

J

AI Usage Statement

In the preparation of this manuscript, LLMs were used solely for grammatical refinement and phrasing adjustment of the text. All core intellectual contributions of this study—including the benchmark design (the underspecified-query / Clarified-PRD pairing, the criterion DAG, the soft-satisfaction pro-

Task #0 is a layout precondition for every other task (its fan-out edges are drawn lightly). w2

#0 Page layout

Data Foundation

Ranking & Filter

Scoring Engine

w3

Visualization

#1 Period switching

w5

w5

w3

w4

w3

#5

#6

#2

#8

#11

Resource scoring

Quality scoring

Ranking columns

Radar by supplier

Sub-indicator detail

w3

#12 Source / update time

w4

Robustness Lane

Presence Functionality

w4

w3

w3

w4

#7

#3

#4

#9

#10

Composite score

Sortable list

Search & filter

Radar tooltip

Compare mode

w4

w4

w3

#13

#14

#15

Missing-data handling

Anomalous input

Radar fallback

Robustness dataset dep.

semantic flow robustness dep.

thicker border = higher weight

Figure 12: Task-dependency DAG for the case study (proj_34, 16 tasks, total weight = 57). Solid grey = dataset dependency required by the DAG-aware scheduler; dashed sky-blue = semantic flow that the implementation must honour even though the scheduler does not enforce it; dashed purple = robustness gates entering the bottom lane. Border thickness encodes task weight (1 → 5).

tocol, and the closed-loop evaluation framework), the experimental setup (model and framework selection, metric definition, hyperparameter choices, and the human-agreement protocol), and all analysis and interpretation of results—were independently completed by the authors without any reliance on LLMs for idea generation, technical design, or result interpretation. All LLM-refined text has undergone manual review and revision by the authors to ensure alignment with the study’s actual methods and results.

Figure 13: Successful implementation of the case-study PRD by Claude-4.6-Sonnet after three rounds of feedback.

#

Region

R1 feedback (low-verbosity)

1 ⃝ Dial

crit 3-0 — Dial drag does not update the numeric input. 2 ⃝ Revenue Chart crit 4-0 — Chart panel shows a placeholder; curves not rendered. 3 ⃝ Break-even mark crit 5-0 — Zero-crossing of profit is not highlighted. 4 ⃝ Cost pie crit 6-1 — Pie does not respond to the plan dropdown.

Repair verdict (v2) ✓ fixed. Drag→input sync restored. ✓ fixed. ComposedChart re-mounted on chartData. ✗ unfixed. Sign-change detection missing. ✓ fixed. Filter key swapped to selectedBreakdownPlan.

Table 7: Per-defect summary for Case 1 (Rural-Stay Revenue Strategy Tool).

#

Page

1 ⃝ Profile

R1 feedback (low-verbosity)

task 0 / crit 1 — Hero shows “–” for post/follower/following counts. 2 ⃝ Feed task 2 / crit 2 — Feed card renders only the author header; media/caption/actions missing. 3 ⃝ Publish task 6 / crit 0 — After file selection, filename is shown instead of a thumbnail. 4 ⃝ Notifications task 19 / crit 1 — Unread red-dot and header unread-count chip missing.

Repair verdict (v2) ✓ fixed. Re-binds user.stats.* via formatCount. ✓ fixed. Full PostCard body restored. ✗ unfixed. FileReader wiring untouched. ✓ fixed. Dot + chip re-added under unread > 0.

Table 8: Per-defect summary for Case 2 (Visual Social Media Platform).

Round 1

2 3

1

Round 2

3 1 2

Figure 14: Progressive repair on the Rural-Stay Revenue Strategy Tool (Claude-4.6-Sonnet). v1 (left) shows four highlighted failing regions; v2 (right) shows the post-Round-1 state with ✓ fixed (green) and ✗ still failing (red). Pass count: v1 7/11 → v2 10/11 criteria.

Round 1 3 1

2

4

Round 2 1

3

2

4

Figure 15: Progressive repair on the Visual Social Media Platform (Claude-4.6-Sonnet). v1 (left) shows four cross-page failing regions; v2 (right) shows the post-Round-1 state with ✓ fixed (green) and ✗ still failing (red). Pass count: v1 13/20 → v2 16/20 criteria.

Related documents

Record · ID 259539 · SHA-256 71ae7341d8409ef5
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.