Research note
A pattern in event data should be called a lever only when its direction is clear and it survives reruns
A stricter direction rule stopped 3 of 3 ambiguous test cases being labelled levers in event-data analysis, while both clear levers were kept.
Analytics tools often report "drivers": steps or attributes that go with a good or bad outcome. The trouble is that a driver list mixes two kinds of finding. Some are levers, things you could change to move the outcome. Most are correlations, things that merely travel with it.
We ran a set of pre-registered experiments on how our engine decides which is which. One change, a stricter rule for deciding the direction of cause, cut the ambiguous test cases wrongly labelled "lever" from 3 of 3 to 0 of 3, without losing either of the clear levers. A second change stopped one-off noise from being published as a link at all. The test cases were few and mostly synthetic, and we say exactly how few below.
The short version
- A pattern earns the word "lever" only if its direction is clear across many reruns of the analysis.
- Requiring the proposed direction to win more than half of the reruns cut wrongly promoted ambiguous cases from 3 of 3 to 0 of 3. Both clear levers were kept.
- Requiring a link to appear in at least 30% of reruns withheld 32 of 44 noisy links in synthetic tests, and kept the planted real lever on all 5 seeds.
- On two public event logs, neither analysis produced a directed lever. The strongest signals stayed labelled as associations.
- Before acting on any reported driver, ask about direction, stability and whether the test was fixed in advance.
Event data, and why order is not cause
Event data is a log of who did what, and when: "invoice received, 09:14", "order changed, 11:02". Process-mining and analytics tools stitch these rows into cases, such as one purchase order or one hospital stay, and then look for what goes with good or bad outcomes.
A tempting shortcut is: A happens before B, and cases with A tend to end with B, so A causes B. That does not follow. A third factor can drive both. A large, messy order may trigger extra approvals and also take longer, so approvals "go with" delay without causing it. Or the link can run backwards in the sense that matters: a case that is already running late may attract more chasing activity. Changing A in those situations moves nothing.
Causal-discovery methods try to infer from the data which way the arrows point. They often cannot decide. When that happens, the honest answer is "these two are linked, direction unknown."
Two checks before something is called a lever
The first check is stability. We use a bootstrap: rerunning the analysis on many reshuffled copies of the data, each drawn at random from the original cases, and counting how often a finding keeps showing up. A link that appears in 2 of 100 reruns is probably noise. One that appears in 90 is more likely real.
The second check is direction. For each link to the outcome, each rerun says one of four things: feature drives outcome, outcome drives feature, linked but direction unclear, or no link.
The old rule called a link a lever if the forward direction showed up in at least 30% of reruns and beat the reverse direction. It ignored the "direction unclear" reruns. So a link that was forward in 31 reruns, reverse in none and undirected in 69 counted as a lever, even though most of the evidence said nobody could tell which way it ran.
The new rule keeps the 30% floor and adds one condition: the forward direction must win more reruns than reverse and undirected combined. It must own more than half of the reruns in which the link appeared. An exact tie stays an association.
How we tested it
Each experiment was pre-registered: the test, the test cases and the pass mark were written down and committed before any results were seen, and could not be changed afterwards. That stops anyone, us included, from moving the goalposts after seeing the numbers.
The direction rule was tested on six fixed test cases, each a set of counts from 100 reruns. Three were ambiguous (31/0/69, 40/10/50 and 50/0/50, as forward/reverse/undirected). Two were clear levers, and one was below the 30% floor.
The stability floor was tested on synthetic data with 300 cases and 200 reruns per run, across 5 random seeds. Each seed had one dataset with a planted real lever and one with no real links at all.
We then ran the full engine on two public event logs. Sepsis Cases is a real hospital log of patients treated for sepsis, with 15,214 events across 1,050 cases. BPI Challenge 2019 is a real purchase-order log released for an academic challenge, with 1,595,923 events across 251,734 cases. Each was run three times serially, three times with two parallel workers, and three times as a repeat that could reuse saved results.
Results
Direction rule. The old rule promoted all 3 ambiguous cases to "lever". The new rule promoted none of them, kept both clear levers pointing the right way, and kept the below-floor case as "not reproduced". All 6 cases matched their pre-registered labels.
Stability floor. Across the ten synthetic runs, the old approach would have published all 44 links seen in any rerun. The new one published 12 and withheld 32 (72.7%), all below the 30% floor. The planted lever appeared in every rerun on all 5 seeds. Two links in the no-signal data did clear the floor, at 38% and 45%. They were published as undirected associations, and neither became a lever. The floor filters one-off noise; it does not catch every chance pattern.
Public logs. Neither log produced a directed lever. In Sepsis Cases, the number of distinct activities in a case had 2 of 3 algorithms finding a link but only 1 of 3 agreeing on direction. In BPI 2019, whether an invoice was cleared was the strongest signal, with 2 of 3 algorithms in agreement, and it stayed an association. All nine runs on each log produced byte-identical conclusions.
Runtime. Two parallel workers made a fresh Sepsis analysis 1.37 times faster (about 9.1 to 6.6 seconds). On BPI 2019 the gain was 1.10 times (about 136 to 124 seconds), short of our 1.15 target, because one algorithm took most of the time. Reusing saved results returned in about 18 milliseconds on Sepsis and 58 on BPI. Peak memory was about 1.0 GiB and 2.4 GiB, inside a 4 GiB limit.
We also tested a shortcut that made the slowest algorithm 50.7 times faster on BPI 2019. It changed the final conclusions there, so we rejected it, as the pre-registered rules required.
What this does not show
The direction result rests on six hand-built test cases, three of them ambiguous. It shows the rule does what it was designed to do. It does not show how often real-world levers are misjudged.
The stability tests used synthetic data. The public logs have no known true causes, so they test consistency, speed and memory, not whether the engine finds real causes. Each public log was a single workload, and the timing claim held on one of the two.
Three questions to ask before acting on a "driver"
- Which way does it run, and how sure is the tool? Ask whether it separates "A drives B" from "A and B are linked." If it never says "direction unknown," be wary.
- Does it hold up across reruns? Ask for the share of resamples or time windows in which the finding appears. A driver seen in one run deserves a closer look before anyone acts on it.
- Was the test fixed before the result? If thresholds were tuned after looking, a striking driver may be an artefact of the tuning.
Why this matters for anyone buying process analytics
Process-mining and work-analytics tools routinely report "drivers" of slow or failed cases. A driver that is only a correlation sends a team to change something that will not move the outcome. The cost shows up months later, as an improvement project that improved nothing.
Lighty AI analyses event data from operational work to find what is associated with better and worse outcomes, and where a change is likely to pay off. The rules tested here are how its engine decides what to call a lever. The direction has to be clear, and the finding has to hold up across reruns. Anything else is reported as an association, with the rerun counts shown so the call can be checked.
Questions
How do you tell a correlation from a causal lever in event data?
Check two things: whether the proposed direction wins more than half of the bootstrap reruns in which the link appears, and whether the link appears in at least 30% of reruns. In our tests, adding the direction check cut ambiguous cases wrongly called levers from 3 of 3 to 0 of 3.
What is a bootstrap in data analysis?
A bootstrap reruns the same analysis on many reshuffled copies of the data, each drawn at random from the original cases, and counts how often a finding reappears. In our synthetic tests, a planted real lever appeared in every one of 200 reruns on all 5 seeds.
What is pre-registration in an experiment?
Pre-registration means writing down the test, the test cases and the pass mark before running anything, so they cannot be adjusted after seeing results. Under that rule we rejected a shortcut that made one algorithm 50.7 times faster, because it changed the conclusions.
Does "A happens before B" mean A causes B?
No. A third factor can drive both, or a case can attract A because it is already heading toward B. On two public event logs with 1,050 and 251,734 cases, the strongest signals had no agreed direction and stayed labelled as associations.
Pre-registered experiments run on 20 and 21 July 2026: six fixed direction test cases of 100 reruns each, ten synthetic stability runs (5 seeds, 300 cases, 200 reruns), and nine runs each on the public Sepsis Cases and BPI Challenge 2019 event logs using three causal-discovery algorithms.
More from the blog
- AI coding agents raise output per developer by about 26%. Time to merge hides it.
- Screen capture samples a few desks for a few weeks, and the costliest workflow problems we found needed every record
- AI reasoning models still apply familiar rules where they do not fit, though some famous failures shrink when the test is audited