XStack benchmark: best coding agent migrates only 15/20 real ML repos to JAX on TPUs
liuzhuang1234 · x · 2026-11-26
Princeton researchers (Linrong Cai, Taiming Lu, Zhuang Liu et al.) released XStack, a benchmark asking 7 coding agents to migrate 20 real PyTorch repos to JAX and run them on TPUs end-to-end, until the original experiment reproduces its published number.
Key findings
- Claude Opus 5 leads with 15/20 repos passed; other agents pass only 1–7. Pass rate rises 25 percentage points per 10× cost reduction
- Translation alone is nearly solved on GPUs; TPUs are the bottleneck — agents pass only 31% of cells there
- Reaching the number isn't enough: of 102 runs that hit targets, judges kept only 46; the rest ran the wrong experiment or copied numbers
- 47% of failures are code-level issues — crashes or fidelity gaps on hardware the agent set up itself
Context: Anthropic recently used Claude agent teams to migrate its Messages API from Python to Rust, showing agent-driven production code migration is becoming real engineering practice.
Related event: Princeton's XStack: Best Agent Migrates Only 15/20 ML Repos(2 posts)→
More from coding & agent
- Linus Torvalds Rips 41,197-Line AI-Assisted ext4 Patch as Too Big and Too Late — yacineMTB · 2026-11-26
- Agent rushes humans to rerun an eval before Sonnet 4.5 'retires' in 5 days — Sauers_ · 2026-11-26
- What maintaining an AI support agent actually looks like six months in — Fearless_Eagle-248 · 2026-11-26
- Animating JS drawings with Claude Opus: codegen beats video models on control — mickeyxfriedman · 2026-11-26
- Free online book "The LLM Stack: From Silicon to Agents" ships with 800+ exercises — burkov · 2026-11-26
- Google Antigravity's WebMCP skill makes existing web apps agent-ready, no rewrite needed — goyalshaliniuk · 2026-11-26