velocity is not the goal code palo-usa

71
Agile Metrics Velocity is NOT the Goal

Post on 17-Sep-2014

36 views

Category:

Technology


0 download

DESCRIPTION

Code PaLOUsa rendition of Velocity is NOT the Goal. Velocity is one of the most common metrics used—and one of the most commonly misused—on agile projects. Velocity is simply a measurement of speed in a given direction—the rate at which a team is delivering toward a product release. As with a vehicle en route to a particular destination, increasing the speed may appear to ensure a timely arrival. However, that assumption is dangerous because it ignores the risks with higher speeds. And while it’s easy to increase a vehicle’s speed, where exactly is the accelerator on a software team? Michael “Doc" Norton walks us through the Hawthorne Effect and Goodhart’s Law to explain why setting goals for velocity can actually hurt a project's chances. Take a look at what can negatively impact velocity, ways to stabilize fluctuating velocity, and methods to improve velocity without the risks. Leave with a toolkit of additional metrics that, coupled with velocity, give a better view of the project's overall health.

TRANSCRIPT

Page 1: Velocity is not the goal   code palo-usa

Agile MetricsVelocity is NOT the Goal

Page 2: Velocity is not the goal   code palo-usa

Michael “Doc” NortonGrouponDirector of [email protected]@DocOnDev

Husband Father

Page 3: Velocity is not the goal   code palo-usa

GRANDFATHERHE’S SOOO CUTE!!

Page 4: Velocity is not the goal   code palo-usa

What is “Agile Velocity”?

Page 5: Velocity is not the goal   code palo-usa

WORK UNITS DELIVERED OVER TIMEUMMM.... WOULDN’T THAT BE “AGILE SPEED”?

Page 6: Velocity is not the goal   code palo-usa

A LAGGING INDICATORTELLS US ABOUT SOMETHING THAT ALREADY HAPPENED

Page 7: Velocity is not the goal   code palo-usa

PLANNING BY VELOCITYUSING THE PAST TO PREDICT THE FUTURE

0

10

20

30

40

03-Dec 17-Dec 31-Dec 14-Jan

Page 8: Velocity is not the goal   code palo-usa

Ideal Burn Down

0

125

250

375

500

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Ideal

Page 9: Velocity is not the goal   code palo-usa

Velocity Graph

0

6

12

18

24

30

1 2 3 4 5 6 7 8 9 10

25

2827

2829

28

24

28

30

27

Velocity

Page 10: Velocity is not the goal   code palo-usa

Yesterday’s Weather

0

6

12

18

24

30

1 2 3 4 5 6 7 8 9 10

30 25 28 27 28 29 28 24 28 30

25

2827

2829

28

24

28

30

27

Weather Actual

Page 11: Velocity is not the goal   code palo-usa

Weather Burn Down

0

125

250

375

500

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Ideal Actual Estimate

Page 12: Velocity is not the goal   code palo-usa

THAT DOESN’T APPLY HERE, TONY.I’M SURE WE CAN MAKE THIS BETTER

Page 13: Velocity is not the goal   code palo-usa

Rolling Average

0

6

12

18

24

30

1 2 3 4 5 6 7 8 9 10

30 25 27 27 28 28 28 26 27 2730 25 28 27 28 29 28 24 28 30

25

2827

2829

28

24

28

30

27

Weather Rolling Actual

Page 14: Velocity is not the goal   code palo-usa

Rolling Burn Down

0

125

250

375

500

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Ideal Actual Estimate

Page 15: Velocity is not the goal   code palo-usa

All The Burn Downs

0

125

250

375

500

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

Ideal Actual Rolling Weather

Page 16: Velocity is not the goal   code palo-usa

DO YOU FEEL CONFIDENT?ARE THESE NUMBERS GOOD?

Page 17: Velocity is not the goal   code palo-usa

STANDARD DEVIATIONSHOWING OUR CONFIDENCE

Page 18: Velocity is not the goal   code palo-usa

Standard Deviation:The Basics

Page 19: Velocity is not the goal   code palo-usa

IT’S NOT THAT HARDLET’S BREAK IT DOWN

Page 20: Velocity is not the goal   code palo-usa

Standard Deviation:Break-Down

Page 21: Velocity is not the goal   code palo-usa

Standard Deviation:Break-Down

CALCULATE THE MEAN OF THE POPULATION

Page 22: Velocity is not the goal   code palo-usa

Standard Deviation:Break-Down

SUBTRACT THE MEAN FROM EACH ITEM AND SQUARE THE RESULT

Page 23: Velocity is not the goal   code palo-usa

Standard Deviation:Break-Down

AVERAGE THOSE RESULTS AND GET THE SQUARE ROOT

Page 24: Velocity is not the goal   code palo-usa

Calculate the Mean

0

6

12

18

24

30

1 2 3 4 5 6 7 8 9 10

25

2827

2829

28

24

28

30

27

Velocity

(25+28+27+28+29+28+24+28+30+27)/10 = 27.4

Page 25: Velocity is not the goal   code palo-usa

SORRY, TONY.JUST LET ME DO THIS ONE THING.

“I feel like you’re not really hearing me.”

- Tony Robbins

Page 26: Velocity is not the goal   code palo-usa

Square the differences

0

6

12

18

24

30

1 2 3 4 5 6 7 8 9 10

25

2827

2829

28

24

28

30

27

Velocity

(25-27.4)**2 = (-2.4)**2 = 5.76(28-27.4)**2 = (0.6)**2 = 0.36(27-27.4)**2 = (-0.4)**2 = 0.16(28-27.4)**2 = (0.6)**2 = 0.36(29-27.4)**2 = (1.6)**2 = 2.56

(28-27.4)**2 = (0.6)**2 = 0.36(24-27.4)**2 = (-3.4)**2 = 11.56(28-27.4)**2 = (0.6)**2 = 0.36(30-27.4)**2 = (2.6)**2 = 6.76(27-27.4)**2 = (-0.4)**2 = 0.16

(25+28+27+28+29+28+24+28+30+27)/10 = 27.4

Page 27: Velocity is not the goal   code palo-usa

Square Root Result Mean

0

6

12

18

24

30

1 2 3 4 5 6 7 8 9 10

25

2827

2829

28

24

28

30

27

Velocity

(25-27.4)**2 = (-2.4)**2 = 5.76(28-27.4)**2 = (0.6)**2 = 0.36(27-27.4)**2 = (-0.4)**2 = 0.16(28-27.4)**2 = (0.6)**2 = 0.36(29-27.4)**2 = (1.6)**2 = 2.56

(28-27.4)**2 = (0.6)**2 = 0.36(24-27.4)**2 = (-3.4)**2 = 11.56(28-27.4)**2 = (0.6)**2 = 0.36(30-27.4)**2 = (2.6)**2 = 6.76(27-27.4)**2 = (-0.4)**2 = 0.16

(25+28+27+28+29+28+24+28+30+27)/10 = 27.4

(2.84)**1/2 = 1.685

Page 28: Velocity is not the goal   code palo-usa

Standard Deviation Is:

0

6

12

18

24

30

1 2 3 4 5 6 7 8 9 10

25

2827

2829

28

24

28

30

27

Velocity

1.685

Page 29: Velocity is not the goal   code palo-usa

Burn Downs w/1SD

0

125

250

375

500

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Ideal Actual Estimate High Low

Page 30: Velocity is not the goal   code palo-usa

Burn Downs w/2SD

0

125

250

375

500

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

Ideal Actual Estimate High Low

Page 31: Velocity is not the goal   code palo-usa

Set A:10, 11, 9, 10

Set B:10, 14, 9, 7

Page 32: Velocity is not the goal   code palo-usa

Set A:10, 11, 9, 10

Set B:10, 14, 9, 7

Mean: 10 Mean: 10

Page 33: Velocity is not the goal   code palo-usa

Rolling: 10 Rolling: 10

Set A:10, 11, 9, 10

Set B:10, 14, 9, 7

Mean: 10 Mean: 10

Page 34: Velocity is not the goal   code palo-usa

Deviation: 0.7 Deviation: 2.5Rolling: 10 Rolling: 10

Set A:10, 11, 9, 10

Set B:10, 14, 9, 7

Mean: 10 Mean: 10

Page 35: Velocity is not the goal   code palo-usa

Deviation: 0.7 Deviation: 2.5Rolling: 10 Rolling: 10

Set A:10, 11, 9, 10

Set B:10, 14, 9, 7

Mean: 10 Mean: 10

Vel: 9.3-10.7 Vel: 7.5-12.5

Page 36: Velocity is not the goal   code palo-usa

WHOOPS.NOW TONY’S ANGRY.

“You know what? Just... Do what you want. I don’t care.”

- Tony Robbins

Page 37: Velocity is not the goal   code palo-usa

YOU CAN’T MANAGE WHAT YOU CAN’T MEASURESAYS WHO?

Page 38: Velocity is not the goal   code palo-usa

SAYS WHO?

Page 39: Velocity is not the goal   code palo-usa

SAYS WHO?

Page 40: Velocity is not the goal   code palo-usa

Dr. W. Edwards DemingFather of the Quality Evolution

You can’t manage what you

can’t measure.

Page 41: Velocity is not the goal   code palo-usa

Dr. W. Edwards DemingFather of the Quality Evolution

Don’t be ridiculous!

Page 42: Velocity is not the goal   code palo-usa

Dr. W. Edwards DemingFather of the Quality Evolution

Running a company on

visible figures alone [is deadly]

Page 43: Velocity is not the goal   code palo-usa

Seven Deadly Diseasesof

Western Management1) Lack of constancy of purpose2) Emphasis on short-term profit3) Evaluation of performance, merit rating or annual reviews4) Mobility of top management5) Running a company on visible figures alone6) Excessive medical costs7) Excessive legal damage awards

Page 44: Velocity is not the goal   code palo-usa

THE HAWTHORN EFFECTTHAT WHICH IS MEASURED, WILL IMPROVE

Page 45: Velocity is not the goal   code palo-usa

What matters is not

setting quantitative

goals but fixing the method by which those

goals are attained

REPAIR THE ROOT CAUSESRATHER THAN THE SYMPTOMS

Page 46: Velocity is not the goal   code palo-usa

INSTABLE VELOCITYWHAT DOES IT TELL US?

Page 47: Velocity is not the goal   code palo-usa

POOR STORY COMPOSITIONYOU WANT CONSISTENT (SMALL) STORIES

Page 48: Velocity is not the goal   code palo-usa

TOO MUCH WIPGET THE HIGHEST VALUE DONE FIRST

Page 49: Velocity is not the goal   code palo-usa

DEPENDENCY ON OTHER TEAMGET EVERYONE YOU NEED ON THE TEAM

Page 50: Velocity is not the goal   code palo-usa

STABLE VELOCITYIT WON’T EVER BE PERFECT

Page 51: Velocity is not the goal   code palo-usa

INCREASE VELOCITYDO WE ALWAYS WANT TO GO FASTER?

Page 52: Velocity is not the goal   code palo-usa

GOODHART’S LAWMAKING A TARGET FOR A METRIC DESTROYS THE METRIC (AND THE TARGET)

Page 53: Velocity is not the goal   code palo-usa

What matters is not

setting quantitative

goals but fixing the method by which those

goals are attained

REPAIR THE ROOT CAUSESRATHER THAN THE SYMPTOMS

Page 54: Velocity is not the goal   code palo-usa

Scatter Diagrams

Page 55: Velocity is not the goal   code palo-usa

Scatter Diagrams

0

5000

10000

15000

20000

0 2 4 6 8

Page 56: Velocity is not the goal   code palo-usa

Velocity & Complexity

0

12.5

25

37.5

50

0 25 50 75 100

Page 57: Velocity is not the goal   code palo-usa

Velocity & Value

0

12.5

25

37.5

50

0 10000 20000 30000 40000

Page 58: Velocity is not the goal   code palo-usa

Velocity & Coverage

0

12.5

25

37.5

50

0 22.5 45 67.5 90

Page 59: Velocity is not the goal   code palo-usa

Cumulative Flow Diagrams

Page 60: Velocity is not the goal   code palo-usa

SAMPLE BACKLOGWHAT MATTERS HERE IS THE STAGES OF WORK

Page 61: Velocity is not the goal   code palo-usa

CUMULATIVE FLOW DIAGRAMVELOCITY DOESN’T ALWAYS TELL US ENOUGH

Page 62: Velocity is not the goal   code palo-usa
Page 63: Velocity is not the goal   code palo-usa

What does this tell us?

0

5

10

15

20

1 2 3 4 5 6 7 8 9 10

Velocity

Page 64: Velocity is not the goal   code palo-usa

What does this tell us?

0

25

50

75

100

1 2 3 4 5 6 7 8 9 10

Deployed Ready for Approval In Testing In Progress Ready To Start

Page 65: Velocity is not the goal   code palo-usa

Balanced Metrics

Page 66: Velocity is not the goal   code palo-usa

Balanced Metrics

0

4

8

12

16

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Velocity

Page 67: Velocity is not the goal   code palo-usa

Balanced Metrics

0

4

8

12

16

1 2 3 4 5 6 7 8 9 10 11 12 13 14 150

12.5

25

37.5

50

Velocity Quality

Page 68: Velocity is not the goal   code palo-usa

Balanced Metrics

0

4

8

12

16

1 2 3 4 5 6 7 8 9 10 11 12 13 14 150

12.5

25

37.5

50

Velocity Quality Avg. Hours

Page 69: Velocity is not the goal   code palo-usa

Balanced Metrics

0

4

8

12

16

1 2 3 4 5 6 7 8 9 10 11 12 13 14 150

12.5

25

37.5

50

Velocity Quality Avg. Hours Team Joy

Page 70: Velocity is not the goal   code palo-usa

Michael “Doc” NortonGrouponDirector of [email protected]@DocOnDev

THANK YOU!

Page 71: Velocity is not the goal   code palo-usa

AttributionsPlanning By Velocity Photo

http://www.flickr.com/photos/carfull/4984803509/sizes/l/in/photostream/Are You Confident Photo

http://www.brookston.org/photoblog/images/20060113083815_thumbs_up.jpgHugh Laurie Photo

http://www.freakingnews.com/pictures/58000/Hugh-Laurie-with-a-Thermometer-58178.jpgBack to The Future

http://www.wallpaperdev.com/imageres/1920x1440-back-to-the-future-wallpaper-hd.jpgSuccess Baby

http://ncclassof2013.files.wordpress.com/2013/04/success.jpgDouble Dutchess (Standard Deviants)

http://www.mtviggy.com/wp-content/uploads/2013/04/double_dutchess.jpgMath is hard

http://www.washingtonpost.com/blogs/answer-sheet/files/2013/03/math.jpgPast Doesn’t Equal The Future

http://sphotos-b.xx.fbcdn.net/hphotos-ash4/402800_10151021129543907_1273189465_n.jpgYou’re not hearing me

http://farm3.staticflickr.com/2670/3948482669_93d49c1dc8_o.jpgAngry Tony

http://marcianitosverdes.haaan.com/wp-content/uploads/2012/07/TonyRobbins_thumb.jpgHolding you back

http://sphotos-a.xx.fbcdn.net/hphotos-ash4/p480x480/382197_426710810746267_1475892304_n.jpg