Shadow review answers whether a release running in shadow beside live agrees with live, how often its decisions differ, how many requests it fails, and which data it needs that you may not buy. The shadow decides nothing. The analysis compares its results with live so you can assess the change before deciding what to do with it.
Who uses it and when
Model validation uses Shadow review as evidence before a change. Review the shadow weekly while the change is in test, then review it again when the shadow ends. For other analyses of decisions, see Decisions.
Data it needs
The analysis uses the shadow's own counts on the endpoint. It is not available until a shadow has run. If a decision archive keeps the shadow's outputs, the analysis can compare records one by one from the day the shadow started. Without those outputs, it compares counts only.
See Data your analyses read for preparing data.
Inputs
Start Shadow review from the endpoint page's shadow panel by selecting Analyze. That starts the shadow preset. Optional inputs are under More settings.
| Input | What it means | Default |
|---|---|---|
| Shadow release number | The shadow release to review. Required and filled in by Analyze. | |
| Decision | The decision used to identify approvals. Under More settings. | |
| Values that count as approved | The values treated as approved. Under More settings. | approve |
| Outcome | The outcome to use. Optional, under More settings. | |
| Segment by | An optional way to group records. Under More settings. |
See Running and repeating an analysis for starting and repeating an analysis.
What the result shows
Under Hypotheses, the analysis tests whether the shadow agrees with live. A held verdict means the shadow made the same decision as live every time. A rejected verdict shows the share of decisions that agreed and raises a finding. Each verdict has a number behind it. Unclear is also a possible verdict.
The Watch-outs cover these checks:
| Watch-out | What it reports |
|---|---|
| ended | The shadow has ended, so the result uses its final numbers. |
| differs | The number of decisions the shadow made differently. |
| errors | The number of requests the shadow failed. |
| could not decide | Data sources the shadow needed and may not buy. |
| no row comparison | Without an archive keeping the shadow's outputs, decisions are compared by count only. |
The result compares Live and Shadow in rows for Decisions, Approval rate, and Outcome rate. When you set Segment by, it also shows Approval rate, live, by and Approval rate, shadow, by. Promote opens the endpoint.
For help reading result details, see Analyses.
How to read it
Counted differences show how much changes, not which individual decisions change. A row-by-row comparison needs the archive described above. Use the agreement result to judge whether the shadow matches live, and the difference, error, and data-source counts to understand where it diverges.
What to do next
From the endpoint, promote the shadow release live or stop it. See Deploying a release to an endpoint for endpoint release actions.
For a history-based comparison before any traffic, see Decision backtest. To compare branches that both decide live, see Decisions by branch.