r/ScientificComputing • • 3d ago

Recomputing the reported statistics of a manuscript, and abstaining when the inputs are ambiguous

Repo: https://github.com/Furox-Art/scientific-reasoning-auditor - Python 0.11.0 (HEAD d9f0e14), Node adapter 0.4.0, no required Python dependencies.

It reads a manuscript, extracts reported statistics and method claims, and recomputes the ones that are mechanically checkable: statistic consistency against the stated degrees of freedom, multiple-testing corrections, regression and meta-analysis inputs, prospective power and sample size, declared-DAG adjustment, MCMC diagnostics, ML split manifests. Manuscripts stay read-only; findings go to separate reports:

sra audit manuscript.md --out reports/sample

What I would defend as the design choice is the abstain path, and it is also the most recent commit: when a discrepancy sits under an undeclared two-sided t/z default or an unspecified degrees-of-freedom correction, it now withholds the verdict instead of declaring a reporting error. The deterministic toolkit (SymPy, Pint, SciPy replay) and the spaCy/RapidFuzz passage candidates follow the same rule - candidates a person confirms, never truth claims.

Install:

python -m pip install --upgrade "scientific-reasoning-auditor[pdf,statistics]"

One honest limit: the published-reference pilot measured the unchanged 0.9.0 engine against historical manual labels for 1120 selected psychology results - 60% decision coverage, 34 of 49 reference errors flagged, 34 of 54 flags agreeing with the reference. That is retrospective conditional agreement on third-party input strings, not whole-paper validation, and it does not test the text-extraction step at all.

2 Upvotes

0 comments sorted by