TOPIC 20/4219 MINNOT STARTED

Testing an LLM feature: test sets, graders and non-determinism

Test a feature whose answers change every run. Use a fixed test set, cheap code checks first, a judge you have checked, and a pass rate with a range.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a player taking penalty kicks, with two referees. One kick that scores proves little. Twenty kicks give a better idea, but still only a range, such as "between 7 and 9 in 10". Now two referees watch the same ten kicks. If they call goals differently, fix the referees before you judge the player.

Daily List is a to-do list app. Leo adds an Ask box that answers questions about a person's list. Lily types, "What is due today?" The box answers in its own words, and the words change each time. This is . The same question can give different answers, and several can be right.

Tom cannot compare each answer with one saved answer. So he writes a rubric, a list of what a good answer must have. He asks each question many times. He counts how often the answer passes. Then he gives a , which is a range of pass rates (The share of run tests that passed) that fits what he saw.

Tom also lets a second program mark some answers. He checks its marks against his own. That check is .

The picture has limits. A kicker stays much the same from one kick to the next. The Ask box can change with its settings. A referee can explain a call. A judge program can mark wrongly and sound sure.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are made up.)

PLAIN WORDS · 2 in this section
deterministic
always giving the same result from the same input
rubric
a list of rules or points used for judging

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 a feature whose answers change each run, by checking facts across many runs and by checking the marker too.

  1. Fix the test set
  2. Run each case many times
  3. Check with code, then a judge
  4. Report the rate with a range
Mark with a rubric, then mark the marker

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The pile of essaysThe answers from many runs
The rubricThe list of facts an answer must have
Asking a second teacher to mark tenChecking the judge against a person on a sample
How sure the teachers are of the class resultThe range around the pass rate

WHERE THIS PICTURE STOPS

  • Students do not rewrite their essay when you ask again. The feature gives a new answer each run.
  • A teacher can explain a mark. A judge program can mark wrongly and sound sure.
  • A class is a fixed group. The feature faces endless new questions, so a test set is only a sample.

HOOK

Mark with a rubric, then mark the marker.

REMEMBER IT THIS WAY

A contrast: two neighbours told apart by one test.

The rubric asks if the answer is good; a person's check on a sample asks if the judge is good. Ask both before you trust a .

What each part of the trick stands for
In the trickWhat it stands for
The rubricThe list of facts an answer must have
The person's sampleChecking the judge against a person on a sample
The pass rateThe range around the pass rate

TELL A FRIEND

Mark many essays with the same rubric, then ask a second teacher to check some marks.

OFTEN MIXED UP WITH Testing an LLM feature: evaluation sets, prompt injection and hallucinations. The earlier lesson teaches the first rubric, the and the injection check. This lesson goes deeper into judges, run counts and changes between model versions.

Sources & standards — 4 sources
  1. Market practice

    Certified Tester Artificial Intelligence Testing certification page, version 2.0 (International Software Testing Qualifications Board) ↗ — International Software Testing Qualifications Board (ISTQB) · Version 2.0 covers testing AI systems, including generative AI such as large language models, and its outline lists non-deterministic behaviour, test oracles and metamorphic testing (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.

  2. Market practice

    Non-Determinism of "Deterministic" LLM Settings (arXiv 2408.04667) ↗ — arXiv (research preprint) · Finds that models are not fully deterministic even with settings meant to make them so, and the degree of instability changes from model to model, setting to setting and task to task (search excerpt, page not opened)

    A preprint that has not been checked by journal reviewers. Supports running a test many times even with the randomness setting turned down. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. 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

    Judging a Large Language Model as a Judge with a Multi-Turn Benchmark and Chatbot Arena (Zheng and others, NeurIPS 2023, arXiv 2306.05685) ↗ — arXiv · A strong language model used as a judge agreed with human preferences over 80 percent of the time, about as often as people agree with each other, and judges show position, verbosity and self-enhancement bias (search excerpt, page not opened)

    Reports that a strong language model used as a judge agreed with human preferences over 80 percent of the time, about as often as humans agree with each other, and names position, verbosity and self-enhancement bias in judges. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: NeurIPS 2023 paper. 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

    e-Handbook of Statistical Methods — 7.2.4.1 Confidence intervals ↗ — National Institute of Standards and Technology (NIST) and SEMATECH · The handbook gives exact equations for a range around a pass count when a number of trials is small (search excerpt, page not opened)

    Actualcomplete§7.2.4.1reviewed:Wilsonintervalandexactsmallsamplebinomialmethods,includinghistoricalterminologycorrection. Estimateintervalisnotidenticaltoahypothesisedcountscreenband; approximationrequiresjustification. · Checked 2026-11-06

    Actual primary page/document sections opened and compared in the Industry Contexts audit on 6 November 2026; scope and section-reading limits are documented in docs/research/v43-testing-industry-contexts-progress-20261106.md. Paraphrase teaching facts; a public page is not itself permission to republish proprietary source figures.

PRACTISE AND KEEP

Sources for this topic — 4 sources
  1. Market practice

    Certified Tester Artificial Intelligence Testing certification page, version 2.0 (International Software Testing Qualifications Board) ↗ — International Software Testing Qualifications Board (ISTQB) · Version 2.0 covers testing AI systems, including generative AI such as large language models, and its outline lists non-deterministic behaviour, test oracles and metamorphic testing (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.

  2. Market practice

    Non-Determinism of "Deterministic" LLM Settings (arXiv 2408.04667) ↗ — arXiv (research preprint) · Finds that models are not fully deterministic even with settings meant to make them so, and the degree of instability changes from model to model, setting to setting and task to task (search excerpt, page not opened)

    A preprint that has not been checked by journal reviewers. Supports running a test many times even with the randomness setting turned down. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. 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

    Judging a Large Language Model as a Judge with a Multi-Turn Benchmark and Chatbot Arena (Zheng and others, NeurIPS 2023, arXiv 2306.05685) ↗ — arXiv · A strong language model used as a judge agreed with human preferences over 80 percent of the time, about as often as people agree with each other, and judges show position, verbosity and self-enhancement bias (search excerpt, page not opened)

    Reports that a strong language model used as a judge agreed with human preferences over 80 percent of the time, about as often as humans agree with each other, and names position, verbosity and self-enhancement bias in judges. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: NeurIPS 2023 paper. 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

    e-Handbook of Statistical Methods — 7.2.4.1 Confidence intervals ↗ — National Institute of Standards and Technology (NIST) and SEMATECH · The handbook gives exact equations for a range around a pass count when a number of trials is small (search excerpt, page not opened)

    Actualcomplete§7.2.4.1reviewed:Wilsonintervalandexactsmallsamplebinomialmethods,includinghistoricalterminologycorrection. Estimateintervalisnotidenticaltoahypothesisedcountscreenband; approximationrequiresjustification. · Checked 2026-11-06

    Actual primary page/document sections opened and compared in the Industry Contexts audit on 6 November 2026; scope and section-reading limits are documented in docs/research/v43-testing-industry-contexts-progress-20261106.md. Paraphrase teaching facts; a public page is not itself permission to republish proprietary source figures.

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.