This is a worked example with a made-up organisation. Kestrel Lending is a fictional consumer lender. Its data science team has trained a new credit default model and believes it beats the one in production. The model risk team needs to see the comparison, approve the new version, and be able to show later who decided and on what basis.

The registry trail
Every model in InsightMLFlow's registry has versions, numbered automatically. Each version carries a governance status: draft, pending review, approved, rejected or archived, and a separate production flag. Approving and rejecting are explicit actions by a person; nothing moves a model to approved by itself.
Kestrel's new version is registered as a draft, then submitted for review. It stays there until the comparison is done.
The comparison
The challenger agent sets the current model as champion and the new version as challenger. With both deployed to endpoints, it sends the same holdout dataset to each and computes, with scikit-learn, accuracy, precision, recall, F1 and AUC (weighted for multi-class problems). For each metric it marks the better model: higher is better, except for error-style metrics (latency, RMSE, MAE, MSE, log loss) where lower wins.
| What the agent computes | What it does not |
|---|---|
| Each metric for both models on the same holdout data | Apply a minimum margin: a 0.001 lead still counts as a win |
| Which model wins on each metric | Run a statistical significance test in code |
| A language-model reading of the results | Change registry status, production flags or deployment traffic |
| The promotion decision you record, and who recorded it | Make the decision |
The decision
A promotion decision is recorded as promoted or rejected with the name of the person who made it. Recording it updates the champion-challenger record; it does not move traffic or change the registry by itself. Kestrel's process makes those steps deliberate: the reviewer approves the version in the registry, the ML engineer updates the deployment, and the production flag follows.
What the model risk committee sees
The challenger beats the champion on AUC and recall and loses slightly on precision. The data science lead adds a bootstrap confidence interval for the AUC difference, computed in their notebook and tracked as a run, and the language model's reading notes that the recall gain matters most for a default model. Ravi Menon, the model risk reviewer, approves the version with that evidence; the decision is recorded as promoted with his name. A month later the monitoring agent's drift report on the new model is the next item on the committee's agenda.
Keep the evidence together
- Track the training run with the SDK so the version links to its configuration and metrics.
- Profile the training data with the data agent and keep the profile id with the model.
- Record the comparison and the decision in the challenger record, with any additional tests attached as tracked runs.
- Measure drift after release with the monitoring agent, against the training data as reference.
Two ways to compare
| Live comparison | From stored metrics | |
|---|---|---|
| Needs | Both models deployed, and a holdout dataset | Experiment records for both models |
| Computes | Each metric from the endpoints' predictions on the same rows | Nothing new: reads the metrics each run logged |
| Default metrics | Accuracy, precision, recall, F1, AUC, latency | The same names, if the runs logged them |
| Comparable when | Always, by construction | Both runs were evaluated on the same data the same way |
The stored-metric comparison is fast and useful early, but it is only as fair as the two evaluations behind it. For a decision that will be reviewed, use the live comparison on one holdout set.
Designing an A/B test
The challenger agent can also design an A/B test and store the design with the record: by default 80% of traffic to the champion and 20% to the challenger, accuracy as the primary metric, a 0.05 significance threshold and a 24-hour duration. With a language model configured it proposes changes to any of those you did not set, an estimated minimum sample size, and guardrail metrics for stopping early. The design is stored with a status of designing; splitting traffic between endpoints is a deployment step you take, not something the agent does.
Kestrel's team uses the design as a record of intent for a later live test, agreed with the model risk team before any traffic moves, so that the success criterion is fixed before anyone sees the results. Changing the primary metric after the test has started is the most common way an A/B result loses credibility.
A checklist for the committee pack
- The holdout set: where it came from, its period, and that neither model was trained on it.
- The per-metric table, with the metric that matters most for the use stated first.
- Your own significance test, computed in code and tracked as a run.
- The training data profile and feature analysis for the challenger.
- The decision, who made it, and what would trigger a re-review (for example, the drift threshold).