SlideShare a Scribd company logo
1 of 70
Download to read offline
metrics
            as a
learn and change
           agent
    Gaetano Mazzanti
            @mgaewsj
             Gama-Tech
as an agile coach


 I am often asked to
define/introduce KPIs


      “why?”
Case 1
  “uhm, ehm, we
need to measure      code & fix
if and how much
we are improving”   no process
                       chaos
*typicallyfor
                          performance
                          appraisals


                      Case 2
                       “we
                 need to measure
 traditional     if and how much
                we are improving;
rigid process
  top-down
                company policies
                  enforce using
                      KPIs*”
unfortunately things are
not so simple and linear
systems: some definitions
                      system
          any network that has coherence,
    it may be fuzzy, it may have purpose


                       agent

   anything which acts within the system:
           individual, group, idea, etc.


ordered               complex               chaotic
complex
     system lightly constrains agents
    agents modify system by their interaction
     with it and each other, they co-evolve


ordered
system constrains agents

                                              chaotic
                      agents underconstrained &
                      independent of each other

ordered              complex                  chaotic
no metrics


                     code & fix


                    no process
                       chaos
ordered   complex         chaotic
metrics for a linear,
deterministic world

                                       no metrics
      traditional

                                   code & fix
   rigid process
     top-down
                                  no process
                                     chaos
   ordered              complex         chaotic
???

                           agile
metrics for a linear,
deterministic world

                                             no metrics
      traditional

                                         code & fix
   rigid process
     top-down
                                     no process
                                        chaos
   ordered              complex               chaotic
complex systems
       exhibit one or more
     properties (behavior)
      not obvious from the
             properties of
            the individual
      interconnected parts
      they are composed of
product development is
        complex


“self-organizing, non-linear,
    feedback systems are
  inherently unpredictable,
 they are not controllable“
                       D.Meadows
so what are we
supposed to do?
we can
watch, learn and work
   with the system
metrics


learn & change
how?
loop!
PDCA Loop

         plan



act               do



        check

                       Shewhart & Deming
OODA Loop


observe   orient




  act     decide


                   J.Boyd
LeanStartup Loop

                Ideas	
  



Learn	
                     Build	
  




 Data	
                     Product	
     are we building
                                          the right
                                          product?
              Measure	
  




                                                      E.Ries
when looping
minimize total time through the
 loop

learn fast

fail fast!
 “biggest failure is failure to
 learn” (M.Poppendieck)
single loop learning
                 lead to




       actions             results
         how



         which shape future


         efficiency
         doing things right
         incremental change
single loop drawbacks
      uncertainty
  emerging information
 unexpected impediments


                   delays
   plan
                   defects


  more detailed planning
 rigid change management
          overburden
           (waste)
double loop learning
                                              Chris Argyris
                  guide



      values,
                          actions         results
    assumptions
                            how
        why
step
outside
the
system!
                   lead to new/improved

effectiveness               efficiency
doing the right things      doing things right
question assumptions        incremental change
radical change
timebound metrics
      learn, change, move on
               define metric*
               set expiration date




                                                  goal ok or
   values,                                        expiration
                     actions         results
 assumptions                                     date passed?




*actionable, accessible, auditable, time-bound
do not focus on the metric itself, it
  is just a mean to understand/learn
  and change

measures have value only if they
  inform decisions or motivate action
be careful
how do you know that the results
 you are seeing are related to
 the changes you have made?

how do you know you are learning
 correctly from those changes?
what’s going on?




open
bugs




            time
“bugs show lack of quality not its
presence” Gojko Adzic

removing what you don’t want (i.e. bugs)
does not imply getting what you do want
some hints
measure what scares you

measure outcome not output
i.e.
how much value created vs how
 many stories done
defects trending down vs how many
 unit tests created
but still
organizations want to measure individuals

=> people game metrics

⇒ “if you do X I will give you Y”
reduces motivation
1)  no autonomy: feeling controlled by who
    gives rewards
2)  being payed for doing something: may
    imply it’s not worth doing for its own
    sake
Hawthorne Effect
how to avoid this?
no bonus, appraisals, etc.
shared goals (let the team find
 how to reach them)
visualize feedback as
 informational and not
 controlling
give unexpected rewards
if you really have, let the team
 do individual appraisals
metrics

quadrants
inward & outward
looking metrics

 inward               outward
 looking              loooking
           feedback

                       Business &
  R&D                    Other
                      Stakeholders


           boundary
           objects
boundary objects




           R&D                          business

                       metric
boundary object [sociology]: something that helps
different communities exchange ideas and information.
could mean different things to different people
but allows coordination and alignment
metrics quadrants
                 Business


                outward
                looking
                   &
                feedback




                               Product
Process




                 inward
                 looking


               Team Maturity
metrics quadrants
                 Business




                       boundary
                        objects




                                  Product
Process




               Team Maturity
metrics quadrants
                     Business




                          boundary
                           objects




                                     Product
Process




             agile



                          fragile




                 Team Maturity
metrics quadrants
                 Business




                               Product
Process




               Team Maturity
metrics quadrants
                                     Business


                  Lead	
  Time	
  
                                                          Revenues	
  
                  Cycle	
  Time	
  
          Quality	
  of	
  Service	
  (SLA)	
               ROI	
  
                                                   Customer	
  SaHsfacHon	
  
                Throughput	
  
                                                               	
  
               Business	
  Value	
  




                                                                                Product
Process




                                                  Bugs?	
  
                    WIP	
  
                  Cadence	
  
                     CI	
  Failures	
                  Code	
  Quality	
  
                           Rework	
                   Technical	
  Debt	
  
                Impediments	
                         Test	
  Coverage	
  
               RetrospecHves	
  
                   Morale	
  
                               Team Maturity
metrics quadrants
                                         Business
 what!?
   no                 Lead	
  Time	
  
                                                              Revenues	
  
velocity?             Cycle	
  Time	
  
              Quality	
  of	
  Service	
  (SLA)	
               ROI	
  
                                                       Customer	
  SaHsfacHon	
  
                    Throughput	
  
                                                                   	
  
                   Business	
  Value	
  




                                                                                    Product
    Process




                                                      Bugs?	
  
                        WIP	
  
                      Cadence	
  
                         CI	
  Failures	
                  Code	
  Quality	
  
                               Rework	
                   Technical	
  Debt	
  
                    Impediments	
                         Test	
  Coverage	
  
                   RetrospecHves	
  
                       Morale	
  
                                   Team Maturity
fragility

      code quality




              reduce
               technical debt



lack of advanced engineering practices
(i.e. TDD, CI) => rework
code quality evolution
code quality evolution
agility
being agile is not the goal,
it’s a mean


if you are really interested there are
plenty of agility tests on the Internet:
Nokia Test
Scrum Open Assessment - ScrumAlliance
Agile Maturity Model
Agile Evaluation Framework
Comparative Agility Assessment
etc.
impediments,
 retrospectives, reviews
# of questions answered
                                ?
# of questions asked


# action items addressed
# action items assigned (at previous meetings)


# of WTFs
              WTF!?

      WTF!?
metrics

queues
queues are bad

increase              reduce
cycle time           quality
   risk             motivation
variability
 overhead

   stop starting start finishing
cumulative flow diagram


             arrivals
                             queue size
cumulative                     (WIP)
 quantity


             time in queue         departures
             (cycle time)         (throughput)


                        time

                                source: Donald Reinertsen
cumulative flow diagram
      WIP is a leading indicator

                  cycle time



cumulative      WIP
 quantity




                time
cumulative flow diagram
     large batches large queues




cumulative
 quantity




                time
cumulative flow diagram
     small batches small queues




cumulative
 quantity




                time
Kanban board
                                      if you can’t see it
                                      you can’t manage it

backlog     to do        in progress          done
              2               3




                            WIP
          cycle time =
                         throughput


                         cycle time
no WIP limit -> queue!

backlog	
     to do	
     ready	
     in progress	
     done	
  
                2	
                        3	
  
slack (%)

        optimize flow
       absorb variation
flow related metrics
active WIP - buffered WIP
tasks that are really in progress – task
waiting to be handed-off (#,%,% of time
spent)

process efficiency
active time / cycle time

technical debt WIP / standard WIP

# of projects a person works in parallel
(should be 1!!!)
visualizing tasks dynamics

backlog                         to do   in progress         done
                                  2          4




1	
     2	
     3	
     4	
  
        days                                inactive task
cumulative flow diagram
                 35	
  
                                                      not so helpful?
                 30	
  


                 25	
  
                                                backlog
                                                                Backlog	
  
                 20	
  
# user stories




                                                to do           To	
  Do	
  
                                                                In	
  Progress	
  
                 15	
                           in progress
                                 cycle time                     Done	
  

                           WIP
                 10	
                  throughput

                                                    done
                   5	
  


                   0	
  
                                         time
single column dynamics
                                                              In	
  Progress	
  
     6	
  

     5	
  

     4	
  

     3	
  
                                                                                                                                             WIP	
  
     2	
  

     1	
  

   0	
  
  4	
   1	
   2	
   3	
   4	
   5	
   6	
   7	
   8	
   9	
   10	
   11	
   12	
   13	
   14	
   15	
   16	
   17	
   18	
   19	
   20	
  
  3	
  
  2	
  
  1	
  
                                                                                                                                             in	
  
  0	
  
             1	
   2	
   3	
   4	
   5	
   6	
   7	
   8	
   9	
   10	
   11	
   12	
   13	
   14	
   15	
   16	
   17	
   18	
   19	
       out	
  
-­‐1	
  
-­‐2	
  
-­‐3	
  
-­‐4	
  
Kanban board dynamics
control charts




          source: Samuli Heljo
metrics

easy but powerful

         42
Happiness Index
leading or lagging?
                                        feedback board
       Mon   Tue      Wed   Thu   Fri

Tom    J     K      J    L    J
Anne   J     J      J    J    J
Paul   L     J      K    J    J
Joe    J     J      J    J    K
Eva    J     J      J    L    J
                   niko-niko calendar
Pizza Index




Pizza = Overtime => not good
        Steve Denning
how long since?
 you talked to a customer

 last useful retrospective

 you learned something at work

 your boss last freaked out

 last critical bug



6
weeks
        2
        days
                 3
                 days
                             1 52
                             week   days
and don’t forget
bus factor

# of key developers that need to be hit by a
bus to kill a project
“for every true one   “per una vera
thousands are fake”   mille sono finte”
                      F. De André
Gaetano Mazzanti
  Gama-Tech
     @mgaewsj
info@gama-tech.net

More Related Content

What's hot

Change management strategy ppt
Change management strategy pptChange management strategy ppt
Change management strategy ppt
sonips
 
Digital Transformation And Solution Architecture
Digital Transformation And Solution ArchitectureDigital Transformation And Solution Architecture
Digital Transformation And Solution Architecture
Alan McSweeney
 

What's hot (20)

Corporate Transformation And Change Management By Ravinder Tulsiani
Corporate Transformation And Change Management By Ravinder TulsianiCorporate Transformation And Change Management By Ravinder Tulsiani
Corporate Transformation And Change Management By Ravinder Tulsiani
 
Change management 101
Change management 101Change management 101
Change management 101
 
Change Management
Change ManagementChange Management
Change Management
 
Business Continuity Management PowerPoint Presentation Slides
Business Continuity Management PowerPoint Presentation SlidesBusiness Continuity Management PowerPoint Presentation Slides
Business Continuity Management PowerPoint Presentation Slides
 
Waterfall to Agile
Waterfall to AgileWaterfall to Agile
Waterfall to Agile
 
Change Management
Change ManagementChange Management
Change Management
 
Change Management
Change ManagementChange Management
Change Management
 
A proposed framework for Agile Roadmap Design and Maintenance
A proposed framework for Agile Roadmap Design and MaintenanceA proposed framework for Agile Roadmap Design and Maintenance
A proposed framework for Agile Roadmap Design and Maintenance
 
Change management strategy ppt
Change management strategy pptChange management strategy ppt
Change management strategy ppt
 
Leading Change Workshop
Leading Change WorkshopLeading Change Workshop
Leading Change Workshop
 
Hybrid Cloud & Data Fabric for Dummies
Hybrid Cloud & Data Fabric for DummiesHybrid Cloud & Data Fabric for Dummies
Hybrid Cloud & Data Fabric for Dummies
 
Digital Transformation And Solution Architecture
Digital Transformation And Solution ArchitectureDigital Transformation And Solution Architecture
Digital Transformation And Solution Architecture
 
Balance score card pdf
Balance score card pdfBalance score card pdf
Balance score card pdf
 
Change Management
Change ManagementChange Management
Change Management
 
Change and Project Management Toolkit - Framework, Best Practices and Templates
Change and Project Management Toolkit - Framework, Best Practices and TemplatesChange and Project Management Toolkit - Framework, Best Practices and Templates
Change and Project Management Toolkit - Framework, Best Practices and Templates
 
97352954 strategic-change-management-ppt
97352954 strategic-change-management-ppt97352954 strategic-change-management-ppt
97352954 strategic-change-management-ppt
 
Awareness iso 22301 danang suryo
Awareness iso 22301 danang suryoAwareness iso 22301 danang suryo
Awareness iso 22301 danang suryo
 
Was ist Neuroleadership und was sind Vorteile und Nachteile von Neuroleadership?
Was ist Neuroleadership und was sind Vorteile und Nachteile von Neuroleadership?Was ist Neuroleadership und was sind Vorteile und Nachteile von Neuroleadership?
Was ist Neuroleadership und was sind Vorteile und Nachteile von Neuroleadership?
 
Chaos Theory
Chaos TheoryChaos Theory
Chaos Theory
 
Organisation Change, Management Development & Communications Consulting and T...
Organisation Change, Management Development & Communications Consulting and T...Organisation Change, Management Development & Communications Consulting and T...
Organisation Change, Management Development & Communications Consulting and T...
 

Viewers also liked

The hawthorne experiments-roethlisberger1941
The hawthorne experiments-roethlisberger1941The hawthorne experiments-roethlisberger1941
The hawthorne experiments-roethlisberger1941
jcpham
 
Hawthrone effect
Hawthrone effectHawthrone effect
Hawthrone effect
Cosmas Zeno
 
Martin Seligman's Theories
Martin Seligman's TheoriesMartin Seligman's Theories
Martin Seligman's Theories
birla
 

Viewers also liked (16)

The hawthorne experiments-roethlisberger1941
The hawthorne experiments-roethlisberger1941The hawthorne experiments-roethlisberger1941
The hawthorne experiments-roethlisberger1941
 
Technical Debt
Technical DebtTechnical Debt
Technical Debt
 
Learned Helplessnes
Learned HelplessnesLearned Helplessnes
Learned Helplessnes
 
Agile DC Lead Time
Agile DC Lead TimeAgile DC Lead Time
Agile DC Lead Time
 
Learned Helplessness
Learned HelplessnessLearned Helplessness
Learned Helplessness
 
Hawthorne experiments
Hawthorne experimentsHawthorne experiments
Hawthorne experiments
 
Lead Time: What We Know About It...
Lead Time: What We Know About It...Lead Time: What We Know About It...
Lead Time: What We Know About It...
 
Hawthorne experiments
Hawthorne experimentsHawthorne experiments
Hawthorne experiments
 
The Hawthorne Studies
The Hawthorne StudiesThe Hawthorne Studies
The Hawthorne Studies
 
Hawthrone effect
Hawthrone effectHawthrone effect
Hawthrone effect
 
Kanban Metrics in practice for leading Continuous Improvement
Kanban Metrics in practice for leading Continuous ImprovementKanban Metrics in practice for leading Continuous Improvement
Kanban Metrics in practice for leading Continuous Improvement
 
Hawthorne
HawthorneHawthorne
Hawthorne
 
Hawthorne
HawthorneHawthorne
Hawthorne
 
Martin Seligman's Theories
Martin Seligman's TheoriesMartin Seligman's Theories
Martin Seligman's Theories
 
software engineering
 software engineering software engineering
software engineering
 
Hawthorne experiments
Hawthorne experimentsHawthorne experiments
Hawthorne experiments
 

Similar to Metrics As A Learn And Change Agent

Management Information Systems
Management Information SystemsManagement Information Systems
Management Information Systems
Sampath
 
Bush.stewart
Bush.stewartBush.stewart
Bush.stewart
NASAPMC
 
Lean & Agile Project Management: For Large Distributed Virtual Teams
Lean & Agile Project Management: For Large Distributed Virtual TeamsLean & Agile Project Management: For Large Distributed Virtual Teams
Lean & Agile Project Management: For Large Distributed Virtual Teams
David Rico
 
Social Business FORUM 2012 - Mastering the E20 Journey
Social Business FORUM 2012 - Mastering the E20 JourneySocial Business FORUM 2012 - Mastering the E20 Journey
Social Business FORUM 2012 - Mastering the E20 Journey
N:Sight Research GmbH
 
Mastering the E20 Journey – An organizational Development driven Approach to ...
Mastering the E20 Journey – An organizational Development driven Approach to ...Mastering the E20 Journey – An organizational Development driven Approach to ...
Mastering the E20 Journey – An organizational Development driven Approach to ...
OpenKnowledge srl
 

Similar to Metrics As A Learn And Change Agent (20)

How (fr)agile we are. ALE2011
How (fr)agile we are. ALE2011How (fr)agile we are. ALE2011
How (fr)agile we are. ALE2011
 
Measuring the Results of your Agile Adoption
Measuring the Results of your Agile AdoptionMeasuring the Results of your Agile Adoption
Measuring the Results of your Agile Adoption
 
Management Information Systems
Management Information SystemsManagement Information Systems
Management Information Systems
 
SharePoint MoneyBall: The Art of Winning the SharePoint Metrics Game by Susan...
SharePoint MoneyBall: The Art of Winning the SharePoint Metrics Game by Susan...SharePoint MoneyBall: The Art of Winning the SharePoint Metrics Game by Susan...
SharePoint MoneyBall: The Art of Winning the SharePoint Metrics Game by Susan...
 
Strategic governance performance_management_systems
Strategic governance performance_management_systemsStrategic governance performance_management_systems
Strategic governance performance_management_systems
 
Clorox Open Innovation
Clorox Open InnovationClorox Open Innovation
Clorox Open Innovation
 
DOES15 - Damon Edwards - DevOps Kaizen Practical Steps to Start & Sustain a T...
DOES15 - Damon Edwards - DevOps Kaizen Practical Steps to Start & Sustain a T...DOES15 - Damon Edwards - DevOps Kaizen Practical Steps to Start & Sustain a T...
DOES15 - Damon Edwards - DevOps Kaizen Practical Steps to Start & Sustain a T...
 
DevOps Kaizen: Practical Steps to Start & Sustain a Transformation
DevOps Kaizen: Practical Steps to Start & Sustain a TransformationDevOps Kaizen: Practical Steps to Start & Sustain a Transformation
DevOps Kaizen: Practical Steps to Start & Sustain a Transformation
 
Write the Right Requirements by Eric Riz - SPTechCon
Write the Right Requirements by Eric Riz - SPTechConWrite the Right Requirements by Eric Riz - SPTechCon
Write the Right Requirements by Eric Riz - SPTechCon
 
Bush.stewart
Bush.stewartBush.stewart
Bush.stewart
 
Lean & Agile Project Management: For Large Distributed Virtual Teams
Lean & Agile Project Management: For Large Distributed Virtual TeamsLean & Agile Project Management: For Large Distributed Virtual Teams
Lean & Agile Project Management: For Large Distributed Virtual Teams
 
Making Cornwall Agile
Making Cornwall AgileMaking Cornwall Agile
Making Cornwall Agile
 
Managing Large Scale Agile Transformation
Managing Large Scale Agile TransformationManaging Large Scale Agile Transformation
Managing Large Scale Agile Transformation
 
Gregs BI Presentation
Gregs BI PresentationGregs BI Presentation
Gregs BI Presentation
 
Sustainable behavior change as a strategic imperative
Sustainable behavior change as a strategic imperativeSustainable behavior change as a strategic imperative
Sustainable behavior change as a strategic imperative
 
How to become an Analytics-driven organization - and why bother? - IBM Smarte...
How to become an Analytics-driven organization - and why bother? - IBM Smarte...How to become an Analytics-driven organization - and why bother? - IBM Smarte...
How to become an Analytics-driven organization - and why bother? - IBM Smarte...
 
Social Business FORUM 2012 - Mastering the E20 Journey
Social Business FORUM 2012 - Mastering the E20 JourneySocial Business FORUM 2012 - Mastering the E20 Journey
Social Business FORUM 2012 - Mastering the E20 Journey
 
Mastering the E20 Journey – An organizational Development driven Approach to ...
Mastering the E20 Journey – An organizational Development driven Approach to ...Mastering the E20 Journey – An organizational Development driven Approach to ...
Mastering the E20 Journey – An organizational Development driven Approach to ...
 
Agile - Agile Software Project Management Methodologies
Agile - Agile Software Project Management MethodologiesAgile - Agile Software Project Management Methodologies
Agile - Agile Software Project Management Methodologies
 
DEV345_Tools Won’t Fix Your Broken DevOps
DEV345_Tools Won’t Fix Your Broken DevOpsDEV345_Tools Won’t Fix Your Broken DevOps
DEV345_Tools Won’t Fix Your Broken DevOps
 

More from Gaetano Mazzanti

More from Gaetano Mazzanti (19)

Organic Change - Beyond Scaling Frameworks
Organic Change - Beyond Scaling FrameworksOrganic Change - Beyond Scaling Frameworks
Organic Change - Beyond Scaling Frameworks
 
Modern Portfolio Management Intro
Modern Portfolio Management IntroModern Portfolio Management Intro
Modern Portfolio Management Intro
 
Who’s to blame if you can’t achieve agility?
Who’s to blame if you can’t achieve agility?Who’s to blame if you can’t achieve agility?
Who’s to blame if you can’t achieve agility?
 
Metrics for Business Agility (whatever that means)
Metrics for Business Agility (whatever that means)Metrics for Business Agility (whatever that means)
Metrics for Business Agility (whatever that means)
 
Process and Structure can be changed overnight. Mindsets can't
Process and Structure can be changed overnight. Mindsets can'tProcess and Structure can be changed overnight. Mindsets can't
Process and Structure can be changed overnight. Mindsets can't
 
Burning Agile
Burning AgileBurning Agile
Burning Agile
 
Innovation, Lean, Agile. Myths and Misconception
Innovation, Lean, Agile. Myths and MisconceptionInnovation, Lean, Agile. Myths and Misconception
Innovation, Lean, Agile. Myths and Misconception
 
DevOps Metrics - Lies, Damned Lies and Statistics
DevOps Metrics - Lies, Damned Lies and StatisticsDevOps Metrics - Lies, Damned Lies and Statistics
DevOps Metrics - Lies, Damned Lies and Statistics
 
One, No One, One Hundred Thousand Projects (Uno, Nessuno, Centomila Progetti)
One, No One, One Hundred Thousand Projects (Uno, Nessuno, Centomila Progetti)One, No One, One Hundred Thousand Projects (Uno, Nessuno, Centomila Progetti)
One, No One, One Hundred Thousand Projects (Uno, Nessuno, Centomila Progetti)
 
You Don't Need To Change. Survival Is Optional
You Don't Need To Change. Survival Is OptionalYou Don't Need To Change. Survival Is Optional
You Don't Need To Change. Survival Is Optional
 
Kanban for Portfolio Management
Kanban for Portfolio ManagementKanban for Portfolio Management
Kanban for Portfolio Management
 
People as Bottlenecks
People as BottlenecksPeople as Bottlenecks
People as Bottlenecks
 
Esteem and Estimates (Ti Stimo Fratello)
Esteem and Estimates (Ti Stimo Fratello)Esteem and Estimates (Ti Stimo Fratello)
Esteem and Estimates (Ti Stimo Fratello)
 
Agile in the Bathtub
Agile in the BathtubAgile in the Bathtub
Agile in the Bathtub
 
Kanban = Violet Pill
Kanban = Violet PillKanban = Violet Pill
Kanban = Violet Pill
 
Pre Mortem Retrospectives
Pre Mortem RetrospectivesPre Mortem Retrospectives
Pre Mortem Retrospectives
 
How (fr)agile we are
How (fr)agile we areHow (fr)agile we are
How (fr)agile we are
 
Agile Principles, Agile People
Agile Principles, Agile PeopleAgile Principles, Agile People
Agile Principles, Agile People
 
Agile KPIs
Agile KPIsAgile KPIs
Agile KPIs
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

Metrics As A Learn And Change Agent

  • 1. metrics as a learn and change agent Gaetano Mazzanti @mgaewsj Gama-Tech
  • 2. as an agile coach I am often asked to define/introduce KPIs “why?”
  • 3. Case 1 “uhm, ehm, we need to measure code & fix if and how much we are improving” no process chaos
  • 4. *typicallyfor performance appraisals Case 2 “we need to measure traditional if and how much we are improving; rigid process top-down company policies enforce using KPIs*”
  • 5. unfortunately things are not so simple and linear
  • 6. systems: some definitions system any network that has coherence, it may be fuzzy, it may have purpose agent anything which acts within the system: individual, group, idea, etc. ordered complex chaotic
  • 7. complex system lightly constrains agents agents modify system by their interaction with it and each other, they co-evolve ordered system constrains agents chaotic agents underconstrained & independent of each other ordered complex chaotic
  • 8. no metrics code & fix no process chaos ordered complex chaotic
  • 9. metrics for a linear, deterministic world no metrics traditional code & fix rigid process top-down no process chaos ordered complex chaotic
  • 10. ??? agile metrics for a linear, deterministic world no metrics traditional code & fix rigid process top-down no process chaos ordered complex chaotic
  • 11. complex systems exhibit one or more properties (behavior) not obvious from the properties of the individual interconnected parts they are composed of
  • 12. product development is complex “self-organizing, non-linear, feedback systems are inherently unpredictable, they are not controllable“ D.Meadows
  • 13. so what are we supposed to do?
  • 14. we can watch, learn and work with the system
  • 16. how?
  • 17. loop!
  • 18. PDCA Loop plan act do check Shewhart & Deming
  • 19. OODA Loop observe orient act decide J.Boyd
  • 20. LeanStartup Loop Ideas   Learn   Build   Data   Product   are we building the right product? Measure   E.Ries
  • 21. when looping minimize total time through the loop learn fast fail fast! “biggest failure is failure to learn” (M.Poppendieck)
  • 22. single loop learning lead to actions results how which shape future efficiency doing things right incremental change
  • 23. single loop drawbacks uncertainty emerging information unexpected impediments delays plan defects more detailed planning rigid change management overburden (waste)
  • 24. double loop learning Chris Argyris guide values, actions results assumptions how why step outside the system! lead to new/improved effectiveness efficiency doing the right things doing things right question assumptions incremental change radical change
  • 25. timebound metrics learn, change, move on define metric* set expiration date goal ok or values, expiration actions results assumptions date passed? *actionable, accessible, auditable, time-bound
  • 26. do not focus on the metric itself, it is just a mean to understand/learn and change measures have value only if they inform decisions or motivate action
  • 27. be careful how do you know that the results you are seeing are related to the changes you have made? how do you know you are learning correctly from those changes?
  • 29. “bugs show lack of quality not its presence” Gojko Adzic removing what you don’t want (i.e. bugs) does not imply getting what you do want
  • 30. some hints measure what scares you measure outcome not output i.e. how much value created vs how many stories done defects trending down vs how many unit tests created
  • 31. but still organizations want to measure individuals => people game metrics ⇒ “if you do X I will give you Y” reduces motivation 1)  no autonomy: feeling controlled by who gives rewards 2)  being payed for doing something: may imply it’s not worth doing for its own sake
  • 33. how to avoid this? no bonus, appraisals, etc. shared goals (let the team find how to reach them) visualize feedback as informational and not controlling give unexpected rewards if you really have, let the team do individual appraisals
  • 35. inward & outward looking metrics inward outward looking loooking feedback Business & R&D Other Stakeholders boundary objects
  • 36. boundary objects R&D business metric boundary object [sociology]: something that helps different communities exchange ideas and information. could mean different things to different people but allows coordination and alignment
  • 37. metrics quadrants Business outward looking & feedback Product Process inward looking Team Maturity
  • 38. metrics quadrants Business boundary objects Product Process Team Maturity
  • 39. metrics quadrants Business boundary objects Product Process agile fragile Team Maturity
  • 40. metrics quadrants Business Product Process Team Maturity
  • 41. metrics quadrants Business Lead  Time   Revenues   Cycle  Time   Quality  of  Service  (SLA)   ROI   Customer  SaHsfacHon   Throughput     Business  Value   Product Process Bugs?   WIP   Cadence   CI  Failures   Code  Quality   Rework   Technical  Debt   Impediments   Test  Coverage   RetrospecHves   Morale   Team Maturity
  • 42. metrics quadrants Business what!? no Lead  Time   Revenues   velocity? Cycle  Time   Quality  of  Service  (SLA)   ROI   Customer  SaHsfacHon   Throughput     Business  Value   Product Process Bugs?   WIP   Cadence   CI  Failures   Code  Quality   Rework   Technical  Debt   Impediments   Test  Coverage   RetrospecHves   Morale   Team Maturity
  • 43. fragility code quality reduce technical debt lack of advanced engineering practices (i.e. TDD, CI) => rework
  • 46. agility being agile is not the goal, it’s a mean if you are really interested there are plenty of agility tests on the Internet: Nokia Test Scrum Open Assessment - ScrumAlliance Agile Maturity Model Agile Evaluation Framework Comparative Agility Assessment etc.
  • 47. impediments, retrospectives, reviews # of questions answered ? # of questions asked # action items addressed # action items assigned (at previous meetings) # of WTFs WTF!? WTF!?
  • 49. queues are bad increase reduce cycle time quality risk motivation variability overhead stop starting start finishing
  • 50. cumulative flow diagram arrivals queue size cumulative (WIP) quantity time in queue departures (cycle time) (throughput) time source: Donald Reinertsen
  • 51. cumulative flow diagram WIP is a leading indicator cycle time cumulative WIP quantity time
  • 52. cumulative flow diagram large batches large queues cumulative quantity time
  • 53. cumulative flow diagram small batches small queues cumulative quantity time
  • 54. Kanban board if you can’t see it you can’t manage it backlog to do in progress done 2 3 WIP cycle time = throughput cycle time
  • 55. no WIP limit -> queue! backlog   to do   ready   in progress   done   2   3  
  • 56. slack (%) optimize flow absorb variation
  • 57. flow related metrics active WIP - buffered WIP tasks that are really in progress – task waiting to be handed-off (#,%,% of time spent) process efficiency active time / cycle time technical debt WIP / standard WIP # of projects a person works in parallel (should be 1!!!)
  • 58. visualizing tasks dynamics backlog to do in progress done 2 4 1   2   3   4   days inactive task
  • 59. cumulative flow diagram 35   not so helpful? 30   25   backlog Backlog   20   # user stories to do To  Do   In  Progress   15   in progress cycle time Done   WIP 10   throughput done 5   0   time
  • 60. single column dynamics In  Progress   6   5   4   3   WIP   2   1   0   4   1   2   3   4   5   6   7   8   9   10   11   12   13   14   15   16   17   18   19   20   3   2   1   in   0   1   2   3   4   5   6   7   8   9   10   11   12   13   14   15   16   17   18   19   out   -­‐1   -­‐2   -­‐3   -­‐4  
  • 62. control charts source: Samuli Heljo
  • 64. Happiness Index leading or lagging? feedback board Mon Tue Wed Thu Fri Tom J K J L J Anne J J J J J Paul L J K J J Joe J J J J K Eva J J J L J niko-niko calendar
  • 65. Pizza Index Pizza = Overtime => not good Steve Denning
  • 66. how long since? you talked to a customer last useful retrospective you learned something at work your boss last freaked out last critical bug 6 weeks 2 days 3 days 1 52 week days
  • 67. and don’t forget bus factor # of key developers that need to be hit by a bus to kill a project
  • 68. “for every true one “per una vera thousands are fake” mille sono finte” F. De André
  • 69.
  • 70. Gaetano Mazzanti Gama-Tech @mgaewsj info@gama-tech.net