Research map / Large language models / Agents, code and math
MultiFileTest: A Multi-File-Level LLM Unit Test Generation Benchmark and Impact of Error Fixing Mechanisms
Yibo Wang, Congying Xia, Wenting Zhao, Jiangshu Du, Chunyu Miao, Zhongfen Deng, Philip S. Yu, Chen Xing
University of Illinois Chicago · Individual Researcher · Salesforce · Scale AI
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 |
|---|---|---|---|
| manually fix executability and cascade errors | GPT-4-Turbo · MultiFileTest Python | correctness rate (%): 47 -> 74 | Improved |
| manually fix executability and cascade errors | CodeQwen1.5 · MultiFileTest Java | correctness rate (%): 0 -> 60 | Improved |
| manually fix executability and cascade errors | Gemini-3.0-Pro · MultiFileTest Java | correctness rate (%): 62 -> 67 | Improved |
| LLM self-fixing instead of manual fixing | GPT-4-Turbo · MultiFileTest Python | correctness rate (%): 74 -> 52 | Hurt |
| LLM self-fixing instead of vanilla | GPT-o1 · MultiFileTest Java | correctness rate (%): 41 -> 68 | Improved |
| LLM self-fixing instead of manual fixing | CodeLlama · MultiFileTest Python | correctness rate (%): 31 -> 0 | Hurt |
| LLM self-fixing instead of manual fixing | CodeQwen1.5 · MultiFileTest JavaScript | correctness rate (%): 32 -> 55 | Improved |
| add correctness requirement to the prompt (ablation) | GPT-4-Turbo · MultiFileTest prompt ablation (vanilla) | correctness rate (%): 33 -> 47 | Improved |
| add executability requirement to the prompt (ablation) | GPT-4-Turbo · MultiFileTest prompt ablation (vanilla) | executability rate (%): 63 -> 65 | Improved |
| add coverage requirement to the prompt (ablation) | GPT-4-Turbo · MultiFileTest prompt ablation (vanilla) | line coverage (%): 46 -> 40 | Hurt |
| add programming-language-specific requirement to the prompt (ablation) | GPT-4-Turbo · MultiFileTest prompt ablation (vanilla) | line coverage (%): 53 -> 40 | Mixed |
| put the prompt inside code comments (ablation) | GPT-4-Turbo · MultiFileTest prompt ablation (vanilla) | correctness rate (%): 47 -> 41 | Mixed |
Open problems this paper states
- “Covers only Python, Java and JavaScript, excluding languages such as C and C#.” → Tested on Python or a few languages, so other languages are untested. (an open problem in code generation benchmarks)
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.89)
- EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code (NeurIPS 2025 · similarity 0.88)
- TestGenEval: A Real World Unit Test Generation and Test Completion Benchmark (ICLR 2025 · similarity 0.88)
- SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents (NeurIPS 2024 · similarity 0.87)
- Evaluation of LLMs on Syntax-Aware Code Fill-in-the-Middle Tasks (ICML 2024 · similarity 0.87)
- Rethinking Verification for LLM Code Generation: From Generation to Testing (NeurIPS 2025 · 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.