DigestAI news desk

Cut through the AI noise.

Research

Scaling MLE difficulty with BuggyMLE: Injecting bugs into ML repositories

This tool aims to simulate real-world machine learning engineering (MLE) challenges by injecting controlled mutations into existing ML repository codebases.

1 source primary source

Key points

  • Developed BuggyMLE framework for simulating MLE challenges
  • Introduced Code Complexity Index (CCI) to measure difficulty
  • Generated over 6,600 bug-injected repository variants

The team introduced a metric called the Code Complexity Index (CCI) which measures the difficulty level of modifying multi-file repositories for MLE tasks. CCI is based on ten structural features such as repository scale, dependency depth, and patch size. It has shown strong correlation with actual solve rates across various coding benchmarks.

Using BuggyMLE, the researchers created a difficulty-graded version of the MLE-Bench Lite framework. They injected controlled bugs into 222 source repositories to generate over 6,600 bug-injected repository variants and nearly 260K lines of code. This synthetic data allowed them to evaluate how different levels of difficulty affect solve rates.

The study found that as the difficulty level increased from easy to hard tiers, the top solve rate for MLE tasks dropped significantly—from 95% on the easiest tier to just 9% on the hardest tier. This indicates a substantial increase in complexity and challenge faced by ML engineers when dealing with real-world repository-level issues.

The researchers also fine-tuned a Qwen3.5-9B model across three difficulty levels using this synthetic training curriculum, resulting in improved performance on benchmark tests like SWE-bench Lite and LiveCodeBench v6.

Overall, the work highlights the importance of simulating real-world conditions to better prepare ML engineers for the complexities they will encounter when working with actual codebases. The findings suggest that MLE tasks become increasingly difficult as repository complexity increases, which could have implications for both training models and understanding human performance in these contexts.

Read the original at arXiv cs.AI · by John Wu, Rushi Qiang, Yuchen Zhuang, Guowang Li, Girish Narayanswamy, Max Xu, Sam Schmidgall, Mark Malhotra, Shwetak Patel, Jimeng Sun, Daniel McDuff, Bo Dai, Xin Liu primary sourceOpen source ↗

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Research

All →

Related stories