TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Bug Likelihood over Time

4 pointsby Smaug1234 months ago

1 comment

Smaug1234 months ago
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.