Skip to content
Exit
Reading menu
Cover illustration: The Mango Test

Jamaica

The Mango Test

Tia tries to teach a tool to sort mangoes without fooling herself.

Tia sorts mangoes into two woven baskets.

Page 1 of 7

Tia watched Uncle Dev nudge the ripe mangoes to the front of their Kingston market stall. Two baskets waited. She wanted to teach an AI tool to tell ripe fruit from hard fruit.

Uncle Dev helps Tia compare a ripe mango with a hard mango.

Page 2 of 7

Uncle Dev put one fruit in each of Tia’s hands. She felt that one gave a little when he pressed it. “I need to show the tool which fruit is ripe,” she said.

Tia takes example pictures of mangoes on the market stall.

Page 3 of 7

Tia crouched to take pictures of two separate piles, one of yellow mangoes and one of green ones. She marked the ripe photos so the tool could learn. Uncle Dev found one she had not photographed for a test.

Tia and Uncle Dev examine a ripe mango with green skin.

Page 4 of 7

The tool picked the hard-fruit basket straight away. Its answer looked certain. Uncle Dev pressed the yellow-green mango gently. It was soft and ripe, even with green on its skin.

Tia and Uncle Dev examine a ripe mango with green skin.

Pause and solve

The tool says the yellow-green mango is hard. What check shows it is ripe?

Show a hint

Think about what Tia can feel that a photo cannot show.

Reveal the answer

Uncle Dev presses it gently. The mango feels soft.

Tia and Uncle Dev look for more ripe mangoes with green skin.

Page 5 of 7

Tia looked back at her pictures. Every ripe mango she had shown was yellow. The tool could find a colour in a photo, but it could not feel the fruit as Uncle Dev could.

Tia separates the test mangoes from the mangoes in her example pictures.

Page 6 of 7

She took new photos of ripe mangoes with green skin. She picked some different mangoes for a test and set them aside. Those pictures would stay out of the examples the tool learned from.

Tia tests several different mangoes before checking both baskets.

Page 7 of 7

The tool got more of the new mangoes right, but one went in the wrong basket. Before the first customer came, Tia moved it. She showed Uncle Dev how many the tool had sorted right.

The lesson

A tool can learn a useful pattern from examples. A new test shows where the pattern breaks.

Talk about it

What would happen if Tia showed the tool only small mangoes?

For parents and teachers

At home or in class, sort a few toy shapes. Save one that looks different for a test. Ask what the examples show and what clues they leave out. Adults can use the same trick before trusting AI with work: test it on new examples and check the results against what really happened.

Read the framework chapter