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.
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.
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.
More in Research
All →- Google DeepMind cuts quantum circuit costs with Gemini 4 agents · 1 src
- Hi-TPH dataset improves T cell receptor binding predictions · 1 src
- OpenAI releases 'yardstick for intelligence': Let's pause here · 1 src
- Hugging Face outlines steps for building and maintaining agentic evaluations · 1 src
- Apple launches 200,000-person study on health AI trust with OpenEvidence · 1 src
Comments
via GitHub Discussions