Pull Request Merge Predictability: Why a Fast Median Is Not Enough
Learn how pull request merge predictability uses median and P90 durations, why its percentage is not a forecast, and how to interpret live GitQuick examples.
By Ahmad Hajjar
Half of the merged pull requests in AWS’s latest GitQuick public snapshot took no more than 9.16 hours from creation to merge. Its 90th percentile was 145.26 hours. Both describe the same 3,257 eligible merged pull requests. A typical change moved quickly, while slower changes took substantially longer.
That difference matters when a team asks how consistently pull requests reach merge. A median alone cannot answer it. Neither can a percentage labeled “predictability” without understanding what the percentage measures.

What pull request merge predictability measures
Time to merge is elapsed time from pull request creation to merge. It includes nights and weekends. It is not deployment lead time, active engineering effort, or time spent reviewing code.
The median, or 50th percentile, describes the middle of the eligible observations. The 90th percentile, abbreviated P90, describes the boundary near the slower tenth. Reading them together reveals variation that a single typical value hides. Google’s Site Reliability Engineering guidance on service-level objectives explains why percentiles help distinguish typical behavior from slower experiences. The same statistical distinction is useful here, although service latency and pull request duration are different measurements.
GitQuick’s shipped Throughput card calculates its merge predictability indicator from the median and P90 time to merge. The indicator combines their relative difference with their absolute separation, using a seven-day scale; a higher displayed percentage means more spread, not a higher chance of meeting a deadline.
Read the score before setting a target
The current calculation uses hours:
spread = (1 - exp(-(P90 - median) / 168)) × (1 - median / P90)
displayed percentage = round(100 × spread)
The first factor increases as the absolute gap grows. The second increases as the median becomes small relative to P90. Multiplying them prevents the relative difference alone from determining the result. The implementation bounds the result below one and rejects missing, nonpositive, or inconsistent timing values.
This has three practical consequences.
The percentage is not a probability. A displayed 52% does not mean that 52% of future pull requests will be late. There is no deadline or forecasting model in this calculation.
Lower spread does not necessarily mean faster delivery. If the median and P90 are equal, the score is zero regardless of whether both are short or long. Always retain the timing values beside the score.
The labels are product thresholds. Labels such as “Emerging tail pressure” describe ranges in this formula. They are not independently validated industry benchmarks. Use them to prompt investigation, not to grade developers or promise a completion date.
Live examples: similar medians, different slower experiences
The public organization list contained 21 organizations when retrieved on November 12, 2026. The table selects three examples, not a representative industry sample. Each row uses its latest available snapshot, with different boundaries shown explicitly.
| Public organization | Snapshot window, UTC | Time-to-merge median | Time-to-merge P90 | Eligible merged PRs, sample_size |
|---|---|---|---|---|
| AWS | Oct 12, 03:00 to Nov 12, 03:00, 2026 | 9.16 h | 145.26 h | 3,257 |
| Kubernetes | Oct 8, 05:00 to Nov 8, 05:00, 2026 | 9.33 h | 117.26 h | 2,045 |
| GitHub | Oct 7, 02:01 to Nov 7, 02:01, 2026 | 2.22 h | 68.43 h | 3,725 |
Sources: live organization list and AWS, Kubernetes, and GitHub snapshots. Times above are rounded to the minute; durations are reported in hours by the API.
AWS and Kubernetes have similar medians, but their P90 values differ. That is enough to show why the median is incomplete. It does not establish that either organization has a better review process. Repository mix, contribution patterns, and observation windows differ.
GitHub’s smaller median also illustrates why a P90-to-median ratio alone can mislead. Its relative difference is larger, while its P90 and absolute gap are smaller. The current formula accounts for both dimensions. Avoid turning this cross-organization illustration into a ranking.
The merged-only limitation
These snapshots select pull requests created within each run’s window. Time-to-merge statistics use eligible merged pull requests within that selected population. Open pull requests have no completed merge duration and do not enter this distribution.
A team can therefore have a reassuring completed-work distribution while older unfinished work remains unresolved. Recent creation cohorts also have had less time for slow pull requests to finish. Review open PR age and blockers alongside completed merge timings before concluding that delivery has become more predictable.
Sample size matters too. A percentile based on a small set can change materially when a few pull requests finish. Record the eligible count, window, and repository scope whenever discussing a change in the score.
Turn the distribution into an investigation
Start with a comparable baseline: the same repositories, similar window lengths, and enough completed observations to interpret the distribution. Read median, P90, and sample size together. Then inspect several slow pull requests to identify actual waiting states.
Separate waiting for the first review, repeated review work, and waiting after approval. Those are different questions. Do not subtract stage medians to reconstruct a typical pull request, because their eligible samples can differ.
Google’s review speed guidance also distinguishes responding to a review request from completing the entire review and submission process. A response expectation is not a merge-time deadline. Business-day guidance should not be compared directly with elapsed calendar hours without acknowledging the difference.
Choose one observed constraint, make a specific change, and compare subsequent windows. For the stage definitions, read Pull Request Review Latency: How to Measure It and Find Bottlenecks. For baseline design, read Did Your Code Review Process Actually Improve?.
Predictability is useful when it leads to a better question about real pull requests. Keep the distribution, unfinished work, and team context visible.
Explore the public Showcase or try GitQuick on your organization.
Disclaimer: Public snapshots describe available GitHub metadata and can change. These observations do not establish causation, code quality, reviewer effort, or production delivery performance. The predictability indicator is a descriptive spread measure, not a delivery forecast. GitQuick is not affiliated with GitHub, AWS, Kubernetes, or Google.