计算机科学 > 软件工程
[提交于 2026年11月24日]
标题:GhostAPI-V: Evaluating Audited Diagnostics for Internal API Migration Repair
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:API migrations require callers to adopt target-version usages while removing incompatible legacy usages. GhostAPI-V represents these obligations as human-audited temporal contracts and supplies candidate-specific repair diagnostics, with correctness assessed by independent behavioral tests. We evaluate 48 internal migrations from eight Python repositories using Claude Code and Codex, with two initial runs per agent and task. Five revision arms branch from the same 192 initial candidates, controlling generation budget, version evidence, and development-test feedback. Hidden-test success is 120/192 (62.5%) for raw version-difference feedback, 130/192 (67.7%) for required-only contracts, and 148/192 (77.1%) for full bidirectional contracts. Full feedback improves over raw version-difference feedback and required-only feedback by 14.6 and 9.4 percentage points, respectively. The package-level effect is positive in all eight repositories and survives the reported repository sensitivity analyses; the forbidden increment is analysis-sensitive. Postfreeze challenges expose symbolic-behavioral disagreement. The results support the complete audited package beyond the same raw evidence and test failures, while leaving human interpretation, obligation wording, and checking entangled.
提交历史
来自:Jingtao Zhang[v1] 2026年11月24日 星期二 20:17:49 UTC (449 KB)