MolBasis
audit-trailmanifestprovenancepredictionscorrections5 min read

An audit trail for a property model, what to keep and why

An audit trail for a property model is the manifest, per-molecule predictions, split lists and corrections log that let a stranger re-derive each figure.

Updated November 28, 2026

An audit trail for a property model is the set of files that lets a stranger, later, re-derive every published figure without asking the author. It has seven parts. A manifest naming every input and its version, the cleaned training table with identifiers, the split lists, the per-molecule held-out predictions, the fitted constants, the code at a fixed commit, and a dated corrections log. This guide describes each part, gives a manifest you can copy, and says which parts the MolBasis record has and which it lacks, because that is why its kernel figures are marked as reported rather than recomputed.

The purpose is re-derivation by a stranger

A model report says "held-out r on so many molecules". An audit trail is what makes that sentence checkable by someone who was not in the room. The test is simple. Hand the files to a colleague who has never seen the project and ask them to reproduce the figure on the page. Every question they have to ask you is a gap in the trail. The guide on auditing a research record describes the same exercise from the auditor's side, and the two guides are meant to be read together.

The manifest names every input

The manifest is one small file that fixes the six decisions behind the coefficient. A JSON example follows, with placeholders in angle brackets.

{
  "model_id": "<kernel-id>",
  "target": {"property": "<name>", "unit": "<unit>"},
  "data": {
    "source": "<dataset and citation>",
    "snapshot": "<date or hash>",
    "dedup_rule": "InChIKey first block, median of conflicts",
    "rows_before": "<n>", "rows_after": "<n>"
  },
  "descriptors": {
    "tool": "mfsig", "version": "0.91.1",
    "area_unit": "bohr2", "sigma_unit": "e/bohr2",
    "geometry": "single RDKit conformer, UFF",
    "fields": ["cavity_area_aa2", "g_polar_kcal", "dipole_debye",
               "sigma_variance", "sigma_skewness", "sigma_kurtosis",
               "hb_donor_mass", "hb_acceptor_mass", "n_segments"],
    "known_defects": ["hb_donor_mass is zero in this version"]
  },
  "split": {"kind": "Bemis-Murcko scaffold", "held_out_share": 0.25,
            "seed": 2026, "n_seeds": 1, "lists": "split/<file>"},
  "search": {"grid_step": 0.25, "grid_range": "<lo>-<hi>", "terms": 1,
             "criterion": "<how the winner was chosen>",
             "negative_columns": "<excluded|shifted>"},
  "fit": {"method": "ridge", "lambda": 1e-3, "sd_ddof": 0},
  "code": {"repo": "<url>", "commit": "<sha>"},
  "revision": {"n": 1, "date": "<date>", "log": "corrections/<file>"}
}

Every value here is something the reproducing a fit guide needs. The known_defects list is unusual and worth keeping. A descriptor known to be constant in this version belongs in the record of the model fitted on it, not only in the descriptor tool's changelog.

Per-molecule predictions are the file to keep if you keep one

A table with one row per held-out molecule, holding the identifier, the observed value, the predicted value and the scaffold, is worth more than every summary statistic combined. From it a reader recomputes r, MAE, lift and calibration slope in a few lines, as recomputing statistics from stored predictions shows. From it a reader checks that no held-out identifier appears in the training table, which is the leak behind most inflated figures. From it a reader can bootstrap an interval that the author never computed. And from it a reader can see which molecules the model got badly wrong, which is often where a dataset error hides.

On MolBasis this file exists for the blind benchmark on logP, logS and melting point. That is why those statistics could be recomputed. It does not exist in any reviewable place for the kernels, and that is why the kernel figures are reported.

Split lists, not seeds alone

A seed reproduces a split only when the code, the library version and the enumeration order of the scaffolds are all unchanged. Store the actual lists, training scaffolds and held-out scaffolds, as plain text files next to the manifest. They are small, they never go stale, and they let a reader confirm the held-out count without rerunning anything. When the share held out is a share of scaffolds, as it is here, the lists also show how many molecules that share came to, which is the first number a careful reader of a kernel page wants.

The fitted constants and the code

Store the intercept, the coefficients, the exponent, the training mean and the training standard deviation of each term, with the sd convention named. These five numbers per term are what turn the equation form into a prediction, and a wrong value in any one of them shifts, compresses, inverts or offsets every output. Store the code at a fixed commit, including the search, so that the selection step can be rerun and not only the final fit. A record that stores the final fit but not the search has hidden the step where the optimism entered.

The corrections log

A dated log with one entry per change to a published figure or claim. Each entry names the cause, the pages affected, the value before and the value after. The MolBasis findings page is this log for its kernels. It records that a descriptor defect inflated a melting-point figure, that three two-term equations were full-data fits now shown as one-term, that areas were stored in bohr² under an Ų name, and that geometries come from a force field. The guide on keeping a findings register describes how such a log is kept current.

What the MolBasis record has and lacks

The record has a protocol statement on the methodology page, a descriptor specification on the docs page, a corrections log on the findings page, and per-molecule predictions for the blind benchmark. It lacks, in any repository available for review, the fitting scripts, the result files, the split lists and the fitted constants for the kernels. The site says so, and marks its kernel figures as reported for that reason. A reader can treat that statement as the model of what an incomplete audit trail should say about itself. The alternative, a clean page with no mention of what is missing, would be worse.

An audit trail is not for the author. It is for the stranger who has to decide whether to believe the number.

Key points

  • Seven parts. Manifest, cleaned table with identifiers, split lists, per-molecule predictions, fitted constants, code at a commit, corrections log.
  • The manifest fixes the six decisions behind the coefficient, including the descriptor version, units and known defects.
  • Per-molecule held-out predictions are the most valuable single file, because they allow recomputation and leak checks without code.
  • Store split lists, not only seeds, and the fitted constants with their sd convention.
  • The MolBasis record has the protocol, the corrections log and the benchmark predictions, and lacks the scripts and result files, which is why its kernel figures are as reported.

Questions people ask

What files make up an audit trail for a QSPR model?
A manifest naming every input and its version, the deduplicated training table with identifiers, the lists of training and held-out scaffolds, the per-molecule held-out predictions, the fitted constants, the code at a fixed commit, and a dated corrections log. With those a stranger can re-derive every published figure.
Which single file is most valuable if I can keep only one?
The per-molecule held-out predictions with observed values and identifiers. From that table a reader can recompute Pearson r, MAE, lift and calibration slope without code, descriptors or coefficients, and can check that no held-out molecule also appears in training.
Does MolBasis have an audit trail for its kernels?
Partly. The methodology page states the protocol and the findings page logs corrections. The fitting scripts and result files are not in a repository available for review, so the kernel figures are reported, not recomputed. Only the blind benchmark has per-molecule predictions, and only its statistics were recomputed.

Further reading

In practice: The coefficients of the kernels are not published, so no kernel can be evaluated from this site alone, and no figure here was recomputed except the separate blind benchmark. The guides say what can be done with what is available.

See the kernels themselves

Every kernel is shown with its held-out result, the number of molecules it rests on and what it cannot be trusted for.