TOPIC 21/5117 MINNOT STARTED

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.

  1. Test the data steps
  2. Test the training code
  3. Repeat the run
  4. Gate the release
Three checks along the build

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The oven holds its heatThe training code behaves as expected
The recipe written downA reproducible run with recorded data, code, settings and seed
Measuring the flourA data step tested with known inputs
Tasting each batchThe model promotion check
Keeping yesterday's loaf recipeKeeping 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.

What each part of the trick stands for
In the trickWhat it stands for
Test the stepsData steps and training code
Repeat the runRecord data, code, settings and seed
Gate the releaseA 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
  1. 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)

    Answer key that links sample questions to objective ids. Two ids in the chapter on machine learning development testing were seen (AI-7.1.1 and AI-7.1.2) with no objective wording. Used only to show the chapter exists. · Checked 2026-10-25

    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.

  2. 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)

    Public overview. Says version 2.0 covers testing artificial intelligence (AI) systems, including machine learning and generative AI such as large language models, replaces version 1.0, and requires the Foundation Level certificate. Named as a public overview only; syllabus text not quoted. · Checked 2026-10-18

    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.

  3. 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)

    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 of the abstract only. · Checked 2026-10-25

    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.

  4. 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

    CT-AI syllabus v2.0 GA, 17 April 2026, 93 pages. This audit read the actual related sections recorded in the Specialist source ledger: selected AI foundations, data/workflow, neural coverage, testing methods and deployment sections. Professional certification guidance, not an ISO standard or legislation. The audit does not claim every PDF page was reviewed. · Checked 2026-11-06

    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.

  5. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    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.