Top Banner
agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016 Metrics Workshop Gaetano Mazzanti @mgaewsj agile42
51

How can metrics help in improving our effectiveness?

Apr 14, 2017

Download

Education

Better Software
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Metrics Workshop

Gaetano Mazzanti

@mgaewsj

agile42

Page 2: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Expectations

Page 3: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Q:

Which metrics are you using?

What is the goal?

Problems, anyone?

Page 4: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Exercise

Penny Game

How large (and valuable) are your batches?

Page 5: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Velocity, oh my

Page 6: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Velocity, oh my

Page 7: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Velocity, oh my

Page 8: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Correlation between Story Points and Time?

Page 9: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Correlation between Story Points and Time?

Ian Carroll collected data from 25 teams across 4 different organizations, 12500 work items in total – here are data from one of those teams

https://iancarroll.com/2016/04/18/no-correlation-between-estimated-size-and-actual-time-taken/

Page 10: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Story Points vs # of Stories

time

SP

# of Stories

Page 11: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Exercise

Throughput Forecast

Page 12: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Throughput Forecast

Trial1

Trial2 Trial3 Trial4 Trial5 Trial6 Trial7 Trial8 Trial9 Trial10

Trial11

7 11 7 5 17 5 10 16 19 7 10 5 13 13 5 7 6 5 5 3 5 16 6 5 6 19 5 3 5 3 6 3 5 7 10 5 6 8 8 6 5 7 19 10 16 8 10 16

48 56 56 31 62 53 45 53 40+ 50+ 50+ 30+ 60+ 50+ 40+ 50+

Sum of all samples for each trial by column (upper) / Nearest “tens” grouping rounded down (lower)

by Troy Magennis https://creativecommons.org/licenses/by-nc-sa/2.0/

Page 13: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Throughput Forecast

by Troy Magennis https://creativecommons.org/licenses/by-nc-sa/2.0/

1. MinimumSum(a): 31 MaximumSum(b): 70

2. MinimumSumwithlowestremoved(c): 39 MaximumSumwithhighest

removed(d): 68

3. Sumalltrials(e): 581 Averagealltrials(e/11):

53

4. Sumalltrialswithextremesremoved(f): 480 Averagewithextremes

removed(f/9): 53

Actualdataaverage6weekthroughput=57.75.Howclosewasyouraverage?

5. Probabilitiesofachievingatleastnstoriesforasix-weektimespan

SixWeek

Throughput

Counttrialsumgroupsat

least30,40,50,etc.stories

(Count/11)

Likelihood

Atleast30stories 11 1 Atleast40stories 9 0.82 Atleast50stories 7 0.63 Atleast60stories 3 0.28 Atleast70stories 1 0.09 Atleast80stories 0 0 Atleast90stories 0 0

Thisvalueis0to1

Multiplyitby100togetapercentage.0%=nochance,

100%meanseverytrialachievedatleastthislevel.

Page 14: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

but… beware

Page 15: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Exercise

Simpson’s Paradox

Page 16: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Simpson’s paradox Global Natural Treat

Live 108 153

Die 123 120

Natural 47% live Treat 56% live

Women Natural Treat

Live 57 32

Die 100 57

Natural 36,3% live Treat 36,0% live

Men Natural Treat

Live

Die

Natural live Treat live

Page 17: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Simpson’s paradox

Global Natural Treat

Live 108 153

Die 123 120

Natural 47% live Treat 56% live

Women Natural Treat

Live 57 32

Die 100 57

Natural 36,3% live Treat 36,0% live

Men Natural Treat

Live 51 121

Die 23 63

Natural 69% live Treat 66% live

Page 18: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Q: why do we need metrics?

Page 19: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

really, why do we need metrics?

key reason: to improve

Page 20: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

really, why do we need metrics?

decisions

Page 21: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

why do we need metrics?

predictability

Page 22: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Page 23: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

why?

key questions about your metrics

Page 24: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

what do you want to improve?

key questions about your metrics

Page 25: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

what do you want to learn?

key questions about your metrics

Page 26: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

which metrics?

matter to customers no yes

end-to-end (global)

functional (local)

typical

ideal

Page 27: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

pizza delivery

fast delivery

accuracy and quality

predictability

what matters to customers

Page 28: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

just three metrics?

Lead Time

Throughput

WIP

Page 29: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Little’s Law

Items In Queue = Arrival Rate * Waiting Time

Lead Time = Work In Progress / Throughput

Page 30: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

ideas elaborate do delivered validate

B C

D F

E A

H

G

I

Lead Time

3 2 2

Lead Time

commitment point

Page 31: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

0

1

2

3

4

5

6

7

8

1-Feb 3-Feb 5-Feb 7-Feb 9-Feb 11-Feb 13-Feb 15-Feb 17-Feb 19-Feb 21-Feb

scatterplot

54%

71%

88%

96%

days average

Page 32: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

CFD

0

5

10

15

20

25

30

35

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

Backlog To Do In Progress Done

Backlog To Do In Progress Done

throughput

Page 33: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

more about CFDs

0

5

10

15

20

25

30

35

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

Backlog To Do In Progress Done

arrivals

departures

Page 34: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

CFD

arrivals

departures

Page 35: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

CFD

arrivals

departures

average lead time

WIP

Page 36: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

CFD

0

5

10

15

20

25

30

35

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

Backlog To Do In Progress Done

average lead time

WIP

leading

lagging

Page 37: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

some CFD issues

flat line

growing area

staircase

Page 38: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

scatterplot

source ActionableMetrics

Page 39: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

scatterplot (only bugs)

source ActionableMetrics

Page 40: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

frequency distribution the shape of uncertainty*

source ActionableMetrics *Dominica DeGrandis

Page 41: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Weibull distribution

Weibull(1, 0.5)

Weibull(2, 0.5)

Weibull(3, 1)

Page 42: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

___

efficiency

process efficiency = total time active time ________

20 5 = 25%

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

elaborate do validate deliver

waitingactive

Page 43: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

correlations…

Productivity (throughput)

Quality (# of bugs)

Predictability (variance in throughput)

Responsiveness (Time in Process)

WIP

Focus

Stability

&

Page 44: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

correlation with WIP

source Larry Maccherone

Page 45: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

correlation with Team Focus

source Larry Maccherone

Page 46: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

correlation with Team Stability

source Larry Maccherone

Page 47: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Exercise

FeatureBan

by Mike Burrows of Positive Incline http://creativecommons.org/licenses/by-sa/4.0/ https://blog.agendashift.com/2016/06/02/featureban-2-0/

Page 48: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

tempus fugit

Page 49: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

focus on trends

(not on absolute values)

Page 50: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

"If you torture the data long enough, it will confess to anything you'd like"

Ronald Coase, economist

Page 51: How can metrics help in improving our effectiveness?

agile42 | The Agile Coaching Company www.agile42.com | All rights reserved. Copyright © 2007 - 2016

Gaetano Mazzanti

@mgaewsj

[email protected]

agile42