Manuscript Offprint

arXiv:2610.37434

FeatureArc: Benchmarking Coding Agents on Evolving Features

Yunlong Wang, Alyssa Wu, Cuiyun Gao, Jia Feng, Songyuanyi Lu, Zhichao Hu

Yunlong Wang 1^{1}, Alyssa Wu 1^{1}, Cuiyun Gao 2^{2}, Jia Feng 1^{1}, Songyuanyi Lu 1^{1}, Zhichao Hu 1^{1}

1^{1}Hunyuan Team, Tencent

2^{2}The Chinese University of Hong Kong

{joeyolwang, alyssawwu, plusfeng, alinasyylu, frankiehu}@tencent.com, cygao@cse.cuhk.edu.hk

*Corresponding authors: Alyssa Wu and Cuiyun Gao.

Abstract—A software feature usually evolves over time: developers extend its first version as new use cases and requirements arrive, and each extension builds on code written earlier. Most feature benchmarks evaluate a single request on a fixed codebase. Feature evolution requires evaluating successive extensions on an agent's own earlier code and checking whether the feature remains correct. We introduce FEATUREARC to evaluate coding agents on evolving features, together with a pipeline that constructs its tasks from repository histories. The benchmark combines dependencies between successive stages of the same feature, explicit requirements and interface contracts, and executable checks across four programming languages. The pipeline validates fail-to-pass (F2P) tests for new behavior and pass-to-pass (P2P) tests for existing behavior on the reference code before and after each stage. We evaluated 10 coding agents on 73 manually reviewed tasks of 2 to 10 stages. Each agent works in one persistent session and workspace without external test feedback or rollback. The evaluation reveals a gap between first-stage and whole-feature success: pooled success falls from 62.7% at the first stage to 28.5% when the whole feature is tested on the final code. Trajectory analysis identifies inherited defects as a common failure mechanism, present in 72.9% of failed later stages. These earlier errors often remain undetected: in stages following a failure, agents leave the earlier error unnoticed about 95% of the time, and their self-tests rarely revisit earlier stages. Evolving a feature autonomously, without human checks between stages, therefore remains a substantial challenge for current coding agents. At Tencent, the pipeline extends internal evaluations to this setting and guides the development of Hunyuan, Tencent's family of large language models.

Index Terms—coding agents, benchmark, software evolution, feature development, mining software repositories

I. INTRODUCTION

Software features evolve as developers extend existing code to meet new requirements [1], [2]. We describe this evolution as a sequence of stages, from the initial implementation to successive extensions. Coding agents now inspect repositories, edit code, and run tests autonomously [3], [4]. On SWE-bench, which asks agents to resolve individual GitHub issues [5], the best model resolved 1.96% at release in 2023; agents now resolve more than 70% of its 500-issue, human-validated Verified subset [6], [7]. In 37% of the 13,000 real sessions collected in SWE-chat, agents wrote virtually all committed code [8]. Developers have also begun delegating successive extensions of a whole feature without intervening checks. Each extension then inherits the agent's earlier code, including errors the agent has not noticed. We ask: can an agent that

Figure

Fig. 1. L4 feature implementation.

implements single requirements well keep a feature correct while extending its own code as requirements evolve?

Evaluating this ability requires agents to sustain a feature while checking their own earlier work. User feedback between stages determines which implementation and verification responsibilities remain with the agent. Similar to the levels of driving automation [17] and of AI-agent autonomy [18], we distinguish four levels of delegation for feature implementation: at L1 the user tells the agent how to fix a failed stage, at L2 the user points out the failing behavior, at L3 the user only says whether a stage passed, and at L4 the user only gives the next specification and says nothing about earlier stages (Figure 1). L4 feature implementation requires the agent to find earlier errors itself, whereas at L1–L3 the user reports failed stages. Tencent's internal multi-stage feature evaluations covered only L1–L3, creating a practical need for L4 evaluation of sustained development. An earlier attempt to build L4 tasks by splitting a single feature request into stages produced weak dependencies: the resulting stages behaved largely as independent single-stage tasks, limiting their ability to test successive extensions. L4 therefore needs stages that

TABLE I COMPARISON OF FEATURE BENCHMARKS.

BenchmarkIteration on own codeSingle featureRepository historyAutomated constructionMultiple languages
One feature request per task
FEA-Bench [9]✕✕✓✓✕
FeatBench [10]✕✕✓✓✕
FeatureBench [11]✕✕△✓✕
Several stages per task
CCBench [12]✕✓△✕✓
SWE-STEPS [13]✓✕✓✓✕
SlopCodeBench [14]✓△✕✕✕
EvoCode-Bench [15]✓△✕✕✓
EvoWeb [16]✓△✕✓✕
FEATUREARC (ours)✓✓✓✓✓

depend on each other by construction. We recover these stages from repository histories to capture how developers actually extended a feature to meet new requirements, with each extension building on earlier implementations.

Existing feature benchmarks address parts of this setting, but leave a gap in evaluating same-feature evolution from repository histories at L4. As shown in Table I, most pose a single feature request on a fixed starting state [9]–[11], so there is no later stage for an error to affect. Benchmarks with several stages evaluate different development settings: CCBench [12] gives all stages in one instruction; SWE-STEPS [13] returns test feedback after each stage and chains pull requests that need not belong to one feature; and SlopCodeBench [14], EvoCode-Bench [15], and EvoWeb [16] use stages written by hand or generated from similar products, which do not follow how a feature actually grew in a repository. Among the benchmarks compared in Table I, FEATUREARC is the only one that combines historical same-feature dependencies, sequential requests, and continued evaluation on the agent's own code without hidden-test feedback. Ticks, triangles, and crosses indicate full, partial, and absent support; automated construction covers tasks, environments, and tests, with human review allowed.

We address this gap with FEATUREARC and an automated pipeline for constructing its tasks. The benchmark has three complementary properties. First, historical same-feature dependencies require agents to extend an existing implementation: the pipeline recovers successive stages of one user-visible feature from repository histories. Second, requirements-grounded verification makes each extension explicit and testable: a requirements document and interface contract specify the expected behavior, while fail-to-pass (F2P) tests and pass-to-pass (P2P) regression tests [19] check new and existing behavior against reference states. A final check evaluates the complete feature on the agent's resulting code. Third, diverse repository contexts expose agents to feature evolution in Python, TypeScript, Rust, and Go, across seven application domains. We select the evaluation set through stratified sampling, multi-model trajectory screening for task defects, and manual checks (Section III-F). At L4, each agent receives specifications sequentially in a persistent session and workspace; hidden-test results are withheld, and the agent carries its own code forward after every stage.

The results expose three weaknesses of the evaluated coding agents on evolving-feature tasks. First, whole-feature success is less than half of first-stage success: pooled success falls from 62.7% at the first stage to 28.5% on the whole feature, and even the strongest agent, Claude Opus 5.5 [20], completes only 49.3% of the features, although it passes 83.6% of first stages. Second, inherited errors often persist: after a failed stage, agents pass the next stage's F2P tests in only 22.6% of cases, versus 70.2% after a passed one, whereas breaking earlier behavior affects only 3.3% of features whose new behavior works. Third, agents rarely notice their own earlier failures: in 94.9% of the stages that follow a failed stage, the agent never notices the error. Evolving a feature without human checks between stages therefore remains a substantial challenge for current coding agents.

At Tencent, we use this pipeline to add L4 feature implementation to internal evaluations and assess Hunyuan 4 Preview, a pre-release model in the Hunyuan family [21], alongside external agents. The evaluation distinguishes implementing a new request from detecting errors in the code on which it depends. This distinction gives the Hunyuan team concrete evidence about failures that first-stage scores do not reveal, as discussed in Section VI.

Our contributions are:

  • A benchmark and construction pipeline that combine historical same-feature dependencies, requirements-grounded verification, and diverse repository contexts for L4 feature implementation.

  • An empirical study of coding agents on FEATUREARC that quantifies the gap between first-stage and whole-feature success and documents the persistence of inherited errors and limitations in agents' self-verification.

  • An industrial application at Tencent: extending internal evaluation to L4 and diagnosing Hunyuan's development needs through feature-level outcomes and trajectory evidence.

References (67)