Quality
Reworked within 21 days
The share of merged pull requests whose files another merge changed again within 21 days. An early sign of churn.
How Encora calculates it
- For each PR merged into a default or integration branch, checks whether a later merge into the same repository touched any of the same files within 21 days. Lockfiles, snapshots and build output are ignored.
- Only PRs with a full file list are checked, and only later merges inside the 30-day window are seen.
- Encora also estimates lines reworked, matching added lines against later removals by line number to within two lines. Line numbers drift, so that estimate is shown but never scored.
Why it matters
Code changed again soon after merging often means requirements weren't clear, review missed something or the work was rushed. As more code is written with AI, rework is one of the clearest signs of whether that code is holding up.
Easy ways to misread it
- It works at file level, so any later change to a shared file counts, including unrelated work in a large file.
- PRs merged in the last few weeks have had less time to be reworked, so recent figures tend to read low.
- Some rework is healthy iteration. Compare it with change failure and review round-trips before calling it a problem.