The Easy Way To Stop Estimating - Workshop

  • View
    4.163

  • Download
    4

  • Category

    Business

Preview:

DESCRIPTION

Workshop at XP2012, Malmö, Sweden

Citation preview

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

The easy way to stop estimating A guide to reduce waste by dropping the estimation process

Malmö, May 2012

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Ángel Medinilla!angel.medinilla@proyectalis.com

@angel_m

www.proyectalis.com/en/blog www.linkedin.com/in/angelm www.slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Risk Premium

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

World Agile Conference

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

World Agile Conference ?

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

My Pleasure!

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Disclaimer…

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

This is supposed to be a workshop!

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Estimation Game

  1 Number 3-6 = X   1 number 5-10 = Y

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Estimation Game

  1 Number 3-6 = X SPRINTS   1 number 5-10 = Y DAYS PER

SPRINT   You will throw one dice for every

day   You will add up all throws for a

sprint – that’s your Sprint velocity   You will build a table with all your

velocities   You will add up all velocities –

that’s your final scope delivery size

  GO!

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Now for some magic…

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Bell curve Throughput= X*Y*

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Bell curve Throughput= X*Y*

All 6 All 1

Avg. 5 Avg. 2

Avg. 3.5

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Bell curve

All 6 All 1

Avg. 5 Avg. 2

Avg. 3.5

Medinilla’s principle of project unfairness

3 Throughput= X*Y*

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Success Story: Swedish Company

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Exercise number 2: burning man project

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

?= 12.000 Scrum$ / sprint ~20 work units / sprint

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$)

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

20 18 100

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

20 18 102 100 -2

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 80

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 60

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 72 60 -12

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 72 60 -12

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 72 60 -12

Delay: 0 days V=24 S$=0

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 72 60 -12

Delay: 0 days V=24 S$=0

V=20 Delay=-12 (1/2 sp.)

S$=6.000S$

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 72 60 -12

Delay: 0 days V=24 S$=0

V=20 Delay=-12 (1/2 sp.)

S$=6.000S$

V=15 Delay=-27 (2 sp.)

S$=24.000S$

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 72 60 -12

Delay: 0 days V=24 S$=0

V=20 Delay=-12 (1/2 sp.)

S$=6.000S$

V=10 OMG!

V=15 Delay=-27 (2 sp.)

S$=24.000S$

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Delay: 0 days V=24 S$=0

V=20 Delay=-12 (1/2 sp.)

S$=6.000S$

V=10 OMG!

V=15 Delay=-27 (2 sp.)

S$=24.000S$

V=18 Delay=-18 (1 sp.)

S$=12.000S$

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Delay: 0 days V=24 S$=0

V=20 Delay=-12 (1/2 sp.)

S$=6.000S$

V=10 OMG!

V=15 Delay=-27 (2 sp.)

S$=24.000S$

V=18 Delay=-18 (1 sp.)

S$=12.000S$

We can: -  Drop scope (~18pt.)

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Delay: 0 days V=24 S$=0

V=20 Delay=-12 (1/2 sp.)

S$=6.000S$

V=10 OMG!

V=15 Delay=-27 (2 sp.)

S$=24.000S$

V=18 Delay=-18 (1 sp.)

S$=12.000S$

We can: -  Drop scope (~18pt.) -  Give more time (~1sp.)

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Delay: 0 days V=24 S$=0

V=20 Delay=-12 (1/2 sp.)

S$=6.000S$

V=10 OMG!

V=15 Delay=-27 (2 sp.)

S$=24.000S$

V=18 Delay=-18 (1 sp.)

S$=12.000S$

We can: -  Drop scope (~18pt.) -  Give more time (~1sp.) -  Add more resources (Brooks law!!)

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 72 60 -12

22 25 47 40 -7

?= 15.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

+3.000S$

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 72 60 -12

22 25 47 40 -7

25 28 19 20 +1

?= 15.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

+3.000S$

+3.000S$

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 72 60 -12

22 25 47 40 -7

25 28 19 20 +1

19 19 0 0 0

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

+3.000S$

+3.000S$

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 72 60 -12

22 25 47 40 -7

25 28 19 20 +1

19 19 0 0 0

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

+3.000S$

+3.000S$

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 72 60 -12

22 25 47 40 -7

25 28 19 20 +1

19 19 0 0 0

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

+3.000S$

+3.000S$

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Now for some magic…

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

20 18 102 100 -2

22 15 (-5) 92 80 -12

25 20 72 60 -12

22 25 47 40 -7

25 28 19 20 +1

19 19 0 0 0

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

????

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

200 18 102 100 -2

2,2 15 (-5) 92 80 -12

2500 20 72 60 -12

22M. 25 47 40 -7

0,25 28 19 20 +1

2¶/3 19 0 0 0

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

????

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Burning Man Project

Estimated Real Left Should be Deviation

200 18 102 100 -2

2,2 15 (-5) 92 80 -12

2500 20 72 60 -12

22M. 25 47 40 -7

0,25 28 19 20 +1

2¶/3 19 0 0 0

?= 12.000 Scrum$ / sprint ~20 work units / sprint

…..

120 work units (~72.000s$) Buffer size: 12 units(~7.200S$)

????

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Success Story: German Company

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Exercise number 3: The

Fake Burn-Down

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

The Fake Burn-Down   Your Team’s average velocity is 36   Start throwing dices. If you score 1-2-3, it’s a

SMALL story (3 points average). If you score 4-5, it’s a MEDIUM story (6 points average). If you score a 6, it’s a BIG story (12 points average). Write every story down.

  When you have more or less enough story points (as you would do in Scrum), commit to some stories and stop throwing.

  You’ll do a 12 day sprint (you expect an average of 3 points per day). Throw a dice to find out your velocity for every day.

  Build a Burn-down while you progress. Write down the results for every day.

  On day 12, no matter what happened, the Sprint is over

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Now for some magic…

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

12!

3!

6!

6!

6!

The Fake Burn-Down

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

6.6!

6.6!

6.6!

6.6!

6.6!

12!

3!

6!

6!

6!

The Fake Burn-Down

Σ=33 media de 6.6!

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

6!

7!

6!

7!

6!

12!

3!

6!

6!

6!

The Fake Burn-Down

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

7!

7!

7!

7!

7!

12!

3!

6!

6!

6!

The Fake Burn-Down

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

12!

3!

6!

6!

6!

The Fake Burn-Down It’s not over untill it’s over… But

when it’s over it’s over!

7!

7!

7!

7!

7!

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

12!

3!

6!

6!

6!

The Fake Burn-Down It’s not over untill it’s over… But

when it’s over it’s over!

7!

7!

7!

7!

7!

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Success Story: French Company

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Now some theory…

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Estimation is WASTE!

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Uncertainty

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Uncertainty

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Estimation is not THIS: Probability

Estimation Value

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Estimation is not even THIS: Probability

Estimation Value

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Estimation is THIS: Probability

Estimation Value

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Estimation is THIS: Probability

Estimation Value

Medinilla’s principle of project unfairness

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Accuracy vs. effort Accuracy

Estimation effort

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Accuracy vs. effort

Good enough!

50-70% accuracy

100% accuracy Accuracy

Estimation effort

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

The Random Walk

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Gedanken: the perfect P.O.

…..

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

…..

Gedanken: the perfect P.O.

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

…..

Gedanken: the perfect P.O.

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

…..

Gedanken: the perfect P.O.

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Histogram

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Histogram Average

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Histogram

95% SLA

80% SLA

Average

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Different kind of stories

  T-Shirt size   XS – 2 days   S – 4 days   M – 9 days   L – 15 days   XL – 22 days

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Remember the french?

  T-Shirt size   S– 1 month   M – 3 month   L – 6 month

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Success Story: Spanish SME

  T-Shirt size   S – 3 weeks   M – 2 months   L – 4 months

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Next steps:

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Go story points (size!!)

1 2 3 5

8 13 20 40

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Reduce options

2 5

13

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Stop estimating tasks

J-43745

“As a client from hell, I want some idiotic and useless feature so I can give some sense to my fake job’!

Est: 20 25

Bck: 3/2/11

Sel: 9/2/11

An: 12/2/11

Dsg: 17/2/11

Tst: 19/2/11

Don: 19/2/11

BufCount: I I I I I I

Left: 18 16 14 19 16 14 9 6 2 0

Task! Task! Task!

Task! Task!

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Stop dividing tasks

J-43745

“As a client from hell, I want some idiotic and useless feature so I can give some sense to my fake job’!

Est: 20 25

Bck: 3/2/11

Sel: 9/2/11

An: 12/2/11

Dsg: 17/2/11

Tst: 19/2/11

Don: 19/2/11

BufCount: I I I I I I

Left: 18 16 14 19 16 14 9 6 2 0

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Open Space option: count by tasks

J-43745

“As a client from hell, I want some idiotic and useless feature so I can give some sense to my fake job’!

Bck: 3/2/11

Sel: 9/2/11

An: 12/2/11

Dsg: 17/2/11

Tst: 19/2/11

Don: 19/2/11

BufCount: I I I I I I

Task! Task! Task!

Task! Task!

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Better option: count by stories

J-43745

“As a client from hell, I want some idiotic and useless feature so I can give some sense to my fake job’!

Bck: 3/2/11

Sel: 9/2/11

An: 12/2/11

Dsg: 17/2/11

Tst: 19/2/11

Don: 19/2/11

BufCount: I I I I I I

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Use histograms to provide SLA’s

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Finally: estimate only t-shirt size!! (but still measure for histograms)

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Final Thought…

…..

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

Thank you and Blog it!!!

angel.medinilla@proyectalis.com

© 2012 Proyectalis Gestión de Proyectos S.L. – More at http://slideshare.net/proyectalis

This presentation is based upon the ideas and work of many people. And while I’ve tried to recognize copyrights and give credit and attribution where possible, I cannot possibly list them all, so if you feel like there’s something that should be added, changed or removed from this presentation, please drop me an e-mail at angel.medinilla@proyectalis.com

http://creativecommons.org/licenses/by-nc-nd/3.0/

Recommended