Research map / Large language models / Agents, code and math
XRepoTest: Benchmarking Multilingual Repository-Level Unit Test Generation for Large Language Models
Dung Le Quang, Dong Cao Van, Nam Le Hai, Linh Ngo Van, Anh M. T. Bui, Phuong T. Nguyen
Hanoi University of Science and Technology · University of L’Aquila
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add file-level context (ablation) | Claude 4.5 Sonnet · XRepoTest Go | TPR: 23.65 -> 34.14 | Improved |
| add file-level context (ablation) | Claude 4.5 Sonnet · XRepoTest Rust | TPR: 12.78 -> 21.16 | Improved |
| add file-level context (ablation) | Claude 4.5 Sonnet · XRepoTest Ruby | IR: 85.63 -> 53.19 | Hurt |
| add file-level context (ablation) | Claude 4.5 Sonnet · XRepoTest Ruby | TPR: 6.37 -> 16.30 | Improved |
| add sparse or dense retrieval context (ablation) | Claude 4.5 Sonnet · XRepoTest Go, Julia, PHP | TPR / Cov: Go TPR 23.65 -> 28.05 (sparse); Julia TPR 19.88 -> 19.15 (sparse) | Mixed |
| add LSP-based context (ablation) | Claude 4.5 Sonnet · XRepoTest Julia | TPR: 19.88 -> 15.64 | Hurt |
| add file-level context (ablation) | failure mode distribution (Rust) · XRepoTest Rust | API hallucination share: 48.05% -> 36.09% | Improved |
| add file-level context (ablation) | failure mode distribution (Julia) · XRepoTest Julia | API hallucination share: 47.90% -> 50.10% | Hurt |
| add file-level context (ablation) | failure mode distribution (PHP) · XRepoTest PHP | API hallucination share: 35.55% -> 40.61% | Hurt |
| use headless Claude Code agent instead of passive single-turn generation | Claude Code agent · XRepoTest stratified subset | TPR: e.g. Go 42.6 -> 98.4; PHP 48.3 -> 59.8 | Improved |
| use agentic execution instead of passive generation | Claude Code agent · XRepoTest PHP | Cov / IR: Cov 50.4 -> 17.1; IR 98.9 -> 27.6 | Hurt |
| add one-round compiler/execution feedback repair | GPT-OSS-120B · XRepoTest | TPR: +9 to 26%, IR nearly unchanged | Improved |
Open problems this paper states
- “Covers only five languages (Rust, Go, Julia, PHP, Ruby) and a curated set of repositories.” → Evaluated on Python or one other language only. (an open problem in execution-based code verification)
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- MultiFileTest: A Multi-File-Level LLM Unit Test Generation Benchmark and Impact of Error Fixing Mechanisms (ACL 2026 · similarity 0.90)
- TestEval: Benchmarking Large Language Models for Test Case Generation (NAACL 2025 · similarity 0.89)
- DI-BENCH: Benchmarking Large Language Models on Dependency Inference with Testable Repositories at Scale (ACL 2025 · similarity 0.89)
- TestGenEval: A Real World Unit Test Generation and Test Completion Benchmark (ICLR 2025 · similarity 0.88)
- CodeChemist: Test-Time Scaling for Low-Resource Code Generation via Functional Knowledge Transfer (ICML 2026 · similarity 0.87)
- SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents (NeurIPS 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.