最新资讯
dev.to 精简 MCP server 工具数量:更少工具、更小影响面,双重收益 dev.to 为什么 git checkout 无法撤销 AI 编码 agent 的改动? wechat AI短剧门槛降降降!实测即梦短剧工作室:剧本分镜预演一条龙,伙伴计划长期护航 dev.to 让模型改写文档前,先量化事实保真度 dev.to 回放 153 个 Claude Code 与 Codex 会话,审计 Agent 的生产影响范围 dev.to 银行 77 意图分类最便宜 LLM:GPT-6.1 Terra 每次成功任务 $0.000727 theinformation.com Chesky的副业:Airbnb向CEO新设AI实验室出售IP theverge.com OpenAI 宣布数据中心项目不再与公职人员签署保密协议 dev.to NVIDIA 发布四个开放 Cosmos 3 仿真模型 dev.to 真实 MCP 客户端击穿我们服务器的五种方式 theverge.com Airbnb 正在开发 AI 旅行 agent,计划 2027 年上半年推出 wechat 这可能是美国AI最魔幻的一天。
多元动态
登录 注册
大模型 arxiv.org ·

XREPOTEST:面向大型语言模型的多语言仓库级单元测试生成基准评测

原文 我的收藏

该论文提出 XREPOTEST,一个覆盖 Rust、Go、Julia、PHP、Ruby 五种语言的多语言仓库级单元测试生成基准,使用容器化执行框架并比较文件级、LSP 与检索式上下文增强策略,同时提出 Invocation Rate 指标评估生成测试是否真正调用目标功能。对 14 个前沿模型(含 Claude 4.5、GPT-5.2、DeepSeek V4-Pro、Qwen 系列)的实验表明,独立场景与仓库级场景之间存在显著性能差距,更丰富的上下文与测试可靠性之间存在权衡。数据集与代码已公开。

AI推荐理由 arXiv 论文(cs.SE),提出 XREPOTEST 多语言仓库级单元测试生成基准,覆盖 Rust、Go、Julia、PHP、Ruby 五种此前评测较少的语言,采用容器化执行框架并对比文件级、LSP、检索三类上下文增强策略,还提出 Invocation Rate 指标衡量测试是否真正调用目标功能;对 14 个模型(含 Claude 4.5、GPT-5.2、DeepSeek V4-Pro、Qwen 系列)的实验显示独立场景与仓库级场景存在明显性能落差,且更丰富上下文与测试可靠性之间存在权衡。局限是摘要未给出具体数值结果,且基准本身仍需社区复现验证。

78

正文

Computer Science > Software Engineering arXiv:2608.25939 (cs) [Submitted on 26 Aug 2026 (v1), last revised 15 Sep 2026 (this version, v2)] Title:XREPOTEST: Benchmarking Multilingual Repository-Level Unit Test Generation for Large Language Models Authors:Dung Le Quang, Dong Cao Van, Nam Le Hai, Linh Ngo Van, Anh M. T. Bui, Phuong T. Nguyen View a PDF of the paper titled XREPOTEST: Benchmarking Multilingual Repository-Level Unit Test Generation for Large Language Models, by Dung Le Quang and 5 other authors View PDF HTML (experimental) Abstract:Large language models (LLMs) have shown promise for automated unit test generation, but existing evaluations largely rely on standalone settings and a narrow set of programming languages, overestimating real-world readiness. We introduce XREPOTEST, a multilingual repository-level benchmark for unit test generation spanning five underexplored languages: Rust, Go, Julia, PHP, and Ruby. XREPOTEST evaluates tests under realistic repository constraints using a containerized execution framework and multiple context augmentation strategies, including file-level, LSP-based, and retrieval-based context. Beyond standard metrics such as test pass rate and coverage, we propose Invocation Rate (IR) to assess whether generated tests meaningfully exercise the intended functionality. Experiments with 14 state-of-the-art LLMs, including Claude 4.5, GPT-5.2, DeepSeek V4-Pro, and Qwen families, reveal a substantial gap between standalone and repository-level performance, as well as trade-offs between richer context and test reliability. Overall, XREPOTEST provides a challenging and informative benchmark to advance scalable and robust unit test generation in realistic software environments. The dataset and code are publicly available at: this https URL Comments: Subjects: Software Engineering (cs.SE) Cite as: arXiv:2608.25939 [cs.SE] (or arXiv:2608.25939v2 [cs.SE] for this version) https://doi.org/10.48550/arXiv.2608.25939 Focus to learn more arXiv-issued DOI via DataCite Submission history From: Nam Le Hai [view email] [v1] Wed, 26 Aug 2026 15:53:43 UTC (2,029 KB) [v2] Tue, 15 Sep 2026 15:26:32 UTC (2,033 KB) Full-text links: Access Paper: View a PDF of the paper titled XREPOTEST: Benchmarking Multilingual Repository-Level Unit Test Generation for Large Language Models, by Dung Le Quang and 5 other authors View PDF HTML (experimental) TeX Source view license Current browse context: cs.SE new | recent | 2026-08 Change to browse by: cs References & Citations NASA ADS Google Scholar Semantic Scholar export BibTeX citation Loading... BibTeX formatted citation × loading... Data provided by: Bookmark Bibliographic Tools Bibliographic and Citation Tools Bibliographic Explorer Toggle Bibliographic Explorer (What is the Explorer?) Connected Papers Toggle Connected Papers (What is Connected Papers?) Litmaps Toggle Litmaps (What is Litmaps?) scite.ai Toggle scite Smart Citations (What are Smart Citations?) Code, Data, Media Code, Data and Media Associated with this Article alphaXiv Toggle alphaXiv (What is alphaXiv?) Links to Code Toggle CatalyzeX Code Finder for Papers (What is CatalyzeX?) DagsHub Toggle DagsHub (What is DagsHub?) GotitPub Toggle Gotit.pub (What is GotitPub?) Huggingface Toggle Hugging Face (What is Huggingface?) ScienceCast Toggle ScienceCast (What is ScienceCast?) Demos Demos Replicate Toggle Replicate (What is Replicate?) Spaces Toggle Hugging Face Spaces (What is Spaces?) Spaces Toggle TXYZ.AI (What is TXYZ.AI?) Related Papers Recommenders and Search Tools Link to Influence Flower Influence Flower (What are Influence Flowers?) Core recommender toggle CORE Recommender (What is CORE?) Author Venue Institution Topic About arXivLabs arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them. Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs. Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

来源报道 · 1 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容