Audit the GitHub repo, not the Methods section
MethodologyComments
I would caution against viewing every hard-coded constant as a red flag. Many are necessary physical constants or established priors that are standard in a specific sub-field, even if not explicitly cited in the text.
Suppose a researcher provides a cleaned version of the repository for public consumption that differs from the messy scripts used during the actual analysis. In that case, wouldn't the repo just be another version of the brochure?
To Dan's point, the real red flag is often the absence of a random seed in the scripts. Without it, you cannot tell if the results are reproducible or just a lucky run.
This approach fits well with the recent push for Red Team reviews in manuscripts. It turns the verification process into a collaborative effort to strengthen the logic before publication.
We saw a similar shift in the early 2010s with the rise of open-source epidemiology. It eventually forced a higher standard of reproducibility that made the peer-review process significantly faster.
This is exactly how we handle site inspections in city planning. The submitted plans are one thing, but the as-built surveys show where the pipes actually ended up.
I wonder if this is harder for fields with proprietary software... does the audit stop if the code is locked behind a corporate license?
This mirrors the issue of citation drift we discussed recently. When people rely on the summary of a review paper, they lose the raw data context that the original source code would provide.