Break a fruit sorter on purpose with a wrong label and with missing examples, then fix it.
Last lesson you taught a fruit sorter with labelled examples. Today you will break it on purpose. Finding out how a model goes wrong is one of the best ways to understand it.
The sorter is a simple teaching model, not a neural network. It looks at the examples closest to a new fruit and copies their label.
Make your prediction first. Help opens once you've locked it in.
In the board's pretend world, every long fruit is a banana and every round fruit is an apple. The board tells you when the sorter is right or wrong.
Use Swap label to give some examples the wrong answer. Then test a yellow, long fruit. Rows with a wrong label turn pink.
Before a hint: what kind of stuck is this? Try a strategy first
Which examples are closest to a yellow, long fruit?
Press Swap label on the yellow, long examples, then test a yellow, long fruit.
Press Restore original examples, so every label is correct. Now use Remove to take examples away. Can you make the sorter wrong, or unsure, without any wrong labels?
Before a hint: what kind of stuck is this? Try a strategy first
Press Restore original examples first, so every label is correct. Which kind of fruit has only one example?
Remove the yellow, round apple, then test a yellow, round fruit.
Put the examples right again. Test the fruit it got wrong. Is it right now?
Before a hint: what kind of stuck is this? Try a strategy first
Press Restore original examples, then test the same fruit again.
Make the sorter call a yellow, long fruit an apple.
Use the board. This ticks when you get there.
With every label correct, make the sorter get a fruit wrong or unsure.
Use the board. This ticks when you get there.
Fix the sorter so it gets a fruit right that it got wrong.
Use the board. This ticks when you get there.
A model can go wrong in at least two ways.
In both cases, the program worked. The examples were the problem.
Which kind of mistake was this?
Which kind of mistake was this?
Use one of your own board tests as an example.
Swap two banana labels to apple, so the sorter calls a yellow, long fruit an apple. Then add three more correct yellow, long banana examples. Test again. Did more correct examples outvote the wrong ones?
Press Restore original examples. Remove the yellow, round apple and add three more yellow, long bananas. Test a yellow, round fruit. Did more examples help this time?
Wider investigation: a real fruit can be green and long: an unripe banana. What extra clue, or what kind of example, would help? Would it guarantee the right answer?
A school tries a made-up reading app that listens to students read aloud. It learned from thousands of recordings, but almost all of them were adults. It works well for teachers. It often mishears Year 7 students.
This is your sorter's missing examples mistake. This time the missing group is people.
When a model works worse for a group because that group was missing or rare in its examples, we call it bias. The program can be fine. The examples are not.
Sort each idea.
Would this help the app work for Year 7 students?
Without the board, write: The sorter got it wrong when … because … . To fix it, I would … .
When an AI assistant gives you a wrong answer, it isn't always because it is "broken". It may have learned from wrong examples, or seen few examples like your question. So ask: Is my question unusual? Could it have learned this wrong? Then check with a source you trust.
Lesson done. You've finished every step you need.
Students break a working fruit sorter on purpose, once with a wrong label and once by removing examples, then fix it and explain what went wrong. About 30 minutes.
Open the teacher guide: answers, solutions, slides and a worksheet.
Bias step (18 Oct 2026): the reading app is made up, so the lesson makes no statistical claim. It names bias as a consequence of generalising from missing examples (a technical idea first; the planned Who Does AI Affect? course takes up fairness and who is affected). Keep discussion on examples and testing, not on judging any real group's speech. Last lesson students taught the sorter. This lesson they break it. The board's mistakes mode adds a Swap label button and three challenges (wrong label, missing examples, fix it); each ticks when a test shows it. In the board's pretend world every long fruit is a banana and every round fruit is an apple, so the board can say "right" or "wrong". Real fruit is messier: say so. The sorter copies the label of its nearest examples. It is a transparent teaching model, not a neural network. No account or online tool is needed.
Students may think a model that is wrong must be broken or badly programmed. Here the program is fine: the examples are the problem.
Stretch: Find the fewest changes that fool the sorter. Why does removing one example sometimes make no difference?
Support: Do the wrong-label challenge together first, then let students try the missing-examples one.
Unit 2, lesson 3 shows how a model can weigh several clues at once.