Synthetic fixtures computed locally. No tenant, metrics system, model or production service is contacted.
Experiment workspace
Decision trace
The question this experiment answers
Hansini's team tracks latency regressions on the search service at Belgavi's Book Store as tasks. Each regression gets a fix, and fixes vary: most recover nearly everything, some only part, some nothing. This lab asks what a task tracker shows under two closure policies: resolve the task when the fix merges, or wait for the deploy and an observation window and compare the metric with the baseline from before the regression. It counts tasks closed while the service is still slower, follow-ups, reopened investigations and tasks that cannot be verified.
Change one assumption at a time
Start from measured: 40 regressions, fixes 55 percent full, 25 percent partial, the rest no improvement, deploys about 12 hours after merge, a 24 hour window, up to 4 points of measurement noise, metrics kept for 168 hours, thresholds of 90 and 30 percent, seed 29. Switch the policy to close_on_merge, shorten the window, shorten retention or slow the deploys, one at a time. The same seed gives the same regressions and fixes in every run.
Expected outcomes
With seed 29: close_on_merge resolves all 40 tasks, 16 of them while still regressed, hiding 147.3 percentage points of slowdown, 54.6 hours from onset to close on average. measured resolves 19, opens 17 follow-ups, sends 4 back to investigation, closes none while regressed and takes 91.0 hours. A 2 hour window misjudges 11 tasks and closes 2 that are still regressed. Retention of 96 hours leaves 14 tasks unverifiable; slow deploys leave 12. With mostly partial fixes, closing at merge hides 279.5 points in 32 tasks.
Reading the decision trace
Each line is one regression: how much slower the service became and from which hour, when the fix merged, how much the fix truly recovers, what the measurement saw and when, and the policy's decision. Lines ending in still regressed are tasks the tracker shows as resolved while the service is slower than before. Compare true and measured recovery near the 90 percent threshold to see how noise moves a task between resolved and follow-up.
What this teaches
A merged fix is evidence of work, not of recovery. Measuring against the pre-regression baseline turns partial fixes into follow-up tasks instead of silent leftovers. The measurement itself needs care: a short window lets noise decide, and a baseline that expires before the check makes verification impossible, so snapshot it when the task opens. Mistakes in the cautious direction, an unnecessary follow-up, are cheap; closing a task that is still regressed is not.
Limits of this model
Synthetic regressions, fixes and measurements. Recovery is one number per task with uniform noise that grows as the window shrinks; real metrics are noisy distributions, seasonal and shared between overlapping changes. The model never lets a fix make things worse by more than 10 percent of the regression, and it has no agent: it only applies the closure rule. Regressions start six hours apart and investigation takes one to four days.