Why a Simulation Needs an Instrument Log Before Citation
A simulation paper reports a number and a confidence interval. It rarely reports the compiler flags, the random seed, or the day someone changed the solver tolerance. An instrument log closes that gap. It is a plain record of how a computational result was generated, kept alongside the code and cited with it. This piece lays out what the log records, which procedural choices actually move results, and how to start one without turning it into a second job.
The Citation Comes Before the Evidence
Most computational papers cite a result the way a lab paper cites a measurement. The number appears in a table, a figure, or an abstract, and readers treat it as settled. The instrument that produced it stays hidden. That inversion is the problem: the citation arrives before anyone can inspect the apparatus.
Code and inputs are rarely archived together. A reader might find a repository with the solver, but the parameter file that generated Figure 3 is missing, or the input deck was edited after submission. A number without provenance behaves like a rumor. It may be right. Nobody can check.
The reproducibility crisis reached computational fields later than psychology, but it arrived. The Reproducibility Project's audits of published claims in psychology and cancer biology found high rates of results that did not replicate. Computational work has its own version of that failure, and the missing instrument log is a common thread. This site has tracked how code archives outlive the papers that funded them, which is part of the same story.
What an Instrument Log Actually Records
The log is not a README. It records every parameter that entered a run, including the ones that look incidental: solver tolerance, mesh resolution, time step, random seed, and burn-in length. It records library versions, the compiler and its flags, and the hardware the job ran on. Floating-point arithmetic differs across architectures, so the machine matters.
It also records environment variables and the operating system image. A container digest is a compact way to capture this. The log should hold the digest, not a prose description of the environment.
Timestamped decisions separate exploration from reported runs. A log that shows the tolerance changing at 14:02 on a Tuesday, three days before submission, tells a reader which settings produced the final figure. A settings file with no history tells them nothing. The log is a record of choices, not a snapshot of the last state. The distinction is what makes it an instrument log rather than a configuration dump.
One field people forget is the job scheduler record. Whether a run went through a cluster queue, how many cores it was granted, and how long it actually took are the facts that let someone estimate the cost of a rerun before committing to it. A log that lists the hardware but not the allocation leaves the reader guessing about wall-clock time and memory ceiling.
The Procedural Choices That Change Results
Solver tolerances and mesh resolution are the obvious levers. Loosen a tolerance and a convergence study may pass while the reported quantity shifts. Refine a mesh and a boundary artifact can vanish. These are legitimate choices, but the log has to show them so a reader can test whether the conclusion survives a tighter setting.
Random seed selection and burn-in periods are subtler. A Monte Carlo estimate drawn from a short chain can look stable across a few seeds and still sit far from the stationary mean. Reporting the seed without the burn-in length is half a record. Reporting neither is a number with no handle on it.
Floating-point order and parallel reduction change results at the last digits, and sometimes earlier. A sum computed across sixteen threads is not the sum computed across one. If the paper's claim depends on a difference smaller than that drift, the reduction strategy belongs in the log.
Many of these choices live only in private notebooks or in the head of the person who ran the job. That is the failure mode. The instrument log moves them into a file that travels with the result.
Three Anchors for Logging Practice
The Reproducibility Project is the clearest anchor. Its crowdsourced replications of published psychology and cancer-biology findings showed how often results fail to reappear when independent teams rerun the work. The lesson for simulation is structural: if the procedure is not recorded, a failed rerun cannot be diagnosed.
Reference management software offers a working model for traceability. A tool like Zotero or EndNote stores a record once and generates citations from it, so the bibliography stays tied to a source. An instrument log does the same for a run. The record is entered once and cited by its identifier, and the paper points back to the log rather than restating settings in prose.
Version control and containerization are partial fixes. Git tracks code and commits, and Docker or Singularity can freeze an environment. Neither captures the human decisions between commits or the hardware underneath. Journal data-availability policies are still uneven, and many accept a repository link without checking that the link rebuilds the figure. A related piece on seismic sensors and fiber-optic cables makes a similar point about instruments that disagree: the disagreement is only readable if both records exist.
Why Logs Get Skipped and What It Costs
Time pressure is the honest reason. A postdoc racing a deadline has no incentive to write a log that reviewers will not read. Publication incentives reward the figure, not the audit trail. The log feels like bureaucracy, and in the short run it is.
The cost lands on the next person. Failed replications get traced to missing metadata more often than to wrong code. A team spends a month rebuilding a result that a two-page log would have settled in an afternoon. This site has documented how a mouse-model memory result lost its consensus; the pattern is familiar across fields, and computational work is not exempt.
Reviewers rarely ask for the log, which is the sharpest objection to making it mandatory. A reviewer who cannot inspect it has no reason to request it, and an author who knows this has no reason to write it. The loop is stable and it is not in the reader's favor. Journals that do ask often accept a repository link without testing whether it rebuilds the reported number.
There is a genuine trade-off in how much to log. A full record of every exploratory run produces a file too large to read, and a reader confronted with thousands of entries learns nothing. The useful convention is to log everything automatically and mark the reported runs explicitly, so the record is complete but the path to the paper's figure is short. Deciding which runs count as reported is itself a judgment call, and it belongs in the log.
What a Shared Convention Would Cost
A field-level template would help more than scattered personal habits. Groups that build shared pipelines tend to converge on a common schema for run metadata, often borrowed from workflow tools that already track inputs, outputs, and timestamps. The cost of adopting one is front-loaded: someone has to write the template, wire it into the launch script, and train newcomers. The benefit arrives later and to other people, which is why voluntary adoption is slow.
An intermediate step is cheaper. A lab can agree on a minimum field set, store it in the same repository as the code, and require it for internal review even when the journal does not. That keeps the habit alive without waiting for a mandate, and it gives students a template they will carry to their next position.
Start Your Own Instrument Log
Adopt a plain-text log template with fixed fields: run identifier, date, code commit, container digest, parameter set, seed, hardware, scheduler allocation, and the person who launched the job. Plain text survives tool changes and diffs cleanly in version control.
Record seeds, versions, and hardware at run time, not after. A log reconstructed from memory at submission is a fiction with good formatting. Write the entry before the job starts and append the outcome when it finishes.
Archive the log alongside the code and data, and mint a DOI for the bundle through a service like Zenodo so the record has a citable address. Then cite that DOI in every paper that uses the run, in the methods section and in the data-availability statement.
Ask co-authors for their logs before submission. A short request at the draft stage catches the missing seed while the person who knows it still remembers. The log is cheap to keep and expensive to reconstruct, which is the whole argument.