Reproducible environments & run manifests
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 and every trajectory has an independent QR reference. Hash equality tests which bytes were used; agreement within a declared norm tests the calculation.
Reproduce two rows
Section titled “Reproduce two rows”Use the symmetric case with , , 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 result | Coarse run | Refined run |
|---|---|---|
| Integrator | Velocity Verlet | Velocity Verlet |
| Step size | 0.08 | 0.04 |
| Steps to | 75 | 150 |
| Maximum state-component error over sampled times | 0.00124006 | 0.000309511 |
| Maximum absolute energy drift | 0.00172902 | 0.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 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 with . Its maximum state-component error is , and its maximum cubic-invariant drift is . 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
Record what actually ran
Section titled “Record what actually ran”From the extracted toda directory run these read-only commands:
python3 -Vpython3 -c "import numpy; print(numpy.__version__)"shasum -a 256 inputs.json experiment.pypython3 experiment.py --checkThe 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
Connected readings