Zhidaily AI · Intelligence · Daily
Zhidaily
Issue 21 · November 20, 2026 · Fri
Today's stories
17 stories · 4 companies
Home / November 20, 2026 / BuggyMLE uses bug injection to build a graded ML engineering benchmark
← Back
Paper Agents Score68

BuggyMLE uses bug injection to build a graded ML engineering benchmark

In brief
The paper presents a metric that predicts task difficulty from code structure and uses it to build a repository-level ML engineering benchmark with difficulty tiers: the strongest model solves only 9% of the hardest tier. People doing agent evaluation and training data can use it directly.
arXiv cs.AI 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 · RSS · arxiv.org
Nov 20 · 13:00 Read the original ↗
01Summary

How hard is it really for an agent to change code in a real ML repository? Existing benchmarks either allow edits to only a single file without giving the full repository and shell access, or are already saturated and cannot show differences between models. The paper first proposes a difficulty metric called CCI, which scores 10 structural features including repository size, dependency depth and patch size, and explains changes in average solve rates across 8 public coding benchmarks (R²=0.951), with patch size and complexity the strongest predictors. On this basis they built BuggyMLE: agents inject controlled bugs into ML repositories that run correctly, generating more than 6,600 variants and about 260,000 lines of injected code from 222 source repositories, and from these they selected the difficulty-tiered BuggyMLE-Bench-Lite. Across 14 models, the highest solve rate falls from 95% in the easiest tier to 9% in the hardest. They also used more than 200 other repositories to synthesise a three-level difficulty curriculum and fine-tuned Qwen3.5-9B, bringing it close to frontier models on this benchmark and raising its SWE-bench Lite solve rate from 24% to 33%. The paper does not say whether the distribution of these injected bugs matches bugs that appear in real development, which is the main uncertainty when extrapolating from a synthetic benchmark to real engineering.

02Background

Scores on repository-level coding benchmarks are already high, and using them to tell models apart is getting harder. MLE scenarios require changing code across files, running training and adjusting data, but existing MLE benchmarks restrict agents to single-file edits and cannot measure this ability. Uneven difficulty also makes it hard to compare how much different models solve.

03Impact

People doing agent evaluation can tier tasks by CCI instead of reporting a single average solve rate. People doing training gain a ready-made path: synthesising curriculum data by difficulty lets small models improve noticeably on repository-level tasks, and this improvement carries over to non-ML coding tasks.