TL;DR
This paper tackles the high failure rate of open-source software (OSS) projects by developing a predictive model for sustainability within the Apache Software Foundation Incubator (ASFI). They achieve over 93% accuracy in forecasting project graduation within 8 months, offering actionable insights for projects to course-correct and improve their chances of survival.
What Problem Does This Paper Address?
The vast majority of OSS projects ultimately fail, leaving behind abandoned codebases and wasted effort. While many factors contribute to OSS success, understanding why some nascent projects thrive while others falter is crucial for fostering a healthier OSS ecosystem. The Apache Software Foundation Incubator (ASFI) provides a structured environment for promising projects to mature, but even within this supportive framework, many projects are retired. This paper aims to identify the key socio-technical drivers of sustainability within ASFI projects and develop a predictive model that can forecast a project's likelihood of graduation, enabling early intervention.
Methods
The researchers employ a mixed-methods approach, combining quantitative analysis of project data with qualitative case studies. Their core methodology involves building socio-technical networks from project commit and email data. They then use a Long Short-Term Memory (LSTM) neural network, a type of recurrent neural network well-suited for sequential data, to forecast project sustainability. To make these "black-box" predictions interpretable, they leverage the Local Interpretable Model-agnostic Explanations (LIME) technique. LIME helps identify which socio-technical features are most influential in the LSTM's predictions, both at the project-specific level and across all projects.
Datasets
The study utilizes a novel longitudinal dataset of 263 ASFI projects, spanning from 2003 to 2019. This dataset includes historical trace data of commits, emails, incubation length, sponsor information, and crucially, the final incubation outcome (graduated or retired). The data was collected from ASF mailing list archives and SVN commit logs.
Key Insights and Ideas
- Socio-technical factors are paramount: The study strongly suggests that a project's social dynamics and technical interactions are more critical for sustainability than raw code output alone.
- "Community over code" in practice: The findings align with the ASF's philosophy, highlighting the importance of communication and community engagement for project survival.
- Predictability is achievable: It's possible to forecast a project's sustainability trajectory with high accuracy using historical socio-technical data, even early in its lifecycle.
- Intervention is possible: The interpretable models provide actionable insights, allowing projects to identify potential issues and take corrective measures before it's too late.
- Not all projects are the same: The influence of certain socio-technical factors can vary significantly between projects, underscoring the need for context-aware analysis.
Key Results
- High predictive accuracy: The LSTM model achieves over 93% accuracy in predicting project graduation within 8 months of incubation.
- Key sustainability determinants: The study identifies several key socio-technical features that influence sustainability. For instance, projects with fewer but more focused committers and a larger, more distributed group of communicators tend to be more successful.
- Interpretable insights: LIME analysis reveals that features like technical network clustering coefficient (c_c_coef) can be negatively associated with graduation, potentially indicating issues with work distribution or project conception. Conversely, the fraction of commits and emails by the top 10% of contributors (top_c_fract, top_e_fract) are positively associated with graduation.
- Actionable strategy: The authors propose a strategy for real-time monitoring of project sustainability forecasts. If a significant downturn is detected (e.g., a drop of >5% in forecast), the system can suggest specific actions based on the interpretable model's feature coefficients.
Limitations and Future Work
The authors acknowledge that their dataset, while substantial, is limited to ASF incubator projects. Generalizing these findings to other OSS projects or incubators might carry risks. They also note that their analysis primarily focuses on communications within ASF mailing lists, and other communication channels are not considered. Future work could involve expanding the dataset to include projects from other incubators and exploring more sophisticated methods for intervention and validation. The interpretability of deep learning models, even with LIME, is still an area of active research, and the authors acknowledge that LIME models are approximations.
Summary updated