Forecasting software development costs in scrum iterations using ordinary least squares method

Authors

DOI:

https://doi.org/10.15587/2706-5448.2024.310411

Keywords:

cost forecasting, scrum, machine learning, least squares method, iterations, software development

Abstract

During scrum iterations, it is possible to apply cost forecasting for software testing and operation, if the data from previous iterations are known. Since the data for estimating the scope of work and the deadline within one sprint are accumulated during the project execution, it is possible to use such data to build a forecasting algorithm for the estimated parameters of the subsequent sprints.

The approach is based on refining the assessment provided by the development team and the scrum master in a specific metric. The main parameters for evaluation are the execution time and the amount of work performed. As a result of forecasting, it is possible to obtain clarifications for the team's assessment regarding the scope of work for the next sprint. This estimate is based on planned and actual data from the previous sprints.

The article discusses the method of least squares and the proposed code for a machine learning model based on this method. An example and graphs for iterations in scrum and corresponding forecasting for the next sprints are presented.

The use of the least squares method allows creating a mathematical model that can be adapted to different project conditions, providing flexibility and accuracy in forecasting. For example, the study uses the real data from the previous sprints, which includes the team's resource assessment and actual expenditures. Based on these data, a model was built that demonstrates a high correlation between predicted and actual costs, confirming the effectiveness of using the least squares method.

So, the least squares method is an effective tool for forecasting software development costs in scrum iterations. This method allows development teams to better plan their resources and timelines, contributing to the overall efficiency of the project.

Author Biographies

Kostyantyn Kharchenko, National Technical University of Ukraine «Igor Sikorsky Kyiv Polytechnic Institute»

PhD, Associate Professor

Department of System Design

Oleksandr Beznosyk, National Technical University of Ukraine «Igor Sikorsky Kyiv Polytechnic Institute»

PhD, Associate Professor

Department of System Design

Bogdan Bulakh, National Technical University of Ukraine «Igor Sikorsky Kyiv Polytechnic Institute»

PhD, Associate Professor

Department of System Design

Bogdan Kyriusha, National Technical University of Ukraine «Igor Sikorsky Kyiv Polytechnic Institute»

PhD, Associate Professor

Department of System Design

Vadym Yaremenko, National Technical University of Ukraine «Igor Sikorsky Kyiv Polytechnic Institute»

Assistant

Department of System Design

References

  1. Kharchenko, K., Beznosyk, O., Bulakh, B., Ishchenko, G., Yaremenko, V. (2023). The development of the method of optimizing costs for software testing in the Agile model. Technology Audit and Production Reserves, 6 (2 (74)), 10–14. https://doi.org/10.15587/2706-5448.2023.293067
  2. Sutherland, J., Schwaber, K. (2017). The Scrum Guide: The Definitive Guide to Scrum: The Rules of the Game. Available at: https://scrumguides.org/docs/scrumguide/v2017/2017-Scrum-Guide-US.pdf Last accessed: 05.06.2024
  3. Statistical models, hypothesis tests, and data exploration. Version 0.14.0. Available at: https://www.statsmodels.org/stable/ Last accessed: 01.06.2024
  4. Statsmodels. Ordinary Least Squares. Version 0.14.0. Available at: https://www.statsmodels.org/stable/generated/statsmodels.regression.linear_model.OLS.html Last accessed: 03.06.2024
  5. Ramessur, M. A., Nagowah, S. D. (2021). A predictive model to estimate effort in a sprint using machine learning techniques. International Journal of Information Technology, 13 (3), 1101–1110. https://doi.org/10.1007/s41870-021-00669-z
  6. Alshammari, F. H. (2022). Cost estimate in scrum project with the decision-based effort estimation technique. Soft Computing, 26 (20), 10993–11005. https://doi.org/10.1007/s00500-022-07352-w
  7. Coleman, J. (2022). Talking about Sizing and Forecasting in Scrum. Available at: https://www.infoq.com/articles/sizing-forecasting-scrum/ Last accessed: 05.06.2024
  8. Mallon, S. (2020). AI Advances Facilitate SCRUM Teams For Agile Development. Available at: https://www.smartdatacollective.com/ai-advances-facilitate-scrum-team-construction-for-agile-development/ Last accessed: 07.06.2024
  9. Omeyer, A. (2023). 4 ways Scrum Masters can Leverage AI today + tool recommendations. Available at: https://www.stepsize.com/blog/ways-scrum-masters-can-leverage-ai-today Last accessed: 10.06.2024
  10. Leveraging the Power of Artificial Intelligence in Agile Development (2023). Available at: https://www.cognixia.com/blog/leveraging-the-power-of-artificial-intelligence-in-agile-development/ Last accessed: 07.06.2024
Forecasting software development costs in scrum iterations using ordinary least squares method

Downloads

Published

2024-08-26

How to Cite

Kharchenko, K., Beznosyk, O., Bulakh, B., Kyriusha, B., & Yaremenko, V. (2024). Forecasting software development costs in scrum iterations using ordinary least squares method. Technology Audit and Production Reserves, 4(2(78), 30–33. https://doi.org/10.15587/2706-5448.2024.310411

Issue

Section

Information Technologies