A benchmark that can be made harder on purpose

Most coding benchmarks have one difficulty: whatever the tasks happened to be. That is a problem once models start saturating them, because a score of 95% tells you nothing about what the model cannot do. BuggyMLE is an attempt to put a dial on it.

The method is bug injection. Agents introduce controlled mutations into working machine-learning repositories, and another agent has to find and fix them. From 222 source repositories the authors generated more than 6,600 bug-injected variants containing nearly 260,000 lines of injected code.

The grading comes from a separate contribution, the Code Complexity Index. CCI scores a task on ten structural features covering repository scale, dependency depth and patch size. Across eight public coding benchmarks it predicts average solve rates with an R-squared of 0.951, and patch size and complexity are the strongest individual predictors. With CCI as the ruler, the generated variants can be sorted into tiers.

From 95% to 9%

The authors used that to build BuggyMLE-Bench-Lite, which they describe as the first difficulty-graded, repository-level variant of MLE-Bench Lite. Across 14 evaluated models, the top solve rate falls from 95% on the easiest tier to 9% on the hardest.

A stack of discarded computer motherboards
Tasks are sorted into tiers by a ten-feature complexity index. Illustrative image. RETURN E-Waste · pexels · Pexels License

That spread is the result. A benchmark that produces a single number near the ceiling has stopped measuring; one that produces a curve from 95% to 9% tells you where the capability actually ends. It also matters for what the tasks are: existing MLE benchmarks largely restrict agents to single-file edits without full repository or shell access, while real machine-learning engineering means changing multi-file repositories to reproduce results, debug training runs, integrate datasets and port frameworks.

The generated data is also training data

The second half of the paper uses the same machinery to train rather than test. The authors synthesised a curriculum across three difficulty levels over 200 further machine-learning repositories and fine-tuned a Qwen3.5-9B model on it. They report that the result rivals frontier models on BuggyMLE-Bench-Lite.

A long sorting conveyor running through a factory
The same pipeline generated a training curriculum. Illustrative image. Mark Stebnicki · pexels · Pexels License

More interesting is that the gains do not stay inside machine learning. The fine-tuned model’s SWE-bench Lite resolve rate rises from 24% to 33%, and its LiveCodeBench v6 pass@1 from 69% to 71%. Debugging injected bugs in ML repositories appears to teach something about debugging software generally.

What to hold back

Injected bugs are not found bugs. A mutation introduced by an agent has a known correct fix and a known location, which is not the situation a human engineer is in when a training run silently produces worse numbers. The transfer results are a single fine-tune of a single model, and the paper is a preprint without peer review.

The durable contribution is probably CCI. A difficulty metric that predicts solve rates across eight existing benchmarks is useful whether or not anyone adopts this particular bug-injection pipeline, because it gives benchmark authors a way to report where on the curve their tasks sit.