Repository navigation
v2.2
The scientific conclusion is unchanged and reproduced to the last digit on two machines:
T_cycle = 16.8 + 0.760 · tau_GABA (ms)
slope +0.760 ± 0.113 | R² = 0.884 | p = 0.0005
The 320-neuron network has emergent PING gamma. The 80-neuron network does not (p = 0.75). Network size, not reduction, is the switch. Criterion fixed in advance, seeds never previously used.
What changed is that the archive is now capable of contradicting the manuscript, and it did.
Two claims in the paper were false. The code found them, not a reader.
Rate modulation alone is enough. The paper reported that theta modulation of firing rate cannot produce spurious gamma, and named synchrony as the sole mechanism. That negative control had been run with the comb notch silently enabled — it had been passed through the repair whose necessity it was meant to establish, and could not have come out any other way. Run un-notched, independent Poisson populations with no synchrony whatsoever produce 7.55 dB at exactly 5 × 6 Hz, and the surrogate null calls them significant in 83% of datasets.
The four screens together reject a genuine rhythm. The paper reported that the analysis screens are complementary and that a real 40 Hz rhythm survives all of them. That experiment had the notch silently enabled too. Run un-notched, on ground truth:
raw + 4 screens notched + 4 screens
no rhythm 61.2 Hz rejected 61.2 Hz rejected
theta-locked, no gamma 30.0 Hz rejected 33.6 Hz rejected
GROUND-TRUTH 40 Hz 30.0 Hz REJECTED X 40.0 Hz found
GROUND-TRUTH 55 Hz 30.0 Hz REJECTED X 55.1 Hz found
The raw statistic with every check in the paper applied to it is wrong in 2 of 4 cases. Each screen fires correctly: the peak it is handed really is significant, really is at a band edge, and really is the drive's fifth harmonic. All three verdicts are true. None of them is about the rhythm, because the rhythm was never the peak.
A screen can only reject a peak the statistic has already found. When the statistic never finds the rhythm, no number of screens recovers it, and each additional screen makes the pipeline more confident without making it more correct. That is the paper's thesis, and it is now a measurement rather than an assertion.
The pipeline could not fail. Now it can, and that is tested.
run_all.sh piped every script through grep and tee. A shell pipeline's exit status is that of its last command — tee, which always succeeds. So
raise SystemExit("E7 FAILED -- do not report these results")
was swallowed. The only abort in the archive could not abort: a failed validation was followed by a full network simulation, a regression fit, and a clean "DONE".
It reads PIPESTATUS[0] now, and there is a test that makes a script fail on purpose and checks that the battery stops.
Every claim in the manuscript is now checkable in one command
v2/audit_manuscript.py extracts every quantitative claim from the manuscript, looks for it in the run logs, and exits non-zero on any it cannot find. Anything not in a log must be arithmetic, with its derivation written into the script.
274 numbers in the paper
254 printed by a script in this archive
20 derived, with the derivation recorded
0 unsupported
It found the errors above. It also found: a false-positive rate reported as 0% that is 1/40, 4/40 and 1/40; a W_IE calibration table the code no longer produced; two source fingerprints two revisions stale; a mean in-degree of "0.42" that is neither the synapse count (0.32) nor the in-degree (0.04) and appears nowhere.
None of these was found by reading. A person checking a 37-page paper against a 2000-line log does not find them. That is the point.
The corrigendum is now executable
v2/v1_diagnosis.py computes the four numbers the corrigendum rests on, from v1's own source: the realised synapse counts on v1's own seeds (I→E: 0,0,0,0,0), the rheobase of the Hodgkin-Huxley neuron v1 drove at I = 1.0 (6–7 µA/cm², 0 sustained spikes), the sidebands produced by the discarded gamma generator, and the fraction of the analysis band the harmonic screen destroys at each recording length.
They were carried in prose before. Prose does not recompute itself when the code underneath it changes.
Also
calibrate_w_ie()runs the positive-control sweep instead of quoting a comment written at a 3 s recording length. Re-run at 21 s, theta is recovered at 100% of seeds at every weight, so the control establishes that the pipeline has power and does not select W_IE. W_IE = 6 nS is adopted for the 6 Hz pyramidal rate.- Figure 2 computes its numbers instead of transcribing them from a log. It had gone stale.
- Figure 5 is new: same data, two pipelines, side by side.
v2/compare_runs.pycompares two runs on their numbers and verdicts, ignoring prose and timings, so a comment change does not require re-running an hour of simulation on a second machine to certify it.v2/semantic_hash.pyfingerprints the AST rather than the source bytes.- The matplotlib pin in
requirements-frozen.txtwas wrong. Every log had been printingmatplotlib = not installedfor two days.
Reproducing
cd v2
pip install -r ../requirements-frozen.txt
bash run_all.sh
python3 audit_manuscript.py ../../CA1_v2_manuscript.md ../results/<newest>.log
run_all.sh refuses to start if the source hashes do not match, and aborts during the run if the validation in §3.6 fails.
Two machines — Python 3.13.12 / 3.12.1, numpy 2.5.1 / 2.2.4, different hardware — report identical numbers, including the pre-registered PING regression. The two numpy versions differ and the results do not, which is a stronger statement than pinning alone would give, and it is checkable only because every run prints the versions it actually loaded.
Citing
v2 preprint (pending)
v2 code (this release)
v1 preprint 10.5281/zenodo.21272959
v1 code 10.5281/zenodo.21273211
Code MIT. Manuscript CC-BY-4.0, on Zenodo, not in this repository.