Abstract
FeatBench is a dynamic benchmark designed to provide a "reality check" for autonomous coding agents. Unlike previous benchmarks that provide code hints or static solutions, FeatBench requires agents to implement entire features from scratch using only natural language requirements. By sourcing fresh data from active GitHub repositories and employing a dual-validation testing suite, FeatBench evaluates an agent's ability to navigate complex codebases without introducing regressions. Our findings indicate that even state-of-the-art models struggle with repository complexity and frequently break existing functionality while attempting to implement new features.
Introduction
While Large Language Models (LLMs) excel at generating code snippets, the ultimate goal is an autonomous agent capable of professional-grade software engineering. Current benchmarks often fall short by providing unrealistic inputs—such as pre-defined function signatures—or suffering from data leakage where solutions are already present in the model's training data. FeatBench addresses these flaws by introducing a "living" benchmark that uses natural language requirements and automated environment configuration to test agents in real-world scenarios.
Methodology
FeatBench utilizes a fully automated pipeline to create and validate tasks:
- Requirement Reverse-Engineering: Real-world Pull Requests (PRs) are transformed back into natural language requirements using an LLM, ensuring tasks are grounded in actual engineering needs.
- Automated Environment Configuration: The system builds a Docker container for each task, identifying the necessary Python versions and dependencies to ensure code execution.
- Dual-Validation Testing: To be considered successful, an agent's implementation must pass Fail-to-Pass (F2P) tests (verifying the new feature) and a massive suite of Pass-to-Pass (P2P) tests (averaging 1,600+ per task) to ensure no regressions were introduced.
Datasets
The initial release of FeatBench includes 157 tasks sourced from 27 actively maintained repositories. These cover a wide range of domains, including AI/ML (e.g., dspy), DevOps (conan), and Web development (starlette). The benchmark is designed to be updated every six months to maintain its effectiveness against model training cutoffs.
Key Results and Insights
Evaluations using models like GPT-5 and DeepSeek V3.1 revealed several critical performance barriers:
- Low Success Rates: The top-performing configuration (Trae-agent + GPT-5) achieved only a 29.94% resolved rate.
- The Regression Trap: 73.6% of failures were categorized as "Regressive Implementations," where the agent implemented the feature but broke existing code. This often stems from "aggressive implementation," where agents refactor unrelated code or extend features beyond the requested scope.
- The Complexity Wall: Success rates crater from 60-70% in small repositories to 10-30% once a repository exceeds 800 files or 300k lines of code.
- Agent Architecture: Autonomous agents that use loops to plan and use tools significantly outperform rigid pipeline agents, though they consume 30x to 50x more tokens.
Conclusion
FeatBench highlights that while coding agents are becoming more capable, they still lack the precision required for large-scale software maintenance. Future work will focus on expanding the benchmark to languages like Java and Go and developing guardrails to prevent aggressive implementations from causing system-wide regressions.
Summary updated