ParityCheck proves your production ML model gives users the same answer it gave in training. It sends known rows through your real web or mobile app and your serving API
The problem A model can score well offline and still give wrong answers in production. That's because the features are computed differently at serving time. Typical causes: feature code rewritten differently in the service a different default for missing values one-hot categories in a different order a stale scaler or the wrong model version client-side bugs: wrong units, rounding, label thresholds, caching Today's monitors look at aggregates. Vertex AI, for example, computes the distribution of each feature's values in the training data as a baseline, then compares serving distributions with it per time window. Nothing in Google's description compares individual predictions. One row computed wrong for a narrow group of users can stay under any threshold. Display and caching bugs happen after the model, so no model monitor sees them. 2. What ParityCheck does ParityCheck is a Python CLI and a coding-agent skill. It takes a set of probe rows with known correct answers and gets three answers for each row: ref: the offline model run with the training preprocessing api: Kane CLI calling POST /predict directly ui: Kane CLI filling the real form and reading the result off the screen It compares the three, names the broken layer and feature, and gives a coding agent a precise finding to fix. Kane then re-verifies.
https://github.com/debaa98/ParityCheck
Built in two weeks for the KaneCLI Online Hackathon.
See the hackathon →