๐ค AI Summary
Current evaluations of code language models are confined to static text generation and lack comprehensive assessment of visual fidelity, interactive quality, and library-level reasoning in web development. This work proposes the first multimodal benchmark for web coding that encompasses text, image, and video inputs across generation, editing, and repair tasks, closely simulating real-world development workflows. It introduces a novel human-in-the-loop tiered test suite and a unified end-to-end evaluation framework, pioneering an Agent-as-a-Judge paradigm powered by browser-based automated execution, MCP-driven interactive exploration, and synthetic test case generation. Experiments reveal that closed-source models generally outperform open-source counterparts; repair tasks exhibit stronger interaction preservation yet pose greater difficulty; aesthetic quality remains a key bottleneck for open-source models; and framework choice significantly impacts performanceโVue presents the greatest challenge, while React and native HTML/CSS/JS each demonstrate task-dependent advantages.
๐ Abstract
Large language models are rapidly evolving into interactive coding agents capable of end-to-end web coding, yet existing benchmarks evaluate only narrow slices of this capability, typically text-conditioned generation with static-correctness metrics, leaving visual fidelity, interaction quality, and codebase-level reasoning largely unmeasured. We introduce WebCompass, a multimodal benchmark that provides unified lifecycle evaluation of web engineering capability. Recognizing that real-world web coding is an iterative cycle of generation, editing, and repair, WebCompass spans three input modalities (text, image, video) and three task types (generation, editing, repair), yielding seven task categories that mirror professional workflows. Through a multi-stage, human-in-the-loop pipeline, we curate instances covering 15 generation domains, 16 editing operation types, and 11 repair defect types, each annotated at Easy/Medium/Hard levels. For evaluation, we adopt a checklist-guided LLM-as-a-Judge protocol for editing and repair, and propose a novel Agent-as-a-Judge paradigm for generation that autonomously executes generated websites in a real browser, explores interactive behaviors via the Model Context Protocol (MCP), and iteratively synthesizes targeted test cases, closely approximating human acceptance testing. We evaluate representative closed-source and open-source models and observe that: (1) closed-source models remain substantially stronger and more balanced; (2) editing and repair exhibit distinct difficulty profiles, with repair preserving interactivity better but remaining execution-challenging; (3) aesthetics is the most persistent bottleneck, especially for open-source models; and (4) framework choice materially affects outcomes, with Vue consistently challenging while React and Vanilla/HTML perform more strongly depending on task type.