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.

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.

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 all the H-Model’s metrics, Quality Confidence is the one 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.

Last updated