introduction to estimation and planning in agile

27
Plans are nothing; planning is everything. Dwight D. Eisenhower

Upload: natasha-hill

Post on 15-Feb-2017

368 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Introduction to Estimation and Planning in Agile

Plans are nothing; planning is everything.

Dwight D. Eisenhower

Page 2: Introduction to Estimation and Planning in Agile

Introduction to Estimating and Planning in Agile

Natasha Hill & Amaad Qureshi

Page 3: Introduction to Estimation and Planning in Agile

About us

Natasha Hill• Scrum Master• Agile Coach• Agile Enthusiast• Organiser – Psychology of Agile

Scrum Meet-up Group

Amaad Qureshi• Business Development Manager• Certified ScrumMaster• Certified Scrum Product Owner• Organiser – Agile Connexions

Meet-up Group• Co-organiser – Agile 101,

AppsJuction Meet-up Groups

Page 4: Introduction to Estimation and Planning in Agile

Agenda

• Planning in Agile• Story points vs ideal days• Estimating techniques• Velocity

Page 5: Introduction to Estimation and Planning in Agile

What is Estimation in Agile?

Estimation in Agile is a method of measuring how long it will take to complete a user story or a task.

Page 6: Introduction to Estimation and Planning in Agile

What is a Story Point?

Story point is a relative measure of effort.

Page 7: Introduction to Estimation and Planning in Agile

How tall are these buildings?

Great Pyramid CN Tower The Shard

Giza Paris Toronto Kuala Lumpur London Dubai

139.5m 324m 828m

553m 452m

Eiffel Tower Petronas Towers Burj Khalifa

How tall are these buildings?Relative vs absolute estimating

2

309m

Page 8: Introduction to Estimation and Planning in Agile

Story Points

• Most popular in Agile• Relative measures of effort• Usually assigned using:

Fibonacci ( 0, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...) Modified Fibonacci ( 0, ½, 1, 2, 3, 5, 8, 13, 20, 40, 100, ...) Powers of 2 ( 0, 1, 2, 4, 8, 16, 32, 64, ...)

• Basic math properties apply5+5=10=5+3+2

Page 9: Introduction to Estimation and Planning in Agile

How long?

Page 11: Introduction to Estimation and Planning in Agile

We recommend estimating

Tasks

TasksTasks

Tasks

Tasks

Tasks

Tasks

TasksTasks

Tasks

Tasks

Tasks

Tasks

TasksTasks

Tasks

Tasks

Tasks

In T-shirt sizes In Story Points In Hours

Less detail More detail

Page 12: Introduction to Estimation and Planning in Agile

Product Backlog

Less detail

More detail

Rowan Bunning @2013

Page 13: Introduction to Estimation and Planning in Agile

How do we estimate?Planning Poker®- an iterative approach to estimatingSteps:• Each estimator has a deck of cards with estimates on them• A story is read and discussed briefly• Each estimator selects a card that’s his or her estimate• Cards are turned over so all can see them• Discuss differences• Re-estimate if necessary• Each card deck has: too large, break and ‘?’

Page 14: Introduction to Estimation and Planning in Agile

Example

?

Page 15: Introduction to Estimation and Planning in Agile

Planning poker®

Page 16: Introduction to Estimation and Planning in Agile

Challenge: estimate the size of the animals in a zoo in story points

• Lion• Kangaroo• Rhinoceros• Bear• Giraffe• Gorilla• Hippopotamus• Tiger

Page 17: Introduction to Estimation and Planning in Agile

Other estimation techniques• Gut feeling

• Triangulation

• Relative estimation

• Disaggregation

• Three, two, one...

42

Large = 31

2 31

2 = 12

2

Page 18: Introduction to Estimation and Planning in Agile

When do we estimate?

Release planning

Iterationor sprint

Daily Planning

Refinement

Iteration Planning

Page 19: Introduction to Estimation and Planning in Agile

Velocity• Units of work per iteration

• Can be planned and observed

• Takes a few iterations to stabilise

• Should not be used to measure progress or to compare teams

Iteration

1

1 3

1

3

1

2

Iterations

Velocity is measured in the units you use to estimate your user stories

Page 20: Introduction to Estimation and Planning in Agile

Iteration planning

or iteration

Page 21: Introduction to Estimation and Planning in Agile

Challenge: plan each iteration

1. Lion 202. Kangaroo 133. Rhinoceros 304. Koala Bear 55. Giraffe 406. Gorilla 207. Hippopotamus 308. Tiger 20

Iteration 1 Iteration 2 Iteration 3

Iteration 4 Iteration 5 Iteration 6

4 zoo cleaners can do50 story points per iteration

Priority Story points

Page 22: Introduction to Estimation and Planning in Agile

Capacity

Capacity = Number of people in the project x hours on the projecti.e. take away:

holidays, meetings,client’s issues,etc.

Page 23: Introduction to Estimation and Planning in Agile

Iteration planning• Whole team• Look at historic velocity• Calculate capacity • Pick story by story, discuss• Commit to the right amount of work

Iteration Units of work

1 13

2 15

3 14

4 16

5 0

6 30

7 16

8 15

9 6

10 25

1 2 3 4 5 6 7 8 9 100

5

10

15

20

25

30

35

1 2 3 4 5 6 7 8 9 1005

101520253035

The more you estimate, the more accurate you will get!

velo

city

velo

city

iterations

iterations

Page 24: Introduction to Estimation and Planning in Agile

Retrospective

Page 25: Introduction to Estimation and Planning in Agile

Free Resources• Trello.com – Free organizing tool, great for backlogs and story boards

• Planning Poker.com• Pointingpoker.com• Mountaingoatsoftware.com• Romanpichler.com

Page 26: Introduction to Estimation and Planning in Agile

Credits

• Images: © Mike Cohn, 2015• Mountaingoatsoftware.com• Book:

Page 27: Introduction to Estimation and Planning in Agile

QA

[email protected]@learningconnexions.com