CasbillCompany information & reading
Reading collection

Computational reproducibility

Make a computation retraceable

A result on a screen is only the end of a computation. Reproducing it requires enough information to repeat the route from inputs to output under described conditions.

General educational reading · Not a description of company activities.

Two parallel sequences repeat the same geometric marks.
Conceptual illustration · Computational reproducibility

Preserve the route

Useful records include the input data, code version, parameter settings and relevant software environment. Keep the steps that transform raw inputs into the final output, including preparation and filtering. A saved image alone rarely provides enough context to explain how it was produced.

Account for randomness

Some algorithms deliberately use random numbers. Repeating their behavior can require recording the generator and its state. Parallel execution adds another complication because work may be scheduled differently between runs. Reproducibility therefore needs attention to how random streams are assigned, not just a familiar seed value.

Repeat, then investigate

In a hypothetical review, another reader could rerun a documented calculation and compare the output with the saved result. Any difference becomes a question to investigate: changed inputs, dependencies or numerical settings may matter. Matching output makes inspection easier, but it does not prove the underlying assumptions are right. Reproducibility supports scrutiny; interpretation still requires judgment. A concise accompanying note can explain what a reader should compare and which differences deserve attention. This gives the saved files a practical purpose: enabling someone else to ask an informed question about the computation.

Further readingMathWorks: reproducibility in parallel computations

Continue the collection

Where a model meets its surroundings

Return to all five topics