Skip to content

A reproducible run identifies the equation, numerical method, actual inputs, precision, implementation and comparison rule. For the three-site open Toda experiment (ZIP) the endpoint is t=6t=6 and every trajectory has an independent QR reference. Hash equality tests which bytes were used; agreement within a declared norm tests the calculation.

Use the symmetric case with q=(0,0,0)q=(0,0,0), p=(1,0,−1)p=(1,0,-1), dimensionless unit mass and no closing bond. The shared inputs file contains all step sizes, so its SHA-256 digest is the same for both runs. The precise row selector also belongs in the run record.

Input field or resultCoarse runRefined run
IntegratorVelocity VerletVelocity Verlet
Step size0.080.04
Steps to t=6t=675150
Maximum state-component error over sampled times0.001240060.000309511
Maximum absolute energy drift0.001729020.000433592

The error ratio is about 4.006, giving an observed order of about 2.002. Energy drift alone would not test the positions and momenta along the trajectory. The companion also checks the QR solution against an elementary symmetric solution; the nonsymmetric input removes that extra symmetry check.

Distinguish two runs with the same input file

Section titled “Distinguish two runs with the same input file”

Keep h=0.08h=0.08 and change the case selector from symmetric to asymmetric. Both runs still end at time six after 75 steps and have the same input-file digest. The latter starts at q=(0.2,−0.3,0.1)q=(0.2,-0.3,0.1) with p=(0.7,−0.4,0.2)p=(0.7,-0.4,0.2). Its maximum state-component error is 0.00083873140.0008387314, and its maximum cubic-invariant drift is 0.000836700.00083670. The symmetric case gives zero cubic drift throughout. A reported zero can therefore identify a symmetry built into the preparation. For the saved result record, specify the case name, the step-size row under its refinement array and the observable field. The separate trajectory array samples the finest run every ten steps. Inputs · Result arrays

From the extracted toda directory run these read-only commands:

Terminal window
python3 -V
python3 -c "import numpy; print(numpy.__version__)"
shasum -a 256 inputs.json experiment.py
python3 experiment.py --check

The input digest begins a7762e6ed8e4a0cd. The README supplies the reproducible dependency pin; the version printed by Python describes your run. Save both, along with precision, the norm, the chosen case, timestep and command. A new set of tolerances can change an acceptance decision without changing any trajectory. Interpreting a numerical discrepancy · Source versus artifact identity