Exploring Agile Estimating and Planning

55
Exploring Agile Estimating & Planning @NickOostvoge ls

Transcript of Exploring Agile Estimating and Planning

Page 1: Exploring Agile Estimating and Planning

Exploring Agile

Estimating &

Planning

@NickOostvoge

ls

Page 2: Exploring Agile Estimating and Planning

WHY

estimating

& planning?

http://www.flickr.com/photos/jakecaptive/3205277810/

Page 3: Exploring Agile Estimating and Planning

It’s HARD !

http://www.flickr.com/photos/jypsygen/3732589905/

Page 4: Exploring Agile Estimating and Planning

Why do we keep playing

this game?

http://www.flickr.com/photos/12203106@N05/1259607301/

Page 5: Exploring Agile Estimating and Planning

The 5 wivesBecause my manager keeps

asking for them!

Because he needs to give

estimates

to his bossBecause the management team

needs to update the release

planningBecause our customers want to

know when they get their

new features

Because they are relying on our

solution for their own

business

1. WHY?

2. WHY?

3. WHY?

4. WHY?

5. WHY?

http://www.flickr.com/photos/jypsygen/3732589905/

Page 6: Exploring Agile Estimating and Planning

Giving accurate estimates

is commercially interesting

and brings value to our

customers!

Page 7: Exploring Agile Estimating and Planning

Other

reasons

To keep the pressure

on

http://www.flickr.com/photos/wwarby/3016549999/

Page 8: Exploring Agile Estimating and Planning

Other

reasons

For political

reasons

http://www.flickr.com/photos/polandmfa/5537238802/

Page 9: Exploring Agile Estimating and Planning

One month ago in

Poland

NO Belgian government for 291 days!

Page 10: Exploring Agile Estimating and Planning

Now

NO Belgian government for 422 days!

Page 11: Exploring Agile Estimating and Planning

Other reasons

Not having to work

together

http://www.flickr.com/photos/nanophoto69/5294068212/

Page 12: Exploring Agile Estimating and Planning

Other reasons

Yearly budgetting

http://www.flickr.com/photos/bcgovphotos/5449582500/

Page 13: Exploring Agile Estimating and Planning

Other reasons

Cost optimizing

Page 14: Exploring Agile Estimating and Planning

Other reasons

Personne

l

planning

http://www.flickr.com/photos/sponng/32380259/

Page 15: Exploring Agile Estimating and Planning

These are all REASONS

that can be dealt with

in another way!

Page 16: Exploring Agile Estimating and Planning

but still...

Number 1 reason:

Customers!

Page 17: Exploring Agile Estimating and Planning

HOW

Estimating

& Planning?

http://www.flickr.com/photos/jakecaptive/3205277810/

Page 18: Exploring Agile Estimating and Planning

3 types of

estimating1. Guessing

http://www.flickr.com/photos/photojonny/2268845904/

Page 19: Exploring Agile Estimating and Planning

3 types of

estimating

2. Counting

http://www.flickr.com/photos/ruiguerra/215254507/

Page 20: Exploring Agile Estimating and Planning

3 types of

estimating

3. Measuring

http://www.flickr.com/photos/luis_is_rubbish_at_photography/5357065651/

Page 21: Exploring Agile Estimating and Planning

Conclusion

Count or measure if you can, only use guessing or judgement as your last option.

Page 22: Exploring Agile Estimating and Planning

Especially

when estimating

duration of tasks!

Page 23: Exploring Agile Estimating and Planning

We ALL tend to be too OPTIMISTIC

Developers: • 20% - 30% too optimistic²

Managers : • We’ll be more productive

• Won’t make the same mistakes

• Catch up with extra effort

Page 24: Exploring Agile Estimating and Planning

Guessing in ranges

When you can’t count or

measure

Task 1

Task 2

1 2 3 4 5

1 2 3 4 5

Page 25: Exploring Agile Estimating and Planning

Guessing in ranges

Reveals information:

• How clear is the tasks

• A best and worst case scenario

Page 26: Exploring Agile Estimating and Planning

Counting

What can you count?

Page 27: Exploring Agile Estimating and Planning

Nr of

interfacesLines of code

Nr of

rulesNr of

roles

Function

points

Web pagesDatabase

tables

Page 28: Exploring Agile Estimating and Planning

Planning by

counting1. Find something to count

closely related to size of

the software

2. Find something that’s

available now

3. Must be statistically

meaningful

4. Convert count to estimate

Page 29: Exploring Agile Estimating and Planning

Measuring

Page 30: Exploring Agile Estimating and Planning

http://www.flickr.com/photos/jakecaptive/3205277810/

WHY

does Agile need

a different

type of

planning?

Page 31: Exploring Agile Estimating and Planning

Responding to

change

http://www.flickr.com/photos/driotinto/2878033778/

Page 32: Exploring Agile Estimating and Planning

Customer

collaborationWhat’s the point in getting

feedback if you can’t do

anything with it?

Page 33: Exploring Agile Estimating and Planning

Quest for value

What

should

we build?

Page 34: Exploring Agile Estimating and Planning

Planning never ends

http://www.flickr.com/photos/michpics17/3476946665/

Page 35: Exploring Agile Estimating and Planning

Comparison

Up-front

planning

• At the start

• Stick to the

plan

• Changes

Agile planning

• Ongoing

• Re-plan

• Changes

weighed

Page 36: Exploring Agile Estimating and Planning

We need to plan FAST,

with good ACCURACY

and LITTLE DETAILED

information

• Ongoing

• Re-planning

• Changes

weighed

Page 37: Exploring Agile Estimating and Planning

HOW can we

plan ‘Agile’?• Plan and re-

plan• The right thing at the right

time• With minimal

effort• With good

accuracy• And little detailed

information• Creating a shared framework of

understandinghttp://www.flickr.com/photos/jakecaptive/3205277810/

Page 38: Exploring Agile Estimating and Planning

Guessing?

NOT Accurate

Too little requirements

are detailed

(only next sprint)

Page 39: Exploring Agile Estimating and Planning

Counting &

Measuring?YES !

FAST

ACCURATE

Don’t need all

details

Page 40: Exploring Agile Estimating and Planning

Agile counting &

measuring

COUNT pieces of functionality

(ex. user stories)

MEASURE team velocity or

feature cycle time

Page 41: Exploring Agile Estimating and Planning

Issue : size & complexity

vary

Solution : use a

scale

Story points

T-shirt sizes

Fruit, ...http://www.flickr.com/photos/jaydedman/2593673396/

Page 42: Exploring Agile Estimating and Planning

Issue : size & complexity

vary

Solution : SPLIT them to

approx. the same size and

benefit from the statistical

average

http://www.flickr.com/photos/jaydedman/2593673396/

Page 43: Exploring Agile Estimating and Planning

Issue : size & complexity

vary

Solution : SPLIT them to

approx. the same size and

benefit from the statistical

average

http://www.flickr.com/photos/jaydedman/2593673396/

Page 44: Exploring Agile Estimating and Planning

Issue : lot’s of

discussions

Solution : Poker

planning

http://www.flickr.com/photos/smannion/3385144016/

Page 45: Exploring Agile Estimating and Planning

Solution : Good

Facilitation

http://www.flickr.com/photos/smannion/3385144016/

Issue : lot’s of

discussions

Page 46: Exploring Agile Estimating and Planning

Issue : we never deliver

what we estimated

• Dedicated team! (or time)

• Compute velocity according to

capacity

• Strive for Zero defects

• Increase input quality (story

preparation)

Solution : Reduce variation

between input & output

Page 47: Exploring Agile Estimating and Planning

Agile Release

PlanningHow the h*ll ?

can you make a release plan

without detailed up-front

analysis?

http://www.flickr.com/photos/tripphotogallery/4059486159/

Page 48: Exploring Agile Estimating and Planning

Count & Measure

Relative estimates or dividing

into equal parts

TIP: Silent Grouping

Image by Ken Power

Page 49: Exploring Agile Estimating and Planning

Count & Measure

Use historical data

to

project into the

future

http://www.flickr.com/photos/hdrphotographyblog/4498443106/

Page 50: Exploring Agile Estimating and Planning

Count & Measure

• Low

• Medium

• High

Estimate in rangesScope

Time

Page 51: Exploring Agile Estimating and Planning

Re-plan

Measure

velocity

Adjust release

plan

Scope

Time

Page 52: Exploring Agile Estimating and Planning

Agile release

planning

‚What is most imporant?

• Delivering the FULL SCOPE

OR

• Delivering a useful product at a FIXED DATE

But answer this question first:

Page 53: Exploring Agile Estimating and Planning

Count & Measure

• Business value

• Story mapping

• Dimensional planning

• Kano

• Bang for the buck

Prioritize

Page 54: Exploring Agile Estimating and Planning

Because it’s part of history

and did not know about the

present!²

A plan loses its value right

after it is created

The only way

it makes sense to use a plan,

is when you continuously re-

plan!

Page 55: Exploring Agile Estimating and Planning

Thanks!

@NickOostvogels

noostvog.wordpress.com

Resources