[Paper Review] Practices in Code Discoverability
This paper advocates for improved code discoverability in astrophysics by revitalizing the Astrophysics Source Code Library (ASCL) as a peer-reviewed, citable repository for scientific source codes. It proposes treating code with the same scholarly recognition as data, integrating it into the ADS database to enable referencing, citation, and long-term reproducibility—mirroring data's role in scientific infrastructure.
Much of scientific progress now hinges on the reliability, falsifiability and reproducibility of computer source codes. Astrophysics in particular is a discipline that today leads other sciences in making useful scientific components freely available online, including data, abstracts, preprints, and fully published papers, yet even today many astrophysics source codes remain hidden from public view. We review the importance and history of source codes in astrophysics and previous efforts to develop ways in which information about astrophysics codes can be shared. We also discuss why some scientist coders resist sharing or publishing their codes, the reasons for and importance of overcoming this resistance, and alert the community to a reworking of one of the first attempts for sharing codes, the Astrophysics Source Code Library (ASCL). We discuss the implementation of the ASCL in an accompanying poster paper. We suggest that code could be given a similar level of referencing as data gets in repositories such as ADS.
Motivation & Objective
- To address the persistent under-sharing of scientific source codes in astrophysics despite their critical role in reproducible research.
- To highlight the historical and ongoing challenges in code dissemination, including reluctance due to perceived messiness, lack of career incentives, and intellectual property concerns.
- To promote the ASCL as a sustainable, peer-reviewed platform for code discovery and citation, modeled after data repositories like those in ADS.
- To advocate for institutional and community-wide recognition of code as a legitimate, citable scientific output, comparable to data and publications.
- To integrate code into the broader scientific infrastructure by enabling indexing, referencing, and long-term archiving through systems like ADS.
Proposed method
- Reviewing the historical development of scientific codes in astrophysics, including early community-based sharing and the rise of internet-based repositories.
- Analyzing barriers to code sharing through literature review, surveys, and direct engagement with scientist coders, identifying cultural, institutional, and technical obstacles.
- Revisiting and reimagining the original Astrophysics Source Code Library (ASCL) as a peer-reviewed, curated, and citable code repository.
- Proposing integration of ASCL into the Astrophysics Data System (ADS) to enable indexing, citation, and discovery similar to data and publications.
- Advocating for the adoption of a reproducible research standard that includes software, aligning with NSF recommendations on data and software archiving.
- Demonstrating the feasibility of treating code as a first-class scientific artifact through the ASCL model and its integration into ADS, as confirmed in a follow-up paper (Allen et al., 2012).
Experimental results
Research questions
- RQ1Why do many astrophysicists resist sharing their source codes despite the scientific value of reproducibility?
- RQ2How can scientific codes be made discoverable, citable, and integrated into the scholarly communication ecosystem like data?
- RQ3What institutional and cultural changes are needed to treat source code as a legitimate, peer-reviewed scientific output?
- RQ4What role can repositories like the ASCL play in improving code discoverability and long-term preservation?
- RQ5How can the integration of code into ADS enhance reproducibility and transparency in computational astrophysics?
Key findings
- Many scientific codes in astrophysics remain hidden from public view despite their critical role in research, due to cultural resistance and lack of incentives.
- The ASCL was reinvigorated as a peer-reviewed, citable repository for scientific codes, with a focus on long-term discoverability and integration into scholarly infrastructure.
- Code sharing is essential for reproducibility, and even messy or undocumented code should be made available if it produces valid scientific results.
- The ASCL codes have been successfully incorporated into the Astrophysics Data System (ADS), enabling indexing, citation, and discovery similar to data and publications.
- Reproducibility in science is undermined when code is not shared, and institutional policies should support code archiving and citation to maintain scientific credibility.
- The integration of code into ADS marks a key step toward treating software as a first-class scientific output, comparable to data and peer-reviewed papers.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.