Quality Confidence is a lead indicator of the quality of a release: how much of what is in scope is tested, and how stably those tests pass.

The workflow metrics measure speed, and every one of them pushes teams to go faster. Left alone, that pressure eats quality. This page is the other half: one metric that pulls the other way, then the metrics that look at the organisation rather than the work, then the ways reports go wrong. It ends where the book ended.

Quality Confidence

Is the output of good enough quality?

Quality Confidence folds three questions that every release review asks into one number that can be trended:

A release scores high when its in-scope requirements are covered and their tests keep passing. It scores low when coverage is thin, or when tests fail repeatedly, or when they flicker. Because it is calculated from test results that already exist, it costs almost nothing to collect, and because it is calculated before release, it is a lead indicator, unlike escaped bugs, which arrive after the damage.

The H-Model gives it somewhere to live. The requirements stack maps explicitly onto the stack of Definitions of Done, so Quality Confidence can be calculated independently at each level: for a team’s stories against “developed”, for a product’s Integration Scenarios against “integration tested”, for a programme’s features against “business accepted”. It can also serve as a gate: a Release does not move into the next pipeline stage until its Quality Confidence at the current level clears a bar the Product Forum agreed.

How to calculate it

Start with the requirements in scope for the current release, and only those. Quality Confidence for a release that is still half-built should reflect the half that is being built, not the whole backlog.

For each in-scope requirement:

  1. Coverage. Decide whether the requirement has enough tests. This is a judgement, flagged by the team, not a computed line-coverage figure. A requirement may be in scope and hard to test, or may be a historic source of fringe cases, and the team may rightly say its testing is not yet adequate. Record that as a coverage factor: 1 for enough, 0 for not enough (or a fraction if you want to be gentler). A requirement with no tests at all is 0, whatever else is true.
  2. Stability. Take the pass rate of the requirement’s tests in each of the last n runs, newest first. Combine them with a weighted moving average so that the latest run counts most and the oldest kept run counts least. With n = 3 and weights 3, 2, 1, stability = (3 × latest + 2 × previous + 1 × oldest) / 6. A test that failed its last five runs and passed this morning does not get to claim stability. We recommend starting at three runs and tuning by test frequency and risk.
  3. Missing runs. If the tests were not run in one of the last n runs, do not carry the old result forward unchanged. Multiply the requirement’s stability by 0.8 for each missing run. A pass last month is not a pass today.
  4. Requirement confidence = coverage × stability.

Then the release’s Quality Confidence is the mean of the requirement confidences, or a weighted mean if some requirements matter more. One hundred per cent is only reachable when every in-scope requirement is adequately covered and every test has passed in all of the last n runs.

Quality Confidence for a release: coverage times stability, averaged over in-scope requirements (worked example)Release: 64%mean of six in-scope requirementsR1: 100%cov. x stab.enough: yes100% pass100% pass100% passstability 100%R2: 93%cov. x stab.enough: yes100% pass80% pass100% passstability 93%R3: 100%cov. x stab.enough: yes100% pass100% pass100% passstability 100%R4: 43%cov. x stab.enough: yes60% pass30% pass20% passstability 43%R5: 50%cov. x stab.enough: yes20% pass70% pass100% passstability 50%R6: 0%cov. x stab.enough: NO100% pass100% pass100% passstability 100%CoverageRun nRun n-1Run n-2Weightedhistory cut-off: older runs do not countStability = (3 x latest + 2 x previous + 1 x oldest) / 6. R2: (300 + 160 + 100) / 6 = 93%. R4: (180 + 60 + 20)/ 6 = 43%. R6 passes everything but is flagged as under-tested, so it scores 0 and drags the release to 64%.Fix the coverage and the release jumps to 81%.A skipped run multiplies the requirement's stability by 0.8 per missing run: a pass last month is not a pass today.
A worked example with six in-scope requirements and three kept test runs. Each requirement scores coverage times weighted stability; the release is their mean. R6 passes everything but is flagged as under-tested, so it scores zero.

Walking through the example: R1 and R3 pass everything and are adequately covered, so they score 100 per cent. R2 passed, dipped to 80 per cent, passed again: (300 + 160 + 100) / 6 = 93 per cent. R4 is improving but was failing badly two runs ago: (180 + 60 + 20) / 6 = 43 per cent. R5 is going the wrong way, with the latest run at 20 per cent: (60 + 140 + 100) / 6 = 50 per cent. R6’s tests all pass, but the team has flagged that the requirement does not have enough of them, so coverage is 0 and so is the score. The release scores (100 + 93 + 100 + 43 + 50 + 0) / 6 = 64 per cent. Had R6 been properly covered the release would score 81 per cent, which tells the Product Forum exactly where the cheapest improvement is.

Calibrating the parameters (how many runs to keep, the decay for missing runs, the weights) can be done by correlating Quality Confidence against the lag measure of escaped bugs. In practice we found that tuning anything other than the coverage judgement made little difference to the scores. The coverage judgement is where the honesty lives.

A simpler version

If you do not have tests linked to requirements, first ask whether you are testing the right things. Then, if you must, simplify: drop the coverage factor, have the team assert a coverage level, and calculate stability over the test suite as a whole. It is weaker, because it cannot tell you that an in-scope requirement has no tests, but it still rewards the right behaviour and still trends.

Interpreting it

Quality Confidence over successive test runs, with a release gate (illustrative)Quality Confidence trendTest runQuality Confidencerelease gate: 85%1357911130%25%50%75%100%a test went flaky: the moving average dips, as it shouldrun 13: one run skipped, so the score dipsRises as tests are added and keep passing. Only teams that test more, and more often, can move it. That is the point.
Quality Confidence over fourteen test runs against an agreed release gate (illustrative). It rises as tests are added and keep passing, dips when a test goes flaky or a run is skipped, and crosses the gate when the release is actually ready.

Quality Confidence is less than simple to calculate and surprisingly intuitive to read, because it was designed by Behaviour Driven Measurement. In our experience it tracks the team’s own gut feel for the state of a product closely, especially as a trend. When it disagrees with the team, the team’s view takes precedence and the disagreement is investigated: that is usually how a hidden quality problem is found.

We encourage telling teams exactly how to game it. Quality Confidence goes up when you add more tests to a requirement, run the tests more often, and make sure they pass regularly. Those are the three behaviours every delivery lead wants and cannot otherwise buy. Balanced against the speed metrics, the result is a team that goes fast and tests more, rather than a team that goes fast.

Two warnings, both of which apply to any metric built on test results. First, a test suite that passes does not mean the software is correct: coverage, however measured, never proves the absence of bugs, and complex systems have emergent behaviours no test anticipated. Second, test cases, like requirements, can be read differently by different people, and the same suite run by two people can give two results. Quality Confidence is confidence, not quality. Go See first, measure second.

It aggregates: average across teams for a department view, calculate at successive levels of the Definition of Done stack for team-of-teams work, and for continuous flow teams track it per work item and average by calendar period for the trend.

Quality Confidence when agents write the code

Of everything in the 2017 book, Quality Confidence is the metric that the AI SDLC makes more important rather than less, because it is a measure of exactly the thing that becomes scarce.

When agents generate code, tests and infrastructure from outcome-based prompts, the volume of change rises and the human understanding of each change falls. The question “is this release good enough?” can no longer be answered by the people who wrote it, because the people did not write it. It has to be answered by evidence on the right-hand side of the H, and the verification page argues that producing that evidence is the new bottleneck. Quality Confidence is the natural summary of that evidence: coverage of the scenarios people actually asked for, times the stability of the executable checks that prove them.

Three adjustments make it fit.

Coverage must be of intent, not of code. An agent asked to raise coverage will write tests that assert whatever the code currently does, and line coverage will reach 100 per cent while proving nothing. The coverage factor in Quality Confidence is a judgement that each in-scope requirement, scenario or done criterion has enough checks, written or at least approved by the people who own the outcome. That judgement was always the honest part of the metric. With agents, it is the whole point: the scenarios and done criteria that go into the prompt are the requirements in scope, and the checks derived from them are the tests. If the agent wrote both the code and the only tests for it, the coverage factor is 0 until a person has looked.

Stability must be across regenerations, not just reruns. A generated change may be regenerated several times before it is accepted. A check that passes on the third attempt, having failed on the first two, is not evidence of stability yet; the weighted moving average handles this naturally if each regeneration counts as a run. Flaky checks are worse than before, because the agent will cheerfully retry until one passes.

The gate is where governance meets the pipeline. A Quality Confidence threshold on the Integration Scenarios of a release, calculated from executable scenario checks and fitness functions, is a gate an agent cannot talk its way past. It is also the kind of evidence the governance questions need: “is everything healthy?” answered by a number the pipeline produced rather than a status somebody typed.

Process metrics are third order

Organisations want to measure their processes, or their adoption of one. The result is maturity models and assessments. In the H-Model these are third-order metrics, and we take an extremely light touch with them.

The urge to measure process usually comes from wanting a return on process investment. But knowing that people are following a process tells you nothing about whether their output or their collaboration is any good. The return on the H-Model, if you adopt it, is a healthier, faster, cheaper, happier organisation, so measure those: they are organisational metrics, not process metrics. We strongly discourage counting stand-ups, Product Forum meetings or spikes done. Teams need the freedom to shape their own process, because one size fits nobody.

The maturity model that measured the wrong thing

A historical finding, from a large client with thousands of team members in the 2010s, that we think still generalises. The organisation ran an agile maturity assessment: a set of questions about “habits of successful teams”, scored 0 (not doing it) to 4 (good enough), in several variants over several years, by mentors, by team leads, and by facilitated groups.

The model had obvious design problems. It assumed iteration, so continuous flow teams scored badly. A 0 was ambiguous: not doing the practice by informed choice, which is mature, or by ignorance, which is not. “Good enough” was the top of the scale, as if nobody should strive further. Several questions simply checked for the existence of intermediary artefacts.

Then we compared the scores with the project data.

A process maturity score correlated negatively with real performance (one client, 2010s)Agile maturity scorehighlowWorkflow metricspoorgoodHigh score, poor flow. Teams unawareof where they could improve:unconsciously incompetent.Unsuccessful projects.Rare in the dataRare in the dataLow score, good flow. Teams matureenough to see where they fell short,and honest enough to say so.Successful projects.Third-order metrics measure the process, not the product. The assessment was stopped. Measure flow and quality instead.
The assessment correlated negatively with real performance: the teams with the highest maturity scores had the worst flow and quality metrics, and the teams with the lowest scores had the best. One client, 2010s.

The teams with the highest maturity scores had the worst lead time, throughput and quality. The teams with repeatedly low scores were the high performers. Sampling projects in detail explained it: the high-scoring teams did not know where they could improve, so they rated themselves highly and ran unsuccessful projects. The low-scoring teams were mature enough to see where they fell short, and honest enough to say so, and ran successful projects. The maturity model correlated negatively with maturity. In every case we would have chosen the second group to build a new product. The assessment was stopped.

This is also a story about false accuracy: “3.5 out of 4” implied a precision of measurement that did not exist, and averaging it across teams into an “organisational maturity” spread the misrepresentation further. If you want a minimum, we suggest three questions a community of practitioners can check for itself: how often do you release (more than three months apart sets off alarm bells; monthly or continuous is best), is the build automated (if not, make it so), and is the code under resilient version control (if not, why not).

Organisational metrics

Organisational metrics look at the organisation rather than at the work: its health, its shape and its happiness, alongside top-level business value and financial indicators.

Organisational health

Health is hard to measure because every organisation defines it differently. We recommend four indicators and one practice. Track the trend of top-level Bubble Up points, positive and negative, because a shift in their ratio is the mood of the organisation before anyone has put it into words. Track progress against the strategic goals. Track recruitment against attrition, and ask every leaver why. Aggregate the workflow metrics, especially lead time percentiles, type distribution and Quality Confidence. And periodically ask the whole organisation what its top ten issues are, then publish the list, unedited, on the executive dashboard.

Organisational happiness

Happy people are productive people. We think organisational happiness is the most important organisational metric, and there is academic evidence for the link (“Happiness and Productivity”, Oswald, Proto and Sgroi, University of Warwick). We measure it on Martin Seligman’s PERMA model of well-being, five elements each of which can be asked about directly.

Organisational happiness measured on Seligman's PERMA elementsPositive emotionfeeling good aboutthe present and thefutureabout 5 questionsEngagementabsorbed in thework; input valuedabout 5 questionsRelationshipsauthenticconnections; honestyand trustabout 5 questionsMeaninga purpose you agreewith; a line to thestrategic goalsabout 5 questionsAccomplishmentachievable,meaningful goals metabout 5 questionsHappiness Indexper team, department and organisation; trend it, do not target itHappy people are productive people. Treat the index as a conversation starter, not a KPI.
Seligman's PERMA elements, each surveyed with about five questions, rolled into a Happiness Index per team, department and organisation.

Positive emotion is more than smiling: do people feel good about the present and optimistic about the future? Engagement is how absorbed people are in their work and whether they consider their input valued. Relationships are authentic connections with colleagues, the foundation of the honesty that collaboration needs. Meaning is having a purpose you agree with, and being able to draw a line from your work to the strategic goals; it is the same thing motivation calls purpose. Accomplishment is setting achievable, meaningful goals and meeting them.

Run a short survey, about five questions per element, periodically, and roll it into a Happiness Index for teams, departments and the organisation. Trend it, and watch how it moves in response to changes. Do not target it. A targeted happiness score is a lie within a quarter, for all the reasons on the metrics and reporting page. The Index is a prompt to go and talk to a team, and psychological safety, which the teams page covers, is a large part of what you will be talking about.

Workforce Shape

Workforce Shape: target and actual, managers to producers and contractors to staff (illustrative)ManagersProducersContractorsStaffactualtargetTarget (ok): about one manager for everyten producers; a staff to contractor mixthe business can live with.Actual (accent): nearly one manager perproducer, and more contractors thanplanned. The shape says 'middle managementcreep' before any report does.Measure at team, product, programme andportfolio level. It is a shape, not atarget to hit: the right ratios depend onthe business.Example shape only; not a recommendation.
Workforce Shape: a target (one manager to about ten producers; a staff and contractor mix the business can live with) against an actual that has drifted towards one manager per producer. Illustrative; the target shape is an example, not a recommendation.

There should be more producers than managers in an organisation, and watching the ratio stops the slow creep of middle management that nobody ever decided on. A ratio around one to ten or better is normal; the picture shows an organisation that has drifted towards one to one, which is almost always dysfunctional. The contractor to staff axis is more a matter for the business: large organisations flex a contractor workforce with demand, and the right split depends on what they do. The point is to see the shape, and to see it drift, at team, product, programme and portfolio level. The shape is a conversation, not a target.

The executive dashboard

We generally recommend against regular reporting. Measure the readership of any report and watch it fall month by month. Reports tell you what happened, so they are lag indicators; we would rather build corrective feedback into every loop of the H than read about a problem after the fact. Where a report is useful, publish it to the whole organisation.

Three things are worth reporting and publishing: the Continuous Investment Review summary, the Happiness Index, and one executive dashboard. Beyond those, Business Leaders should commission one-off, deep-dive reports into unusual indicators, major successes and areas of concern. Reporting a success, to celebrate it and share what was learnt, is as important as learning from failure.

The A3 Executive Dashboard: one page, monthly, balanced across speed, quality, morale, cost and progressExecutive Dashboard: <month>one A3 pageStrategic goalsRAG per goal, with the plan itrests onProduct qualitycustomer feedback and QualityConfidence per productBubble Up highlightstop positive and negative points,and the responsesDevelopment trendscumulative burn-up, lead timepercentiles, work item ageContinuous Investment Reviewspend, forecast and the relegationtableWorkforce Shapetarget and actualHappiness IndexPERMA trend by departmentOrganisational healthtop ten community issues;attrition trendNarrativea short, honest paragraph fromsomeone who went and sawEvery tile links to who to talk to, not just to a drill-down. Check the five tests for every report twice a year.
The A3 executive dashboard: nine tiles balanced across speed, quality, morale, cost and progress, and a narrative written by somebody who went and saw.

The dashboard must balance indicators that drive behaviour across speed, quality, morale, cost and progress, so that no single one can be optimised at the others’ expense. On a monthly cycle we recommend:

Automate what can be automated, but a little manual care in producing the page helps it get read, and a monthly snapshot is worth taking even when the data is live. Every tile should let a reader drill down, and, more importantly, tell them who to go and talk to. Twice a year, put the dashboard itself through the five tests on the metrics and reporting page: who reads it, are decisions made on it, do readers value it, does it drive good behaviour, is it cheap enough to produce. If it fails, change it or stop it.

The fallacies that make reports lie

Reports and metrics are only ever indicators of reality. Confidence in evidence comes from corroboration, which in practice means every number is backed by context and narrative from the people who know. Analysing a large number of reports against what actually happened on the projects behind them, we found the same systemic failures again and again.

False accuracy. This one bites twice. First, over-precise presentation: a “3.275 per cent improvement in happiness” implies an instrument that can detect a change of a quarter of a per cent in happiness, which does not exist. Second, numbers applied to non-numerical states: “agile maturity 3.5 out of 4” turns a subjective judgement into a fact, and averaging it across teams compounds the fiction. Every estimate and most metrics should carry an indication of uncertainty; the certainty scale exists for this.

Sampling frames. Data is only representative when it covers a meaningful share of the population. Extrapolating from one team to the organisation is a normal human reflex and a terrible analytical one. One team’s problem is not systemic; ten teams’ problem might not be, in an organisation of thousands.

Comparison against hypotheticals. Easy to spot and surprisingly common, especially in business cases: evidence presented as a change against an imagined baseline. “Compared to a normal development team” is making up evidence to justify a belief.

Greenshifting. People like reporting good news, and each layer of management adds a little positive spin as information travels upwards, until an escalated problem reaches the top as “green and healthy”. Fewer layers, transparent reports and a clear cultural line fix it. The cultural line is: greenshifting is not optimism, it is lying.

Correlation is not causation. Lead times fell across the organisation in the same quarter that more coffee machines than usual broke down and more superhero films than usual were released. Nobody believes either caused the other. But put happiness and lead time side by side on a dashboard and the implication of causation is made silently, and it should be challenged every time: what evidence links these two? Sometimes there is some; the happiness and productivity link above is a case where the research exists. Mostly there is none.

Interpretation. However good the evidence, people read it differently. The 13 per cent cumulative burn-up gap on the workflow metrics page was read by three leaders as healthy demand, runaway over-demand and failure demand respectively. Reading data is a skill Business Leaders have to learn; assuming everyone reads a chart the same way is a mistake they have to unlearn.

Agents add a seventh. Fluent fabrication. A generated report reads well whether or not its numbers are right, and a generated summary of a dashboard will greenshift as readily as a middle manager if that is what the examples it learnt from did. Treat generated analysis as a draft by a confident junior: check the sampling frame, check the baseline, and ask who went and saw. The AI governance page covers the wider question of what to let a model report on your behalf.

The final word

Everything on these three pages is a way of putting evidence into decisions. None of it is the evidence. The evidence is the working software, the customers using it, and the people who built it, and the only reliable instrument for all three is a leader who goes and looks.

Measure less, talk more.

Last updated