TensorBench: Benchmarking Coding Agents on a Compiler-Based Tensor Framework
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Repository-level coding benchmarks face a trade-off between task difficulty and evaluation reliability: tasks that challenge frontier models often involve large codebases with incomplete test coverage, while human review does not scale. We introduce TensorBench, a benchmark of 199 feature-addition and refactoring tasks on an open-source compiler-based tensor framework that extends PyTorch with first-class support for dense and sparse tensors. Tasks cover new sparse formats, dense optimization passes, IR transformations, scheduler changes, runtime components, and high-level numerical operators. TensorBench grades each run by applying the agent's patch and running the framework's test suite, which includes the pre-existing randomized regression tests and any tests the agent adds. For feature-addition tasks, a pass means that the patched repository preserves the tested pre-existing behavior and satisfies the agent-added checks for the requested feature. We evaluate seven coding agents spanning three frontier model families and one open-weight model. Pass rates under this criterion range from 64.8% for the strongest agent to 22.1% for the weakest. Agents pass different subsets of tasks: pairwise Cohen's kappa ranges from -0.07 to 0.43, with kappa = 0.05 for the two strongest agents.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 20 of its 52 references that are in the map. First posted on arXiv 4 Jun 2026.
Builds on
20 of 52 references.
Closest ancestors · 1
Same direction, newest first
Other references · 19
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
- 2023GAIA: a benchmark for General AI Assistantscited by 1,084
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
- 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 429
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
- 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 286
7 more
- 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
- 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 196
- 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 165
- 2024SWE-Bench+: Enhanced Coding Benchmark for LLMscited by 95
- 2025SWE-bench Goes Live!cited by 74
- 2023Large Language Models for Compiler Optimizationcited by 52
- 2018Format Abstraction for Sparse Tensor Algebra Compilerscited by 16
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Toward Compiler World Models: Learning Latent Dynamics for Efficient Tensor Program Search
- 2026ATTest: Agent-Driven Tensor Testing for Deep Learning Library Modules
- 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agents
- 2026ISO-Bench: Can Coding Agents Optimize Real-World Inference Workloads?
- 2026Self Improvement via Fast Tree-search
- 2026PERFOPT-Bench: Evaluating Coding Agents on Software Performance Optimization
- 2026Tensor Algebraic Property Skeletons: Amplifying Property-Based Testing for AI Compilers ↗
- 2026LoopsBench: From Harness Engineering to Loop Engineering in Coding Agent Evaluation