Sub topic 9
Principles of Checking AI Output
This chapter assumes you have read the earlier chapters on what AI drafting tools do and how their drafts go wrong. It also assumes you can read short Python scripts and simple JSON. Here you build the general rules for checking any AI draft. The later chapters apply these rules to outlines, quizzes, and captions.
Why checking needs its own method
An AI draft is fluent whether or not it is correct. A wrong formula and a right formula are written in the same confident tone. Because of this, reading a draft and feeling that it "looks fine" is not a check. It is the exact response the draft is built to produce.
Checking means comparing the draft against something outside the draft. That something is a source of truth: the audio file, the course objectives, the software's documentation, or a subject expert. If you cannot name the source of truth for a claim, you have not checked it yet.
Principle 1: Check against a source, not against the draft
Every check needs a reference that the AI did not write. Typical references are:
- The learning objectives you approved before drafting.
- The original audio or video, for captions.
- Official documentation or a standard, for technical facts.
- A subject-matter expert, for judgment calls.
- Your own constraints, such as total duration or audience level.
Do not ask the same AI tool to confirm its own output and treat the answer as verification. A second pass by a tool can be a useful extra filter, because it may notice an inconsistency. But it shares the blind spots of the first pass and can repeat the same error. Treat its result as a hint to look at, not as evidence.
Principle 2: Separate what a machine can check from what a human must check
Some properties can be tested by a script. Others need a person. Mixing them up wastes effort in both directions. People should not hand-count options in 200 questions, and a script cannot decide whether an answer is true.
| Property | Who or what checks it | Example |
|---|---|---|
| Structure and format | Script | Every question has an answer index within range |
| Internal consistency | Script or human | Every question names an objective that exists |
| Timing and ordering | Script | Caption cues do not end before they start |
| Factual accuracy | Human with a source | The formula really adds cells B2 through B6 |
| Pedagogical quality | Human with expertise | Distractors reflect real learner mistakes |
| Fit for audience | Human | Vocabulary matches beginners |
| Match to audio | Human listening | Caption words equal spoken words |
Automated checks are cheap, so run them first. They remove mechanical errors and leave the human reviewer free to spend attention on accuracy and judgment.
Principle 3: Know what your automated check does not prove
A passing script is a narrow result. The quiz checker from the topic examples verifies that each question has at least three options, no duplicates, a valid answerIndex, and a known objective. Here is a version that you can run on a sample file.
import json
def check_quiz(path, objective_ids):
problems = []
with open(path, encoding="utf-8") as f:
questions = json.load(f)
for q in questions:
qid = q.get("id", "?")
options = q.get("options", [])
if len(options) < 3:
problems.append(f"{qid}: fewer than 3 options")
if len(set(options)) != len(options):
problems.append(f"{qid}: duplicate options")
idx = q.get("answerIndex")
if not isinstance(idx, int) or not 0 <= idx < len(options):
problems.append(f"{qid}: answerIndex missing or out of range")
if q.get("objective") not in objective_ids:
problems.append(f"{qid}: objective not in the course objectives")
return problems
print(check_quiz("quiz.json", {"obj-1", "obj-2", "obj-3"}))Suppose quiz.json holds the question about cells B2 through B6, but the file marks "answerIndex": 2, which is =B2+B6. The script prints an empty list, because index 2 is in range and the objective is known. The key is wrong and the check is silent.
The caption timing script has the same limit. It catches a cue that ends before it starts, but it cannot tell you that the caption says "income" when the speaker said "outcome."
Write down, for each automated check, the sentence "this check does not prove ...". An empty problem list means "no structural problems found." It never means "approved."
Principle 4: Check by risk, and sample deliberately
You rarely have time to examine every line with equal care. Spend effort where an error does the most damage and where AI is most likely to be wrong.
Higher-risk content includes:
- Specific numbers, dates, names, and version-dependent steps.
- Answer keys, because a wrong key teaches learners the wrong thing and penalizes correct learners.
- Anything about legal, medical, safety, or financial matters.
- Terms and proper nouns in captions, which speech tools often mishear.
- Claims the draft states with no hedging.
Lower-risk content includes generic transitions and lesson titles that carry no factual claim.
For high-risk items, check all of them. For large volumes of low-risk items, sample. A useful rule is to sample first and then decide. If you check 20 randomly chosen questions and find errors in 4, you do not have a few isolated mistakes. You have a draft that needs a full review, or a better prompt. If you find none, you have some evidence of quality, but not proof. A clean sample of 20 cannot rule out a small error rate across hundreds of items.
Pick samples at random, or by a fixed rule such as every fifth item. Do not pick only the items that caught your eye, because those are biased toward what looks wrong or interesting.
Principle 5: Verify claims one at a time
A paragraph can hold several claims, and only some may be wrong. Break draft text into individual checkable claims. For a lesson description such as "Use =SUM(B2:B6) to total the column, which works in all spreadsheet programs," there are three claims: the formula syntax, what the range covers, and the compatibility statement. The first two are probably fine. The third is a sweeping claim and deserves suspicion.
Words that signal unverified claims include "always," "never," "all," "every," "the standard," and "studies show." When a draft cites a study, a statistic, a quotation, or a source, find the source yourself. AI tools can produce references that look real and do not exist. A citation you cannot locate is treated as invented until shown otherwise.
Principle 6: Test by doing
Where a claim describes an action, perform it. If a lesson says to click a menu item, open the software and click it. If a quiz asks which formula works, type each option and see what happens. If a code sample is given, run it.
Doing catches problems that reading misses, such as a menu that was renamed or a formula that works only in one product. It also exposes the "no specific software version" constraint from your prompt. If the draft quietly assumed one version, you will see it when your version behaves differently.
Principle 7: Record what you found
Checking without a record cannot be repeated or audited. For each review, note:
- What artifact and which version you checked.
- What source of truth you used.
- What the automated checks covered, and what they did not.
- What you changed, and why.
- Who reviewed it and when.
A short change log is enough. A later chapter builds this into a full workflow with sign-off. For now, the habit is the point: a correction that is not recorded will be made again, or worse, undone by the next draft.
A decision flow for each item
The loop back to the start matters. After any fix, the item goes through the checks again, because a fix can introduce a new error.
Common errors when checking
- Trusting a confident tone. Fluent text proves nothing about accuracy.
- Using the AI as its own referee. Its agreement is not independent evidence.
- Treating "no problems found" as "approved." Scripts only find what they were written to find.
- Checking only what looks wrong. Reviewers drift toward odd-looking items and skip plausible-looking ones, which is where subtle errors sit.
- Checking once, then editing. Edits after review invalidate the review.
- Skipping the record. Without notes, nobody knows what was verified.
Edge cases
If the source of truth is itself uncertain, such as documentation that disagrees with the software's actual behavior, note the conflict and choose the behavior learners will actually see. If no reviewer with the right expertise is available, narrow the claim in the draft or remove it rather than publishing something unchecked. If a draft fails a sample badly, regenerate with a better prompt rather than patching item by item, and review the new version from the start.
Exercise
A quiz validator reports no problems for a file of 50 questions. A teammate says the quiz is ready to publish. Give two reasons this conclusion is not justified, and name one check that should come next.
Show answer
The validator tests structure only: option counts, duplicates, answer index range, and known objective IDs. It cannot tell whether the marked answer is actually correct, whether the question is factually accurate, or whether distractors are sensible. A wrong answer key in range passes silently. Next, a human should check answer keys against a source, starting with all high-risk questions (numbers, formulas, version-specific steps), and by doing the task where possible, such as typing each formula option into a spreadsheet. The result should be recorded in a change log.
Exercise
You check 15 randomly chosen captions from a 300-caption file and find 3 with misheard terms. What should you do, and why?
Show answer
Treat it as a systematic problem, not isolated slips: 3 of 15 suggests many errors across the file. Do a full review of all captions against the audio, paying special attention to technical terms and proper nouns, or regenerate the draft with a better prompt (for example, a glossary of key terms) and review the new version from the start. Record the finding and the action taken.