42
LEAN METRICS TEAM HACKING WITH

Team Hacking with Lean Metrics & Cumulative Flow Diagrams

Embed Size (px)

Citation preview

Page 1: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

LEAN METRICSTEAM HACKING WITH

Page 2: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

HI! I’M TIM!▸ Agile Consultant, Co-founder Skillfire.co

▸ Say hi: @timnwbld & linkedin.com/in/timnewbold

▸ Check out our Skillfire Labs Projects:

▸ Skillfire Project Forecaster (Monte Carlo)

▸ Agile Assessment CanvasNeed some help on your Agile journey?Skillfire is a collective of brilliant independent Agile Consultants. We provide top Coaches and Team Facilitators from the likes of ThoughtWorks, REA, Seek and other leading agile firms. Contact us discuss how we can help you succeed!

Call +613 9913 4402 or email [email protected]

Page 3: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

KEEP STORIES TO A SIMILAR SIZE OTHERWISE, YOUR METRICS DON’T MEAN MUCH

Page 4: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

HOW ARE METRICS USEFUL?

▸ Understand changes in team dynamics

▸ Highlight opportunities for improvements

▸ Highlight challenges the team is facing

▸ Forecasting

▸ Inspect and adapt

Page 5: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

WHERE ARE THEY DANGEROUS

▸ Don’t reflect productivity

▸ Lack qualitative observations

▸ Partial view

▸ Most are lagging

▸ Gaming

Page 6: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

“WHEN A MEASURE BECOMES A TARGET, IT CEASES TO BE A GOOD MEASURE.”

Goodhart's law

Page 7: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

HONEST SIMPLE

ACTIONABLE

QUALITY METRICS

Page 8: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

WORK IN PROGRESS QUEUE SIZE

LEADING INDICATORS

Page 9: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

TIME IN QUEUESPROCESS EFFICIENCY

Page 10: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

COST OF DELAYWHAT’S A QCOST?

WSJF = Value + Time + Risk + Opportunity

Size

Story Value PA = Projected Revenue

Story Count

Story Value PA

Business DaysDaily COD =

IDEAS TO QUANTIFY

1

2

3

WSJF

DAILY AVERAGE

OTHERS?

Page 11: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

THROUGHPUT LEADTIME

HOW MUCH, HOW FAST?

Page 12: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

PRODUCTION-LEAD TIME

TIME TO PRODUCE

Page 13: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

Coun

t

0

7.5

15

22.5

30

Days to complete

1 2 3 4 5 6 7 8 9 10 11+

PRODUCTION LEAD TIME DISTRIBUTION

Days Count % % SUM 1 12 11 112 15 14 263 24 23 494 17 16 655 15 14 796 10 10 897 5 5 938 3 3 969 2 2 98

10 1 1 9911+ 1 1 100

Page 14: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

CYCLE TIME TAKT TIME

FREQUENCY

Page 15: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

[AVERAGE] CYCLE TIME IS COMPUTED BY DIVIDING OPERATING HOURS BY THE QUANTITY REQUIRED PER DAY. EVEN WHEN CYCLE TIME IS DETERMINED THIS WAY, INDIVIDUAL TIMES MAY DIFFER.

Taiichi Ohno (1988)

Page 16: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

CYCLE TIME != PRODUCTION LEAD TIME!!! WELL… IN THE TPS & MOST LEAN TEXTS ANYHOW.

Page 17: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

CYCLE TIME

30 min cycle time30 min /2

15 min cycle time

Page 18: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

CYCLE TIME - SEQUENTIAL STEPS

30 min cycle time

WASH DRY FOLD

CYCLE TIME 30 MIN

30 min cycle time

30 min cycle time

Page 19: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

THEORY OF CONSTRAINTS

IDENTIFY

EXPLOIT

ELEVATE SUBORDINATE

REPEAT

Page 20: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

LITTLE’S LAWWHAT TO CHANGE?

WIP = THROUGHPUT * PRODUCTION LEAD TIME

50 = 5 * 10

PRODUCTION LEAD TIME = WIP /THROUGHPUT

10 = 50 /5

THROUGHPUT = WIP /PRODUCTION LEAD TIME

5 = 50 /10

Page 21: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

WIP 4

4 DAYS

WIP = THROUGHPUT * PRODUCTION LEAD TIME

4 = 1 * 4

Page 22: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

WIP 22 DAYS

(4 = 1 * 4)/2

2 = .5 * 2

Page 23: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

DEFECTS PER STORY MTTR

FAILURE DEMAND

Page 24: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

"HIGH-QUALITY SOFTWARE IS NOT EXPENSIVE. HIGH-QUALITY SOFTWARE IS FASTER AND CHEAPER TO BUILD AND MAINTAIN THAN LOW-QUALITY SOFTWARE, FROM INITIAL DEVELOPMENT ALL THE WAY THROUGH TOTAL COST OF OWNERSHIP."

Capers Jones

Page 25: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

TIME TO FEEDBACK

NO SURPRISES

Page 26: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

NET FLOWARE WE TAKING ON TOO MUCH?

Page 27: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

UTILISATIONSOME THINGS BEST LEFT ALONE

Page 28: Team Hacking with Lean Metrics & Cumulative Flow Diagrams
Page 29: Team Hacking with Lean Metrics & Cumulative Flow Diagrams
Page 30: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

DARK MATTER!

WHERE DID THAT COME FROM?

Page 31: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

SOLVING THE CUSTOMER’S PROBLEM

FOCUS ON IMPACT

Page 32: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

TEAM HAPPINESS

FLOW IS GREAT, BUT…

Page 33: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

A QUICK RECAP SO FAR…

▸ Queue size

▸ Work In Progress

▸ Cost of Delay

▸ Throughput

▸ Lead time

▸ Production Lead Time (AKA Processing time)

▸ Mean Time To Resolve

▸ Cycle Time/Takt Time

▸ Theory of Constraints

▸ Little’s Law

▸ Net flow

▸ Time to Feedback

▸ Dark Matter

▸ NPS

▸ Team Happiness

Page 34: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

Create your own from: https://docs.google.com/spreadsheets/d/16YuUH298KMV4ummXv2fGHmORvUGXMW2wZhAX2VtCkkM/edit?hl=en#gid=2

CUMULATIVE FLOW DIAGRAMS (CFD)

Page 35: Team Hacking with Lean Metrics & Cumulative Flow Diagrams
Page 36: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

Prod Lead Time

Page 37: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

CFD EXAMPLES

SCOPE CHANGE INCREASED WIP DEV WIP/QA CAPACITY ISSUE?

BIG BATCH LASTING PROBLEM TROUBLE IN TEST

See more: http://brodzinski.com/2013/07/cumulative-flow-diagram.html

Page 38: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

REMOVE ‘TO DO’ & ‘DONE’ TO SEE WIP

Page 39: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

PROCEED WITH CAUTION

Page 40: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

QUESTIONS/THOUGHTS?

Page 41: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

REFERENCES

▸ https://less.works/less/principles/queueing_theory.html

▸ http://leankit.com/learn/kanban/lean-flow-metrics/

▸ http://hbswk.hbs.edu/archive/1460.html#1

▸ http://web.mit.edu/sgraves/www/papers/Little's%20Law-Published.pdf

▸ http://itsadeliverything.com/littles-law-the-basis-of-lean-and-kanban

▸ http://brodzinski.com/2013/07/cumulative-flow-diagram.html

▸ https://www.atlassian.com/agile/metrics

▸ https://stefanroock.wordpress.com/2010/03/02/kanban-definition-of-lead-time-and-cycle-time/

Page 42: Team Hacking with Lean Metrics & Cumulative Flow Diagrams

ATTRIBUTIONS

▸ Over Utilisation: http://media.virbcdn.com/cdn_images/resize_1600x1600/a3/PageImage-510914-3534502-overload.jpg

▸ Samuel Jackson Image: http://hqwallbase.pw/43039-wtf-wallpaper-1440x900/

▸ Illustrated CFD: http://paulklipp.com/images/Interpreting_a_Cumulative_Flow_Diagram.jpg

▸ Fail Image: http://www.sharenator.com/FAIL_6/

▸ NPS image: http://www.netpromotersystem.com/about/measuring-your-net-promoter-score.aspx