GitTaskBench: A Benchmark for Code Agents Solving Real-World Tasks Through Code Repository Leveraging

Authors

  • Ziyi Ni Institute of Automation, Chinese Academy of Sciences School of Artificial Intelligence, University of Chinese Academy of Science
  • Huacan Wang Midea Group
  • Shuo Zhang School of Artificial Intelligence, Beijing University of Posts and Telecommunication
  • Shuo Lu Institute of Automation, Chinese Academy of Sciences
  • Ziyang He National University of Singapore
  • WangYou StepFun
  • Zhenheng Tang CSE, The Hong Kong University of Science and Technology
  • Sen Hu Peking University
  • Bo Li CSE, The Hong Kong University of Science and Technology
  • Chen Hu StepFun
  • Binxing Jiao StepFun
  • Daxin Jiang StepFun
  • Yuntao Du C-FAIR&School of Software, Shandong University State Key Lab. for Novel Software Technology, Nanjing University
  • Pin Lyu Institute of Automation, Chinese Academy of Sciences

DOI:

https://doi.org/10.1609/aaai.v40i38.40533

Abstract

Beyond scratch coding, exploiting large-scale code repositories (e.g., GitHub) for practical tasks is vital in real-world software development, yet current benchmarks rarely evaluate code agents in such authentic, workflow-driven scenarios. To bridge this gap, we introduce GitTaskBench, a benchmark designed to systematically assess this capability via 54 realistic tasks across 7 modalities and 7 domains. Each task pairs a relevant repository with an automated, human-curated evaluation harness specifying practical success criteria. Beyond measuring execution and task success, we also propose the alpha-value metric to quantify the economic benefit of agent performance, which integrates task success rates, token cost, and average developer salaries. Experiments across three state-of-the-art agent frameworks with multiple advanced LLMs show that leveraging code repositories for complex task solving remains challenging: even the best-performing system, OpenHands+Claude 3.7, solves only 48.15% of tasks. Error analysis attributes over half of failures to seemingly mundane yet critical steps like environment setup and dependency resolution, highlighting the need for more robust workflow management and increased timeout preparedness. By releasing GitTaskBench, we aim to drive progress and attention toward repository-aware code reasoning, execution, and deployment---moving agents closer to solving complex, end-to-end real-world tasks.

Published

2026-03-14

How to Cite

Ni, Z., Wang, H., Zhang, S., Lu, S., He, Z., , W., … Lyu, P. (2026). GitTaskBench: A Benchmark for Code Agents Solving Real-World Tasks Through Code Repository Leveraging. Proceedings of the AAAI Conference on Artificial Intelligence, 40(38), 32564–32572. https://doi.org/10.1609/aaai.v40i38.40533

Issue

Section

AAAI Technical Track on Natural Language Processing III