Difference between revisions of "Metric drives behavior"

From Pearl Language
Jump to navigation Jump to search
m (# -> ##)
(+= {{quote|The purpose of measurements is to motivate the parts to do what is good for the organization as a whole.|Eli Goldratt}})
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{tag|excellence}}
{{tag|excellence}}
----
'''[https://seths.blog/2019/06/any-metric-you-can-buy-your-way-out-of/ Any metric you can buy your way out of…]'''
Is probably not a useful metric to measure yourself by.
If it’s important and you can spend money to fix it, by all means, go do that.
But the helpful metrics are the ones where cash isn’t the solution.
—Seth Godin
----
When starting out with metrics and KPI’s, consider…
#If this went up what would we do differently?
#If this went down, what would we do differently?
#Given your answers why do you need the metric?
Metrics for team coaching. Always be thinking:
#If we improve this, what might we degrade?
#Improvement takes time, how will we know when impact begins.
#How much good for this metric is enough or too much, what signs do we look for?
:—Troy Magennis
The first things I'd check to diagnose bad quality:
#how much work in progress
#what % of the tasks have deadlines
#how big the tasks are; and
#are there any hand-offs.
From my experience, nothing hurts quality more than those four. —Dimitri Kraivanov


5 Basic Metric Rules:
5 Basic Metric Rules:
Line 19: Line 49:


'''To do''': Add quotes on behavior and control from ''{{p|don’t just do something, stand there!}}''
'''To do''': Add quotes on behavior and control from ''{{p|don’t just do something, stand there!}}''
{{quote|The purpose of measurements is to motivate the parts to do what is good for the organization as a whole.|Eli Goldratt}}
{{quote|Good metrics are enlightening and help us make better decisions.|Scott Ambler}}
{{quote|The most powerful statement managers can make about what is important in the organisation lies in what they choose to measure.|John Seddon}}
{{quote|It is difficult to detect improvements or reductions in productivity because we feel busy regardless of our output. That’s why measurement is important.|Kanban}}
{{quote|It is difficult to detect improvements or reductions in productivity because we feel busy regardless of our output. That’s why measurement is important.|Kanban}}
{{quote|Measurements aren't about achieving certainty. They are about reducing uncertainty|@AgileSteveSmith}}
{{quote|Measurements aren't about achieving certainty. They are about reducing uncertainty|@AgileSteveSmith}}
Line 108: Line 142:
*'''Leading'''—Managers like leading indicators, and prefer an imperfect forecast of the future to a perfect report on the past. It is better to measure the size of a test queue than it is to measure the processing times of individual tests because test queue size is a leading indicator of future delays in test processing. Accountants like lagging indicators that can be measured very accurately, but these point to things that have past.
*'''Leading'''—Managers like leading indicators, and prefer an imperfect forecast of the future to a perfect report on the past. It is better to measure the size of a test queue than it is to measure the processing times of individual tests because test queue size is a leading indicator of future delays in test processing. Accountants like lagging indicators that can be measured very accurately, but these point to things that have past.
*'''Self-generating'''—Metrics are created without extra effort in the normal course of business, as in spin-off of daily activities.
*'''Self-generating'''—Metrics are created without extra effort in the normal course of business, as in spin-off of daily activities.
All metrics can be leading or lagging relative to some other metric. The important question is whether you can describe a coherent relationship between them.


==KPIs==
==KPIs==
Line 186: Line 222:


==Sources==
==Sources==
{{WebSourceListItem
|url=https://blog.usenotion.com/13-essential-software-development-metrics-to-ensure-quality-219cfc264ed1
|site=Use Notion
|title=13 Essential Software Development Metrics to Ensure Quality
}}
{{WebSourceListItem
|url=https://productcraft.com/perspectives/not-all-metrics-have-to-be-actionable-gasp/
|site=Product Craft
|person=René Rosendahl
|title=Not All Metrics Have to Be Actionable (Gasp!)
|kind=Tweet
}}
{{WebSourceListItem
|url=https://t.co/O3XrQNe6nd
|site=Twitter
|person=Omer van Kloeten
|title=Quantifying Quality
|kind=Tweet
}}
{{WebSourceListItem
{{WebSourceListItem
|url=http://focusedobjective.com/wp-content/uploads/2014/09/The-Economic-Impact-of-Software-Development-Process-Choice-Cycle-time-Analysis-and-Monte-Carlo-Simulation-Results.pdf
|url=http://focusedobjective.com/wp-content/uploads/2014/09/The-Economic-Impact-of-Software-Development-Process-Choice-Cycle-time-Analysis-and-Monte-Carlo-Simulation-Results.pdf

Latest revision as of 08:03, 4 August 2020


Any metric you can buy your way out of…

Is probably not a useful metric to measure yourself by.

If it’s important and you can spend money to fix it, by all means, go do that.

But the helpful metrics are the ones where cash isn’t the solution.

—Seth Godin


When starting out with metrics and KPI’s, consider…

  1. If this went up what would we do differently?
  2. If this went down, what would we do differently?
  3. Given your answers why do you need the metric?


Metrics for team coaching. Always be thinking:

  1. If we improve this, what might we degrade?
  2. Improvement takes time, how will we know when impact begins.
  3. How much good for this metric is enough or too much, what signs do we look for?
—Troy Magennis

The first things I'd check to diagnose bad quality:

  1. how much work in progress
  2. what % of the tasks have deadlines
  3. how big the tasks are; and
  4. are there any hand-offs.

From my experience, nothing hurts quality more than those four. —Dimitri Kraivanov

5 Basic Metric Rules:

  1. Respect individual safety.
  2. Show trends.
  3. Compare data in context.
  4. Highlight the unusual.
  5. Balance the focus—the four balancing pillars are usually:
    1. Quality
    2. Productivity
    3. Predictability, and
    4. Responsiveness.

(@t_magennis @elabor8)


Metrics are not a yard-stick to control and manage people but serve to bring transparency to the teams.

Ryanair to cancel 40-50 flights per day for six weeks to meet their “punctuality” metric, rather than focusing on customer’s fitness for purpose criterion on-time arrival metric. Ryanair noticed that punctuality—a vanity metric—had fallen below 80% and that cancelling less than 2% of its flights—affecting up to 285,000 passengers—would help it hit its annual punctuality target of 90%.

To do: Add quotes on behavior and control from don’t just do something, stand there!

The purpose of measurements is to motivate the parts to do what is good for the organization as a whole.
Eli Goldratt
Good metrics are enlightening and help us make better decisions.
Scott Ambler
The most powerful statement managers can make about what is important in the organisation lies in what they choose to measure.
John Seddon
It is difficult to detect improvements or reductions in productivity because we feel busy regardless of our output. That’s why measurement is important.
Kanban
Measurements aren't about achieving certainty. They are about reducing uncertainty
@AgileSteveSmith
The purpose of measurements is to motivate the parts to do what is good for the organization as a whole.
Eli Goldratt
Every metric is a vanity metric if you are not using it to drive behavior.
Bill Sesko
Metrics are people, too.
Eric Ries
It’s better to be roughly right than precisely wrong
Maynard Keynes
Everything that can be counted does not necessarily count; everything that counts cannot necessarily be counted.
Albert Einstein
What gets measured is what gets done.
unknown
You can game any metric.
unknown
Don't measure anything unless the data helps you make a better decision or change your actions.
Seth Godin, via Seth Godin » Analytics without action
If you're not prepared to change your diet or your workouts, don't get on the scale.
Seth Godin, via
Even noisy data is better than no data.
David J. Anderson
Data always trumps opinion.
David J. Anderson
Without data, assumptions fill the void.
Julia Wester
When benefits are not quantified at all, assume there aren’t any.
Tom DeMarco

Seth Godin » Analytics without action

Meten leidt tot weten(?!). To measure leads to knowledge.

From The Lean Startup—Eric Ries: Actionable Metrics are

  1. Actionable
  2. Accessible
  3. Auditable

Use behaviour-driven metrics—metrics that deal with people and their actions with the system, e.g.

  • downloading the product;
  • login into the product;
  • posting and sharing a picture; and
  • commenting on a picture.

Sounds like user stories.

Use actionable behavioural metrics one-pager to settle any product arguments throughout the organization.

METRICS:

Measure Everything That Results In Customer Satisfaction

Have a look at pirate metrics.

In other words, metrics drive behavior, possibly related to the Observer Effect.

Therefore:

  • Secure that all metrics lead to customer delight and value creation, potentially boosting the net promoter score, either, directly or indirectly.
  • Pick and design your metrics with great care as they drive human behavior, and therefore that of the organization.
  • Use metrics to guide improvements that accelerate the organization or ecosystem as a whole, not to measure activities of people. This is, pick metrics that optimize the whole on multiple levels of scale or granularity, e.g. epic, feature, and story level.
  • Limit metrics to numbers that quantify a certain outcome or the quality of certain input that is key for the quality of an outcome.
  • Select two to three universal metrics that apply to the whole unit, division or all teams.
  • Use ockham's razor to measure only the necessary things.
  • Aim the metric to maximize value creation.
  • Capture the metric in planguage to quantify quality.
  • Keep your metric elegant, terse, to the point.

The worst thing that van happen with metrics is that people start feeling beat up, which means that they will start hiding data. If the management does not understand the constraints because the teams concerns about getting beat up for not being on time, then you never know where to help or how move resources around. If teams see management as helping to move resources around and provide creative and helpful changes, the issues will be made visible early, and you can respond and adjust in reaI·time. The leads to a positive reinforcing cycle that is key to the the agile management approach. (Source: A Practical Approach to Large-Scale Agile Development: How HP Transformed LaserJet FutureSmart Firmware (Agile Software Development Series))

  • Metrics without goals are naked—Metrics should always give you a clue on where you are regarding your goals. So, find out where you are, how you measure that, and where you want to be. Set up a metric that tracks your progress.
  • Balanced Metrics—Many metrics only focus on operational excellence. This creates a biased view on reality and distorts and deforms the organization as a whole. Therefore, balance metrics across the following dimensions:
    1. Operational Excellence
      • Velocity
      • Burn rate
      • Predictability
      • Sustainability
      • Meeting deadlines
      • Stay within budget
      • Meet quality requirements
      • Cohesive set user stories in a sprint
    2. User Orientation
    3. Business Value
      • Business value per € development
      • Business value realization
    4. Future Orientation
      • Enthusiasm and motivation
      • happiness index
      • Educational opportunities
      • Vision on future development
      • Innovative governance
    • Have participants brainstorm on metrics and put each of them in the most appropriate category. Next, pick one or two from each catagory to create balance.
    • Consider using planguage to capture metrics in a solid, comprehensive and consistent way.

Vanity Metrics

The book The Lean Startup—Eric Ries defines so called vanity metrics.

Useful Metrics

Donald Reinertsen, author of Managing the Design Factory states that a good, useful metric is:

  • Simple—The ideal metrics are self-generating in the sense that they are created without extra effort in the normal course of business.
  • Relevant—One test of relevance is whether the metrics focus on things that are actually controllable by the people being measured. Psychologists have found that when people think that they can control something they are more motivated to control it. Measuring people on things they can not control simply causes stress, dissatisfaction, and alienation. Also, metrics must be relevant towards the end goal.
  • Leading—Managers like leading indicators, and prefer an imperfect forecast of the future to a perfect report on the past. It is better to measure the size of a test queue than it is to measure the processing times of individual tests because test queue size is a leading indicator of future delays in test processing. Accountants like lagging indicators that can be measured very accurately, but these point to things that have past.
  • Self-generating—Metrics are created without extra effort in the normal course of business, as in spin-off of daily activities.

All metrics can be leading or lagging relative to some other metric. The important question is whether you can describe a coherent relationship between them.

KPIs

David J. Anderson on KPIs: Measure what matters to customers! All KPIs should be recognizable to your customer! Fit for purpose service delivery KPIs:

  • lead time;
  • quality;
  • predictability;
  • conformance;
  • safety.

KPIs:

  • help to give direction
  • are meaningful for everyone
  • focus on trends rather than absolute numbers
  • focus on quality (speed will follow)
  • drive improvements in the way of working
  • challenge everyone to improve performance
  • are tied to a strategic objective
  • contribute to vision and mission
  • provide neutral and objective information, not judgement
  • flow top down and bottom up
  • are concrete but not a target
  • have at least one bound
  • are leading indicators
  • gives insight in and answers the question “Are we heading in the right direction?” at strategic (company), tactical (unit) and operational (team) level;
  • are reflected in the various flow state admission criteria (e.g. Definition of Ready, Definition of Done).

Good KPIs are:

  • accessible
  • transparent—visibile to everyone
  • simple
  • understandable
  • actionable at the lowest organizational levels (team, individual)

KPIs DO NOTs:

  • Do not use KPIs to compare teams or units;
  • Do not use or design KPIs to judge;
  • Do not create KPIs that threaten or scare people;

Potential KPI trends you may want to track:

  • ka-ching moments—every time an item is put in production a point is scored; higher is better; trend should be upwards as team speeds up, gets gelled;
  • average lead time distribution:
    • average time between moment item is pulled into team and ka-ching moment; shorter is better; trend should be downwards;
    • number of outliers (should decrease)
  • throughput—running average of completed items per time period (week, month, quarter, year); as team speeds up, trend should follow upwards;
  • happiness index—drives speed improvements; higher is better; trend should be upwards;
  • due date performance:
    • For the most recent month and for the year to date;
    • Optional year-on-year (or 12 months ago);
  • flow efficiency:
    • sum of work time divided by sum of waiting time for all items
    • good indicator of the waste in the system;
  • defect rate (a.k.a. bugs):
    • Defects represent opportunity cost and affect the lead time and throughput of the system.
    • Report the number of escaped defects as a percentage against the total WIP and throughput.
    • Keeping the number of bugs between 0 and 20 is a good policy for most projects.
    • Key questions:
      • Why is the number of new defects increasing? Did you relax some QA policies?
      • How did the high level of bugs in week 20 affect cycle time?
      • What was the impact on the cumulative flow diagram when the number of bugs increased?
      • Over time, work to make the defect rate fall to close to zero.
      • less is better;
      • trend should be downwards;
  • blocked items:
    • Blocked items have serious long term effects on the systems.
    • A team’s ability to quickly solve issues says a lot about the team’s performance and effectiveness.
    • Blocked items should always be visible on the board.
    • Tracking the status over time is usually a good way of knowing whether the team is moving in the right direction.
    • less blockers is better; downward trend;
  • failure load:
    • Failure Load (amount of rework) is a good indicator that you are improving as a whole organization and thinking at a system level.
    • Failure load tracks how many work items you process because of earlier poor quality—how many work items are production defects or new features that have been requested through your customer-service organization because of poor usability or a failure to anticipate user needs properly.
    • Ideally, Failure Load should fall over time.
    • less rework is better; downward trend preferred;

The operations review is a monthly feedback loop for a number of these metrics.

Sources