Framework

The six DRAINS of engineering waste, measured

Delays, Relearning, Abandoned Work, Interruptions, Needless Features and Slip-ups & Handoffs. Here is every signal Encora uses to score them, and the thresholds it starts with.

01 / In the app

One score, six causes, every pull request cited

The DRAINS page opens on the health score and a card per drain. Open a drain to see each signal against its target, grouped by repository, down to the pull requests behind it.

encora.io/your-org · Delays
⌄ Delays··/100Waste: ·· – ·· hours this monthReview turnaroundtarget < 24h› repo-api (4)› repo-web (6)PRs merged without reviewtarget < 5%› repo-infra (6)› repo-app (5)PRs with no activitytarget < 10%› repo-data (3)› repo-docs (3)

How the score is built

Each signal is banded green, amber or red against your thresholds; anything above amber is red. Signals roll up into a score out of 100 for each drain, and the overall DRAINS score is the mean of the drains that have evidence. A drain with no evidence isn't counted, so a quiet month can't flatter the total.

  • Your thresholds. The figures below are defaults. Admins can change every band in Settings.
  • Calibrating signals. New signals, such as rework and cancelled tasks, show as ‘not scored yet’ until their thresholds are calibrated, so adding a signal never moves your score overnight.
  • Versioned scoring. The scoring model has a version number. Stored monthly scores keep the model they were computed under, and comparisons rescore last month with today's model.
  • Evidence first. Every signal links to the pull requests behind it. People-related signals show members a count and admins the names.

The signals and their default bands

Delays

Waiting is wasting: work stopped on reviews, approvals or decisions.

SignalWhat Encora countsGreenAmber
Review turnaroundWeekday hours from a PR opening to its first human review (authors, bots and AI reviewers excluded), 75th percentileUp to 24 hoursUp to 48 hours
PRs with no activityOpen, non-draft PRs not updated for more than 3 daysUp to 2Up to 5
Long-running PRsOpen, non-draft PRs created more than 7 days agoNoneUp to 2
Review backlogOpen, non-draft PRs created more than a day ago, reviewed or notNoneUp to 5

Relearning

Knowledge lost is time lost: knowledge that has to be rediscovered.

SignalWhat Encora countsGreenAmber
Single-contributor reposRepositories where every merged PR came from one person; agent accounts don't count as peopleUp to 2Up to 5
Merged without new docsShare of merged feature PRs that add no file under your documentation paths; fixes and chores are left outUp to 50%Up to 75%

Abandoned Work

Unfinished is undelivered: work that never ships.

SignalWhat Encora countsGreenAmber
Stale PRsOpen, non-draft PRs created more than 14 days agoUp to 3Up to 8
Closed without merge ratePRs closed unmerged as a share of all PRs closed or merged; approved or large ones count under Needless Features insteadUp to 10%Up to 25%

Interruptions

Context switching kills focus: juggling several things at once.

SignalWhat Encora countsGreenAmber
Developers with high WIPPeople with more than 3 open, non-draft PRs right now; agent accounts excludedUp to 1Up to 3
Developers across many reposPeople with PRs merged or open across more than 3 repositories; agent accounts excludedUp to 1Up to 3

Needless Features

Built, then not wanted: work approved and closed, reverted for good or cancelled.

SignalWhat Encora countsGreenAmber
Closed after approval or real workPRs closed unmerged after an approval or with more than 200 lines changed; spikes and experiments are left outUp to 5%Up to 10%
Reverted and never re-landedReverts whose work no later merge restored within 14 days, as a share of mergesUp to 1%Up to 3%
Tasks cancelled after work startedTasks in your project management integration closed as cancelled or won't do after time in progressUp to 2Up to 5

Slip-ups & Handoffs

Every pass is a chance to drop the ball: defects and information lost in handoffs.

SignalWhat Encora countsGreenAmber
Fix/hotfix rateShare of merged PRs titled as a fix, bugfix or hotfix; a naming convention, not confirmed defectsUp to 15%Up to 25%
Review round-trips‘Changes requested’ reviews per merged PR, 75th percentileUp to 2Up to 4
Unreviewed mergesMerges with no human review other than the author's; an AI-only review counts as unreviewedNoneUp to 2
Merged with failing quality gateMerges whose code quality gate was failingNoneUp to 2
Reworked within 21 daysShare of merged PRs whose files a later merge changed within 21 daysUp to 25%Up to 40%
Bugs raised per 10 merged PRsBugs created in your project management integration per 10 merged PRsUp to 2Up to 4
QA bounce-back rateTasks that reached review or QA and went back to to-do or in progressUp to 10%Up to 25%

Find out which drain costs you most

Thirty minutes, your own GitHub organisation, and a straight answer on whether Encora fits. Setup is one GitHub App install, and your source code is never stored or sent to an AI model.