Skip to interview prep
Apexed

36. Does recording a random seed guarantee that a computational result can be reproduced?

MediumData & reproducibility

Technical
Show model answer

No. The seed addresses one source of variability, but software versions, hardware, parallel execution, libraries and data ordering can also affect results. Some operations remain nondeterministic under the chosen environment.

Record the environment and relevant settings, test repeatability and define acceptable numerical or scientific tolerance. Distinguish exact bitwise reproduction from a substantively consistent result, and avoid claiming determinism from a seed that was never tested.

What interviewers listen for

  • Seed controls only part of variability
  • Record execution conditions
  • Define and test the required tolerance
Does recording a random seed guarantee that a computational result can be reproduced — Science & research interview question — Apexed