A2Z GameSpec-Bench:编码智能体从游戏设计规范生成游戏的忠实度如何?

·

研究论文 · 2026/10/01

将完整的应用开发委托给编码智能体,需要保留预期设计,而不仅仅是通过简单提示生成看似合理的输出。游戏开发提供了一个要求严苛的测试平台,因为长篇游戏设计文档(GDD)描述的需求必须在游戏逻辑、视觉渲染和玩家交互之间协同工作。然而,现有的游戏开发基准通常使用紧凑的规格说明,并且对评估长篇GDD中这些方面相互依赖的需求提供的支持有限。我们推出了A2Z GameSpec-Bench,一个包含100个长篇GDD的基准,用于评估智能体的端到端游戏开发。我们通过检查游戏是否满足GDD需求并保持它们之间的关系来衡量忠实度。每个GDD被转化为一个依赖感知的契约,包含规则、约束和前置关系。遵循游戏开发实践,我们将源代码检查与智能体生成的测试策略相结合,用于基于场景的回放和自适应游戏测试。该契约在智能体和修订轮次之间保持固定,而与相同需求相关的判断和证据支持一致的比较和故障检测。我们的评估表明,当前智能体难以在代码实现和实际游玩中同时满足相互依赖的需求。与两轮后的自我修订相比,针对需求的反馈将GDD忠实度提高了10.9%。A2Z GameSpec-Bench评估了超越实现判断的端到端规格遵循能力,并提供有针对性的反馈以支持更忠实的游戏开发。代码和数据集可在https://a2z-gamespec-bench.github.io获取。

该研究针对编码智能体在复杂游戏开发任务中的忠实度评估难题,提出了一个系统性的基准和方法,揭示了当前智能体的不足,并提供了有效的改进方向,对推动智能体在真实应用中的可靠部署具有重要意义。

Delegating complete application development to coding agents requires preserving the intended design rather than simply producing plausible outputs through naive prompting. Game development provides a demanding testbed, as long-form Game Design Documents (GDDs) describe requirements that must work together across game logic, visual rendering, and player interactions. However, existing game-development benchmarks typically use compact specifications and provide limited support for evaluating interdependent requirements across these aspects in long-form GDDs. We introduce A2Z GameSpec-Bench, a benchmark of 100 long-form GDDs for evaluating end-to-end game development by agents. We measure faithfulness by checking whether the game satisfies the GDD requirements and preserves the relationships among them. Each GDD is turned into a dependency-aware contract that contains rules, constraints, and prerequisite relations. Following game-development practices, we combine source-code inspection with agent-generated test policies for scenario-based replay and adaptive playtesting. The contract remains fixed across agents and revision rounds, while judgments and evidence linked to the same requirements support consistent comparison and failure detection. Our evaluations show that current agents struggle to jointly satisfy interdependent requirements across code implementation and actual play. Requirement-specific feedback improves GDD Fidelity by 10.9% relative to self-revision after two rounds. A2Z GameSpec-Bench assesses end-to-end specification-following ability beyond implementation judgments and provides targeted feedback to support more faithful game development. Code and datasets are available at https://a2z-gamespec-bench.github.io.

阅读原文

参与讨论