Lite / Intelligent Robotic Systems / 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?
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.
Predict
Which detail is most often missing when a simulated result can't be reproduced?
- The author's name
- The random seeds and exact parameter values
- The date
Guess first, then reveal
Seeds and exact parameters. With the same seeds and settings, a deterministic simulation gives the same numbers every time.
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.
What the interactive shows (text version)
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.
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
Intuitive
Leaving a map of how you got somewhere, so someone else can follow the same path and check the view.
Technical
Deterministic seeded simulations make exact reproduction possible; recording environment versions guards against changes in libraries that alter numerics.
Applied
Research groups and companies increasingly publish code and configuration with results; some venues check that results can be rerun.
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.
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
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.
Reflect
What detail would you most likely forget to record?
Write your answer on paper or in your own notes. Lite never stores what you write.