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 (recent progress has pushed the frontier further, with RepoMaster+Claude 3.5 achieving a new record of 62.96%). 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.
Introduction
Most existing code benchmarks focus on isolated algorithmic puzzles (e.g., HumanEval) or narrow bug-fixing scenarios (e.g., SWE-bench). However, in professional software engineering, developers rarely "reinvent the wheel." Instead, they identify existing libraries or repositories, set up the necessary environments, and repurpose existing code to solve specific problems. Current AI agents struggle with this end-to-end workflow, often failing to autonomously clone complex repositories, resolve dependency conflicts, or understand internal APIs.
GitTaskBench addresses this gap by testing agents on their ability to act as "repository-aware" problem solvers. It evaluates whether an agent can take a high-level user request and a relevant GitHub repository to produce a functional, real-world output, such as processing a video or analyzing physiological data.
The GitTaskBench Framework
GitTaskBench consists of 54 hand-crafted tasks validated by computer science experts to ensure 100% human reproducibility. These tasks span 18 GitHub repositories—ranging from popular tools like Scrapy to specialized libraries like NeuroKit—across seven domains: Image, Video, Speech, Physiological Signal Processing, Security & Privacy, Web Scraping, and Office Document Processing.
A key contribution of this benchmark is the Alpha-Value ($\alpha$) metric, which quantifies the economic benefit of using an agent. Unlike standard technical metrics, the Alpha-Value integrates the Market Value (MV) of a task, the Quality (Q) of the agent's output, and the actual API token Costs (C). This allows for an assessment of whether an agent is not just technically capable, but also cost-effective compared to human freelancers.
Experimental Results and Insights
Experiments reveal that repository leveraging remains a significant challenge for state-of-the-art models. While agents perform relatively well on textual tasks, such as parsing Excel files, they struggle with multimodal tasks that require deep understanding of repository-specific arguments and pre-trained configurations.
Performance Leaderboard
As shown in the performance comparison, the combination of OpenHands and Claude 3.7 initially set a high bar, solving 48.15% of tasks. Recent advancements have seen the RepoMaster + Claude 3.5 framework achieve a new state-of-the-art record of 62.96%.
The "Environment Hell" Bottleneck
Perhaps the most striking finding is that 65% of agent failures are attributed to environment setup and dependency resolution. Agents frequently struggle with system-level libraries and conflicting requirements. This suggests that for real-world deployment, improving an agent's ability to manage a Linux shell and resolve "mundane" configuration issues is as critical as improving its core reasoning logic.
Economic Viability
Alpha-Value analysis indicates that while agents are highly profitable for expensive, specialized tasks (e.g., 3D pose estimation), they can result in a negative economic return for simpler tasks where high-end model token costs exceed the market value of the task. Additionally, increasing iteration limits and timeouts significantly boosts success rates, as agents often fail simply by giving up too early during grueling setup processes.
Conclusion
GitTaskBench highlights the gap between solving coding puzzles and executing end-to-end real-world tasks. Future work will focus on enhancing codebase comprehension, enabling agents to build better mental maps of complex, multi-file repositories. The benchmark and its associated leaderboard will be updated regularly to track the rapid evolution of repository-aware AI agents.
Summary updated