An evaluation leaks its outcome when the model or reviewer sees information that would not have been available at the decision point. In business workflows, that information may arrive later as a resolution code, approval, correction, refund, final status, or comment explaining what happened. If it enters the input or split improperly, the evaluation can measure access to the answer rather than the ability to make the decision.

The fix begins with a timeline. For every field, ask when it was created, when it became available, who could see it, and whether it was revised. Then compare that timeline with the simulated task and the intended deployment or research question.

What information existed when the decision was made?

Choose a clear cutoff such as “when the agent receives the case” or “before the technician closes the work order.” Mark which records existed by that moment. Later updates belong on the outcome side unless the task explicitly models a later review step.

A customer-support example might start with an incoming issue and the account context available to the agent. The resolution code and customer satisfaction response arrive later. If the target is to recommend a response at intake, those later fields cannot be part of the input. If the task is instead to summarize a completed case, then they may be relevant, but that is a different task.

Where can later outcomes hide in workflow inputs?

Leakage is not limited to a field literally named outcome. Search for status values, notes, timestamps, audit fields, filenames, linked tickets and derived features that reveal the later answer. A revised field may overwrite the original and erase what was known earlier. A record can also include an explanatory comment added after the decision.

The scikit-learn documentation on common pitfalls defines leakage risk around using information that would not be available at prediction time and warns that this can inflate evaluation estimates. A published health-care prediction framework also distinguishes timing-based leakage from other forms such as aggregation-based or association-based leakage. The medical context is specific, but the general timing question is useful: could this information have been known at the intended decision point? Do not transfer clinical conclusions to business processes without examining the actual workflow.

Preserve chronology and revisions

Prefer event histories with creation and update times, actor or system source, and version information. If only a final-state table exists, identify that limitation before interpreting it as a sequence. Ask whether timestamps are event time, ingestion time, or later synchronization time. A late-arriving event can describe an earlier action, so one timestamp field may not be enough.

Keep a record of transformations that alter chronology or combine events. If cases are reconstructed, document the linking keys, rules for duplicates and unresolved joins. Do not treat inferred ordering as observed fact.

Random row-level splits can place related cases on both sides of an evaluation. The scikit-learn cross-validation guidance describes group splits for dependent samples. Depending on the question, consider grouping by customer, account, incident, person, workflow, repository or time period. Use a temporal split when the intended question concerns future behavior from past information. These are design choices, not one universal rule; test whether they match the deployment claim.

Document the split unit and date boundaries. If the data are small, explain what the chosen split cannot establish. A clean split does not solve leakage already present within each record, and a chronological split does not resolve duplicate cases that cross the boundary.

A practical audit table

Field or event Created when? Available to decision-maker? Input, target or excluded? Evidence/uncertainty
Initial request At intake Usually, if actually displayed Candidate input Confirm source and timestamp
Agent action During the task At the time of each later step Context/action May be target for a preceding step
Final resolution After work completes No for intake decision Outcome Confirmed status or self-reported code?
Later correction After review No at original decision point Exclude or model separately Preserve revision history
Customer response After outcome No at initial decision Later outcome May reflect additional factors

The table should describe the actual system. “Usually” is a prompt to verify, not an assertion about all workflows.

Design the evaluation around the claim

Write down what the result is supposed to support: a narrow task demonstration, a comparison of methods, a procurement decision or a claim about future performance. NIST's AI RMF Measure guidance recommends documenting evaluation methods, metrics and test sets. It is voluntary guidance and does not validate a particular evaluation.

For a narrow demonstration, manually audit a sample of input and outcome fields against source history. For broader claims, define the sampling frame, task boundaries, split rationale and limitations. Have a reviewer who understands the workflow inspect edge cases and post-decision updates.

What if the original decision-time record cannot be reconstructed?

If timestamps are missing, revisions are overwritten, or linked records cannot be separated, say so. Some tasks may still be evaluated with a narrower claim or a different sample, but the limitation should be visible. Do not convert a plausible sequence into ground truth because it makes the evaluation easier.

The key question is simple: at the moment the agent was supposed to decide, what did it actually know? Trace that boundary through source records, transformations and the test split. This turns “real workflow data” into an evaluation design that can be inspected rather than merely described.

The Datasheets for Datasets paper recommends documenting collection, composition, and intended uses. For workflow evaluation, record when each outcome became available and whether it was included in the data, so reviewers can assess the time boundary relevant to the task.

Record the task cutoff, required input fields, outcome evidence and split rationale in the buyer sourcing brief. It gives source and evaluation reviewers a common requirement to check before requesting a further controlled sample.

Frequently asked questions

Is a time-based train/test split enough to prevent leakage?

No. A chronological split helps test future cases against past training data, but a test record can still contain a resolution or correction added after its simulated decision point. Audit fields within each example as well as the split between examples. Repeated incidents or customers may also require grouping, depending on what the evaluation claims.

Can completed case records still support a useful evaluation?

Yes, if the task and retained history let you separate information available before the decision from later outcomes. A final-state export with overwritten fields may support a completed-case summary task while failing an intake-decision task. Choose the claim that the evidence supports rather than reconstructing an unobserved earlier state as fact.

Explore these topics

Yananai A. Chiwuta

About the author

Yananai A. Chiwuta is the Founder of Avelence. His work covers data-owner relationships, enterprise buyer research, and the commercial decisions behind operational-data licensing.