Skip to main content
v2026.11,986 entries · CC-BY 4.0
CASRAICASRAI Working GroupsHelp write the standards you have to implement24 working groups propose, review and ratify the terms CASRAI publishes, one per dictionary domain. Community and observer seats start at about two hours a month; chairs and co-chairs give 6–8 hours a month. Applications are reviewed.Apply to join a group CASRAI · Volunteer seats
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

Working group for this domain: Reproducibility and computational research working group

Share this

Ask CASRAI · full access

Ask about Code review (research software)

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

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 open to read, with no account and no card.

Editorial commentary

Code review (research software) in practice

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.

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.

Also known as

scientific code review · software peer review

Machine-readable encodings

Use in your systems

JATS XML <kwd> element
xml
<kwd vocab="CASRAI Dictionary"
     vocab-identifier="https://casrai.org/dictionary/"
     vocab-term="Code review (research software)"
     vocab-term-identifier="https://casrai.org/dictionary/term/code-review-research-software">Code review (research software)</kwd>
Schema.org DefinedTerm (JSON-LD)
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:49Z",
  "dateModified": "2026-09-05T17:31:36Z",
  "inLanguage": "en",
  "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 →