Delivery
PR size buckets (XS to XL)
Encora's five PR sizes, from XS under 10 lines to XL at 1,000 lines or more, used to compare failures, review depth and AI speed.
How Encora calculates it
- Each merged PR is placed by lines changed, leaving out lockfiles, snapshots and build output when its full file list (up to 100 files) is available, and using its total otherwise.
- XS is under 10 lines and S under 100. M runs up to the large threshold, L from there to the very-large threshold, and XL is everything above.
- For each bucket Encora shows merges, the share later reverted and the share with a code quality result that merged with a failing gate. The AI speed comparison folds XS into S.
Why it matters
Buckets turn batch size from an abstract median into a question you can act on: do your L and XL PRs get reverted or fail gates more often than small ones? They also surface oversized PRs opened by coding agents, which are listed on their own.
Easy ways to misread it
- A bucket with a handful of merges can show a dramatic revert rate from a single revert. Check the count before drawing conclusions.
- Batch size is reported, never scored: oversized PRs don't affect the DRAINS score.