WebGameBench: 通过浏览器原生游戏对编码代理进行需求到应用的评估
WebGameBench: Requirement-to-Application Evaluation for Coding Agents via Browser-Native Games
AI总结:
提出WebGameBench基准,通过将结构化Web游戏规范转化为可浏览器访问的游戏,评估编码代理从需求到应用交付的能力,并采用运行时评估器与人类审查对齐的可用性标签。
摘要:
编码代理越来越多地被用作应用程序构建者,然而许多评估仍聚焦于源代码、仓库级测试或中间痕迹,而非交付的应用。我们引入WebGameBench,一个需求到应用的基准,评估编码代理能否将冻结的结构化Web游戏规范转化为可浏览器访问的游戏。浏览器原生游戏提供了一个紧凑但行为密集的测试平台:即使是简单的游戏也需要协调的输入处理、空间映射、规则执行、状态转换、终止条件、重启行为和可见反馈。在WebGameBench中,每个生成的工件在统一部署协议下被构建、服务并作为浏览器可访问的应用暴露。然后,运行时评估器在真实浏览器中与交付的游戏交互,并分配三类标签:优秀、可用或不可用。在人工审查的子集上,运行时标签与人类游戏审查在可用率标准下大致一致。在111个任务、12个编码代理和14个评估配置中,WebGameBench区分了当前系统:最佳配置达到76.9%的可用率,但仅有20.2%的优秀率。这一差距表明,跨越最低可玩交付阈值仍远未达到完全满足需求。据我们所知,WebGameBench是首个针对浏览器原生游戏交付的需求到应用基准,它在可用率标准下将交付应用的运行时标签与独立的人类游戏审查进行验证。
英文摘要:
Coding agents are increasingly used as application builders, yet many evaluations still focus on source code, repository-level tests, or intermediate traces rather than the delivered application. We introduce WebGameBench, a requirement-to-application benchmark that evaluates whether coding agents can turn a frozen Structured WebGame Specification into a browser-accessible game. Browser-native games provide a compact but behavior-dense testbed: even simple games require coordinated input handling, spatial mapping, rule execution, state transitions, terminal conditions, restart behavior, and visible feedback. In WebGameBench, each generated artifact is built, served, and exposed as a browser-accessible application under a unified deployment protocol. A runtime evaluator then interacts with the delivered game in a real browser and assigns a three-way label: EXCELLENT, USABLE, or UNUSABLE. On a human-reviewed subset, the runtime label is broadly aligned with human gameplay review under the Usable-rate criterion. Across 111 tasks, 12 coding agents, and 14 evaluation configurations, WebGameBench separates current systems: the best configuration reaches a 76.9% usable rate but only a 20.2% excellent rate. This gap shows that crossing the minimum playable-delivery threshold is still far from complete requirement satisfaction. To our knowledge, WebGameBench is the first requirement-to-application benchmark for browser-native game delivery that validates delivered-application runtime labels against independent human gameplay review under the Usable-rate criterion.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。