Testing the ML build: training code, data steps and model releases
Test how a model is built: the data steps, the training code, repeatable runs and a check before a new model goes live.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a bakery that checks the oven, the recipe and each batch. A good baker does not only taste the last loaf. The baker checks that the oven holds its heat. The baker checks that the recipe is written down, so tomorrow's loaf matches today's. And each batch is tasted before it goes on the shelf.
Daily List is a to-do list app. Leo trains the urgent-task helper again every Sunday on new tasks. One Sunday the helper gets worse. Nobody can rebuild last week's helper to compare, because the data changed and the settings were not saved.
Tom stops testing only the finished helper. He tests how it is built. The steps that turn raw tasks into a trained helper are a . A build that can be repeated is a . A check that a new helper must pass before it replaces the old one is a model promotion check.
These checks are plain testing of a build. Some reuse familiar testing skills; others need knowledge of the model, data and statistical evaluation.
The picture has limits. Bread is baked once and eaten, while a helper is rebuilt every week. And a baker tastes a loaf, but a tester must measure a model over many cases.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PLAIN WORDS · 2 in this section
- reproducible
- able to be repeated with the same result
- reuse
- to use something again
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Testing how a model is built, from the data steps and training code to a repeatable run and before release.
- Test the data steps
- Test the training code
- Repeat the run
- Gate the release
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The oven holds its heat | The training code behaves as expected |
| The recipe written down | A reproducible run with recorded data, code, settings and seed |
| Measuring the flour | A data step tested with known inputs |
| Tasting each batch | The model promotion check |
| Keeping yesterday's loaf recipe | Keeping the old model version for rollback |
WHERE THIS PICTURE STOPS
- Bread is baked once, but a model is rebuilt again and again.
- A baker tastes one loaf, but a tester measures a model over many cases.
- A recipe gives the same loaf, but a training run may differ a little even with a fixed seed.
HOOK
Test the steps, repeat the run, gate the release.
REMEMBER IT THIS WAY
A sequence: the real steps, in order.
Say it in order: test the steps, repeat the run, gate the release. Then keep the old version ready to roll back.
| In the trick | What it stands for |
|---|---|
| Test the steps | Data steps and training code |
| Repeat the run | Record data, code, settings and seed |
| Gate the release | A promotion check and a rollback |
TELL A FRIEND
Like a bakery, test the oven, the written recipe and each batch before it goes on the shelf. These are the training code, a repeatable run and a promotion check.
OFTEN MIXED UP WITH Precision, recall, drift and the right metric for a model. That topic measures a finished model with numbers. This one tests how the model is built and released.
PRACTISE AND KEEP
Sources for this topic — 5 sources
- Market practiceanswers v2.1 for syllabus v2.0
ISTQB Certified Tester AI Testing sample exam answers, version 2.0 (iSQI) ↗ — iSQI · The answer key links sample questions to objective ids in the chapter on machine learning development testing, AI-7.1.1 (K2) and AI-7.1.2 (K2). The syllabus text for both objectives was read in full from a mirror copy of the publisher PDF (ISTQB syllabus CT-AI v2.0, 17 April 2026), version checked against the document's own front matter (answer key: search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Certified Tester Artificial Intelligence Testing certification page, version 2.0 (International Software Testing Qualifications Board) ↗ — International Software Testing Qualifications Board (ISTQB) · Public overview. Says version 2.0 covers testing artificial intelligence systems, including machine learning and generative AI (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Version 2.0. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
The ML Test Score: A Rubric for ML Production Readiness and Technical Debt Reduction ↗ — Google Research · Argues that testing and monitoring are key to production readiness of a machine learning system, and presents 28 specific tests and monitoring needs drawn from production experience (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Certified Tester Artificial Intelligence Testing Syllabus v2.0 (International Software Testing Qualifications Board) ↗ — International Software Testing Qualifications Board (ISTQB) · Mirror copy of the publisher PDF (ISTQB syllabus CT-AI v2.0, 17 April 2026), version checked against the document's own front matter, read in full text: AI-4.3.1 (K2) summarise the test levels used to develop ML systems; AI-6.1.2 (K2) explain the purpose and focus of reviewing ML model documentation; AI-7.1.1 (K2) give examples of test approaches for risk mitigation of ML development; AI-7.1.2 (K2) explain the forms of ML system deployment testing
Actual iSQI-hosted publisher PDF and version front matter inspected. Exact section/page coverage and limits are recorded in the v35 Specialist analysis ledger. Simplified source statements are contextualised separately in lessons, not silently represented as universal technical laws. No source figure or extended copyrighted extract copied.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Daily List, the helper, its numbers and the people are invented. The checks are a starting set that a newcomer can run, not a full list. The lesson follows the syllabus chapter on development testing and a published rubric.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.