Quant with Vahab
Quant Systems Lab · Control Systems for Quantitative Finance

Run Configuration and Determinism

A valuation run is defined by its configuration; determinism follows from controlling every input.

Explanation

Run configuration fixes the set of trades, market snapshot, model IDs, and pricer settings (tolerances, seeds, paths).

A unique run ID ties configuration, code version, and outputs into a single reproducible artefact.

Deterministic Monte Carlo requires explicit seeding, not hidden random number generators.

Re-running with the same configuration and artefacts should produce identical results up to numerical tolerances.


determinismconfigurationrun-idreproducibility
Interactive visualisation

This panel compares two valuation runs, A and B, as configurations: a stack of inputs feeding a Monte Carlo estimate. Change the scenario to see when runs agree bit-for-bit, when they differ only by sampling noise, and when they differ because the configuration has changed.

Differing config fields: 0
Run ARun Bsnapshot ID101snapshot ID101model ID7model ID7MC seed1234MC seed1234MC paths2000MC paths2000tolerance1.0e-4tolerance1.0e-4code version1code version1price A ≈ 9.9763MC stderr ≈ 0.0453price B ≈ 9.9763MC stderr ≈ 0.0453identical config fieldchanged between A and B
Numbers
price A ≈ 9.9763 · price B ≈ 9.9763
Difference Δ ≈ +0.0000 (+0.0 bps)
MC stderr A ≈ 0.0453 · B ≈ 0.0453
Config fields that differ: 0
Interpretation

When all configuration fields match (including the seed), Monte Carlo is bitwise deterministic: reruns are identical up to floating-point quirks. If only the seed changes, price differences stay on the scale of a few standard errors and shrink as you increase the number of paths.

Changing snapshot/model or tolerances creates structuraldifferences in the configuration. Those are the differences that should survive into a run ID and into audit trails. The practitioner’s rule: do not blame “Monte Carlo noise” for differences that actually come from changed configuration; control seeds and log everything you vary.