Replay of Valuation Runs

Replay means re-running a past valuation with the same trades, snapshot, models, and code version to recover the original numbers.

intermediatereplayreproducibilityvaluationruns

Mental model

A valuation is replayable only when its trades, inputs, models, configuration, and code identity are recoverable.

Replay starts from a run ID, then loads the referenced snapshot, model parameters, and trade set as they existed at the time.

The same library version and configuration are used to recompute PVs and Greeks, which should match stored results within tolerances.

INTERACTIVE INTUITION

Explore the mechanism

Can the original result be regenerated from preserved inputs and then compared with a controlled change?

Replay of valuation runs
Replay should match stored results within tolerance. Seeds turn Monte Carlo into a reproducible diagnostic.
Replay controls
Seed
42
Tol
2 bps
Noise
20
Replay status
1 FAIL
Interpretation
  • A replay is: same trades + snapshot + models + library + config.
  • Tight tolerances suit deterministic pricers. Monte Carlo needs tolerance tied to noise/SE.
  • Fixed seeds make replay a stable check instead of a lottery.
Original vs replay
PV
original 102.3541 · replay 102.2523 · diff -0.1018
FAIL
tolerance: 2 bps · seed: 42
Delta
original 0.5172 · replay 0.5174 · diff 0.0002
PASS
tolerance: 2 bps · seed: 42
Vega
original 0.1826 · replay 0.1825 · diff -0.0001
PASS
tolerance: 2 bps · seed: 42
Gamma
original 0.0123 · replay 0.0123 · diff 0.0000
PASS
tolerance: 2 bps · seed: 42
Deviation plot
bars show |diff|; marker shows tolerance
PVDeltaVegaGamma
CONSEQUENCE PROBE

What explains a difference between the original and replay?

original runsame snapshot + codereplayoutputs match
Deterministic evidenceMatching output supports reconstruction under the recorded state.
UNDERSTAND

What to notice

For Monte Carlo methods, fixed seeds or deterministic random generators ensure that replays remain consistent across time.

Replay is essential for debugging unexplained P&L, investigating model changes, and satisfying audit and governance demands.

TRANSFER

Where it appears

  • investigating valuation disputes
  • reproducing regulatory reports
  • measuring the effect of code or model upgrades
CHALLENGE

Where the intuition breaks

What this view leaves out

  • Replay fails when external services, randomness, time-dependent behavior, or mutable artifacts were not captured.
CONNECT

Where this concept sits

Follow the strongest prerequisites, applications, extensions, and contrasts.

Connections for Replay of Valuation Runs

Uses · Market and Model Versioning

Replay requires the exact versions of both market inputs and model implementation.

Explore concept
SOURCES

References

  1. W3C Recommendation, PROV-O (opens in a new tab)
← Explore all concepts