TactivergeLite

Lite / Discovering How the World Works / Week 32

Planning a fair test

Your new design beat the old one, but the new one was tested on a cool, cloudy day and the old one in a heatwave. Did your design win, or the weather?

About 30 min · 3 goals · Reviewed by the founders' mentors · Full interactive version

Why should I care?

'Evidence of experimentation' is a capstone requirement, and evidence only counts if the test was fair. A fair test lets you say 'my change caused the improvement', not just 'something changed and things got better'.

Predict

You want to know whether narrow drippers deliver more evenly than wide ones. Which test is fair?

  1. Narrow drippers with a full tank, wide ones with a nearly empty tank
  2. Both with the same tank level, tubing and room, changing only the dripper
  3. Narrow ones today, wide ones next month
Guess first, then reveal

Only the dripper changes, so only the dripper can explain a difference. Tank level changes the water pressure, and a month later the room, the tubing and even the water might be different.

Discover

Choose settings and submit. The server tests them on your batch AND on two batches you haven't seen. Why is that a fairer test than only the batch you tuned on?

What the interactive shows (text version)

The sorting-machine level asks you to choose the belt speed, the red threshold and the size limit so that at least 96% of items are sorted correctly at 120 or more per minute. The server then tests your settings on your own batch and on two batches you haven't seen, which shows whether they work in general or only on the items you tuned them for.

You can also open the interactive on the full site when you have a faster connection.

Watch (optional)

Watch for: Listen for why you change only one thing between tests, and why you repeat each test.

Shows why you change one thing at a time and repeat a test before trusting the result.

“Testing and Trials: Crash Course Kids #44.2” by Crash Course Kids (opens YouTube; streaming video uses a lot of data)

The video is optional. Everything you need is in this lesson's text.

Understand

Three kinds of variable

The independent variable is the one thing you deliberately change (dripper size). The dependent variable is what you measure (mL delivered per hour). Controlled variables are everything you keep the same (tank level, tube length, room, timing). Write all three down before you start.

Fair comparisons

Change one thing at a time. Test both designs under the same conditions, ideally alternating (A, B, A, B) so slow changes like a draining tank affect both equally. Decide what you'll measure, and how, before you see any results, so you can't move the goalposts.

Test on new cases

If you tune a design on one set of situations, it may only be good at those. The sorting machine checks your settings on two batches you haven't seen. For your capstone, keep back one or two test situations you didn't use while designing, and test on those at the end.

Explain it another way

Intuitive

A fair race: same distance, same start signal, same track. If one runner starts 10 metres ahead, the result tells you nothing about speed.

Technical

A confounding variable changes along with the independent variable and could explain the result on its own. Controlling, alternating or randomising the order of trials protects against confounders.

Applied

Testing on cases you didn't tune with is called a held-out test. It's standard wherever designs are tuned to examples, from sorting machines to machine learning.

Worked example 1

Plan a fair test: does a lid keep a lunchbox colder?

Independent: lid on or off. Dependent: temperature inside after 4 hours, with the same thermometer. Controlled: same box, same ice pack frozen for the same time, same room, same start time. Repeat each condition three times, alternating.

Common mix-ups

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

Practice 1. Testing whether bigger wheels make a toy cart roll further: which is the dependent variable?
Practice 2. Why alternate trials A, B, A, B instead of A, A, B, B?
Practice 3. You tuned your sorter's settings on batch 1. Which result is the best evidence that it works?
Practice 4. Between trials of design A and B you changed the dripper AND the tube length, and B did better. What can you conclude?

Apply it

Plan a fair test for your capstone. Write the independent, dependent and controlled variables, how many times you'll repeat each condition, the order you'll run them in, and which test case you'll keep back for the end. Put the plan in the 'How I tested it' section of your Design Studio project before running anything.

Reflect

Which controlled variable in your plan would be easiest to forget? How will you make sure you don't?

Write your answer on paper or in your own notes. Lite never stores what you write.

← The rules inside your machineRepeat, average, spread →