# Corrections

Numbers in this repository that were published and later found wrong, with what
changed and why. A result that moves without a record of having moved is worse
than one that was never published, so this file exists to make the movement
visible rather than to tidy it away.

## The corpus number is not evidence that folding helps

**Reported:** a median rank correlation of 0.607 and a median absolute error
of 4.6 fold across the corpus, presented as what the pipeline achieves by
folding a protein and a compound together.

**Corrected to:** the same numbers, with the control beside them. Across 121
of the 123 targets a random forest on ECFP4 fingerprints, trained on each
target's own prior actives with the held-out compounds removed, reaches a
median rank correlation of **0.736 against the structure arm's 0.607**. The
paired difference is **minus 0.1445 with a 95 percent interval of minus 0.191
to minus 0.0992**, which excludes zero. The structure arm is ahead on 33 of
121 targets. Median fold error is 3.13x for the ligand model against 4.6x for
the structure arm. Regenerate with `scripts/ligand_baseline.py`.

**Why it moved:** the control had never been run across the corpus. It had
been run on one target, ABL1, where the ligand model reached 0.871 against
0.284, and that single result was published and described as a loss on one
dense target. Running it everywhere shows it is not one target.

**What was registered:** the comparison, the three arms, the statistic and the
decision rule were fixed at
`benchmarks/preregistered/2026-10-16-ligand-baseline.md` before any target was
scored. The rule said that an interval entirely below zero means the front
page stops describing the corpus number as evidence that folding helps and
says a ligand model does better on the targets we have scored. A stopping rule
was added at 66 of 123 targets, before the run ended, and no target was
excluded for a fetch failure.

**What did not move:** the corpus numbers themselves. Median rank correlation
0.607, median absolute error 4.6 fold, intervals over 87 protein units. The
combination of the two arms beats the structure arm alone by plus 0.1481,
interval 0.1227 to 0.1743, and does not beat the ligand arm alone.

The full result is `benchmarks/results/2026-10-16-ligand-baseline-result.md`.

## The published intervals were computed over targets that are not independent

**Reported:** median rank correlation 0.607 with a mean Spearman interval of
0.507 to 0.601, and median absolute error 4.6 fold with an interval of 4.2 to
5.0, every interval resampling the 123 targets.

**Corrected to:** the same point estimates, with intervals resampling 87
protein units. Median rank correlation 0.607, interval **0.503 to 0.654**.
Mean Spearman 0.555, interval **0.473 to 0.590**. Median absolute error 4.6
fold, interval **4.3 to 5.0**. Regenerate with
`scripts/target_independence.py` then `scripts/export_site_data.py`.

**Why it moved:** a bootstrap over targets treats the 123 targets as 123
independent draws. The corpus holds dihydrofolate reductase from E. coli,
human, Candida, rat and Pneumocystis, scoring 0.680, 0.648, 0.607, 0.901 and
0.820, and the bootstrap counted those five as five independent units. It also
holds five chemokine receptors, four somatostatin receptors, four carbonic
anhydrases, four sphingosine 1-phosphate receptors, three MAP kinases, three
casein kinases and three cathepsins. Twenty one protein names cover more than
one target.

Grouping by protein name with the species and the isoform stripped gives 87
units and widens the rank correlation interval by 40 percent, moving the lower
bound from 0.546 to 0.503. The point estimates do not move under any grouping.

A sequence based grouping, which only joins close orthologues, gives 113 units
and widens the interval by 3 percent. Treating every one of the 56 receptors as
a single draw gives 63 units and widens it by 52 percent, to 0.498 to 0.662.
That far bound is reported and not adopted, because a beta-2 adrenergic
receptor and a prostaglandin receptor are genuinely different targets.

**Found by:** an outside reader agent, which said the corpus holds five
dihydrofolate reductases that the bootstrap treats as independent. That was
correct. The reader also suggested the effect was large, and it moves the lower
bound by 0.043.

The audit is `benchmarks/results/2026-10-16-target-independence.md`.

## The corpus headline moved from 4.4 fold to 4.6 fold

**Reported:** median absolute error 4.4 fold, 95 percent interval 4.0 to 4.8,
across 121 proteins and 2,777 held-out compounds.

**Corrected to:** 4.6 fold, interval 4.3 to 5.0, across 123 proteins and 2,462
compounds. Regenerate with `scripts/rebuild_corpus.py` then
`scripts/summarise_corpus.py ~/.vessari/corpus/corpus-v2.jsonl`.

Every number on the site was computed before two defects were fixed. One was a
clustering rule documented one way and implemented another. The other was a
corpus gate comparing against the wrong variable. We rescored all of them.

On the same 123 targets, scored both ways, the median fold error went from 4.50
to 4.60 and the mean per-target rank correlation changed by minus 0.0177 with
an interval of minus 0.039 to plus 0.004. That interval contains zero, so the
corrected pipeline is not measurably better or worse at ranking. The ranking
median is unchanged at 0.607.

The compound count fell because the corrected rule clusters over the whole
candidate pool rather than the selected set, so each held-out set is smaller
and its compounds are less like each other. That is a harder test, which is
the direction the error moved.

Twice during the run we read the interval on the rank correlation as excluding
zero, at 106 targets and again at 119. The last four targets moved it back
across. Both interim readings are in this conversation's record and both were
wrong about the final answer. The full write-up is
`benchmarks/results/2026-10-16-rebuild-result.md`.

## We simulated a membrane receptor without a membrane, and called the result a null

**Reported:** five candidate ways to tell a trustworthy prediction from an
untrustworthy one were tested and all five came back null. The fifth was
stability under molecular dynamics.

**Corrected to:** four signals tested, four null. The fifth is withdrawn. We
cannot say whether pose stability carries information, because the measurement
we ran cannot answer it.

The two complexes we simulated are P30556, the angiotensin II type 1 receptor.
That is a class A G protein coupled receptor with seven transmembrane helices.
We built the system with `addSolvent`, amber14 and TIP3P water, and ran it with
29,094 waters in a 9.9 nm box. There is no lipid in the build. We put a
membrane protein in a box of water.

A seven helix bundle has no reason to hold its packing without the membrane
that normally surrounds it. So the 4.24 angstrom scatter between replicas,
which we reported as the reason the measurement could not separate the two
poses, is at least partly the receptor coming apart for a reason that has
nothing to do with the ligand. We read an instrument that was not connected.

The pre-registration is `benchmarks/preregistered/2026-10-12-pose-stability-v2.md`.
It caught five protocol divergences against the published literature. It did
not specify a membrane, and neither did the first version. We checked the
protocol against papers and did not check it against the protein.

This does not turn the null into a positive result. We do not know whether a
pose that falls apart under dynamics is a pose whose affinity was wrong. We
know that we have not measured it.

What it costs: one of the five entries in "we cannot tell you which predictions
to trust" was not evidence. The claim that we cannot tell you stands, because
four signals remain null and no signal came back positive. The count was wrong
and the count is on three pages.

Found by an outside reader asked to look at the site as a biochemist. The same
reader said we hide our loss to a molecular weight baseline. That one is wrong,
and it is recorded here because we checked it: the arm is on the front page,
and on the current split we score 0.284 against molecular weight's 0.209. The
reader was reading `abl1-controls-v2.json`, which the site stopped using.

## The published pre-registration was missing two of its amendments

**Published:** the data-poor registration as it stood on 14 October at 01:50,
156 lines, carrying its first amendment only.

**Corrected to:** the current file, 264 lines, carrying all three. Regenerate
with `scripts/export_data_index.py`.

The registration lives in `benchmarks/preregistered`. The publisher read only
`benchmarks/results`, where a copy of it had been made so the publisher could
find it. Amendments were written to the real file and the copy never moved, so
the site served a registration without its second amendment for about twelve
hours and without its third from the moment it was written.

The second amendment is the one that matters here. It records that the two arms
had been scored on different compounds, that the fix moved the ligand arm from
0.881 to 0.657, and that the mismatch had been flattering the ligand arm rather
than ours. A reader of the site during that window saw a registration that did
not mention it.

Nothing computed from the registration was wrong. What was wrong is that a
correction we had already made was not visible to anyone reading the public
copy, which defeats the point of publishing it.

Three other registrations were duplicated the same way and happened to still
match. The publisher now searches both directories and refuses to publish a
filename that exists in both with different contents, naming the file and
stopping rather than letting one copy win silently. The duplicates in
`benchmarks/results` are deleted, so each registration has one source.

## ABL1 affinity ranking, corrected twice

**Reported first:** Spearman 0.563 on 30 held-out compounds, commit `85703ae`.

**Corrected to:** Spearman 0.284, 95% CI [-0.121, 0.636], commit `b29006b`.
Regenerate with `scripts/score_holdout.py`.

Bemis-Murcko scaffold splitting, the field-standard rule and the default in most
benchmark suites, admitted eight members of one congeneric series into the
held-out set. The eight share a benzamide, a piperazinylmethyl, a
trifluoromethyl and an alkyne, and differ only in a fused heteroaryl cap. That
cap is part of the ring system, so Murcko sees eight scaffolds where a chemist
sees one series. Removing them is not the same as removing any nine compounds:
keeping one per Tanimoto cluster gives 0.250 where dropping nine at random leaves
0.556, and a random subset does as badly as declustering 0.25% of the time. An
earlier version of this paragraph said the eight took every sub-nanomolar slot,
which is false and is retracted at the bottom of this file.

Two further defects were found and fixed in the same pass. Medians were taken
in linear nanomolar on log-normal data, which for a compound measured three
times at 2 nM and three times at 18 nM returns 10 nM where the correct central
value is 6. Nineteen of the thirty compounds had an even number of assays and
were therefore affected. And two compounds carried three identical records each
of exactly 10,000 and exactly 20,000 nM, which is an assay ceiling deposited
three times rather than three assays agreeing.

Selection is now single-linkage ECFP4 Tanimoto at 0.6, one compound per series.

## The training split leaked in the same way

**Found while rebuilding.** Training compounds were excluded from the split if
they shared a Murcko scaffold with a held-out compound, which removed 111 of
2,983. Excluding by ECFP4 Tanimoto at 0.6 instead removes 441. So 330 near
neighbours of held-out compounds were sitting in the training set, and every
ligand-baseline number measured on that split is inflated, including the ones
that beat us. Both arms were re-measured on the corrected split.

## The crossover claim

**Claimed in `b5fe27d`:** "Structure is the better move below roughly ten
compounds and is behind above sixty."

**Withdrawn.** That curve compared the ligand model against a hardcoded
structure score of 0.546, which came from the superseded set. Against the
corrected 0.284 there is no training-set size at which structure is preferable
for this target: a random forest given five compounds already ranks better than
zero-shot structure prediction on more than half of random draws.

The threshold is no longer a constant. `scripts/crossover_rf.py` reads it from
the stats file at run time and records the file's digest in every result, so a
claim cannot outlive the number beneath it.

## What did not change

The pipeline reproduces the published regime when given a published-style
benchmark: 52 FEP+ compounds, Pearson 0.596 and Kendall 0.433, against Boltz-2's
reported 0.66 and 0.48. The corrections above are about what we measured and
claimed, not about whether the code runs correctly.

## The paired intervals were too narrow

**Published:** direction right 85.3% of the time on pairs whose measured change
exceeds 1 kcal/mol, 95% interval 83.8 to 86.7.

**Corrected to:** the same 85.3%, interval 83.1 to 87.3. Regenerate with
`scripts/paired_validation.py`.

364 compounds generate 4,899 within-target pairs, so each compound appears in
about twenty-seven of them and the pairs are nowhere near independent.
Resampling pairs for the interval treats them as though they were, and returns
a precision the evidence does not support. The interval now resamples compounds
and keeps every pair among those drawn.

The point estimate did not move. Only the claimed precision did, and only by
about a point at each end. It is recorded here because a number that was on a
public page for a day and then changed is exactly what this file is for.

## A false sentence about the ABL1 series was published

**Published:** "The eight took every sub-nanomolar slot", on the website and in
this file.

**Corrected to:** three of the five sub-nanomolar compounds belong to the series
and two do not, and the series spans 0.34 to 31.95 nM, a 94-fold range.

It was written as a plausible explanation of a real effect and never checked
against the compound list. The effect survives: keeping one compound per
Tanimoto cluster gives Spearman 0.250 where dropping the same number of
compounds at random leaves 0.556, and a random subset does as badly as
declustering 0.25 percent of the time. What did not survive is the story told
about why.

Two smaller claims in the same sentence were also loose. Seven of the eight
share a benzamide, not eight: CHEMBL2324925 carries a urea on a pyrazole. And
six of the eight differ only in the fused heteroaryl cap. CHEMBL2316585 also
swaps a methyl for cyclopropyl.

The finding is a replication rather than a discovery, which the page now says.
Steshin's Lo-Hi benchmark measured scaffold-split leakage across four public
datasets in 2023, and Guo, Hernandez-Hernandez and Ballester titled a 2024 paper
"Scaffold Splits Overestimate Virtual Screening Performance" over 2,100 models.

## A commit described a function that was never written

**Claimed in `243bd55`:** "So `predict_replicates` runs the prediction under
several seeds and averages in log space", with a paragraph on how three
replicates narrow the interval on a ratio from times-or-divide 1.34 to 1.18.

**Corrected:** that function does not exist and never did. `git log -S "def
predict_replicates"` finds no commit that added or removed it.

The edit that was supposed to add it failed at the time with an ImportError.
The error was visible in the output, was read as a different problem, a
different thing was fixed in the same breath, and the function was never
checked for again. The commit message was written from what the edit was
intended to do rather than from what the file contained.

Nothing downstream broke, because nothing called it. That is the only reason
this went unnoticed for six days, and it is not a reassuring reason: an
uncalled function is exactly the kind that can be described in a commit message
and never exist.

The replicate averaging it described is still worth having and is not yet
written. What has been written and verified to exist is `predict_batch`, which
addresses a different and larger problem: boltz spent about 132 seconds of
every 170 on process setup, so predicting one compound per process ran the card
at a 22 percent duty cycle. Measured on three ABL1 compounds, batching takes
170 seconds each to 114.

## A claim that our uncertainty signal had failed, which it had not

**Said in conversation:** that the InhA run was the first case where pose
confidence failed to warn us, because two compounds were off by 104 and 371
fold while every pose confidence sat between 0.91 and 0.98.

**Corrected:** the correlation on InhA is Spearman -0.900, the strongest of the
three targets measured. Within that set the compounds with lower confidence did
have higher error, exactly as on the other two. The absolute values were all
high because the poses were genuinely good, and the errors came from the
affinity head rather than from placement.

The mistake was reading absolute values and never computing the correlation. It
is the same shape as looking at a table and describing what it seems to show
instead of what it says, which is the error this file exists to record.

With n=5 the interval is [-1.000, -0.111], so InhA on its own settles nothing
either way. The claim that holds is the pooled one across 59 predictions on
three unrelated folds:

    interface pTM above 0.90   n=27   median error    10x   worst      371x
    0.60 to 0.90               n=9    median error   173x   worst   78,734x
    below 0.60                 n=23   median error    43x   worst   18,168x

The useful property is the bound rather than the median. A pose above 0.90 has
not been wrong by more than about 400 fold in anything measured here. Below it,
errors of ten thousand fold occur. The thresholds in
src/vessari/uncertainty/pose.py were set from one target and are now set from
three, moving from 0.85 and 0.50 to 0.90 and 0.60.

## Eleven corpus entries recorded a database outage as a fact about a protein

**Written by the worker's first run:** eleven entries in
`~/.vessari/corpus/corpus.jsonl` reading `"failed": true, "reason": "scoring
failed"` against six targets, with those targets marked permanently skipped in
the queue.

**Corrected:** all eleven were deleted before the twelve target analysis was
computed. ChEMBL was returning HTTP 500. The set builder read any non-200
response as the end of the result list, found zero compounds, and the worker
recorded that as a property of the protein. Five of the six targets scored
normally once ChEMBL recovered: dihydrofolate reductase from E. coli and from
human, serine protease 1, 3-oxo-5-alpha-steroid 4-dehydrogenase 1 and InhA. The
sixth, peptidyl-prolyl cis-trans isomerase B, was later declined because only 1
compound survived clustering, which is a reason that holds.

The eleven arrived in two bursts, the first five inside 48 seconds by their own
timestamps. Nothing in the record distinguished them from a real failure, which
is the part that mattered: a skipped target is never retried, so an outage of a
few minutes would have removed five proteins from the corpus for good.

The fix is in `scripts/corpus_worker.py`, commit `f505649`. An upstream failure
now raises an Upstream exception that returns the target to the queue and waits,
and the queue records how many activities a target had when it was enqueued, so
finding none now is treated as a contradiction rather than an answer.

## The protein length rule was interpolated from two datapoints

**Said in our own materials:** that proteins under about 400 residues are
comfortable for this pipeline.

**Corrected:** measured across twelve targets, the Spearman correlation between
protein length and per-target ranking performance is -0.336 over lengths of 159
to 419 residues. Inside that span, length does not predict whether the pipeline
ranks a target's compounds. The best target in the corpus is 271 residues and
the second best is 413.

The claim came from two measurements of a different quantity: ABL1's kinase
domain at 254 residues gave interface pTM above 0.80 throughout, and
acetylcholinesterase at 583 residues gave a median of 0.27. Those are pose
confidences on two proteins, and a statement about ranking performance as a
function of length does not follow from them.

The 150 to 420 residue bound in `src/vessari/corpus/queue.py` stays, because
nothing here tests it. Every target in the corpus was inside that range by
construction, so the corpus says nothing about the span from 420 to 583 residues
that the bound was written to cover.

## Interface pTM does not predict affinity error

Withdrawn 2026-10-03. Measured on 325 predictions across fifteen targets.

`vessari/uncertainty/pose.py` claimed that the model's own confidence in the
ligand interface predicts how wrong the affinity will be, and used it to sort
predictions into good, marginal and poor. That claim came from three targets. It
does not survive fifteen, and the three ways it was stated fail separately.

**As a correlation.** Per-target Spearman between interface pTM and absolute log
error, averaged over fifteen targets: **-0.067**, bootstrap interval over targets
**[-0.209, +0.085]**. Nine of fifteen negative. Wilcoxon against zero p = 0.277.
The figure first reported, about -0.57, was the mean of ABL1 (-0.426), AChE
(-0.380) and InhA (-0.900), which were the three targets measured first. Re-run
now at n=13, InhA comes back **+0.577**, so even that set does not reproduce.

**As a bound on the worst case.** The claim was that a pose above 0.90 is never
wrong by more than about 400 fold. **Eight of 244** such poses exceed it, the
worst by **132,867 fold at an interface pTM of 0.961** (dihydrofolate reductase,
P00374).

**As a filter on bad poses.** Predictions below 0.60 do show a higher median
error, 43 fold against 5, Mann-Whitney p = 0.0005. The test is void: all 23 of
those predictions come from one target, acetylcholinesterase. It compares one
hard protein against fourteen others and says nothing about the pose score.

| bin | n | median | 90th pct | worst |
|---|---|---|---|---|
| above 0.90 | 244 | 5x | 118x | 132,867x |
| 0.60 to 0.90 | 58 | 5x | 385x | 78,734x |
| below 0.60 | 23 | 43x | 2,168x | 18,168x |

The top two bins have the same median.

**What changed.** `GOOD_POSE` and `POOR_POSE` are removed rather than retuned,
because retuning them on the 325 predictions that refuted them would fit this
corpus and claim nothing about the next target. `assess_pose` now returns a
single verdict, `recorded`, carrying the number. The dossier and the assessment
summary print the interface pTM instead of a warning. Nothing downstream
weights, gates or filters on it.

**Why it took this long.** The original three targets were not a sample, they
were the first three available, and two of the three happened to be the ones
where the model placed some ligands badly. On a target where every pose comes
back confident the correlation cannot be measured at all, which is most targets:
244 of 325 predictions sit above 0.90. The signal that was reported was the
favourable tail of a distribution centred near zero.

**Still open.** Error prediction remains unsolved. The ensemble spread between
the two affinity modules is recorded on every prediction and has not been tested
against error across the corpus. That is the next candidate and it should be
pre-registered before it is measured, not after.
