An AUROC of 0.93 on a casino churn model (a ranking score where 1.0 is perfect and 0.5 is a coin toss) should start an investigation before it starts a celebration. The checklist below is built for that investigation: how to prove, feature by feature and split by split, that a training snapshot could really have existed at the moment the operator had to act.
Offline accuracy can be an audit failure
An iGaming model can look excellent for the worst possible reason: it saw the answer. A churn model may lean on an account status that was updated only after the inactivity it is meant to predict. A fraud model may inherit the outcome of a manual review. Both post strong offline metrics. Both fail the one test that matters before release: did the information exist when the operator had to act?
The leak is rarely an obvious future column. Reporting extracts, late settlements, CRM fields rewritten after contact and random splits of repeated player snapshots each hand the model a shortcut that production will never provide. This checklist covers the pre-release proof of feature availability for casino, sportsbook, payments, churn and fraud teams. Drift monitoring, feature-store governance and responsible-gambling model policy are separate jobs.
The problem was formalised by Kaufman, Rosset, Perlich and Stitelman in Leakage in Data Mining: Formulation, Detection, and Avoidance (ACM Transactions on Knowledge Discovery from Data, 2012). Their central advice still holds. Define what was legitimately knowable at prediction time first, then audit every feature against that boundary.
A suspiciously good number deserves suspicion by default, because in model building a result that looks too good usually is. A churn model at 0.93, where most honest casino churn models land well below that, is a red flag before anyone opens the feature list. The first place to look is the clock.
The timestamp decides whether a signal exists
What matters is whether that exact value was reachable at the scoring cutoff. Its presence in the warehouse proves nothing. A row can describe yesterday's activity while its final status, correction or enrichment was written today, and filtering a current extract by an old event date does not fix that.
Every training row needs three clocks kept apart:
- the prediction cutoff, when scoring happens;
- the feature availability time, when the operator could actually read the value;
- the label window, which opens after the cutoff and defines the future outcome.
When those clocks blur, a future result becomes an input.
For casino churn, set the cutoff at the end of a player day and label churn from future activity, such as no deposit or settled wagering during a stated period. A later retention campaign, a later closure or a later withdrawal dispute cannot be a feature. Labels become known after the cutoff; features may not.
Fraud follows the same rule from the other side. A confirmed chargeback, a completed investigation or an analyst decision can label an earlier payment attempt. At that attempt's timestamp it is not a valid feature. A broad SQL join is how both end up in one snapshot, and the defence is to write the availability of every field down before training.
Build an availability matrix before training
A point-in-time matrix forces every feature owner to explain how a value was formed. "Historical data" becomes a testable claim. For each real row, keep the query version, the source table, the refresh logic and the reviewer's name.
| Feature | Business event behind the value | Available at score time? | Review decision |
|---|---|---|---|
deposit_count_prior_14d |
Successful deposits before cutoff | Yes | Keep if reversals and late events are excluded or represented as known at cutoff |
game_turnover_prior_24h |
Settled game rounds before cutoff | Conditional | Keep only if settlement, not round-start, time is before cutoff |
cashier_error_prior_6h |
Client or PSP failure received before cutoff | Conditional | Keep if receipt time is preserved and retries deduplicated |
bonus_clearance_status |
Wagering completion after a campaign offer | No | Remove from churn and propensity features when completion follows cutoff |
withdrawal_review_outcome |
Manual approval, rejection, or document request | No | Use as a later fraud label where appropriate, never as a decision-time input |
chargeback_confirmed_flag |
Dispute resolved after payment settlement | No | Exclude from payment-risk features; retain only for label construction |
account_status_reason |
Status changed by operations or compliance | Conditional | Approve only after proving status and reason were written before cutoff |
The conditional rows deserve more scrutiny than the obvious rejects. Late data looks historical because its event time is old. A reversal can rewrite a deposit total after the fact. An agent can update a reason code once churn is already visible. The test is always the source event time against the recorded availability time. Where that availability history is missing, the feature is unproven and treated as such.
Aggregation windows need the same precision. deposit_count_14d is unsafe the moment one analyst uses the prior fourteen calendar days and another includes the score date after midnight. That one-day overlap is a query-boundary defect. On a churn label where the last day before cutoff carries most of the signal, it can inflate AUROC noticeably on its own, and nobody will see it in the feature list.
Correlation raises the alarm; the matrix settles it
Correlation never certifies leakage on its own. A deposit drop can predict churn, and repeated failed payments can predict payment risk, for legitimate reasons. The real target is predictive power that is inconsistent with what was knowable at the decision point.
Profiling the target rate by feature value and by missingness is the first tell. A null state that maps almost entirely to one class usually exposes a post-decision workflow. A harmless-looking status code that outranks deposits, session frequency and cashier failures deserves a timestamp trace. Four checks do most of the work, each with a defined follow-up:
- Target rate by value and null state. When one code or missing state nearly separates the labels, trace the source updates, defaults, and post-decision backfills behind it.
- Univariate ranking. When a support or status field outranks behavioural inputs, inspect its business event, its write time, and the SQL join path that produced it.
- Permutation importance. When one field dominates and then collapses in a future split, remove it and rerun the point-in-time extraction.
- Feature ablation. When dropping a single field causes an outsized offline loss, block release until its availability is proven.
Read importance across validation designs. A field that ranks first in a random row split and weakens sharply in a temporal split points to one of three things: leakage, repeated-player contamination or a genuine cohort effect. Only the availability matrix decides which. The split design is the other half of that diagnosis.
Random rows certify the wrong future
Players generate hundreds of rows through daily snapshots, sessions, payment attempts and CRM eligibility checks. A random split routinely drops adjacent records for the same player into both train and validation. The model learns identity proxies, stable VIP patterns and campaign exposure shared by both samples. Its score measures familiarity.
The size of the problem is easy to estimate. A churn table built from daily snapshots over 90 days for 50,000 players has 4.5 million rows. Split randomly 80/20, virtually every player in validation also has dozens of near-identical rows in training. The model is tested on people it has already met.
The default defence is a temporal split, training on older cutoffs and validating on later ones, reinforced by group boundaries for repeated entities. Churn groups by internal player ID, so overlapping snapshots cannot cross folds. Payment fraud groups by decision unit and by approved risk-linkage groups, such as an internal instrument or device cluster. Those groups should run through governed identifiers, never raw payment or device values copied into review files.
The split also has to match the decision. A deposit-attempt model cannot train on transactions settled after that attempt. A lobby-ranking model should not validate on sessions already influenced by a later campaign that training never saw. Promotional periods, major sporting events and provider incidents move behaviour too. A later validation window does not prove causality, but it stops the model borrowing answers from the same historical batch.
Reproduce the inflated score before release
The most convincing evidence is a controlled reproduction. Quoting a corrected number in isolation convinces nobody. Show how the unsafe data produced the attractive result, name the responsible fields or split design, and rerun on the approved snapshot, so the review sees why the higher number must not ship. The example below is an illustrative anonymised casino-churn case, where the target is no qualifying casino activity in a future 21-day window. The figures show the kind of evidence a review should produce; they are not operator results.
| Model build | Validation design | AUROC | Review result and release gate |
|---|---|---|---|
| Full warehouse extract, including post-cutoff refreshes | Random player-snapshot split | 0.93 | Blocked: status fields and repeated-player rows contaminate validation |
| Suspect status fields removed | Random player-snapshot split | 0.79 | Blocked: overlapping player history still inflates score |
| Approved point-in-time, cutoff-safe snapshot | Future-period, group-aware split | 0.66 | Eligible for business review, subject to calibration and use-case checks |
The 0.66 result is the candidate estimate to review. It does not by itself certify the model for production.
What the gap costs is easiest to see in a campaign plan built on the same example. The CRM team plans to contact the top 10% of 40,000 scored players, 4,000 people, at €8 of bonus each. The leaky model's validation shows 60% of that decile churning; the honest one shows 28%. A budget built on the first number expects 2,400 at-risk players reached and books €32,000 against them. In production roughly 1,120 are at risk, so the cost per genuinely at-risk player contacted more than doubles, from about €13 to €29, before any uplift test. Keep the query hashes, feature list, cutoff rule, split dates, exclusion logic and run IDs, so any reviewer can recreate the result without the notebook author's memory.
Churn and fraud expose different shortcuts
Casino churn models tend to leak lifecycle operations: future suppression flags, a reactivation outcome, bonus completion, a player-status change, notes from a later withdrawal or support case. These fields correlate because staff acted after the deterioration the model claims to predict. They describe the recognition of churn.
Fraud models leak from case resolution instead: manual-review outcomes, confirmed disputes, post-settlement reversals, fraud-tag timestamps, account restrictions applied after the payment decision. The safer inputs are request-time transaction attributes, prior approved or failed attempts, known account history and risk signals recorded before the cutoff. Whether such an input is lawful or suitable in live use is a separate governance question; point-in-time validation establishes temporal legitimacy and nothing more.
The commercial stakes differ. A leaking churn model burns CRM budget and overstates retention forecasts. A leaking fraud model understates expected loss, review workload and false-positive cost, and it can set an unsafe approval policy if inflated scores drive the risk thresholds.
Some leaks are created by the model itself. Once a churn model drives retention contacts, the next training set contains players whose behaviour changed because the model selected them. The model ends up learning from the effects of its own decisions, and each retrain makes that loop tighter. The fix is a persistent untreated holdout, so the next model can learn from players nobody acted on.
Scale adds a third kind of shortcut. Early models often draw on a single analyst extract and a handful of tables. Growth adds copied datasets, refreshed account dimensions, several payment providers, settlement feeds and teams writing their own derived fields. The danger becomes historical rows quietly enriched with later facts.
A corrective backfill is the classic culprit. An account-status dimension shows the current reason on every past day. A payment table overwrites pending with final status. A game round settles long after its session. Unless every query enforces the same availability rule across every source, scale turns one leakage path into routine reporting.
There is a mirror-image failure at serving time, usually called training-serving skew: a feature computed one way for training and another way in production. A point-in-time snapshot that is correct for training still fails if production reads the same field from a different, fresher table. Production operation is out of scope here and belongs with deploying and monitoring iGaming models in production. The job before that point is to prove the training snapshot could have existed at every historical cutoff, and that the serving path reads the same definitions.
Is all this worth slowing the release?
Delivery-focused teams push back hardest. Temporal, group-aware splits throw away data, they penalise models for genuine cohort shift as well as leakage, and a full availability review can add two or three weeks to a project whose business case decays every month. Some argue a quick pilot in production would find the problem faster.
Part of that is true. A temporal split does mix leakage with real drift, and a small, cheap pilot does reveal a broken model within weeks. Where the argument breaks is cost. A pilot built on a leaky model spends real bonus budget or blocks real customers while it fails, and for fraud a mistaken approval threshold can run for a month before chargebacks arrive. A rule that works in practice: if the model only reorders content and an error is cheap to reverse, a lighter review and a shadow pilot are acceptable. If it moves money, restricts accounts or touches player protection, the full gate applies.
Release gates need named reviewers
A notebook author should never approve their own evidence. Four roles sign off. The data reviewer signs the availability matrix and confirms how late records, reversals and dimension updates were treated. An independent model reviewer reruns the temporal, group-aware validation from the approved extract. The business owner confirms that the target, the scoring time and the decision action match the use case. For fraud, the risk owner also confirms the offline score did not hide review capacity or false-positive trade-offs. Missing evidence fails the gate; nobody debates whether a feature "probably" existed. The release record is fixed:
- Define the prediction cutoff, the label start and end, and the scoring unit.
- List every feature's business event, source, event time, availability time, aggregation window, and owner.
- Remove or quarantine fields that lack a defensible point-in-time rule.
- Run target-rate, missingness, univariate, permutation-importance, and ablation checks for the suspect signals.
- Validate on a future period with group boundaries that stop repeated entities crossing sets.
- Reproduce and explain the inflated result, then archive the corrected run.
- Obtain dated sign-off from the data reviewer, the independent model reviewer, and the accountable business or risk owner before release.
Any offline metric that jumps after a new data source is added is a leakage suspect until the availability matrix clears it. Timing matters as much as rigour. Run it before feature selection turns political. Point-in-time validation usually produces a lower number, as the 0.93 to 0.66 example shows, but one that product, CRM and risk teams can price, test and defend.
One measurement closes the loop after release. Score the first four weeks of production in shadow and compare the realised top-decile hit rate with the validation estimate. A gap of more than a few points means a leak survived the gate, and the release record shows where to look. Run the same check after the launch deck instead, and it produces an argument rather than a number.