Abstract
Universities are significant contributors to the global open source ecosystem, yet their output is often decentralized and poorly documented, creating a "dark matter" of academic software. This paper introduces an automated pipeline designed to discover, filter, and categorize institutional open source projects at scale. By leveraging Large Language Models (LLMs) for nuanced reasoning, the framework overcomes the limitations of traditional keyword-based searches. We applied this pipeline to the University of California (UC) system, identifying over 81,000 affiliated repositories. Our findings highlight a high prevalence of software tools and educational materials, but also reveal a significant "license gap," where 70% of projects lack explicit legal frameworks for reuse.
Introduction
The decentralized nature of academic research means that software development often happens in silos. While individual researchers or labs may host code on GitHub, these projects frequently lack institutional branding or consistent metadata. For University Open Source Program Offices (OSPOs), identifying these projects is crucial for providing support, ensuring compliance, and measuring impact. However, simple keyword searches for university names yield high false-positive rates, including student forks or incidental mentions. This work addresses the need for a high-precision, scalable discovery framework to map this academic wilderness.
Methodology
The proposed identification pipeline consists of three distinct phases: Discovery, Filtering, and Categorization.
- Discovery: The system uses the GitHub REST API to perform broad searches based on campus-specific "lexical cues," such as official names, acronyms, and email domains. This phase prioritizes high recall to capture as many potential candidates as possible.
- Filtering: To distinguish true institutional affiliation from noise, the authors evaluated several strategies, including a rule-based Score-Based Classifier (SBC), an SVM classifier using text embeddings, and LLM-based reasoning. The LLM approach uses a "repository signature" to evaluate projects against specific affiliation criteria.
- Categorization: Confirmed repositories are classified into six functional types: DEV (software tools), EDU (course materials), DOCS, WEB, DATA, and OTHER.
Results and Evaluation
The framework was tested on the University of California system, starting with a candidate set of over 236,000 repositories. Manual labeling of a ground-truth dataset from three campuses (UCSC, UCSD, and UCSB) allowed for a rigorous performance comparison.
The LLM-based filtering, particularly using GPT-4o-mini, demonstrated superior performance compared to traditional methods. As shown in the ROC curves, the LLM models achieved significantly higher Area Under the Curve (AUC) values, reflecting their ability to maintain high true-positive rates while minimizing false positives. GPT-4o-mini achieved an F1-score between 0.90 and 0.93, providing the best balance of reasoning capability and cost-effectiveness ($113 for the entire UC dataset).
Key findings from the full UC dataset include:
- Scale: 81,640 repositories were confirmed as affiliated, representing approximately 47% of the initial cleaned candidate set.
- Composition: The ecosystem is split almost evenly between research software (DEV, 42.9%) and educational materials (EDU, 42.1%).
- Sustainability Gaps: A staggering 70% of affiliated repositories lack an explicit license, and many high-impact projects do not follow community standards like providing contribution guidelines.
Conclusion
This research provides a scalable framework for universities to map their open source landscape. By using LLMs to automate the reasoning required for affiliation detection, institutions can move beyond manual registries. Future work will focus on using these insights to drive automated interventions, such as nudging maintainers to adopt better licensing and documentation practices, ultimately improving the sustainability and visibility of academic software impact.
Summary updated