Mathematics I / Reproducibility and Good Practice
Practice question · Put in order

Order the steps of putting an analysis on a reproducible footing.

Hints
  1. Tracking changes must come first, or the work you do next is untraceable.
  2. Publication is the last step, once everything it refers to is pinned down.
Show the answer
  1. Put the analysis script under version control
  2. Write unit tests checking each function against known answers
  3. Fix the random seed so runs are repeatable
  4. Record the library versions and parameters used
  5. Publish the code and data alongside the result
Why

Version control first, because everything afterwards is a change worth tracking; then correctness, then controlled randomness, then the environment, then release. Publishing code that is untested and unseeded spreads the problem rather than solving it.

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