WhoBuilt

ReviewDebt: a practical framework for scoring every pull request

Jul 12, 2026· 25 min· 2.1K views·Watch on YouTube

Speaker

Sachin Gupta, a software engineer at eBay, presents a framework for measuring review debt in a talk on the AI Engineer channel.

Define review debt

Gupta defines review debt as the gap between code an agent produces and code humans have reviewed, trusted, and understood. He argues that rising PR volume and size can hide reviewer fatigue, untested behavior, architectural drift, and bugs that surface long after merge.

Score review risks

The framework starts at 100 and subtracts confidence-weighted risks found in the PR’s file surface, with deductions capped at 70. Five signal families assess tests, blast radius, understanding gaps, coordination across modules, and whether changes remain consistent over time.

Make scores actionable

Gupta scores three examples: an Express.js change at 78, a LangChain.js change at 45, and a pytest change at 22. Each score points to specific review gaps, such as an uncovered error path or missing tests for changed behavior, and suggests a bounded next action. He says the score should guide review, not decide whether a PR merges.

Scan PRs and adopt the framework

A scan of 524 pull requests across three public repositories found 228 cumulative senior reviewer hours, with structural changes driving the highest review burdens. Gupta recommends backfilling the scorer on recent PRs, making scores visible without blocking merges, and tracking team trends weekly. He also advises keeping changes logically focused, verifying that tests capture intended behavior, and having human authors explain why a change is needed.

Takeaways

  • Track review burden alongside PR throughput; rising output alone does not show whether code is understood.
  • Use verifiable signals from the diff, tests, and repository structure, and discount weakly supported risks.
  • Turn each flagged risk into one specific request for evidence or a behavior test.
  • Calibrate score thresholds against your own team’s past PRs and reviewer experience.
  • Keep the score advisory and review decisions with humans.

Mentioned in this talk

Search inside this talk

What was claimed 7

  • works at
    Member of technical staff, billing platform (listed as Technical Leader at PlatformCon)
    “I'm Sachin Gupta, and I'm a software engineer.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • metric
    GitHub: Its October 2025 report showed commits climbed 25% year over year while comments on comments dropped 27%.
    “commits climbed 25% year over year. Over the same year, comments on comments dropped 27%.”
    YouTube
    Unverified1 source· Talk
  • metric
    Faros AI: Median PR review time was up 441.5%; 31% more PRs were merged with no review.
    “Median PR review time is up by 441.5%... 31% more PRs are now merged with no review at all.”
    YouTube
    Unverified1 source· Talk
  • feature
    review debt: Scores pull requests from five signal families using deterministic checks and confidence-weighted risks, with a score from 0 to 100.
    “There are five signal families with about 10 deterministic checks.”
    YouTube
    Unverified1 source· Talk
  • feature
    review debt: The five signal families are tests, blast radius, understanding gap, coordination, and temporal convergence.
    “five signal families, five ways you can find the debt”
    YouTube
    Unverified1 source· Talk
  • feature
    review debt: The score is a review instrument that provides evidence and actionable advice, not a merge gate.
    “this is a review instrument, not a merge gate.”
    YouTube
    Unverified1 source· Talk
  • metric
    review debt: A cross-repository scan covered 524 pull requests and estimated 228 cumulative senior reviewer hours.
    “524 real pull requests in three public repositories, with 228 cumulative senior reviewer hours”
    YouTube
    Unverified1 source· Talk

Related talks