Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Software Estimation: Take A Wild Guess, But Mak...

Software Estimation: Take A Wild Guess, But Make It Official

Avatar for inesp

inesp

June 23, 2025
Tweet

More Decks by inesp

Other Decks in Programming

Transcript

  1. TAKE A WILD GUESS AND RUN WITH IT Ines Panker

    | June 2025 SOFTWARE ESTIMATION:
  2. You will never be able to accurately estimate the time

    and effort it will take to build a piece of software ... for as long as you keep building new things.
  3. As you do the same thing again and again, you

    get better and faster at it. But then the world changes and that makes you slow again.
  4. Why are people even asking this question: “How long will

    it take to create this piece of software”? “What can you build for this much money”?
  5. We don’t know how long this will take. But here

    is a list of things we will gain and here is a list of risks we will take.
  6. There is no point in giving estimations that you can’t

    stick to with a reasonable error margin.
  7. It has been known since the 70s that developers tend

    to give very optimistic estimations.
  8. “We investigated more than 100 projects from 6 development organizations

    and found that about 30% of the projects had applied effort prediction intervals on the activity level. However, only 3 of these projects had logged the actual effort applying the same work break-down structure as used when estimating the effort. In fact, even these three projects had to split and combine some of the logged effort data to enable an analysis of the accuracy of the effort of PIs. (tn: PI = prediction interval, a minimum - maximum effort).” M. Jørgensen, K. Teigen, K. J. Moløkken-Østvold Better Sure Than Safe? Overconfidence in Judgment Based Software Development Effort Prediction Intervals
  9. average % of 2400h Developers 660h 28% Project Managers 960h

    40% Designers 1260h 53% Engagement Managers 1550h 65% M. Jørgensen, K. Teigen, K. J. Moløkken-Østvold Better Sure Than Safe? Overconfidence in Judgment Based Software Development Effort Prediction Intervals
  10. “As a result, technical background did not lead to better

    effort PIs, only to more confidence in the estimates. This is in line with the distinction between an “inside” versus an “outside” view in predictions (Kahneman and Lovallo 1993).” M. Jørgensen, K. Teigen, K. J. Moløkken-Østvold Better Sure Than Safe? Overconfidence in Judgment Based Software Development Effort Prediction Intervals
  11. “An inside view forecast is generated by focusing on the

    case at hand, by considering the plan and the obstacles to its completion, by constructing scenarios of future progress, and by extrapolating current trends. The outside view is the one that the curriculum expert was encouraged to adopt. It essentially ignores the details of the case at hand, and involves no attempt at detailed forecasting of the future history of the project. Instead, it focuses on the statistics of a class of cases chosen to be similar in relevant respects to the present one.” Kahneman and Lovallo Timid Choices and Bold Forecasts: A Cognitive Perspective on Risk Taking
  12. Developers admitted that they believe their managers will see them

    as less competent if they provide estimates with huge margins. Dev 2 Dev 1 Better to be precise than accurate
  13. MATH neural networks case-based reasoning fuzzy logic modeling simulation based

    probability regression- based approaches classification and regression trees Bayesian statistics lexical analyses of requirement specifications
  14. “The proportion of estimation studies where estimation methods are studied

    or evaluated in real-life situations is low. We could not, for example, find a single study on how software companies actually use formal estimation models. Our knowledge of the performance of formal estimation models is, therefore, limited to laboratory settings” M.Jørgensen and M.J.Shepperd A Systematic Review of Software Development Cost Estimation Studies
  15. “Today, almost no model can estimate the cost of software

    with a high degree of accuracy. ... To improve the algorithmic models, there is a great need for the industry to collect project data on a wider scale.” Hareton Leung Software Cost Estimation
  16. “For predictive measurement the model (tn: =metric) alone is not

    sufficient. Additionally, we need to define the procedures for a) determining model parameters and b) interpreting the results. The model, together with procedures (a) and (b), is called a prediction system. Using the same model will generally yield different results if we use different prediction procedures.“ N. Fenton Software Measurement: A Necessary Scientific Basis
  17. “.. size is defined as the number of delivered source

    statements (tn: LOC), which is an attribute of the final implemented system. Since the prediction system is used at the specification phase, we have to predict the product attribute size in order to plug it into the model. This means that we are replacing one difficult prediction problem (effort prediction) with another prediction problem which may be no easier (size prediction)” N. Fenton Software Measurement: A Necessary Scientific Basis
  18. “The important lesson to take from this paper is that

    no one method or model should be preferred over all others. The key to arriving at sound estimates is to use a variety of methods and tools and then investigating the reasons why the estimates provided by one might differ significantly from those provided by another.” B.Boehm and C. Abt Software Development Cost Estimation Approaches – A Survey
  19. Maybe it is time we stop estimating tasks left and

    right and instead start managing the project’s risk and customer’s expectations.