How Sure Is the Root-Cause Engine? Contradictions, Ruled-Out Causes and Calibration
A root-cause engine that says "72% likely" should be right about 72% of the time. TicketResolve now measures that against what people actually confirmed, freezes every ruled-out cause with the approved report, and lets contradicting evidence change what a case does next.

TicketResolve's root-cause engine ranks possible causes and gives each a probability. It updates them as diagnostics come back, and it never confirms a cause on its own: a person does. Those probabilities are only useful if they mean something. Release 7.144.0 adds three things that make them checkable.
1. Contradicting evidence changes what happens next
Every piece of evidence in an investigation is linked to the possible causes it supports or contradicts. Until now, those links changed the engine's probabilities, but they didn't change the case plan: the part that decides which engines a case needs, introduced in 7.142.0.
Take an illustrative case. A customer's webhooks start failing with 401 errors after a deploy. The leading possibility is that the customer rotated their signing secret. That points at their environment, so the plan asks for diagnostic access to it. Then two log excerpts show the 401s started before any secret change, and only one configuration snapshot supports the theory.
Now the plan says so. When more evidence contradicts the leading cause than supports it, the plan stops choosing engines from it and shows a warning. Here it reads "2 evidence items contradict 'The customer rotated the signing secret' and 1 supports it", and the next diagnostic should separate it from the other possibilities. A cause with some contradiction but more support stays a possibility, with the count shown.
If a person has already confirmed a cause and evidence contradicts it, the plan blocks the fix until someone reviews that evidence. A confirmation isn't wrong because one log line disagrees. But writing code on a premise the evidence disputes is the expensive way to find out.
2. Ruled-out causes are part of the record
A good investigation report says what the cause is and also what it isn't. "The database ran out of connections" is worth ruling out explicitly, with the reason, because the next person to see the same symptom will think of it too.
The Investigation tab now lists every possible cause that was ruled out, with:
- who or what ruled it out: a person on the findings, or the root-cause engine's diagnostics;
- why: the person's reason, or the diagnostic results that eliminated it;
- the engine's probability at the moment a person ruled it out, where there is one.
When a reviewer approves the investigation report, this list is frozen with it. It gets its own SHA-256 hash, next to the report's hash. The approved record shows what was ruled out at the time of approval, even if the investigation continues afterwards.
3. Calibration: do the probabilities mean what they say?
A forecaster who says "70% chance of rain" should see rain on about 70% of those days. The same test applies to a root-cause engine. TicketResolve already records, for every verdict a person gives on a possible cause, the probability the engine showed at that moment. Engineering intelligence now turns those records into three measurements.
The Brier score. For each verdict, take the gap between the probability shown and what the person decided (1 for confirmed, 0 for ruled out), square it, and average over all verdicts.
- 0 is perfect.
- An engine that always says 50% scores 0.25.
- An engine that's confidently wrong scores worse than that.
A reliability table. Verdicts are grouped by the probability shown, and each group shows how many were confirmed. In a well-calibrated engine, causes shown at 80–100% are confirmed at about that rate, and causes shown at 0–20% rarely are.
How often the top cause was the one confirmed. This measures accuracy, which is not the same as calibration. An engine can rank well and still be overconfident, or the other way round.
The page shows nothing until there are 20 verdicts. With fewer, the numbers would mostly be noise.
Next to these live figures sits the headline of the existing replay evaluation. Each week it re-runs the current engine on every case where a person confirmed the cause, using only that case's recorded inputs. The two answer different questions:
- Live: were the probabilities people saw trustworthy?
- Replay: is today's engine better or worse than the one that produced them?
Why this matters
The probability next to a possible cause is what an engineer uses to decide what to check first. If those probabilities drift, so that "90%" means "about half the time", everything built on them quietly gets worse: which diagnostic runs next, which cause gets a fix, which plan the case follows. Measuring that is the only way to know.
What's next
The next release is about fixes:
- several candidate fixes from the same single AI call, so the cost doesn't change;
- each candidate compared on the existing checks;
- security and API-compatibility checks added to the validation report.
That release is planned, not shipped.
Explore Topics
Written by
Ghulam Shabbir
Content creator and writer sharing insights and stories.


