跳到正文
arXiv cs.AI· Daniel Russo·· 10 小时前AI 评分44

AI 原生软件生态中故障传播的阈值模型研究

A Threshold Model of Fault Propagation in AI-Native Software Ecosystems

AI 导读

一篇 arXiv 论文结合复杂性理论与软件演化,建立模型刻画多个 coding agent 同时在同一仓库工作时故障如何在并发的变更间传播。作者将传播建模为基于“争用”(同时打开且修改同一文件的两个变更)的分支过程,并设定类似传染病再生数的阈值。

正文 · 原文

View PDF HTML (experimental)

Abstract:When many coding agents work in one repository at once, software engineers are left to judge a collective through its parts. Review examines one change at a time, yet a change can incorporate a fault introduced by another, and repairing the originating change then no longer repairs the repository. To keep human judgment at the centre of agentic software development, we need models of what agents do together. This paper joins complexity theory with software evolution to build one. We model how a fault spreads among open changes as a branching process over contention, the relation between two changes that are open at the same time and modify a common file. As with the reproduction number of an epidemic, spread sustains itself once each faulty change passes the fault, on average, to more than one other. Each repository has a reference threshold, the crossing probability per contention link above which spread would sustain itself in a random graph with the repository's contention degrees. We reconstructed contention among 33,105 agent-authored pull requests in 2,731 repositories. Thirteen repositories with reference thresholds below 5% contained 42.5% of the changes. There, a fault that crossed one contention link in twenty would sustain spread under the model. The structural conditions for propagation are in place where much agent-authored work happens. Reviewing each change separately cannot reveal these conditions. Engineers also need to know where concurrent work exposes a repository to spreading faults, which they can compute from records they already keep.
Comments: This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)
Cite as: arXiv:2604.19827 [cs.SE]
  (or arXiv:2604.19827v2 [cs.SE] for this version)
  https://doi.org/10.48550/arXiv.2604.19827

arXiv-issued DOI via DataCite

Submission history

From: Daniel Russo [view email]
[v1] Mon, 20 Apr 2026 15:09:55 UTC (2,433 KB)
[v2] Wed, 25 Nov 2026 14:24:37 UTC (87 KB)

来源:arXiv cs.AI · arxiv.org