Introduction
While Large Language Models (LLMs) have demonstrated remarkable proficiency in generating isolated code snippets and solving algorithmic puzzles, their ability to navigate the complexities of real-world software architecture remains a significant frontier. Most existing benchmarks, such as HumanEval or MBPP, evaluate models on standalone functions or single files. However, professional software development is characterized by intricate webs of inter-file dependencies, specific directory structures, and coordinated changes across multiple modules.
This paper introduces DependEval, a hierarchical benchmark designed to bridge the "granularity gap" between snippet-level generation and repository-scale engineering. By isolating the reasoning capabilities required to navigate and manipulate codebase structures, DependEval provides a granular assessment of how LLMs handle the "connective tissue" of software projects.
The DependEval Framework
To evaluate repository-level understanding, the researchers developed a hierarchical framework consisting of three progressively challenging tasks:
- Dependency Recognition (DR): This task assesses whether a model can correctly identify the "call chain" within a set of files, determining which modules import or invoke others.
- Repository Construction (RC): Models are tasked with generating a coherent, modular project layout based on natural language requirements and high-level file descriptions. This tests the model's ability to organize code hierarchically.
- Multi-File Editing (ME): The most complex task requires the model to implement a feature that necessitates synchronized changes across multiple files while maintaining architectural consistency.
Dataset and Methodology
The DependEval benchmark is built upon a curated dataset of 15,576 high-quality GitHub repositories across eight major programming languages: C, C++, C#, TypeScript, JavaScript, Java, PHP, and Python. This multilingual approach offers a broader structural assessment than previous benchmarks like RepoEval or CrossCodeEval.
To ensure the highest data integrity, the authors employed a "Human-in-the-Loop" curation process. Initial labels and filtering were performed using GPT-4o, followed by rigorous manual verification and correction by human annotators. This process ensured that the logic and dependency chains within the 2,500+ test cases were 100% accurate.
Key Insights and Experimental Results
The evaluation of over 25 LLMs revealed several critical insights into the current state of AI-driven software engineering:
Domain Specialization and Scaling
A significant finding was that Qwen2.5-Coder-32B, a model specifically optimized for code, consistently outperformed larger general-purpose models like Llama-3.3-70B. This suggests that for repository-level reasoning, targeted pre-training on code is more effective than raw parameter scaling. However, the researchers also noted a "scaling ceiling," where performance gains diminished as task complexity increased, indicating that architectural reasoning may require more than just larger models.
The Difficulty of Synthesis
Models generally performed better at Dependency Recognition (understanding existing links) than at Repository Construction (creating new structures). This indicates that while LLMs can parse existing relationships, they often lack the architectural "prior knowledge" required to design effective hierarchical systems from scratch.
Language-Specific Challenges
The impact of static typing and modularity varied across tasks. While models easily recognized dependencies in Python or JavaScript, they struggled with Multi-File Editing in C and C++. The complexity of pointer tracking and the necessity of synchronized header file updates presented significant hurdles for coordinated changes.
Leading Models
DeepSeek-V3 and Claude 3.5 Sonnet emerged as the top performers. Notably, DeepSeek-V3 surpassed Claude in several categories, demonstrating that open-source models are now highly competitive with proprietary APIs in complex coding tasks.
Conclusion and Future Work
DependEval highlights a massive performance drop-off as tasks move from recognition to active editing. While a model might achieve a 70% success rate in identifying dependencies, its ability to maintain consistency during multi-file edits often drops to the 30-40% range.
Future iterations of DependEval aim to expand language coverage to include specialized languages like Rust or Go and introduce tasks such as repository-level debugging and refactoring. As repositories grow, addressing the "context window" bottleneck will be essential for evaluating how models handle codebases that exceed immediate memory limits. DependEval establishes a new standard for evaluating the next generation of AI coding assistants, emphasizing the need for true architectural understanding.
Summary updated