TL;DR
Traditional code-generation benchmarks evaluate models based on perfect, one-shot specifications, failing to capture the messy, iterative reality of software engineering. This paper introduces Asuka-Bench, a new benchmark that tests code agents using deliberately vague user prompts paired with a multi-round, browser-grounded feedback loop. Even the strongest LLM configurations complete only 52% of the projects within three rounds, highlighting a critical and under-optimized frontier for AI coding agents.
What Problem Does This Paper Address?
Most existing code-generation benchmarks (like HumanEval or SWE-bench) operate on a static paradigm: give the model a complete, unambiguous prompt, and score its single-turn output.
However, real-world web development doesn't work this way. Users rarely articulate a flawless specification upfront. Instead, requirements surface dynamically as users interact with intermediate prototypes, spot gaps, and provide corrective feedback. Web development is uniquely suited for this because it follows a "what-you-see-is-what-you-get" paradigm. By failing to evaluate how well an agent incorporates interactive execution feedback over multiple turns, current benchmarks miss a core dimension of software engineering capability.
Methods
Asuka-Bench evaluates code agents through an automated, closed-loop simulation consisting of three main components:
- Code Agent: Receives an initial underspecified query and generates a web project, refining it across subsequent rounds based on natural-language feedback.
- UI Agent: An autonomous, vision-enabled web-navigation module that deploys the generated site in a headless browser, executes interactive test cases, and judges correctness based on rendered behavior rather than source code.
- User LLM: Synthesizes the raw pass/fail results from the UI Agent into structured, natural-language feedback for the Code Agent's next iteration.
To prevent the Code Agent from being overwhelmed by downstream symptoms of a foundational bug, the evaluation criteria are organized as a Directed Acyclic Graph (DAG) of dependencies. If a prerequisite task fails (e.g., a product search bar is missing), downstream tasks (e.g., testing search filters) are skipped. The authors implement a "soft-satisfaction" threshold ($T=0.5$), meaning a parent task is non-blocking as long as at least half of its sub-criteria pass, preventing minor cosmetic defects from stalling the entire evaluation pipeline.
Datasets
The authors introduced the Asuka-Bench dataset, which contains 50 web development tasks spanning six application categories.
The tasks were curated from three distinct sources to ensure real-world relevance: production data from a web development service, high-quality open-source GitHub repositories, and feature-rich existing websites. Across the 50 tasks, the dataset establishes a rigorous internal ground truth consisting of 784 evaluation tasks and 2,402 expected outcomes, categorized into:
- Presence: Verifying if UI elements exist.
- Functionality: Validating interactive features and logic.
- Robustness: Testing edge cases and invalid inputs.
Key Insights and Ideas
- Generation and Repair are Decoupled Capabilities: A model’s ability to generate code in the first round does not necessarily dictate its ability to fix errors based on feedback. For instance, the Kimi-K2.6 model started with a mediocre first round but demonstrated exceptional repair capabilities, ultimately climbing to second place within its framework block.
- Iterative Feedback Beats Upfront Detail: The experiments revealed that giving a model three rounds of interactive feedback on an ambiguous query actually yields better final code than giving it a single shot at a fully clarified prompt.
- Robustness is the Ultimate Differentiator: While most models successfully render basic UI components (Presence tasks), they struggle significantly with edge cases and error handling (Robustness tasks). Performance on robustness tasks is where top-tier models cleanly separate themselves from weaker ones.
Key Results
- High Room for Growth: The benchmark is far from saturated. After three rounds of refinement, the highest Project Completion Rate (PCR)—which requires all tasks in a project to pass—was only 52% (achieved by GPT-5.4 using the OpenHands framework).
- Wide Model Separation: The cumulative weighted Task Pass Rate after three rounds showed a massive 38 percentage point spread between the strongest and weakest model configurations.
- Efficiency of DAG Evaluation: Compared to a flat evaluation baseline (testing every criterion independently), the DAG-aware protocol cut evaluation token costs by 23–26% and boosted task fix rates by 10.5 percentage points by keeping the feedback strictly focused on root causes.
- Solvability Confirmed: To ensure the tasks weren't inherently broken, the authors ran a saturation analysis extending Claude-4.6-Sonnet to 8 rounds. Both the project completion and task pass rates converged to 100%, proving the benchmark is challenging but entirely solvable.
Limitations and Future Work
- Domain Coverage: Asuka-Bench currently targets self-contained frontend applications with simulated data. It does not yet cover complex backend integrations, 3D graphics, or real-time collaborative applications.
- Evaluator Dependence: The framework relies heavily on GPT-5.4 to power both the UI Agent and the User LLM feedback loop. Changing this backbone evaluator could shift absolute performance scores.
- Contamination Risk: Because the benchmark queries and DAG structures are static, future models could potentially memorize them during pre-training, necessitating a periodic refresh of the task pool.
Summary updated