TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Bug Likelihood over Time

4 点作者 Smaug1234 个月前

1 comment

Smaug1234 个月前
This is from the Antithesis docs. It contains an incredibly cute idea.<p>With a deterministic execution simulation system, you can sometimes automatically locate bugs as follows.<p>* Identify and reproduce a symptom of a bug; say the symptom occurs at time `S`.<p>* For various times `t`, rewind the simulation to time `S - t` and replay it, varying whatever sources of simulated randomness are present.<p>* If there is a threshold `T` such that the simulation rarely reproduces the bug for rewinds longer than `T`, but frequently reproduces the bug for rewinds shorter than `T`, then the bug likely occurs at time `S - T`.<p>Crucially, it doesn&#x27;t matter how much time passes between the bug and the symptom! This method, if it works, identifies the moment when &quot;the symptom became inevitable&quot; (or at least less evitable); that is, the moment when the bug occurred.