Numbers audit
In Academic Harness:
numbers_auditrecomputes only what the text makes checkable. Everything else isnot_checked. A flag is a candidate for human review, not a finding of error or misconduct.
Workflow
- Pick the manuscript.
.tex,.md,.txt,.docx, or.pdf(PDF text extraction happens first). For a scanned PDF, runpdf_to_markdownwith OCR first and audit the Markdown. - Run the audit. Read
summary.by_kind, then the rows by line number.grim: trueadds the mean-consistency check when a mean and N are present. - Triage each candidate. Re-read the sentence and the source output. A flag can be a rounding choice, a subgroup denominator, or a typo; decide with the authors.
- Recompute where possible. For a test statistic and df, the tool computes
the p-value. For a CI and a nearby estimate, it checks containment. For
x/y (z%), it checks the percentage. Do not "fix" a value without the authors' data. - Report coverage. Say how many values were checked, how many candidates
were flagged, and what stayed
not_checked(units, unmatched table rows, values without a recomputable statistic). Never say the statistics are valid.
What is not checked
- Units and effect-size plausibility.
- Values whose label cannot be matched unambiguously to a table row.
- p-values without a reported test statistic.
- GRIM/GRIMMER unless
grim: true(GRIMMER is not implemented). - Anything inside references, equations, citations, or years.
Guardrails
- Never present a candidate as confirmed misconduct.
- Never replace a reported number with the recomputed one; report both.
- Do not run the audit on a manuscript the user has not authorized.
- Keep
not_checkedin the report; dropping it overstates coverage.
Related
stat_auditfor a narrower p/GRIM pass.reporting_checkfor guideline evidence.numbers_auditis included insubmission_packplanning.analysis_run expect/verify_scorescompare declared numbers to hashed outputs of an authorized rerun; useintegrity-auditfor the broader four-column reading. A numerical consistency check is not a reproduction.