DevOps-Gym: 在软件DevOps周期中评估AI代理的基准测试
DevOps-Gym: Benchmarking AI Agents in Software DevOps Cycle
AI总结:
DevOps-Gym通过700+真实任务评估AI代理在完整DevOps周期中的能力,揭示其在问题解决和测试生成方面的局限性。
摘要:
尽管在代码生成和软件问题解决方面表现出非凡的能力,AI代理在完整的软件DevOps周期中的能力仍然未知。与纯粹的代码生成不同,处理现实世界中的DevOps周期,包括开发、部署和管理,需要分析大规模项目,理解动态程序行为,利用领域特定工具,并做出连续决策。然而,现有基准侧重于孤立的问题,缺乏用于DevOps的环境和工具接口。我们介绍了DevOps-Gym,这是第一个端到端的基准,用于评估AI代理在核心DevOps工作流程中的能力:构建和配置、监控、问题解决和测试生成。DevOps-Gym包括从30多个Java和Go项目中收集的700多个真实任务。我们开发了一种半自动的数据收集机制,通过严格且非平凡的专家努力确保任务覆盖和质量。我们对最先进的模型和代理的评估揭示了基本限制:它们在Java和Go中的问题解决和测试生成方面挣扎,并且仍无法处理新的任务,如监控和构建和配置。这些结果突显了在AI代理中自动化完整DevOps周期的必要研究。
英文摘要:
Even though demonstrating extraordinary capabilities in code generation and software issue resolving, AI agents' capabilities in the full software DevOps cycle are still unknown. Different from pure code generation, handling the DevOps cycle in real-world software, including developing, deploying, and managing, requires analyzing large-scale projects, understanding dynamic program behaviors, leveraging domain-specific tools, and making sequential decisions. However, existing benchmarks focus on isolated problems and lack environments and tool interfaces for DevOps. We introduce DevOps-Gym, the first end-to-end benchmark for evaluating AI agents across core DevOps workflows: build and configuration, monitoring, issue resolving, and test generation. DevOps-Gym includes 700+ real-world tasks collected from 30+ projects in Java and Go. We develop a semi-automated data collection mechanism with rigorous and non-trivial expert efforts in ensuring the task coverage and quality. Our evaluation of state-of-the-art models and agents reveals fundamental limitations: they struggle with issue resolving and test generation in Java and Go, and remain unable to handle new tasks such as monitoring and build and configuration. These results highlight the need for essential research in automating the full DevOps cycle with AI agents.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。