Mathematics I / Reproducibility and Good Practice
Practice question · Sort into groups

Sort each practice by its effect on reproducibility.

Groups: Makes the result reproducible · Leaves the result irreproducible

Hints
  1. Ask whether someone else could obtain the identical number tomorrow.
  2. Randomness is not the enemy of reproducibility, uncontrolled randomness is.
Show the answer

Makes the result reproducible: Committing the analysis code to version control, Setting a fixed random seed before the simulation, Recording the exact library versions used

Leaves the result irreproducible: Editing the script by hand between runs without keeping copies, Relying on an unseeded random number generator

Why

Version control, a fixed seed and recorded versions together pin down exactly what produced a number. Untracked edits and unseeded randomness make the result unrepeatable even by its own author.

Read the lesson: Reproducibility and Good Practice →

Practise Reproducibility and Good Practice

The app has 5 more questions on this lesson, and keeps your place in the course. Mathematics I is free to start.

More questions on Reproducibility and Good Practice