Mathematics I / Reproducibility and Good Practice
Practice question · True or false

Two runs of the same simulation with the same fixed seed and the same library versions should produce identical output.

Hints
  1. A pseudo-random generator is a deterministic function of its seed.
  2. That is precisely why the seed is recorded.
Show the answer

True

Why

True. Pseudo-random values are computed deterministically from the seed, so fixing it fixes the whole sequence and hence the result. This is what makes a stochastic method reproducible without making it any less stochastic.

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