Skip to main content
v2026.11,858 entries · CC-BY 4.0
Dictionary termTrack CProposedv2026.2

Code review (research software)

Code review for research software is a check of analysis or research software code by someone other than its author, for correctness, clarity, and reproducibility, before or alongside publication of the results it produced.

ByCASRAI Editorial Board
· Last updated 5 Sept 2026
Share this

Ask CASRAI · free to try

Ask about Code review (research software)

Ask your first 2 questions free below. Subscribers get 150 a day for $29 a month.

An AI assistant specialized in research administration. It cites the sources behind every answer, labels web answers and says when it can't answer.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

Examples

Worked examples

  • Is an instance

    A JOSS submission undergoing open peer review on GitHub with editor-assigned reviewers.

  • Is an instance

    An rOpenSci review of a community R package against the rOpenSci packaging guidelines.

Counter-examples

Looks similar, but isn't

  • Not an instance

    An automated linter run.

  • Not an instance

    A reproducibility audit of a single paper's analysis.

Editorial commentary

Code review for research software is an independent check of analysis or research software code — by someone other than its author — for correctness, clarity, and reproducibility, distinct from peer review of the scientific claims the code was used to produce. Where industrial code review is typically routine and line-by-line, integrated into every change via pull requests, code review of research code is comparatively rare, inconsistent in scope, and often skipped entirely for code that never leaves a single researcher’s laptop.

Why it matters for reproducibility

Because a published scientific conclusion frequently depends on the correctness of the code that produced it, an unreviewed analysis script is a point where an error can silently propagate into a paper’s results without anyone but the original author ever having checked the logic. Code review catches this class of error — and improves documentation and reusability — in a way that reviewing only the resulting manuscript cannot, since manuscript peer review rarely re-executes the underlying code.

Models in practice

A few formal community models exist alongside informal lab-level review: rOpenSci runs peer review of R packages against defined criteria before accepting a package into its collection; pyOpenSci runs an equivalent review process for Python packages; and JOSS (Journal of Open Source Software) integrates open, public code review directly into its publication workflow, so the review itself becomes part of the public record alongside the resulting short paper. These are heavier processes than most single-study analysis code receives, and are aimed primarily at reusable software packages rather than one-off analysis scripts.

In practice

For a typical study, code review is one component of the broader reproducible research practices a team adopts, alongside deposit of the reviewed code and a data availability statement. Even a lightweight internal review — a co-author or lab colleague re-running the pipeline before submission — closes a meaningful share of the gap between unreviewed and formally reviewed code.

References

  • Smith et al., ‘Journal of Open Source Software (JOSS): design and first-year review’ (PeerJ Computer Science, 2018); rOpenSci Statistical Software Peer Review Guide.

Also known as

scientific code review · software peer review

Machine-readable encodings

Use in your systems

JATS XML <role> element
xml
<role vocab="credit"
      vocab-identifier="https://casrai.org/dictionary/"
      vocab-term="Code review (research software)"
      vocab-term-identifier="https://casrai.org/dictionary/term/code-review-research-software" />
Schema.org DefinedTerm (JSON-LD)
json
{
  "@context": "https://schema.org",
  "@type": "DefinedTerm",
  "@id": "https://casrai.org/dictionary/term/code-review-research-software",
  "name": "Code review (research software)",
  "identifier": "https://casrai.org/dictionary/term/code-review-research-software",
  "description": "Code review for research software is a check of analysis or research software code by someone other than its author, for correctness, clarity, and reproducibility, before or alongside publication of the results it produced.",
  "inDefinedTermSet": "https://casrai.org/dictionary/domain/reproducibility#set",
  "url": "https://casrai.org/dictionary/term/code-review-research-software",
  "alternateName": [
    "scientific code review",
    "software peer review"
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "publisher": {
    "@id": "https://casrai.org/#organization"
  },
  "author": {
    "@id": "https://casrai.org/#editorial-team"
  },
  "datePublished": "2026-05-21T02:22:49",
  "dateModified": "2026-09-05T17:31:36",
  "inLanguage": "en-GB",
  "isAccessibleForFree": true
}

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →

Ask CASRAI · Regulatory Radar

Research-admin question? Get an answer that links its sources.

An AI assistant specialized in research administration. Every answer links its sources to check before you act. 2 questions free, no account. $29/month after.

  • Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.
  • Every answer numbers its sources and links each one, so you can check the source yourself.