Training-serving skew looks harmless on the first day. The offline AUC was 0.81, the shadow deployment returned scores in about 40 milliseconds, and the dashboard was green. Three weeks later the conversion team noticed the model ranked new customers almost at random, because the "days since signup" feature was computed in UTC in the notebook and in local store time in the service, and for anyone who signed up near midnight the value was off by one.
Nobody made a big mistake. The data scientist assumed the engineer would reuse the training query; the engineer rewrote it in the service language because the query took 6 seconds. A handover checklist exists for exactly this gap: the space between "the model works" and "the system that runs the model works", where each side quietly assumes the other side owns the detail.
The 30 checks below are grouped by what they protect. They are written for a team where data scientists train models and an engineering or ML platform team deploys and operates them. If one person does both, the list still applies; it just becomes a self-review instead of a meeting.
What a handover is supposed to transfer
A model is a function plus a set of promises. The function is the serialized artefact. The promises are everything the artefact silently depends on: the exact shape of its inputs, the population it was trained on, the latency it can tolerate, the error rate the business will accept and the conditions under which someone should switch it off.
Teams usually transfer the function and leave the promises in a notebook, a Slack thread or the data scientist's head. The paper "Hidden Technical Debt in Machine Learning Systems" by Sculley and colleagues (NeurIPS 2015) made the point that the model code is a small box in the middle of a much larger system of data collection, feature extraction, configuration and monitoring. A handover that covers only the small box leaves most of what can break with nobody in particular.
So the test for a finished handover is practical. Could the receiving engineer, with no access to the original author for two weeks, answer four questions: what goes in, what comes out, how do we know it is still working, and what do we do when it is not? If any of the four needs a phone call, the handover is not done. The checklist is just a way of writing those four answers down before launch rather than discovering them during an incident.
One more framing helps. The handover is a contract between two teams, and like any contract it needs an owner for each clause. A check without a named owner tends to be "done" in the meeting and forgotten by the next sprint.
Artefacts that travel with the model
These nine checks cover the files and documents. Most can be verified in 15 minutes by someone who did not build the model.
- 1. The artefact is versioned and immutable. It sits in a registry (MLflow Model Registry, a cloud vendor's equivalent, or at minimum a bucket with object versioning) and production references a version or alias, never "latest".
- 2. Training code is pinned to a commit. The registry entry links to the exact commit and the config file used, so a retrain reproduces the same pipeline.
- 3. The environment is captured. A lock file or container image with library versions. A model trained on scikit-learn 1.3 and loaded on 1.5 may load and still behave differently, and the warning is easy to miss.
- 4. The serialization format is safe and portable. Python pickle files can execute arbitrary code when loaded, so the platform team should know where the file came from. Formats like ONNX or a framework's native saved model format are easier to audit and to serve outside Python.
- 5. A model card exists. The idea comes from "Model Cards for Model Reporting" (Mitchell et al., 2019): intended use, out-of-scope use, training data period, evaluation metrics and known weak segments, on one or two pages.
- 6. The training data snapshot is identifiable. Date range, source tables and row counts, so an engineer can tell whether a production population looks like the one the model learned from.
- 7. Evaluation results are reproducible. The offline metric, the test split logic and the script that produced it. If the reported AUC was 0.81, running the script on the frozen test set gives 0.81.
- 8. A golden set of input and output pairs ships with the model. Typically 50 to 200 rows with expected scores. The engineering team uses it as a regression test: the service must return the same scores to a tolerance such as 1e-6.
- 9. Known failure modes are written down. Segments where performance is weak, inputs that produce extreme scores, and features the model leans on heavily.
Check 8 is the one teams skip and regret. It turns "does the service reproduce the notebook?" from a debate into a test that runs in CI.
The data and feature contract
In the first month, production incidents usually start in the inputs. These eight checks define the contract between the feature pipeline and the model.
- 10. Every feature has a written definition. Source table, transformation, time zone, unit and the timestamp at which it is valid. "Revenue" is not a definition; "net revenue in EUR, excluding VAT, last 30 days up to the previous midnight UTC" is.
- 11. Training and serving use the same feature code, or a test proves equivalence. A shared feature store such as Feast, or a shared library, removes most skew. If the code is rewritten, the golden set from check 8 must pass through the real pipeline, not through hand-built inputs.
- 12. Point-in-time correctness is confirmed. Features in training were computed only from data available at prediction time. Leakage here produces offline metrics that production never matches.
- 13. Missing values have an agreed behaviour. Default value, imputation or a rejected request, documented per feature and tested.
- 14. Value ranges and categories are validated at the entry point. A new product category or a negative price should raise a flag before it reaches the model.
- 15. Upstream owners know the model depends on them. If the marketing team renames a campaign field, someone gets told. This check is about people, and it is the one that fails silently.
- 16. Drift baselines are stored. The training distribution of each important feature, so monitoring has something to compare against. Population Stability Index is a common choice, with 0.1 and 0.25 as conventional warning and action levels.
- 17. Feature freshness is defined. How stale may an input be before the score should not be trusted: 5 minutes, 24 hours, a week?
Serving, monitoring and rollback
The next seven checks define how the model behaves as a running service. The Google paper "The ML Test Score" (Breck et al., 2017) gives a longer rubric for production readiness; the list here is the subset that most often goes missing in a first handover.
- 18. Latency and throughput budgets are agreed. For example, p99 under 80 ms at 300 requests per second. The data scientist confirms the model can meet it on the target hardware, measured on the service itself.
- 19. The output contract is fixed. Score range, calibration, threshold, and what the calling system does with each band. A score of 0.7 means nothing to the checkout service without a rule attached.
- 20. A fallback exists. When the model times out or the feature service is down, the caller uses a rule, a cached score or the previous model. Someone has actually triggered it in staging at least once.
- 21. Shadow or canary rollout is planned. Shadow mode for a week, then 5 percent of traffic, then 50, then 100, with the metrics that gate each step written in advance.
- 22. Business and model metrics are both monitored. Prediction distribution, input drift and latency for the platform team; the downstream outcome (fraud caught, clicks, churn saved) for the product owner. Labels often arrive weeks late, so the leading signals matter.
- 23. Rollback is one action. Switching the alias back to the previous version takes minutes and does not require a deploy from the data scientist's laptop.
- 24. Retraining triggers and cadence are agreed. Scheduled monthly, triggered by drift, or manual. Each option implies a different owner.
Ownership after go-live
The last six checks are about people. They feel bureaucratic until the first page at 3 a.m. lands on someone who has never seen the model.
- 25. One named owner per layer. Model quality, feature pipeline, serving infrastructure and business outcome each have a person, not a team alias.
- 26. On-call scope is explicit. What the platform engineer may do alone (roll back, enable fallback) and what needs the data scientist (retrain, change threshold).
- 27. Alerts route to the owner who can act on them. Drift alerts going to the infrastructure channel get muted within a week.
- 28. A support period is agreed. The data scientist stays reachable for, say, the first 30 days and joins the first two incident reviews.
- 29. Decommission criteria exist. Under what conditions the model is retired, and who decides.
- 30. Sign-off is recorded. Both sides tick the list in a ticket or pull request, so the next handover starts from a template.
The split of responsibilities depends on how the organisation is set up. Three common shapes look like this:
| Setup | Who deploys | Who watches model quality | Typical failure | Checks that matter most |
|---|---|---|---|---|
| Throw over the wall | Engineering rewrites and deploys | Nobody after week 2 | Skew and silent decay | 8, 11, 22, 25 |
| Platform with self-service | Data scientist via the ML platform | Data scientist | Ops gaps: alerts, fallback, on-call | 18, 20, 26, 27 |
| Embedded ML engineer | ML engineer inside the DS team | Shared | Knowledge stuck in 2 people | 5, 9, 28, 30 |
None of the three is wrong. A self-service platform shortens the handover to almost nothing, but it moves the operational checks onto data scientists, who may never have carried a pager. The table is a way to pick the five checks your setup is most likely to skip.
An illustrative handover that passed review and still failed
The following case is illustrative, assembled from common patterns rather than one company. An online retailer with about 2 million monthly visitors built a model to predict which carts would be abandoned, so the site could show a free shipping offer to the top 8 percent of risk scores.
Offline, the model looked strong: precision at the top 8 percent was 0.42 against a base abandonment rate of 0.21. The handover meeting covered the artefact, the feature list and a latency test. Engineering rewrote two features in Go because the Python versions were too slow, deployed behind a feature flag and moved straight to 100 percent of traffic after a two-day shadow run that only checked latency.
Within a month, the offer was going to about 15 percent of sessions instead of 8 percent, and the margin cost of free shipping was roughly double the plan. The cause was a "cart value in EUR" feature that the Go service read before discounts were applied, while training data used the value after discounts. Scores shifted upward for every discounted cart. Nobody saw it, because monitoring tracked latency and error rate but not the share of sessions above the threshold.
Four checks would have caught it. Check 8, the golden set, would have shown different scores for discounted carts on day one. Check 10, a written definition of the feature, would have forced the question "before or after discount?". Check 19 would have tied the threshold to an expected 8 percent share, and check 22 would have alerted when that share passed, say, 10 percent. The fix took one afternoon; finding the problem took four weeks and a margin review.
The engineers were not careless. The rewrite was reasonable, and the shadow run was a good instinct. The handover simply had no test that compared what the model saw in training with what it saw in production.
Use the full list of 30 when a model drives money or customer-facing decisions and the people who trained it will not be the people who run it. For an internal model behind a dashboard, checks 1, 5, 8, 10, 23 and 25 are usually enough. If your team ships more than one model a quarter, turn the list into a pull request template, because a checklist that lives in a wiki is read once.