TrueMind
    August 29, 2026
    By Alaric VosselwickUpdated October 25, 2026
    10 min read

    iGaming AI Model Shadow Deployment: Prove Safety Before Cutover

    On 40,000 matched lobby requests, a new model picked a different first game 13% of the time. What shadow deployment can prove before cutover, what it cannot, and who signs each part.

    Cutover meetings tend to go wrong in a predictable way. Someone shows an accuracy chart. Nobody asks what the new model would actually have done to real players last Tuesday. The release goes ahead. A well-run shadow stage turns that unasked question into a written report, with a named person behind every part of it.

    A live decision must stay untouched

    A new model can look accurate on a test chart and still be unsafe once it meets live traffic. It might read data a few seconds late, apply a bonus rule that has since changed, answer too slowly at peak times, or choose a very different action for a valuable group of players. None of that shows up in an accuracy curve.

    Shadow deployment exists to catch these problems. The new model runs on real-time copies of live requests and records what it would have done. It is physically blocked from touching anything a player or an operator sees. Its only job is to gather evidence. Once its output can change a lobby position, a campaign list, a message, a limit, a queue or anything downstream, it is no longer in shadow, and the whole safety argument falls apart. Google's SRE Workbook describes the next step, a canary release, in the same spirit: a small, reversible exposure with rollback signals agreed in advance. That step only makes sense after shadow has shown the new model cannot act on its own.

    So the questions before cutover are narrow and concrete. Did the new model see the same information as the live one? How often does it choose differently? Do those differences cluster in sensitive groups of players? And was every shadow output kept away from live actions?

    Shadow execution needs a separate decision path

    The design that holds up runs two paths side by side. They share one snapshot of the input data, taken at the moment of the request, but only one path has the right to decide. The live service takes the real request and returns the only answer allowed to affect the player.

    A copy of the request feeds the new model without slowing the live one. The new model writes its score, its chosen action, the rule version, the data timestamp and its response time to a separate evidence store. A comparison job reads both records and computes the differences. It has no route to any live channel: no decision service, no campaign list, no table that production reads.

    This separation has to be built into the infrastructure. Access rights, network rules and message permissions stop an accidental connection. A line in a release note does not.

    Component Required control Evidence to retain
    Production decision service Only credentials able to trigger a live action Request ID, action, policy version, response timestamp
    Point-in-time input mirror Captures request context before either model scores Feature snapshot ID, source event time, schema version
    Shadow runner Separate identity with no production-write permissions Candidate version, score, chosen action, latency
    Comparison service Reads decision records and writes only to an isolated store Match status, disagreement type, missing-field flags
    Network and message controls Deny shadow access to live action APIs and production command topics Access-policy review, denied-call logs, deployment configuration
    Evidence store Restricts access and prevents actioning jobs consuming shadow records Retention rule, access roster, immutable audit fields

    Whether the copy runs in parallel or with a slight delay matters more than it seems. A delayed copy protects the live response, but it can distort time-sensitive decisions if the data changes between the live call and the shadow call. A parallel call keeps timing closer, but it must sit outside the live response, so a shadow timeout or crash can never slow production. This one choice decides whether a later difference reflects the model's logic or just different inputs. That is why the input snapshot matters more than any average. For a lobby-ranking model, the snapshot must hold the games available at that moment, the device, language, session state, content availability, ranking-rule version and the exact shortlist production used. Rebuilding all that from tables later only gives an approximation of history, which is useless as a deployment check.

    Similar scores can still mean different decisions

    A small average difference in scores is the most common false comfort. A ranking model can produce nearly identical scores and still put a different first game in front of a new player. A classifier can match the live score pattern and still cross a rule threshold for a small share of requests. So review the decisions themselves.

    If the new model gives probabilities, check whether they are honest. Where real outcomes are known, compare each probability band with what actually happened, for each group of players. This only tells you the predictions match outcomes under the decisions that were actually made. It does not tell you the new model's choice would have produced the same outcome.

    The useful move is to sort the differences into types. Counting them is not enough:

    • identical decisions;
    • benign ordering changes that do not move the visible choice;
    • action changes inside a permitted treatment family;
    • decisions that cross a rule boundary, which block release until explained.

    For ranking models, also record how often the top choice changes and how much the visible positions overlap. For threshold models, record how far each case was from the threshold as well as the final label, because a borderline churn case deserves a different review from a full reversal.

    Report the headline number as a rate. "They mostly agree" tells a reviewer nothing:

    decision_disagreement = (requests where candidate_action != production_action) / matched_requests

    Count only matched requests, where both models had the same data versions and context, so stale or missing data cannot create fake differences. Say one day brings 40,000 matched lobby requests and the new model picks a different first game on 5,200 of them. The difference rate is 5,200 / 40,000 = 0.13, or 13%. That 13% is the size of the change in behaviour, before anyone says whether the change is good. On one page, a reviewer then needs: the probability check where outcomes exist, that difference rate, a breakdown of differences and outcomes by country, device, player stage, traffic source and value band, the response-time spread, the rate of rule violations and the share of requests with matching inputs. Word the breakdown carefully. It can show whether requests with differences had weaker or stronger outcomes under the live decision. It cannot show that the new model would have changed those outcomes. That care protects first-time visitors, high-value players and small countries that look harmless in the overall average.

    One group gets its own line in the report: players with responsible-gambling flags. The new model must read the same block list as the live path and choose zero promotional actions for anyone the live path blocked. In Great Britain this is a licence requirement: operators must stop marketing and new bonus offers to customers showing strong signs of harm. A new model that would have shown a bonus tile to a flagged player has failed, whatever its difference rate. Count those rows separately. The only acceptable number is zero, and one such row blocks the release until the eligibility check is fixed.

    A six-request comparison exposes the blind spot

    A tiny worked case makes the trap obvious. Take a casino lobby test. The live ranker picks the first game. The new model scores the same available games from a copied request. The outcome is whether the visitor launched the live first game in that session. In R1 both pick A, and the visitor launches it: agreement with a visible result. In R2 the live pick is A and the new model prefers B, but B was never shown, so its outcome is unknown. R3 is the reverse: the live pick B was shown and launched, while the new model's A stays hypothetical. In R4 both pick C and the visitor does not launch it, which proves that agreeing is not the same as being right.

    R5 is the dangerous one. The new model swaps A for D on a request where A was launched, so the switch may throw away a known success. R6 is another difference where the log simply cannot say who was better.

    Three lessons come out of these six rows. The new model disagrees on four of six requests: R2, R3, R5 and R6. There is no rule breach as long as A to D were all available. And only R1 and R4 give direct evidence about the new model's own choice, because there the systems agreed and the outcome was seen. Every other row supports only a guess about what might have happened, and says nothing about uplift. Accuracy alone misses the business question the log should answer: where is the new model trying to change behaviour, and which of those changes have no observed outcome at all? That is why teams keep the matched requests themselves, and daily score averages are no substitute.

    Old logs cannot show what was never tried

    The usual shortcut is to replay clean historical logs, see that the new model predicts recorded outcomes well, and call it ready. But logs only record what production chose to show. They never record results for options that were never shown, sent or applied. So the logs are biased from the start.

    Bottou and colleagues described the same trap in online advertising more than a decade ago (Counterfactual Reasoning and Learning Systems, JMLR 2013). Logged data can only tell you about other decisions if the original system chose among them at random and recorded the odds.

    The problem gets worse wherever eligibility, availability, consent, product rules or manual overrides have already filtered the options. The new model may quietly learn the pattern the old system created. Or it may be judged only on easy cases, because the hard requests never reached the logged path. Missing inputs, duplicate requests, timeout fallbacks and rule overrides must be recorded as shadow outcomes in their own right. Dropping them during cleaning hides exactly the cases that fail in production.

    Be exact about what shadow can and cannot prove. It can prove the wiring, matching inputs, the pattern of differences, response times and compliance with fixed rules. It can also flag decisions that need product review before any player sees them. It cannot prove extra causal impact for actions only the new model would take. Controlled exposure after an approved cutover may answer that later; shadow logs never will. And small groups must not be averaged into a false pass. A low overall difference rate can hide a real gap for app users in one language right after a catalogue update. Small but important groups get a minimum review and an honest "not enough evidence" when that is the truth.

    The go/no-go report needs a named owner for every part

    A cutover meeting needs a written report. It pins down what was tested, which model version produced the evidence, who accepts each risk and what would reverse the release. That makes an open issue much harder to bury under an average. Limits are agreed before the final review and depend on the model and decision. A new top recommendation needs a clear tolerance for top-choice changes. A hard rule threshold may allow zero unexplained violations. A justified difference, such as an approved rule change, is always kept separate from an unexplained one that blocks release.

    Report item Accountable owner Required proof Release decision
    Non-interference test Engineering owner Service permissions, network denial rules, proof no shadow output reached a live action channel Block on any write path or unreviewed exception
    Input and version parity Data engineering owner Matched request rate, feature freshness checks, schema and policy-version comparison Block if input drift cannot be separated from disagreement
    Model and decision evidence Model owner Calibration where labels exist, disagreement taxonomy, latency distribution, cohort cuts Proceed only within pre-agreed bounds
    Policy review Product policy owner Eligibility, suppression, and deterministic-rule checks with exception records Block on unexplained policy violations
    Observational-data statement Analytics owner Observed labels, counterfactual gaps, excluded traffic, sparse cohorts Escalate if evidence is too weak for the decision scope
    Rollback and retention Release owner Reversal trigger, operator, rollback steps, retention period, evidence-store access control No cutover without a tested reversal path

    Keep records as long as audit, privacy and incident-review rules require; an engineer's default is the wrong yardstick. Keep only what is needed to rebuild a disputed decision: request ID, timestamp, model and rule version, input snapshot reference, both outputs, comparison result and block status. Do not hoard raw fields that the checks never use.

    Rollback begins before the cutover

    A rollback condition is never "revert if results look wrong". It names the signal, the person who decides, the time allowed to respond and the exact change that restores the old path. Write that path while the new model is still isolated, in this order:

    1. Pin the current production model version and confirm its configuration is recoverable.
    2. Make sure any routing flag can be flipped without a code release.
    3. Define the trigger signal and the single owner allowed to act on it.
    4. Rehearse the reversal under the access controls that will apply on the day, and time it.
    5. Record the rehearsal in the report. A spoken promise does not count.

    Shadow records help set those triggers, because they reveal known difference patterns before real exposure makes them expensive. Teams usually run this stage next to production monitoring for iGaming models, but the shadow evidence must stand on its own before any traffic switches. And a clean report can still end in no-go. If most of the intended changes are cases nobody can observe, the right answer is to narrow what the new model may decide, gather more shadow evidence or redesign the decision. Having waited long enough is not a reason to release.

    Evidence should decide the release

    Teams with cheap rollback often argue against a long shadow stage: skip it, send 1% of traffic to the new model and learn real outcomes. Say a brand serves 400,000 lobby requests a day. A 1% canary gives 4,000 real decisions a day, enough to read the launch rate within a few days. Every one of them has a real outcome, which shadow can never give.

    That argument wins when the action is low-stakes and can be undone within a session, such as game order for regular players. It loses when a wrong action cannot be undone or is regulated: a bonus sent, a limit changed, a withdrawal held. There, one bad decision at 1% is still a bad decision for a real player, and shadow is the cheaper place to find it. Many teams end up doing both, in that order.

    A workable rule for the go/no-go meeting: approve cutover only when every row of the report has a signed owner, the separation test shows no write path, and every commercially important difference is either explained or covered by a rehearsed rollback trigger. If most of the intended change sits in rows with no observed outcome, approve a narrower scope and plan the controlled exposure that can measure it. Shadow will not prove future uplift, and a report that implies otherwise is how bad launches get approved. What it can prove is that the decision path is contained, follows the rules, can be measured and is honest about what the logs cannot show. That is the bar a release has to clear.