Anticipating Future Build Results with BuildPredictor
Christian Macho, Katharina Stengg
Key points
From the paper's conclusion- We also found that the most important features of our model concern the historical build result information.
Abstract
Continuous Integration (CI) is a popular programming practice for the seamless integration of code changes into the code base. Using CI, developers benefit from automated assembling and testing of the code after each commit. However, while the frequent integration and building supports developers, it also comes at the high costs of wasting time and resources for minimal changes. In this work, we investigate the potential of reducing the drawbacks by anticipating the build outcome using machine learning techniques. In particular, we propose a random forest model with various features such as changes to the source and build code, and changes to the complexity of the code. We observe that our model shows a good performance in an intra-project and holistic setting yielding a median MCC of 0.82 and 0.86, respectively. We also found that the most important features of our model concern the historical build result information. Additionally, we investigated the development of the performance of our model over time and found that our model can quickly arrive at its peak performance. In an additional experiment, we removed the hard-to-interpret historical build information features and found that our model still yields decent performance while improving the interpretability of it. Summarizing, our model can help to avoid unnecessary build runs by anticipating the build result and thus, save resources.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Characterizing and Predicting the Longest CI Builds in Machine Learning ProjectsarXiv · 2026
- Predictive Test Optimization Without Historical Failure DataarXiv · 2026
- Cross‐Repository Software Defect Prediction: A Leave‐One‐Repository‐Out Empirical Study Across Five Mature Open‐Source ProjectsJournal of Software: Evolution and Process · 2026
- KG-AST for Cheaper CI/CD: Budgeted Test Selection and AI Bug ReviewarXiv · 2026
- AdapBench: Adaptive Early-Stopping and Prioritization for Efficient Microbenchmarking in Cloud-based CI/CDarXiv · 2026
- Explainable AI for Early Sprint Delivery Risk Prediction Across Agile Software ProjectsAlgorithms · 2026