Skip to content
Tactiverge

School/○ Innovator/Week 35

Could someone else get your numbers?

A classmate reruns your experiment from your report and gets a different answer. Whose fault is it, and how could the report have prevented it?

About 30 min · 2 goals · Checked by automated tests

1.Why should I care?

A result only one person can reproduce is fragile. Recording seeds, versions and settings costs minutes and lets anyone, including you in six months, check the work.

  • ◇ Record the settings someone else needs to reproduce a simulated result.
  • ◇ Write a limitations section that names real threats to the conclusion.

2.Predict

Which detail is most often missing when a simulated result can't be reproduced?

Guess first. Being wrong here is how the surprise works.

3.Understand

The reproducibility checklist

Record: simulator or lab and its version; every parameter (plant, gains, limits, noise); the seeds for tuning and for testing; the metric's exact definition; the number of trials; and the analysis steps. Keep settings in one place in the code and save raw per-trial results, not only summaries.

Honest limitations

Name the threats that could actually change the conclusion: simplified model (no friction or delay), one plant or load only, few trials, tuning budget, simulation versus hardware. For each, say what result might change and how it could be tested.

Limitations are not apologies

A good limitations section makes the conclusion stronger by showing you know where it ends. Avoid generic lines ('more research is needed') and avoid hiding the important limits in the middle of a paragraph.

Explain it another way

Leaving a map of how you got somewhere, so someone else can follow the same path and check the view.

Worked example 1

Write two limitations for the baseline-trials lab comparison.

'The plant is a first-order linear model; real motors add friction and delay, which may reduce PI's advantage. Only one disturbance type (a load step) was tested; sinusoidal or random loads might rank the controllers differently.'

Common mix-ups

  • A limitations section admits the work is bad.
    ✓ It shows the reader exactly where the conclusion applies, which is what makes it usable.

4.Discover

In the Code Lab, write a short script that runs a seeded experiment and prints a results table. Put every setting at the top as named constants. Run it twice and confirm identical output; then change the seed and see what changes.

Can't use the interactive? Read a description instead

In the Code Lab, a seeded script with all settings as constants prints identical results on repeated runs and different results when the seed changes.

5.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

Which record most helps someone reproduce a seeded simulation?

6.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

Which is the most useful limitation?

Practice 3

Why save per-trial results, not just means?

Practice 4 · a fresh version every time

Five trials of a robot's docking error gave 22, 23, 26, 19, 22 mm. What is the sample standard deviation (divide by n − 1), in mm?

mm

Practice 5 · a fresh version every time

A metric has a sample standard deviation of 4.5 across n = 16 independent trials. What is the standard error of the mean?

7.Apply it

Ask a classmate to rerun one result from your report using only the report and your code. Note every question they had to ask you, and add the answers to the method section.

8.Reflect

Concepts: Reproducibility and documentation · Writing a technical report