Lite / Intelligent Robotic Systems / Week 32
Write the plan before the runs
After 40 runs you notice the new sorter wins on accuracy but loses on throughput. Which metric were you testing?
Why should I care?
Deciding what counts as success after you see the data is the easiest way to fool yourself, and others. A short plan written first protects the result and makes the report half-written already.
- Write a test plan with question, hypothesis, metrics, conditions, trials and analysis before running.
- Explain how choosing metrics after seeing results biases a comparison.
Predict
You test 6 metrics and report only the one where your method won. What is the risk?
- None, it's still true
- Readers believe a general advantage that may be luck or cherry-picking
- The report is too short
Guess first, then reveal
With many metrics, something will look good by chance. Picking it afterwards makes a fluke look like a finding. Name the primary metric in advance and report the rest too.
Discover
Read the Level 5 investigation task. Before touching any setting, write a one-page test plan: question, hypothesis, primary metric, conditions held fixed, number of runs, and how you will compare results.
What the interactive shows (text version)
The sorting-machine Level 5 task asks for an investigation changing one setting across recorded runs; this lesson asks for a written test plan before any run.
Understand
What goes in a test plan
Question and hypothesis. Primary metric (one) and secondary metrics. Conditions: what changes, what is held fixed, seeds. Trials: how many per condition, and why. Analysis: what you will compute (mean ± SD, difference, effect size) and what result would count as support. Stopping rule: when you stop collecting.
Why first?
Choosing the metric, the seeds or the number of trials after peeking at results lets chance pick your conclusion. Writing them first, dated, makes the test honest. You can still explore afterwards; just label exploration as exploration.
Plans can change, openly
If you discover the plan was wrong (a metric is broken), change it, note the change and the reason in the report, and say which results came before and after.
Explain it another way
Intuitive
Calling your shot in pool: naming the pocket before you hit makes the shot count.
Technical
Pre-specifying hypotheses, primary outcomes and analysis controls the false-positive rate that grows with every extra comparison or flexible decision.
Applied
Clinical trials register their primary outcome publicly before starting; engineering verification plans name pass criteria before testing for the same reason.
Worked example 1
Write a primary metric for 'does majority voting help the sorter survive a lying sensor?'
'Proportion of parts sorted correctly over 200 parts per run, mean over 10 seeded runs, with glare on.' Secondary: throughput in parts per minute.
Common mix-ups
Planning in advance is only for big research projects.
✓ A half-page plan takes ten minutes and protects even a small Build investigation from self-deception.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
Write and date a test plan for this term's controller comparison project before running anything. Keep it unchanged; you will check your report against it in week 35.
Reflect
Which decision in your plan was hardest to make before seeing data?
Write your answer on paper or in your own notes. Lite never stores what you write.
Go further
Research mode: limits and open questions
Registered reports, where the plan is reviewed before data collection, are increasingly used in research fields that worry about selective reporting.