Quality
Change failure rate
The share of merged pull requests later undone by a revert, found from git evidence. Encora's measure of DORA change failure.
How Encora calculates it
- Divides the PRs merged into a default or integration branch in the last 30 days that a revert in the same window undid by all such merges, to one decimal place.
- A revert is recognised from a title beginning ‘Revert’ with the original title in quotes, from git's ‘This reverts commit’ line or from the ‘Reverts owner/repo#N’ line GitHub writes into a revert PR. A release PR carrying the same revert isn't counted twice.
- Beside it, failing gates shows the share of PRs with a code quality result that merged with a failing quality gate. The share of fix-titled PRs is shown only as a rough extra.
- The revert rates in the PR size buckets and the AI quality comparison are this same calculation applied to a subset of merges.
Why it matters
Speed means little if changes keep breaking. Encora always shows change failure beside cycle time and throughput, so a team shipping faster while reverting more doesn't look like a team improving.
Easy ways to misread it
- Reverts are a lower bound on failures. A broken change fixed forward with a new PR is invisible here, which is why failing gates and, where connected, bugs from project management sit beside it.
- Teams that never revert through PRs will read 0%, which says more about their habits than their stability.
- Small samples swing hard: one revert in ten merges is 10%.