DARE:面向程序修复的难度分析与增强框架
DARE: Difficulty Analysis for Repair Enhancement
AI 导读
研究者提出 DARE 框架,将修复任务难度测量、预测、特征组贡献分析与任务级修复支持整合到一起,以解决仅靠解决率无法反映任务难度差异的问题。DARE 把任务难度定义为多个 coding agent 的观测失败率,用 151 个静态特征预测难度,在 2,594 个任务的四个基准分区上达到 Spearman ρ=.476-.621。
正文 · 原文
Abstract:LLM-based coding agents are primarily evaluated by their solve rates. However, this metric does not reveal how difficult the solved tasks are or account for differences intask difficulty across benchmarks. Determining the difficulty of individual tasks by repeatedly running multiple agents is costly, while a predicted difficulty score alone provides limited guidance on what support an agent needs. To address these challenges, we propose DARE (Difficulty Analysis for Repair Enhancement), which integrates repair-task difficulty measurement, prediction, feature-group contribution analysis, and task-specific repair support. We define continuous task difficulty as the observed failure rate across multiple coding agents. The DARE difficulty model predicts this difficulty using 151 static features extracted from benchmark artifacts. The framework also analyzes the contributions of seven Repair-Task Feature Groups to identify the characteristics most salient to each task and uses this information to select task-specific agent support. We evaluate DARE on four benchmark partitions comprising 2,594 tasks. The difficulty model's aligned predictions achieve Spearman's $\rho$ = .476-.621 on held-out partitions, and the most salient Feature Groups vary across tasks and benchmarks. Furthermore, coding-agent experiments show improved repair success when support is matched to each task's salient Feature Group. These findings demonstrate that difficulty prediction and interpretation can lead to practical improvements in automated program repair (APR), while also providing a basis for difficulty-stratified agent evaluation, cross-benchmark comparisons, and identifying areas of repair capability that warrant further improvement.
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.05797 [cs.SE] |
| (or arXiv:2611.05797v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2611.05797 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Jaechang Nam [view email]
[v1]
Wed, 4 Nov 2026 01:10:04 UTC (799 KB)
来源:arXiv cs.AI · arxiv.org