Cycling on the Freeway: The Perilous State of Open Source Neuroscience Software

Britta U. Westner, Daniel R. McCloy, Eric Larson, Alexandre Gramfort, Daniel S. Katz, Arfon M. Smith, invited co-signees · DOI

Introduction

Modern neuroscience has undergone a significant transformation, moving away from proprietary black-box solutions toward Free and Open-Source Scientific Software (FOSSS). Tools like MNE-Python, EEGLAB, and Brainstorm have become the bedrock of data analysis. However, this transition has exposed a dangerous vulnerability: the "backstage" of these tools is remarkably brittle. This paper examines the systemic mismatch between academic incentive structures and the long-term maintenance required for sustainable scientific software.

The Maintenance Crisis

The core of the problem lies in the "publish-or-perish" culture of academia. While the initial release of a software tool is often rewarded with a high-impact publication, the subsequent years of "invisible labor"—fixing bugs, providing user support, and maintaining compatibility with evolving operating systems—receive little to no professional credit.

Consequently, critical infrastructure is often maintained by early-career researchers on precarious, short-term contracts. These individuals are effectively penalized for their contributions to the community, as time spent on code is time taken away from traditional research papers. This creates a precarious situation where the tools used to analyze global brain data rest on the shoulders of a few individuals working under high pressure.

Methodology: The Truck Factor

To quantify this fragility, we utilize a quantitative heuristic called the "Truck Factor" (also known as the Bus Factor). This metric estimates the minimum number of developers whose sudden absence—whether due to an accident or, more commonly, a transition to a higher-paying industry role—would cause a project to stall or fail.

Using an algorithm developed by Avelino et al. (2016), we analyzed the commit histories of five major neuroscientific software projects (Brainstorm, EEGLAB, FieldTrip, MNE-Python, and SPM) as of August 2023. We also included Astropy, a major astronomy package, as a benchmark for a well-supported scientific software ecosystem.

Key Results

The quantitative analysis reveals a stark reality for the neuroscience community. Most major tools depend on a dangerously small number of key maintainers.

Table 1: Truck Factor analysis for popular electrophysiology software packages compared to the Astropy benchmark.

As shown in the table above, Brainstorm, EEGLAB, and FieldTrip all possess a Truck Factor of 1. MNE-Python and SPM fare slightly better with a factor of 3. In contrast, Astropy has a Truck Factor of 6. This comparison highlights that the neuroscience software landscape is significantly more fragile than other scientific fields like astronomy.

Discussion: The Citation Trap and Diversity Gap

The fragility is exacerbated by current citation norms. Researchers typically cite the "canonical paper" that introduced a package years ago, rewarding original creators while offering zero professional credit to the "latecomers" who actually do the hard work of maintaining and improving the code today.

Furthermore, the reliance on "informalized" labor—often requiring developers to work outside of standard hours—acts as a barrier to marginalized groups. Data suggests that only 1.1–5.4% of open-source developers identify as women, and less than 17% are non-White. While grants from organizations like the CZI or the Sloan Foundation provide temporary relief, they often act as "Band-Aids" rather than permanent solutions.

Limitations

The Truck Factor is a heuristic and has inherent limitations. It does not account for the current activity levels of contributors or the robustness of community support structures, such as mailing lists and forums. However, it remains a powerful indicator of the structural risks facing the field.

A Path Forward

To secure the future of open neuroscience, the field must address these systemic issues:

  1. Professionalize Development: Universities should establish permanent, prestigious roles for Research Software Engineers (RSEs).
  2. Reform Citation Habits: Researchers should "cite the software, not the paper"—specifically citing the version used to provide credit to active maintainers.
  3. Institutional Recognition: Tenure and promotion committees must value software contributions as equal to traditional publications.
  4. Integrated Training: Programs like Software Carpentry should be integrated into graduate neuroscience curricula to improve programming literacy across the board.

Without these changes, the "freeway" of open-source neuroscience remains a perilous place for researchers to cycle.

Summary updated

BibTeX
@inproceedings{westner2025cycling,
  author = {Britta U. Westner and Daniel R. McCloy and Eric Larson and Alexandre Gramfort and Daniel S. Katz and Arfon M. Smith and invited co-signees},
  title = {{Cycling on the Freeway: The Perilous State of Open Source Neuroscience Software}},
  booktitle = {Imaging},
  year = {2025},
  doi = {10.1162/imag\_a\_00554},
}
Figure