Story Points Estimation
Story Points are an estimation tool used by many IT-development teams. Story Points are often recommended in Agile Project Management frameworks and methods such as Scrum, Agile-Kanban or Extreme Programming (XP). The Story Point estimation tool separates itself from conventional tools by being an arbitrary unit of measure that estimates required effort instead of the more tangible and well-known hours. Proponents of the tool argues that Story Points encompass a range of dimensions including, complexity, uncertainty and risks involved in the task. It remains, however, a controversial tool, often because the concept is not well understood, its benefits are abstract and effective use requires prerequisite work as well as medium or long project run-times.
One clear benefit of using Story Points is that it enables the project team to measure the velocity of the team: An hour is always an hour, and in a perfect world the burndown-chart burns with exactly the amount of work-hours you assign to your tasks. This is, of course, almost never the case. Project teams works more efficiently in some periods than other. Overhead also varies through the different phases of the project. By assigning Story Points based on effort to tasks you create an effective tool to measure the current speed of the team. An added benefit is that the perceivable metric often creates a common goal to increase the pace within the project team.
Contents |
History
Although there is no definite data available of when the Story Point practice was birthedTemplate:Citation needed, there exist strong indications that some of the core thoughts behind the tool originate from the Delphi Method[1] developed by the RAND Corp. at the beginning of the Cold War in the 1940's. Later, the Wide-band Delphi Method from the 1970's facilitated increased communication over the Delphi Method. Some of the practices stemming from the Wide-band and Delphi methods have later implemented themselves as common practices in "Agile Methodology", introduced by software engineers in the late 80's and early 90's[2]. In 2001 we especially see thoughts from the Wide-band Delphi Method cemented in the prominent "Agile Manifesto",[3] developed by 17 distinguished software developers to serve as a guideline for Agile Project Teams:
"Business people and developers must work together daily throughout the project."
Scrum, being one of the most widely used Agile frameworks[4], prescribes both time-boxed iterations as well as velocity estimations[5]. And although the Story Points estimation tool is not prescribed in Scrum, the fact that Story Points satisfies both of the prescribed guidelines while also keeping in line with the overall Agile perspective, has made Story Point estimation a widely used although somewhat controversial tool in the recent years.
Application and Use
A Story Point is an arbitrary unit of measure, and so, the precise method of application is not well defined, and may vary greatly between different projects and teams. It is, however, very important that a shared understanding and application of method exists within any team estimating using Story Points.
The template method below provides an example application of the Story Point estimation tool. It is in no way prescribed, and any truly Agile team should aim to develop their own approach:
- Step 1: Identify base stories.
Most Agile software development teams will have either general or technical User Stories made available to them at the beginning of the project. From the backlog of stories identify one or more base-stories to serve as reference to estimate the relative size of the backlog.
- Step 2: Make individual "bids" on stories.
Have each team member (including testers, front- and back-end developers, project owners etc.) write down a reasonable "bid" for the story and keep it secret for now. This could for instance be done using the Fibonacci sequence: 1, 2, 3, 5, 8, 13, 21...[6] The bid should represent each member's personal estimation of the effort required to complete the given story. Make sure to underline the importance of not only taking into account the number of hours they believe the task will take to complete, but consider the task's complexity, risks, size and so on.
- Step 3: Have each team member explain the reason for their bid.
Taking turns, have each team member reveal and then explain his reasons for the bid. Afterwards, discuss in the group the required effort to complete the task and reach a consensus before moving on. Especially pay attention to the outliers and never just average the bids. An example of why this is important has been outlined below: In an Agile team estimating using Story Points, a back-end developer with a lot specialized knowledge has made a bid on a User Story he is very likely to develop some time in the future. Using his considerable knowledge about this kind of story he has decided to make a bid of 13 Story Points. Meanwhile the project owner, who was in charge of writing this particular User Story has failed to see the technical difficulties in implementing this (he thinks) rather simple story. Therefore, he has made a bid of just 3 Story Points. After some discussion between the developer and the project owner it becomes apparent that what the project owner actually wanted delivered was far less extensive than what the back-end developer had read from the User Story. Following, the User Story was quickly rewritten, another round of estimations took place and the team reached a consensus of 5 Story Points for the Story.
- Step 4: Reach consensus for assigned Story Points.
Through group discussion the team should reach a consensus value for each story. This particular endeavor gets easier as the project progresses; this is because the amount of reference stories will grow, making relative estimation faster and less demanding. With enough reference (base) stories the project team will simply have to reach a consensus if the new story requires more, less than or the same amount of effort than a couple of the base stories.
- Step 5: Break down stories.
Once in a while, the team will reach the conclusion that a story requires an extraordinarily large amount of effort to implement i.e. 13, 21, 34... Story Points. This is a good indication that the story can be broken down into two or more smaller stories. As an example a story of 21 Story Points could probably be broken down into 2 stories of 13 and 8 story points, or maybe even 3 stories of 8, 8 and 5 Story Points. The reason an Agile team should always stride towards breaking down large tasks is because the individual, smaller tasks become more manageable while it also facilitates easier Sprint-Planning, reduces the risk of over commitment as well as diminishes some estimation uncertainty.
- Step 6: (During development).
For each story in the backlog, make a rough estimation using the base stories as reference. This will give the team a relative size of the backlog and a gauge of the required effort to implementing the entire project. Before committing a story to a sprint go through step 2-5 to ensure the team is continually working on the same page.
Cost/Benefit
Historically speaking, IT projects have failed at a comparative rate much higher than ordinary projects[7] and estimation accuracy seem to be a core factor, where studies show more than 68 % of projects fail to meet original estimates. It is therefore paramount, that any estimation tool's merits and drawbacks are thoroughly understood before use.
Consider all of the costs and benefits below before deciding if Story Points would be suitable for your team:
Costs
- Story Points take a lot of time in the beginning.
Although estimating is fast once the base stories have all been estimated and completed you might only really benefit from easy and fast estimation after a couple of sprints/development iterations.
- Story Points are tough to understand.
Story Points are not hours, neither are they an estimate of complexity or how many people should be involved in the completion of a task. Rather, Story Points symbolize the required effort for the completion of a task. People who have successfully estimated using hours might have difficulties adapting to using the somewhat more vague Story Points as a estimation and progress-tracking metric.
- Management often care about hours.
Many aspects of a business depends heavily on estimated hours; a work day is measured in hours, consultants gets paid by the hour and a lot of KPI's are often related to hours as well. Realise that management often cares more about when the product will be delivered rather than how many hours still needs to be completed - if leveraged correctly this point of view may be turned into a benefit.
Benefits
- People are inherently bad at estimating time, but good at relative approximation.
Estimating using Story Points versus estimating using hours might improve estimation accuracy noticeably as depicted in the figures on the right-hand side. Although estimation inaccuracy might be equal for both methods at first, the iterative and reflective nature of Story Point estimation in an agile team, eliminates more estimation inaccuracy faster.
- Story Points makes tracking velocity easy.
Because tracking velocity is prescribed in some Agile frameworks the tool is an obvious choice when using one of such frameworks.
Alternatives
There are a number of ways to estimating and measuring size of software projects alternative to using Story Points. Among these alternative ways are measuring Lines of Code (LOC), Thousand Lines of Code (KLOC) or Ideal Days.[8] Another obvious alternative is simply to estimate using Hours.
Using LOC or KLOC simply estimates the size of the project in regards to the lines that needs to be coded. These methods don't take into account the complexity of the tasks, but have shown to be decent indications of required effort.[9] While these two tools are fairly easy to use, the number of Lines Coded has almost no correlation with program functionality or quality, which often results in the tools being seen as a less desirable practice. LOC is an intuitive tool that is easy to use and most can relate to. However, unlike Story Points, only developers take part in estimating LOC. While this reduces overhead considerably, at the same time it provides some inherent project uncertainty.
With Ideal Days you apply an absolute measure of required effort to implementing tasks. The main idea is you provide an estimate for the number of unobstructed development days or hours needed for completing a task. While this is also very easy and intuitive to use, it can be implemented with almost the same benefits as estimating with story points can. This is because the metrics can often be used interchangeably:
Imagine a team estimating using Ideal Days having a backlog of tasks requiring 0.5 day, 1 day, 2 days etc. Now, convert each of these estimations into Story Points using a 1:1 scale: 0.5 Ideal Days = 0.5 Story Points, 1 Ideal Day = 1 Story Point and so on... Although it doesn't necessarily fit with the Fibonacci sequence the team will still be able to commit a certain number of point to each sprint, measure velocity, get an idea of current overhead etc. just like when using the Story Point estimation tool.
Estimating using Hours is probably the most common practice in the industry...
Measuring velocity: How much the team can do in one iteration (sprint)
....
Consider using Story Points just for estimating the product-backlog, while using hours to estimate each sprint.
References
- ↑ Downey, Scott. Understanding Story Points
- ↑ Agile Software Development, Wikipedia
- ↑ Sutherland, Jeff. et al. Agile Manifesto Principles
- ↑ Williams, Laurie. "Scrum Practices: Experiences of Three Microsoft Teams"
- ↑ Henrik Kniberg and Mattias Skarin (2010), Kanban and Scrum - Making the most of Both, p. 13 and p. 30, C4Media Inc., USA. ISBN 9780557138326
- ↑ James, Michael Common Effort Estimation Metrics, www.scrummethodology.com
- ↑ Sutherland, Jeff. (2011) Scrum Points: Why Story Points Are Better Than Hours
- ↑ Georgsson, Anna (2011) A Case Study at Swedbank IT, p. 15, Master Thesis, Umeå University
- ↑ Source Lines of Code, Wikipedia