mfsig.com
data-retentionarchivingprovenanceregulatory5 min read

Data retention for computed results, what to keep and how long

Keep the result file, its hash and the recipe definition for as long as any decision rests on them. What to retain, in what form, and what you can drop.

Updated November 28, 2026

Keep a computed result for as long as any decision that rests on it must be defensible, and keep it in a form that can be read and checked without the software that produced it. For a sigma profile that means five things. The unchanged result file, its content hash stored apart from the file, the recipe definition the file names, the record of who requested it and when, and the record of what it was used for. Everything else can be dropped once the result has been validated.

Retention follows the decision, not the calendar

A computed property has no intrinsic shelf life. Its retention period is inherited from whatever relies on it. In regulated work, a predicate rule sets how long a development report, a batch record or a submission must be kept, and 21 CFR Part 11 asks that electronic records stay accurate and retrievable for that whole period. A σ-profile cited in such a report inherits the period. 21 CFR Part 11 and computed data explains how a computed property comes under the rule.

Outside regulation the logic is the same with different clocks. A patent application that cites a computed property should keep it for the life of the patent and any dispute. A paper should keep it for as long as the journal or funder requires. A dataset used to train a model should keep its inputs for as long as the model is in service.

What to keep, in order of value

The result file, unchanged, exactly as produced. Do not re-save it through a tool that reformats, rounds or re-encodes. A .mfsig file carries its identity, method block, package versions, convergence flag, per-segment data, σ-moments, energies and content SHA-256.

The content hash, stored somewhere other than the file. A hash inside the file protects against corruption. A hash in the ELN, the LIMS or the filing protects against substitution, because a replaced file will not match the hash the decision recorded. Content hashing for scientific files covers how to record and recompute it.

The recipe definition, as a document, not as a link. Links rot and registries move. Copy the frozen entry for the recipe version the file names into your own archive, so that in fifteen years the method can be read even if the registry is gone. Versioning a recipe registry explains why a frozen entry never changes.

The request record and the use record. Who asked, when, with which account, and which decision consumed the result. These live in the organisation's systems, keyed by the hash.

Optional, and usually droppable after validation. SCF iteration logs, intermediate conformers, scratch integrals, container build logs. Keep them while a result is being questioned, then drop them.

Keep the format readable, which is why plain text and declared units matter

A result that cannot be opened is not retained. Three properties keep a file readable over decades. It is plain text, so any editor can show it. It declares its own units and its own schema version, so a reader does not need external documentation to interpret a number. And it carries the method inside, so a reader does not need the registry to know what was computed.

A .mfsig file is JSON under schema mfsig/v1.0, with units declared, the method block inside and a documented layout on the anatomy page. Reading a .mfsig file in Python shows that nothing beyond the standard library is needed to open one. The contrast is a proprietary binary from a package that no longer runs.

One further fact belongs in the archive. The σ in the file is raw screening charge density per segment, not the averaged σ-profile that COSMO-RS or COSMO-SAC parameterisations expect. A reader in fifteen years must not have to guess which they are looking at, so write it in the retention record as well.

Why recomputing later is not a substitute for retaining

The temptation is to keep the SMILES and the recipe version and recompute on demand. Three things make this weaker than it looks. The exact software environment must be preserved, down to the container digest, or the recomputed numbers can differ from the original in ways that are hard to attribute. Even with the same environment, different hardware can change the order of floating-point sums and move the last digits. And a recomputed file is a new record with a new content hash, so every ELN entry and filing that cited the old hash now points to a file that no longer exists in that exact form.

Recomputing is how you verify a retained result and how you measure the shift when a recipe is upgraded. It is not how you retain one.

A worked example, a retention plan for one solvent screen

A formulation group screens twelve solvents for an API using σ-profiles and selects two for experimental work. All thirteen .mfsig files are stored unchanged in the project archive with write-once permissions. Their thirteen content hashes are written into the ELN entry for the screen, along with the recipe version v1.0.0 and a copy of the recipe definition from the recipes page. The ordering records, accounts and dates, are exported from the ordering system into the same ELN entry. The averaging step and the ranking notebook are versioned and their versions recorded, with a note that the file σ is raw. The retention period is set to the life of the product plus the period the quality system requires. SCF logs are deleted after the two selected solvents are confirmed experimentally. Years later, every number in the screen can be produced, hashed and checked, and the method behind it read in plain text.

Key points

  • Retention follows the decision downstream, so inherit the period from the report, filing, patent or model that relies on the result.
  • Keep five things, the unchanged file, its hash stored separately, the recipe definition as a document, the request record and the use record.
  • Choose plain-text, self-describing formats with declared units, because a result that cannot be opened is not retained.
  • Recomputing later gives a new record with a new hash and possible last-digit differences, so it verifies a retained result but does not replace it.
  • Write down that the archived σ is raw and unaveraged, so a future reader does not feed it to COSMO-RS unchanged.

Questions people ask

How long should I keep a computed σ-profile?
For as long as any decision, report, filing or publication that rests on it must be defensible, which in regulated work is set by the predicate rule for that record. A practical rule is to retain the file, its content hash and the recipe definition for the life of the product or study plus the period your quality system requires for its records.
Can I delete a result and recompute it later instead?
Only if the recipe is frozen, the exact software environment is preserved and you accept last-digit differences from hardware. Even then the recomputed file is a new record with a new hash, not a copy of the old one, so anything that cited the old hash can no longer be matched. Retention is almost always cheaper and safer than re-derivation.
What is the minimum set to retain for a computed property?
The unchanged result file, its content hash stored separately from the file, the recipe definition it names, the record of who requested it and when, and the record of what it was used for. Logs of the SCF iterations and intermediate files are optional and can be dropped once the result has been validated.
What format keeps a computed result readable for twenty years?
A plain-text, self-describing format such as JSON with declared units and a documented schema, with no dependence on one vendor's software to open it. A .mfsig file is JSON under the schema mfsig/v1.0 with units declared and the method block inside, which is what long-term readability requires.

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.