arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.09564cs.DCcs.AIcs.SE
收藏

ACE-Bench:一个轻量级的评估 Azure SDK 使用正确性的基准测试

ACE-Bench: A Lightweight Benchmark for Evaluating Azure SDK Usage Correctness

Microsoft(微软)

Wenxing Zhu, Simeng Qi, Junkui Chen, Yan Xie, Min Huang, Jingkan He, Xiao Wang, Cheng Chen, Sijing Meng, Tianqi Zhang

AI总结:

ACE-Bench通过将官方文档示例转化为自包含编码任务,提供快速可重复的通过或失败信号,评估基于LLM的编码代理是否正确使用Azure SDK,同时减少评估成本并提高可重复性。

摘要:

我们提出了ACE-Bench(Azure SDK编码评估基准),一种无需执行的基准测试,能够快速、可重复地判断基于大语言模型(LLM)的编码代理是否正确使用Azure SDK,而无需配置云资源或维护脆弱的端到端测试环境。ACE-Bench将官方Azure SDK文档示例转换为自包含的编码任务,并通过任务特定的原子标准验证解决方案:确定性的正则表达式检查强制要求API使用模式,以及基于引用的LLM判断检查捕捉语义工作流约束。这种设计使以SDK为中心的评估在日常开发和持续集成中变得实用:它减少了评估成本,提高了可重复性,并能扩展到新的SDK和语言,随着文档的演变。使用轻量级的编码代理,我们对多个最先进的LLM进行了基准测试,并在MCP启用的增强环境中量化了检索带来的收益,展示了从文档访问中获得的一致收益,同时突显了显著的跨模型差异。

英文摘要:

We present ACE-Bench (Azure SDK Coding Evaluation Benchmark), an execution-free benchmark that provides fast, reproducible pass or fail signals for whether large language model (LLM)-based coding agents use Azure SDKs correctly-without provisioning cloud resources or maintaining fragile end-to-end test environments. ACE-Bench turns official Azure SDK documentation examples into self-contained coding tasks and validates solutions with task-specific atomic criteria: deterministic regex checks that enforce required API usage patterns and reference-based LLM-judge checks that capture semantic workflow constraints. This design makes SDK-centric evaluation practical in day-to-day development and CI: it reduces evaluation cost, improves repeatability, and scales to new SDKs and languages as documentation evolves. Using a lightweight coding agent, we benchmark multiple state-of-the-art LLMs and quantify the benefit of retrieval in an MCP-enabled augmented setting, showing consistent gains from documentation access while highlighting substantial cross-model differences.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑