leading continuous improvement - agile alliance · pdf filepractice continuous improvement in...

56
Leading Continuous Improvement in Established Agile Organizations

Upload: lyduong

Post on 03-Mar-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Leading Continuous Improvementin Established Agile Organizations

Page 2: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

What’s the state of agile methods in your organization?

Level Set

Page 3: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

What’s the state of agile methods in your organization?

Do you actively and explicitly practice continuous

improvement in some form?

Level Set

Page 4: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

A Definition of Lean Thinking

A way of thinking that enables organizations to“specify value, line up value-creating actions in the best sequence, conduct these activities withoutinterruption whenever someone requests them, andperform them more and more effectively.”

Womack & Jones

Page 5: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

specify value Customer defines “value”

line up value-creating Map the Value Streamactions in the best sequence

conduct these activities Maintain continuous flowwithout interruption

whenever someone Customer pullrequests them

perform them more Practice continuousand more effectively improvement

A Definition of Lean Thinking

Page 6: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Five Principles of Lean

Value (From Customer’s Perspective)

Value Stream(Steps that Add Value)

Pull(On Demand)

Perfection(No Waste)

Flow(No Stops & No Piles)

Page 7: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Canonical Agile Through a Lean Lens

Iteration commitments

Page 8: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Canonical Agile Through a Lean Lens

Iteration commitments

(Large?) batch sizes

Page 9: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Canonical Agile Through a Lean Lens

Iteration commitments

Delivery every n weeks

(Large?) batch sizes

Page 10: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Canonical Agile Through a Lean Lens

Iteration commitments

Delivery every n weeks

(Large?) batch sizes

Discontinuous flow,delayed delivery

Page 11: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Lean Wastes in Software Development

1.Defects2.Inventory3.Over-processing4.Waiting5.Motion6.Transportation7.Overproduction

Page 12: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Suboptimal (but common) Agile Practiceand the Seven Deadly Wastes of Lean

Proxy customeror PO

1.Defects2.Inventory3.Over-processing4.Waiting5.Motion6.Transportation7.Overproduction

Also: Leads to “push” systemLeads to large batches

Page 13: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Suboptimal (but common) Agile Practiceand the Seven Deadly Wastes of Lean

Lack of technicaldiscipline

1.Defects2.Inventory3.Over-processing4.Waiting5.Motion6.Transportation7.Overproduction

Also: Causes re-workCauses technical debt

Page 14: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Suboptimal (but common) Agile Practiceand the Seven Deadly Wastes of Lean

Non-collocatedteam

1.Defects2.Inventory3.Over-processing4.Waiting5.Motion6.Transportation7.Overproduction

Also: Causes reliance onindirect communication

Page 15: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Suboptimal (but common) Agile Practiceand the Seven Deadly Wastes of Lean

Non-collocatedteam

1.Defects2.Inventory3.Over-processing4.Waiting5.Motion6.Transportation7.Overproduction

Also: Causes reliance onindirect communication

Page 16: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Suboptimal (but common) Agile Practiceand the Seven Deadly Wastes of Lean

Non-collocatedteam

1.Defects2.Inventory3.Over-processing4.Waiting5.Motion6.Transportation7.Overproduction

Also: Causes reliance onindirect communication

Page 17: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Suboptimal (but common) Agile Practiceand the Seven Deadly Wastes of Lean

Agile for codersonly, sequentialprocess for BAs, testers

1.Defects2.Inventory3.Over-processing4.Waiting5.Motion6.Transportation7.Overproduction

Also: Causes re-work, lengthenslead & cycle times

Page 18: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Suboptimal (but common) Agile Practiceand the Seven Deadly Wastes of Lean

Start all storiesat the beginningof each iteration

1.Defects2.Inventory3.Over-processing4.Waiting5.Motion6.Transportation7.Overproduction

Also: Lengthens lead & cycle timesDestroys continuous flow

Page 19: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training
Page 20: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Multitasking from an Individual Perspective

Multitasking Not multitasking

Day 18:00 – 8:30 Task 1 8:00 – 12:00 Task 18:30 – 8:45 Context switch 12:00 – 13:00 Lunch8:45 – 9:15 Task 2 13:00 – 17:00 Task 1 (Done)9:15 – 9:30 Context switch9:30 – 10:00 Task 310:00 – 10:15 Context switch10:15 – 10:45 Task 110:45 – 11:00 Context switch11:00 – 11:30 Task 211:30 – 11:45 Context switch11:45 – 12:15 Task 3

Best case: No blocks

Page 21: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Multitasking Not multitasking

Day 112:15 – 12:45 Lunch (short)12:45 – 13:00 Context switch13:00 – 13:30 Task 113:30 – 13:45 Context switch13:45 – 14:15 Task 214:15 – 14:30 Context switch14:30 – 15:00 Task 315:00 – 15:15 Context switch15:15 – 15:45 Task 115:45 – 16:00 Context switch

Best case: No blocksMultitasking from an Individual Perspective

Page 22: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Multitasking Not multitasking

Day 116:00 – 16:15 Context switch16:15 – 16:45 Task 216:45 – 17:00 Context switch17:00 – 17:30 Task 3 (overtime)

Day 28:00 – 8:30 Task 1 8:00 – 12:00 Task 2 8:30 – 8:45 Context switch 12:00 – 13:00 Lunch8:45 – 9:00 Task 2 13:00 – 17:00 Task 2 (Done)9:00 – 9:15 Context switch

et cetera

Best case: No blocksMultitasking from an Individual Perspective

Page 23: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Best case: No blocks

With multitasking it takes 8 days to complete three 8-hour tasks with short lunch breaks and a bit of overtime.

Without multitasking it takes 3 days to complete three 8-hour tasks with good focuson the work and low stress.

Multitasking from an Individual Perspective

Page 24: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Multitasking from a Team Perspective

Backlog Acc. Test Code (TDD) Acceptance DoneDay 0

Page 25: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Multitasking from a Team Perspective

Backlog Acc. Test Code (TDD) Acceptance DoneDay 1

Page 26: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Multitasking from a Team Perspective

Backlog Acc. Test Code (TDD) Acceptance DoneDay 4

Page 27: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Multitasking from a Team Perspective

Backlog Acc. Test Code (TDD) Acceptance DoneDay 6

Page 28: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Multitasking from a Team Perspective

Backlog Acc. Test Code (TDD) Acceptance DoneDay 8

Page 29: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Multitasking from a Team Perspective

Backlog Acc. Test Code (TDD) Acceptance DoneEnd of Iteration

Page 30: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

From queuing theory:L = λWqueue length = average arrival rate x average wait time

Little’s Law

Page 31: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

As applied to SW development:Throughput = WIP / Cycle Time

Little’s Law

Page 32: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Throughput for the Multitasking Team

WIP = 8 storiesCycle Time = 8 daysThroughput = 1.0

Page 33: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Limiting WIP to Improve Throughput

Backlog Acc. Test Q Code (TDD) Q Accept. DoneDay 0 2 2

Page 34: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Limiting WIP to Improve Throughput

Backlog Acc. Test Q Code (TDD) Q Accept. DoneDay 1 2 2

Page 35: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Limiting WIP to Improve Throughput

Backlog Acc. Test Q Code (TDD) Q Accept. DoneDay 4 2 2

Page 36: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Limiting WIP to Improve Throughput

Backlog Acc. Test Q Code (TDD) Q Accept. DoneDay 6 2 2

Page 37: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Limiting WIP to Improve Throughput

Backlog Acc. Test Q Code (TDD) Q Accept. DoneDay 8 2 2

Page 38: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Limiting WIP to Improve Throughput

Backlog Acc. Test Q Code (TDD) Q Accept. DoneEnd of Iter. 2 2

Page 39: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Throughput for the WIP-Limiting Team

WIP = 8 storiesCycle Time = 0.6 daysThroughput = 4.8

Page 40: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Multitasking at the Portfolio Level

• Total cost is 4.8 times higher (for this example)• Lead time (concept to cash) is 4.8 times longer• Opportunity costs and risks are higher• Staff stress is higher, staff turnover is higher• Recruitment / training overhead is higher• Defect rate is likely to be higher• “Business agility” is likely to be lower• Responsiveness to customers is lower

Page 41: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Suboptimal (but common) Agile Practiceand the Seven Deadly Wastes of Lean

Pull teammembers outto deal withtactical issues

1.Defects2.Inventory3.Over-processing4.Waiting5.Motion6.Transportation7.Overproduction

Also: Lengthens lead & cycle timesDestroys continuous flow

Page 42: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Effect of Removing Team Members

Thanks to Tom Looy

Page 43: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Suboptimal (but common) Agile Practiceand the Seven Deadly Wastes of Lean

Keep individual“resources” busy

1.Defects2.Inventory3.Over-processing4.Waiting5.Motion6.Transportation7.Overproduction

Also: Lengthens lead & cycle times,Destroys continuous flow

Page 44: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Keep Individual “Resources” Busy

Analysis Programming Testing

Analysis Programming Testing

Analysis Programming Testing

Iteration 1

Iteration 2

Iteration 3

Page 45: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training
Page 46: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training
Page 47: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Invader Zim’s Process Improvement Method

Team builds to user stories,

ignores -ilities

Expand user story format to include

all details

Poor quality!

Better quality!

Present new & improved Agile at next conference

Worse…or better?

Page 48: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

無駄 muda

斑 mura

無理 muri

Activity that does not add value

Unevenness in flow

Overburdening

The Three M’s

Page 49: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Priorities in a Lean Software Development Process

Backlog Acc. Test Q Code (TDD) Q Accept. Done

Inventory is “waste” by definition, but…

Page 50: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Priorities in a Lean Software Development Process

Backlog Acc. Test Q Code (TDD) Q Accept. Done

…eliminating the queues would causemuda (delays) when work is not ready…

X X?

Page 51: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Priorities in a Lean Software Development Process

Backlog Acc. Test Q Code (TDD) Q Accept. Done

…and muri (overburden) when too much work is in play.

X X

Page 52: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Uneven Flow is the First Domino

muraunevenness of flow

Page 53: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Priorities in a Lean Software Development Process

1. Value

2. Flow

3. Removing waste

Page 54: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

To Maintain Continuous Flow…

Control WIP

Page 55: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training

Let’s Talk About Real Cases

Page 56: Leading Continuous Improvement - Agile Alliance · PDF filepractice continuous improvement in some form? ... Backlog Acc. Test Code (TDD) Acceptance Done ... • Recruitment / training