Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

63
Velocity Is NOT the Goal Michael “Doc” Norton :: Groupon :: @DocOnDev Agile Metrics

description

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 of Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Page 1: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Velocity Is NOT the Goal

Michael “Doc” Norton :: Groupon :: @DocOnDev

Agile Metrics

Page 2: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Velocity Is NOT the GoalAgile Metrics

Doc Norton!Global Director of Engineering [email protected] | @DocOnDev

Page 3: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Velocity Is NOT the Goal

Michael “Doc” Norton :: Groupon :: @DocOnDev

Agile Metrics

Page 4: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Velocity Is NOT the Goal

Page 5: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Velocity

Page 6: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Velocity

Page 7: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

What’s Velocity?

Page 8: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Work Units / Time

Page 9: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Lagging Indicator

Page 10: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Measure of a Complex System

Page 11: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Lagging Indicator for a Complex System

Page 12: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

A Tale of Two

Velocities

Page 13: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

A

10, 11, 9, 10

B

7, 14, 6, 10

Disclaimer

Page 14: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

A

10, 11, 9, 10 Yesterday’s Weather: 10

B

7, 14, 6, 10 Yesterday’s Weather: 10

Page 15: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

A

10, 11, 9, 10 Yesterday’s Weather: 10 Rolling Average: 10

B

7, 14, 6, 10 Yesterday’s Weather: 10 Rolling Average: 10

Page 16: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

A

10, 11, 9, 10 Yesterday’s Weather: 10 Rolling Average: 10 Std. Deviation: 0.7

B

7, 14, 6, 10 Yesterday’s Weather: 10 Rolling Average: 10 Std. Deviation: 3.1

Page 17: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

A

10, 11, 9, 10 Yesterday’s Weather: 10 Rolling Average: 10 Std. Deviation: 0.7 Next: 9.3-10.7

B

7, 14, 6, 10 Yesterday’s Weather: 10 Rolling Average: 10 Std. Deviation: 3.1 Next: 6.9-13.1

Page 18: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

The Need for Speed

Page 19: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014
Page 20: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

The Hawthorn Effect

Page 21: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

That which is measured, will improve

Page 22: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

That which is measured, will improve ... at a cost

Page 23: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Goodhart’s Law

Page 24: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

When a measure becomes a target, it ceases to be a

good measure

Page 25: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Perverse Incentives

Page 26: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

... an unintended result, contrary to interests of the

incentive makers

Page 27: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Dr. Deming

“What matters is not setting quantitative goals but fixing the method by which those goals are attained”

Page 28: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

What causes variable Velocity?

Page 29: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Time Poorly Spent

Page 30: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Dependency on Other Teams

Page 31: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Poor Story Composition

Page 32: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Too Much Work In Progress

Page 33: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Scatter Diagrams

Page 34: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

0

5000

10000

15000

20000

0 2 4 6 8

Scatter DiagramsAuto Prices by Year

Page 35: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

0

12.5

25

37.5

50

0 25 50 75 100

Scatter DiagramsVelocity by Complexity

Page 36: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

0

12.5

25

37.5

50

0 10000 20000 30000 40000

Scatter DiagramsVelocity by Value

Page 37: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

0

12.5

25

37.5

50

0 22.5 45 67.5 90

Scatter DiagramsVelocity by Coverage

Page 38: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

“Friedman’s Thermostat”

Page 39: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Correlation is not causation

Page 40: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Correlation is not causation but it sure is a hint

Page 41: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Cumulative Flow Diagrams

Page 42: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Backlog

Page 43: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Cumulative Flow Diagram

Page 44: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014
Page 45: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

0

5

10

15

20

1 2 3 4 5 6 7 8 9 10

Velocity Chart

Page 46: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Same Different Perspective

Team &

Data

Page 47: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

CFD

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 48: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Measure Many Things

Page 49: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Measure Many Things

0

4

8

12

16

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

Velocity

Page 50: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Measure Many Things

0

12.5

25

37.5

50

0

4

8

12

16

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

Velocity Quality

Page 51: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Measure Many Things

0

12.5

25

37.5

50

0

4

8

12

16

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

Velocity Quality Avg. Hours

Page 52: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Measure Many Things

0

12.5

25

37.5

50

0

4

8

12

16

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

Velocity Quality Avg. Hours Team Joy

Page 53: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Real World Examples

Page 54: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Application Performance

Page 55: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Velocity w/Std. Deviation

Page 56: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Burn w/Std. Deviation

Page 57: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Cumulative Flow

Page 58: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Team Joy

Page 59: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Department Joy

Page 60: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

One Last Thing

Page 61: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Metrics are not for

Managers

Page 62: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Metrics are for Teams

Page 63: Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014

Velocity Is NOT the GoalAgile Metrics

Doc Norton!Global Director of Engineering [email protected] | @DocOnDev