ChangeTrace
Incidents

Likely causes and confidence

How ChangeTrace ranks the changes that correlate with an incident, what each scoring signal measures, and where the ranking stops.

Within about half an hour of an incident opening, ChangeTrace looks back through the 24 hours before the problem began, plus the bad period itself, and scores everything that changed.

For a sales drop, "began" is the first hour of the day the drop is visible in. A drop across a whole day therefore looks back into the previous day — a change made the evening before is a candidate, not something that fell outside the window.

What a ranked cause is, and is not

ChangeTrace identifies changes that correlate with an incident. It does not prove that a change caused one.

A high-ranking change is the thing to check first. It is not a verdict, and the product never claims otherwise — every panel that shows a ranking is labelled as interpretation, and every panel that shows a measurement is labelled as observation.

What counts as a possible cause

Changes — the things that can plausibly cause an incident:

  • A plugin installed, activated, deactivated, updated or deleted
  • The theme changed, or the active theme updated to a new version — including the parent of a child theme
  • WordPress core updated
  • The PHP version changed
  • A watched site option changed (which options →)

Symptoms — not causes themselves, but they raise a nearby change's score when they cluster right after it:

  • PHP fatals and PHP errors
  • JavaScript errors
  • Outbound requests returning 500 or timing out, and 500s from your own REST API
  • Failed payments, failed checkouts and failed orders, in both WooCommerce and EDD

A plugin update on its own is weak evidence. A plugin update followed six minutes later by a burst of JavaScript errors thrown by that plugin's own script is a much stronger story, and scores accordingly.

The scoring signals

The model is plain and inspectable, not a black box. Five signals, each measured independently and combined into one confidence.

Timing

How close the change was to the moment things went wrong, measured across the 24-hour window. Closer scores higher.

A change made after the problem began is still considered, but its timing counts for at most half: it could have made things worse, but it cannot explain how they started. A change inside the hour the drop first shows up in counts as coinciding with it. When no single hour shows where the drop started, ChangeTrace does not pretend to know: changes during that day are scored by how early in the day they came, without the cap.

Timing alone is weak on purpose. On a 24-hour window a change two hours before and a change ten hours before are not that far apart, and plenty of innocent changes happen shortly before a bad day.

Problems after the change

How many symptom events are attributed to this change: errors (PHP, JavaScript, failed requests) and refused commerce (failed payments, checkouts and orders). They are named for what they are — "6 failed payments followed", not "6 errors". Each symptom goes to exactly one change:

  • If the symptom came from a plugin's or theme's files and an earlier change touched that same plugin or theme, the most recent such change gets it. An option edit or core update made in between does not steal a plugin's own errors.
  • Otherwise it goes to the nearest preceding change.

So a burst of errors credits one change rather than being smeared across everything that day.

Activating or deactivating a plugin also rewrites WordPress's list of active plugins, and switching theme rewrites the theme options. Those option writes arrive as their own "option changed" events in the same second. They are folded into the plugin or theme change, so the two never compete as separate causes.

The count saturates — five errors is a strong signal, fifty is not ten times stronger.

Component match

The strongest signal, and the one that separates a real lead from a coincidence.

A PHP fatal records the file it was thrown from (wp-content/plugins/acme/boot.php). A JavaScript error records the script that threw it. A plugin change records which plugin it was. When those resolve to the same component, the change is implicated by far more than proximity.

Deliberately conservative:

  • A component is resolved only from a recognised wp-content/plugins/… or wp-content/themes/… path. Never guessed from a name.
  • WordPress core updates and PHP version changes resolve to no component at all and are never "matched" — otherwise a core update would be blamed for whichever plugin happened to throw.
  • A theme switch or update matches errors from that theme's own directory. Switching to a child theme also matches its parent's directory, since the parent's code now runs too. A parent-theme update is reported on its own and matches the parent's directory.
  • A theme's display name ("Twenty Twenty-Four") is never matched against a directory, because a name is not a slug.
  • If neither side resolves, the signal reports not measured rather than guessing either way.

Performance impact

Whether measured page-speed got worse after the change, how much, and how many measurements backed the comparison. Only degradation counts — a change that made the site faster, or changed nothing, scores zero here.

This signal is withheld entirely from outage incidents. A page-speed shift says nothing about why a site was unreachable.

Commerce impact

Whether revenue or orders fell in the window after the change, compared against an equal-length window immediately before it. Equal length matters: comparing six hours after against twenty-four before would show a fall on every healthy store.

Sales are counted in whole hours. The hour the change happened in holds sales from both before and after it, so it is left out of both sides; otherwise a store with perfectly steady sales would show a fall after any change made a few minutes past the hour.

Only falls count. Flat or rising sales after a change are not evidence against that change, so they score zero rather than negative.

How the signals combine

Each signal produces a strength between 0 and 1. They are combined with fixed weights:

SignalWeight
Component match25%
Timing20%
Problems after the change20%
Commerce impact20%
Performance impact15%

A signal that cannot be measured is excluded, not scored zero

This is the part worth understanding, because it is what makes the number comparable between sites.

Performance measurement is off unless an operator turns it on, and a shop with no sales has no commerce baseline. If those counted as zero, every site without them would be permanently capped at a low confidence — and "we have no performance data" would be indistinguishable from "performance did not move".

So the confidence is the weighted average of the signals that could actually be measured. The incident page lists which ones those were, and greys out the rest as not measured.

Stronger evidence raises confidence. A change with good timing and nothing else scores low. The same change, with errors from its own files, measured page-speed degradation and a revenue fall in the window after it, scores high — because four independent signals agree instead of one.

Candidates below a minimum confidence are dropped entirely rather than padding the list with noise.

Why it ranked there

Every ranked cause shows its breakdown: how long before the incident the change was, how many errors and failed payments followed, how many of those came from the changed component, the worst performance metric measured after it, and the commerce movement. Signals that could not be measured are shown greyed out and labelled.

That breakdown is stored with the hypothesis, so it is the same explanation tomorrow as it was today — and it is handed to the AI layer, so an AI explanation describes how ChangeTrace reached a confidence instead of inventing one of its own.

What confidence means

It is not a probability

Confidence reflects how strongly the available timing and correlated signals support this hypothesis — not statistical certainty.

85% confidence means several independent signals line up unusually well. It does not mean an 85% chance this change caused the drop. A change can score high and be entirely innocent — if you updated three plugins at once and one of them throws, the one that throws wins on component match whether or not it is the one that cost you sales.

Why the list is sometimes short, or empty

One cause only. On the Free plan, correlation runs at basic depth — the single best candidate, without the supporting error chains. Paid plans get the full ranked list. Plans and limits →

"No hypotheses yet." Correlation runs every 30 minutes. Wait.

"Not attributed to a site change." An infrastructure outage. ChangeTrace deliberately refuses to blame a plugin for a DNS failure. Why →

Genuinely nothing changed. Sometimes sales drop and nothing on the site moved. That is a real answer, and a useful one — it points you at advertising, payment providers, or the outside world.

The ranking can change

If new evidence arrives — a batch of events your site queued while it could not reach ChangeTrace, or a performance comparison that only became measurable a day later — the incident is scored again and the ranking is updated.

The previous ranking is kept, so an answer you read yesterday has not simply vanished. How re-correlation works →

How to use a ranked list well

Start at the top, but read the breakdown

A 70% built on component match and errors is a different lead from a 70% built on timing alone.

Rule things out on timing

The window is the 24 hours before the problem began, plus the bad period itself. A change from three days ago is not in it.

Test the obvious

If a plugin update is top, roll it back on staging and see whether the symptom follows.

Remember what isn't tracked

ChangeTrace sees your WordPress site. It does not see your ad spend, your payment provider's outage, or your courier's website. If nothing on the list fits, look outside.

Observed versus interpreted

The page keeps these visually apart, and it is worth keeping them apart in your head too:

ObservedInterpreted
PanelsEvidence, Correlated sequence, Linked evidenceMost likely cause, Ranked causes, AI explanation
Marked withGreen checks"AI interpretation" badge
MeansThis happenedThis might explain it
{ }For developers

Shared window (correlation/incident-window.ts): anchor = details.anomalyAt (the detector's first bad hour, anomalyAtSource: 'first_bad_hour', which also gives the anchor a resolution of anomalyAtResolutionHours — one hour, or longer when quiet hours before it could not show the drop), else the start of the evaluated day (details.day), else opened_at. Look-back is 24 hours before the anchor; the window ends at the end of the evaluated day. Changes after a located onset score timing at most 0.5, decaying to 0 at the window end; with a day-start anchor (onsetKnown: false) they decay uncapped. Symptoms go to the nearest preceding change touching their component, else the nearest preceding change; option_changed for active_plugins/template/stylesheet within 10 s of a plugin (de)activation or theme switch is dropped as a twin. Default weights are component 0.25, timing 0.20, errors 0.20, commerce 0.20, performance 0.15, each overridable by env; the confidence is the weighted mean over signals whose available flag is true, and availableSignals is persisted alongside the per-signal contributions on the hypothesis row. Error count saturates at n / (n + 5); a commerce fall reaches full strength at 50%, compared over equal numbers of complete hourly buckets (up to 6) either side of the change, excluding the bucket the change falls in and shortened equally so the "after" side never reads past the end of the window. Depth comes from the org plan — basic caps the list at one hypothesis and skips supporting-error chains, full is the whole ranked set.

On this page