mfsig.com
provenancelineagemetadatadft5 min read

What a provenance record must contain to be worth keeping

A provenance record says what was computed, from which input, with which method and software, when, and how to check it. Six parts, what breaks without each.

Updated November 28, 2026

A provenance record is the part of a result file that lets a stranger answer six questions without asking you. What was computed, from which input, by which method, with which software, with what outcome, and how the reader can check that this is what you say it is. Below is each part, what it must hold for a DFT sigma profile, and what goes wrong when it is missing.

Identity, the input exactly as it entered the pipeline

The record must hold the input as it was given, not a cleaned version. For a molecule that means the SMILES string as typed. Then every transformation the pipeline applied, so the reader knows which molecule the numbers describe. Whether the pipeline neutralised a charge, split a salt, picked a tautomer or chose a stereoisomer. Each is a decision that changes the σ-profile, and each must be recorded as a decision.

MFsig records the SMILES as written, the fragments it dropped when a multi-fragment SMILES was reduced to the fragment with the most heavy atoms, and the number of stereocentres that were unassigned and therefore embedded as one arbitrary isomer. It records that protonation was taken as written, because it does no neutralisation, tautomer or salt handling. Without this part, a reader cannot tell whether a file for a hydrochloride salt describes the cation, the neutral base or the pair. With it, the question does not arise.

Method, every setting that changes a number

The method block is the longest part and the one most often abbreviated. Abbreviation is the failure mode. A method that says ωB97M-V/def2-SVP in water is a sentence, not a method. The record needs the auxiliary basis and the density fitting scheme, the effective core potential and its element range, the dispersion treatment, the SCF threshold and algorithm, and the complete continuum model with dielectric constant, radii, scaling, point count, discretisation and probe radius.

The cleanest way to carry this is a recipe name and version plus the expanded settings. The name lets a reader find the definition quickly. The expanded settings let the record stand alone if the registry is ever lost. MFsig's production recipe is v1.0.0, defined on the recipes page, and a file carries the method block itself. What a DFT recipe is and why it must be pinned explains why the version is not optional.

Environment, the software that ran and the versions it reported

The method says what was asked. The environment says what answered. Record the name and version of every package that touched a number, read from the running process, not copied from an installation plan. A requirements file says what you intended to install. The interpreter knows what was imported, and the two differ more often than anyone likes.

MFsig reads package versions at run time and writes them into each file. That single habit turns a vague statement, computed with PySCF, into a checkable one. Pinned versions and why latest is not a method covers what drifts between releases and why it matters for screening charges.

Outcome, the convergence flag and the honest absence of a file

A record must say whether the calculation finished properly. For a σ-profile there are two convergence events. The geometry relaxation converged or did not, and the SCF converged or did not. Record both. A profile from a geometry that stopped at an iteration limit is a different object from one that reached a minimum, and the reader deserves to know.

MFsig writes a geometry convergence flag into the file and writes no file at all when the SCF fails to converge. The second rule is a provenance statement in its own right. Every file that exists describes a converged density. A pipeline that writes a file anyway and adds a warning deep in a log has produced a result that will, eventually, be used without the warning.

Time, and who or what asked

Record when the run happened, in an unambiguous form with a time zone. Record what triggered it, a user account, an API key, an automated batch. This part is the one a result file can only partly hold, because the file knows when it was written but not who later used it. The rest lives in the system that ordered the file and the system that consumed it. Audit trails for computed properties shows how the file's record and the organisation's record fit together.

Integrity, the content hash that binds the other five

The last part protects the first five. A content SHA-256 computed over the scientific content lets anyone confirm that the identity, method, environment, outcome and numbers they are reading are the ones that were written. Without it, a provenance record is a claim. With it, the record is checkable. Content hashing for scientific files covers how to recompute one and what it does and does not prove.

A provenance record without a content hash is a claim. With one, it is evidence.

A worked example, reading the provenance of a caffeine file

A formulation scientist receives a .mfsig file for caffeine, SMILES Cn1cnc2c1c(=O)n(C)c(=O)n2C. She reads six things before she looks at a single σ value. The SMILES matches what she sent, zero fragments dropped, zero unassigned stereocentres. The method block names recipe v1.0.0 with ωB97M-V, def2-SVP, C-PCM at ε = 80 and the full cavity definition. The package versions are present and specific. The geometry flag says converged, and the SCF converged because the file exists. The content hash recomputes to the stored value. Only then does she read the per-segment σ, remembering that it is raw screening charge density in e/Ų and must be averaged before any COSMO-RS style use. The anatomy page shows where each of those six items sits, and the lineage page covers the provenance of the service as a whole.

Key points

  • A provenance record answers six questions, identity, method, environment, outcome, time and integrity.
  • Record the input as typed and every transformation applied to it, including fragments dropped and stereocentres left unassigned.
  • Carry the full method block, not a one-line summary, alongside a recipe name and version.
  • Read software versions at run time and record convergence honestly, including by refusing to write a file.
  • Bind the record to the numbers with a content SHA-256 so that it can be checked, not just believed.

Questions people ask

What is a provenance record in computational chemistry?
It is the structured description, stored with a result, of how that result came to exist. It names the input exactly, the method and every setting, the software and its versions, when the run happened, whether it converged, and carries a content hash so the record and the numbers can be checked together.
What is the difference between provenance and metadata?
Metadata is any descriptive information about a file, such as its title or author. Provenance is the subset that lets you reconstruct or verify how the content was produced. A molecule name is metadata. The SMILES as typed, the recipe version and the package versions are provenance.
Can a provenance record be added after the calculation?
Only partially, and it is then much weaker. The software versions must be read while the code runs, and the convergence status is only known at the end of the run. A record assembled later from memory or from a requirements file is a reconstruction, not provenance.
Does a .mfsig file contain a provenance record?
Yes. The schema mfsig/v1.0 carries the SMILES as written with fragments dropped and unassigned stereocentres counted, a geometry convergence flag, the full method block, package versions read at run time and a content SHA-256. The lineage page on mfsig.com covers provenance across the service.

Further reading

In practice: Each .mfsig file records the method, the package versions read at run time, the geometry convergence flag and a content SHA-256, and no file is written when the SCF does not converge. The lineage and audit pages describe the record in full.

Generate a σ-profile from your SMILES

Free converter for a profile you already have, a reference-grade DFT run with its provenance record when it has to be defensible.