key note - lean kanban central europe 2011 - predictability & measurement with kanban

32
Lean Kanban Central Europe Munich October 2011 Predictability & Measurement with Kanban David J. Anderson David J. Anderson & Associates [email protected]

Upload: david-anderson

Post on 06-May-2015

450 views

Category:

Business


1 download

DESCRIPTION

Which metrics do you use with Kanban? How do you plan and management large projects with Kanban? How has Kanban enabled the concept of "No Estimates" or the use of probabilistic forecasting?

TRANSCRIPT

Page 1: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Lean Kanban

Central EuropeMunich October 2011

Predictability & Measurementwith Kanban

David J. AndersonDavid J. Anderson & [email protected]

Page 2: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Book PublishedApril 2010

A 72,000 wordintro to the topic

Available fromdjandersonassociates.com

Page 3: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

http://www.limitedwipsociety.org

Yahoo! Groups: kanbandev

Yahoo! Groups: kanbanops

http://leankanbanuniversity.com

LinkedIn Groups: Software Kanban

Page 4: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Delivering predictability with Kanban

requires some different techniques

for different types of work such as

software maintenance and support

or

major project work

Page 5: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Service-oriented work

Page 6: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Create a regular delivery cadence

Develop a strong config management capability

Develop capability to deploy effectively

Build code with high quality

Page 7: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Lead Time Distribution

0

0.5

1

1.5

2

2.5

1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101

106

Days

# C

Rs

MARCH

Lead Time Distribution

0

0.5

1

1.5

2

2.5

3

3.5

Days

CR

s &

Bu

gs

APRIL

OutliersMajority of CRs range 30 -> 55

Understand capability by studying the natural philosophy of the work

Page 8: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

For standard class items, offer a target lead time based on the 2nd confidence interval

Page 9: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

For example, SLA of51 days with 98% on-time

(+2 sigma from mean)

Lead Time Distribution

0

0.5

1

1.5

2

2.5

3

3.5

Days

CR

s &

Bu

gs

Page 10: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

51 days will not be good enough for some feature requests, so offer a package of classes of

service

Page 11: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Package of Classes with SLAs

As soon as possible Full transparency

100% on-time providing 24 days advance notice

Up to 51 days 98% on-time guarantee

Up to 51 days 50% on-time

Page 12: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Lead time

Features Delivered

Standard Class Items

Fixed Date Items

Expedite Item

Page 13: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Allocate capacity across classes of service in order to deliver against anticipated demand

5 4 43 2 2= 20 total

Allocation

10 = 50%

...

+1 = +5%

4 = 20%

6 = 30%

InputQueue

DevReady In Prog DoneDoneIn Prog

DevelopmentAnalysis BuildReady Test

ReleaseReady

Page 14: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

John Seddon has observed that allocating capacity in this fashion

“damages capacity”!

While this is theoretically possible it will almost never happen because

(a) a simple policy can be implemented to temporarily re-allocate

(b) demand is rarely zero for a given type, though Fixed Date class of service can be seasonal

(c) the tickets represent work, not workers, the workforce is flexible. Classes of service &

capacity allocation insure people can keep busy improving utilization not damaging it

Page 15: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Major Project Work

Page 16: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Requires all the same underlying data as used in service oriented

work

plus

Page 17: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Major Project with two-tiered kanban board

Page 18: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Cumulative Flow andPredictive Modeling with S-Curve

Device Management Ike II Cumulative Flow

020406080

100120140160180200220240

Time

Fe

atu

res

Inventory Started Designed Coded Complete

Typical S-curve

Page 19: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Simulating S-Curve with a Z

Device Management Ike II Cumulative Flow

020406080

100120140160180200220240

Time

Fe

atu

res

Inventory Started Designed Coded Complete

20%

60%

20%

Slope in middle3.5x - 5x slope

at ends 5x

Page 20: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Track actual throughput against projection

Device Management Ike II Cumulative Flow

020406080

100120140160180200220240

Time

Fe

atu

res

Inventory Started Designed Coded Complete

Track delta between planned and actual

each day

Page 21: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Unplanned Work Report

Dark Matter

Scope Creep

Page 22: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Make a long term plan to build platform replacement

Device Management Ike II Cumulative Flow

020406080

100120140160180200220240

Time

Fe

atu

res

Inventory Started Designed Coded Complete

Slope in middle3.5x - 5x slope

at ends 5x

Required throughput (velocity)

2006 2008

Page 23: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

We need average throughput (velocity) to peak at 13 features per month over 24 months.

Page 24: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Little’s Law

ThroughputLead Time

WIP=

Target to achieve plan

From observed capability

Treat as Fixed variable

Determines staffing level

Page 25: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Changing the WIP limit without maintaining the staffing level ratio represents a change to the way of

working. It is a change to the system design. And will produce a change in the observed ‘common

cause’ capability of the system

Page 26: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Plan based on currently observed capability and current working

practices. Do not assume process improvements.

If changing WIP to reduce undesirable effects (e.g.

multitasking), get new sample data (perform a spike) to observe the

new capability

Page 27: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Little’s Law

13 / month0.25 months

WIP=

Target to achieve plan

From observed capability

Determines staffing level

ÞWIP = 3.25, round up to 4.Might be safe to

round down to 3.

Þ If current working practice is 1 unit WIP per person then 3 people are needed

Page 28: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Slightly over-allocate the intangible class of service (green) to compensate against expediting

5 4 43 2 2= 20 total

Allocation

12 = 60%

...

+1 = +5%

4 = 20%

4 = 20%

InputQueue

DevReady In Prog DoneDoneIn Prog

DevelopmentAnalysis BuildReady Test

ReleaseReady

Page 29: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Conclusions

Page 30: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

For Service-oriented work, create predictability with

a regular delivery cadencea strong config management capability

capability to deploy effectivelycode with high quality

For major projects

understand peak throughput (velocity)model the s-curve on work complete

treat the avg. lead time as the fixed variableuse Little’s Law to calculate WIP limits

and staffing levels

Page 31: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

Thank you!

[email protected]://www.agilemanagement.net/

Page 32: Key Note - Lean Kanban Central Europe 2011 - Predictability & Measurement with Kanban

Advanced

Kanban

About…David Anderson is a thought leader in managing effective software teams. He leads a consulting firm dedicated to improving economic performance of knowledge worker businesses – improving agility, reducing cycle times, improving productivity and efficiency in technology development.

He has 25+ years experience in the software industry starting with computer games in the early 1980’s. He has led software teams delivering superior productivity and quality using innovative agile methods. He developed MSF for CMMI Process Improvement for Microsoft. He is a co-author of the SEI Technical Note, CMMI and Agile: Why not embrace both!

David’s book, Agile Management for Software Engineering – Applying the Theory of Constraints for Business Results, introduced many ideas from Lean and Theory of Constraints into software engineering.

David was a founder of the Lean Software & Systems Consortium, a not for profit dedicated to promoting better standards of professionalism and effectiveness in software engineering. Email… [email protected]