用自动点击测试评估大模型生成的软件是否真能用。
You Don't Know Until You Click:Automated GUI Testing for Production-Ready Software Evaluation
- 构建仿真用户操作的智能评测系统,模拟真实点击流程。
- 在194个任务上实现0.92准确率,与人工评估相关性达0.85。
- 适合评估大模型生成的带图形界面的完整应用软件。
大型语言模型和代码智能体正从生成零散代码片段转向构建具备图形界面、交互逻辑和动态行为的完整软件应用。然而,现有评测基准多依赖静态检查或二值通过/失败脚本,无法捕捉真实使用中才显现的交互行为与运行时动态,导致评测存在盲区:不实际点击,就不知道应用是否可用。为此,我们提出RealDevWorld框架,用于自动化端到端评估大模型从零生成生产级代码库的能力。其包含两大核心组件:(1) RealDevBench,一个涵盖多个领域的194个开放式软件工程任务集合,融合多模态元素以反映现实复杂性;(2) AppEvalPilot,一种新型代理作为评判者系统,通过模拟真实用户进行基于GUI的交互,自动全面评估软件的功能正确性、视觉保真度和运行时行为。该框架提供细粒度、任务特定的诊断反馈,支持超越简单成败判断的深入评估。实证结果表明,RealDevWorld实现了有效、自动且与人类判断对齐的评估,准确率达0.92,与专家评估的相关性为0.85,显著减少人工审查依赖,可实现大规模、人类对齐的生产级软件评估。代码已开源于GitHub。
原文摘要 · Abstract (English)
Large Language Models (LLMs) and code agents in software development are rapidly evolving from generating isolated code snippets to producing full-fledged software applications with graphical interfaces, interactive logic, and dynamic behaviors. However, current benchmarks fall short in evaluating such production-ready software, as they often rely on static checks or binary pass/fail scripts, failing to capture the interactive behaviors and runtime dynamics that define real-world usability - qualities that only emerge when an application is actively used. This is the blind spot of current evaluation: you don't know if an app works until you click through it, interact with it, and observe how it responds. To bridge this gap, we introduce RealDevWorld, a novel evaluation framework for automated end-to-end assessment of LLMs' ability to generate production-ready repositories from scratch. It features two key components: (1) RealDevBench, a diverse collection of 194 open-ended software engineering tasks across multiple domains, incorporating multimodal elements to reflect real-world complexity; and (2) AppEvalPilot, a new agent-as-a-judge evaluation system that simulates realistic, GUI-based user interactions to automatically and holistically assess software functional correctness, visual fidelity, and runtime behavior. The framework delivers fine-grained, task-specific diagnostic feedback, supporting nuanced evaluation beyond simple success/failure judgments. Empirical results show that RealDevWorld delivers effective, automatic, and human-aligned evaluations, achieving an accuracy of 0.92 and a correlation of 0.85 with expert human assessments, while significantly reducing the reliance on manual review. This enables scalable, human-aligned assessment of production-level software generated by LLMs. Our code is available on GitHub.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。