Problem
Teams often launch a model after a good test and forget it, while its quality slips unnoticed. At Tochka Bank one model started returning predictions that needed urgent action, and finding the cause took a long investigation of the data, features and process with almost no visibility. The team wanted to catch such problems early and cheaply. One analyst built the monitoring system in a few months.
Example from the article: a first monitoring library worked on 5 thousand rows for the first model, but on 500 thousand rows some tests ran longer than 15 minutes.
Solution in brief
Check each link of the chain (data, feature distributions, quality metrics, prediction delivery) against a reference dataset. Run simple tests written with standard libraries, then rank the signals: top features, feature groups, up to 30 critical tests and two severity levels.
Questions this case answers
- How to detect silent degradation of a deployed model using a small, prioritized set of data, drift and quality checks that one person can maintain
- How to turn a large number of monitoring checks into a few severity levels that tell the team whether to investigate
- How to know that a production ML model has silently degraded before the business notices?
- How to choose which data checks and drift tests to run for each model feature?
Tools and methods
- Data integrity tests — row count, duplicates, constant or empty columns, new or vanished values, share of a value.
- Missing-value checks — fixed threshold, relative threshold or z-test on proportions.
- PSI (Population Stability Index) — main drift indicator on binned distributions.
- Bootstrap — auxiliary drift test for critical features.
- Metric corridors — allowed range for one to three key quality metrics.
- pandas, NumPy, scikit-learn, SciPy — test logic written by the team.
- Airflow and Power BI — orchestration and visualization, on a relational database.
Google or a one-time email code. No password.
