English

MLDebugging: Towards Benchmarking Code Debugging Across Multi-Library Scenarios

Software Engineering 2025-06-18 v1 Artificial Intelligence

Abstract

Code debugging is a crucial task in software engineering, which attracts increasing attention. While remarkable success has been made in the era of large language models (LLMs), current research still focuses on the simple no-library or single-library setting, ignoring the complex multi-library scenario in real-world applications. To address this limitation, we make the first attempt to introduce MLDebugging (Multi-Library Debugging), a comprehensive benchmark designed to assess debugging challenges within multi-library Python code. Specifically, MLDebugging encompasses 126 distinct Python libraries, covering a wide range of multi-library code issues, categorized into seven distinct types. Furthermore, we conduct a thorough evaluation of MLDebugging using both mainstream open-source and closed-source LLMs and highlight that current LLMs still struggle to correctly perform code debugging across multi-library scenarios. We hope this work can uncover the potential of LLMs in multi-library debugging scenario and offer insights for future research.

Keywords

Cite

@article{arxiv.2506.13824,
  title  = {MLDebugging: Towards Benchmarking Code Debugging Across Multi-Library Scenarios},
  author = {Jinyang Huang and Xiachong Feng and Qiguang Chen and Hanjie Zhao and Zihui Cheng and Jiesong Bai and Jingxuan Zhou and Min Li and Libo Qin},
  journal= {arXiv preprint arXiv:2506.13824},
  year   = {2025}
}

Comments

ACL 2025 Findings

R2 v1 2026-07-01T03:20:22.408Z