VISTA: An End-to-End Benchmark for Visual Spec-to-Web-App Coding Agents

📅 2026-05-22
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Existing code generation benchmarks primarily focus on algorithmic tasks and struggle to evaluate large language models’ ability to generate functionally complete and visually consistent web applications from visual specifications. To address this gap, this work proposes VISTA—the first UI-driven, end-to-end evaluation benchmark—which systematically defines an assessment framework encompassing structural, behavioral, and visual dimensions. VISTA introduces human-annotated web pages with interaction labels and visual anchors, integrating DOM matching, Playwright-based behavioral testing, CLIP-based visual similarity analysis, Figma structure parsing, and multi-stack frontend constraints. Experiments reveal a partial decoupling between visual fidelity and functional correctness, and demonstrate that while agent editing styles vary significantly, they do not compromise task quality, thereby establishing a reproducible foundation for agent-based software engineering research.
📝 Abstract
We present VISTA (VIsual Spec-To-App Benchmark), a benchmark for evaluating the end-to-end web-app generation capabilities of LLM-based agents. Unlike prior code generation benchmarks that focus on algorithmic tasks, VISTA targets realistic UI-centric development, where agents must produce functional, visually coherent applications from underspecified inputs. We define five prompt-information conditions that vary along two axes, visual/structural fidelity and stack constraint: (1) text only with free stack choice, (2) text with reference screenshots under three specified stacks, (3) text with reference screenshots under free stack choice, (4) text with screenshots and pruned Figma structure under a single specified stack, and (5) text with screenshots and pruned Figma structure under free stack choice. To enable robust evaluation, each page in the benchmark is manually annotated with interactive UI components and around three visual anchor points, addressing the well-known limitations of script-based testing tools such as Playwright in open-ended code generation settings. Evaluation combines DOM-grounded reference matching, behavior-specific browser tests, and CLIP-based visual similarity, jointly measuring structural alignment, behavioral completeness, and overall visual fidelity. We use VISTA to assess four agent systems drawn from two model families and two harnesses, finding that visual fidelity and functional correctness are partially decoupled across both input conditions and agents, and that agent editing style varies sharply but is largely orthogonal to task quality. VISTA establishes a rigorous and reproducible foundation for advancing agent-based software engineering research.
Problem

Research questions and friction points this paper is trying to address.

web-app generation
visual fidelity
code generation benchmark
LLM-based agents
UI-centric development
Innovation

Methods, ideas, or system contributions that make the work stand out.

visual code generation
LLM-based agents
UI-centric benchmark
end-to-end web app synthesis
multimodal evaluation