gitbills-study/1 · Empirical PR-review study · 452 PR evaluations · 449 distinct PRs · 88 OSS repos · read-only
452 Real Pull-Request Evaluations, 88 Open-Source Repos: 91% of Rejected PRs Passed a Diff-Only Check, and 50 of 50 in a Blind Holdout.
We replayed three cohorts of public GitHub pull requests through a two-layer PR gate, read-only. Cohort 1 is a balanced benchmark: 100 PRs that maintainers merged and 100 they closed without merging, from 51 repos in 7 languages. Cohort 2 is the live queues of 20 busy repos: 93 open and 59 recently merged PRs. Rejected PRs looked like merged ones: 91 of 100 passed a diff-only check, with a similar median diff size and the same median file count. On v0.9.17 that check flagged 0 of 156 merged PRs and caught 8 of 100 rejected ones. A second layer, standing, blocked or paused 96 of 96 rejected PRs from authors outside each repo's team, and, with no vouches on file, paused every merged PR from outside the team as well. We tuned the gate on those two cohorts, so Cohort 3 is a blind holdout: 100 PRs from 25 repos it had never seen, picked by a rule fixed before any was fetched and scored once on v0.9.18. There the diff-only check flagged 0 of 50 merged PRs and caught 0 of 50 rejected ones, and standing paused all 50 rejected PRs. Here is all of it, including what we got wrong.
Data collected December 2026 · gate releases v0.9.16, v0.9.17 and v0.9.18 · Layer 1 valun-slop-gate/2 · Layer 2 valun-gate/1 · this study as JSON
Scan your own PR queue, live
Enter a public owner/repo. The PR Gate reads its latest open pull requests through GitHub's API and runs the same two-layer check: no checkout, no login, no LLM calls, nothing posted to the repository.
Or open a live result: crewAIInc/crewAI#5951 (caught by Layer 1) astral-sh/uv#23505 (clean diff, decided by standing) vitejs/vite#24292 (a false flag, fixed in v0.9.17) Scan fitzss/valun-open
Section 1 · Findings
Seven findings from 452 evaluations of real pull requests
- Rejected PRs look like merged ones. 91 of 100 rejected PRs passed the v0.9.16 diff-only check (92 of 100 on v0.9.17). Their medians were close to the merged PRs' (3,377 vs. 4,031 bytes of diff, +35 vs. +27 lines, 2 vs. 2 files), and 26 of 100 added real test assertions, against 35 of 100 merged ones.
- A diff check can be precise, not broad. On v0.9.17, Layer 1 flagged 0 of 156 distinct merged PRs across Cohorts 1 and 2, and all 8 of its flags in Cohort 1 were rejected PRs. But it catches only what is visibly wrong in a diff: 8 of 100 rejected PRs. Its one false flag on v0.9.16,
vitejs/vite#24292, is disclosed below and fixed. - A blind holdout kept the precision and showed the limit. On 100 PRs from 25 repos the gate had never seen, chosen by a rule fixed before any was fetched and scored once on v0.9.18 with no rule changes, Layer 1 flagged 0 of 50 merged PRs (95% upper bound 7.1%) and caught 0 of 50 rejected ones. 7 of its 8 Cohort 1 catches came from the 60 PRs its rules were tuned on. Standing paused all 50 rejected PRs, and all 40 merged PRs from outside the team.
- Standing covers the rest, and we report its cost. With default settings, Layer 2 blocked or paused all 96 rejected PRs from authors outside the repo's team (96 of 96); the other 4 were stale branches by collaborators of tigerbeetle and turso. With no vouches on file, the same replay also paused every merged PR from outside the team (98 of 98). In advisory mode a pause is a note on the PR, not a failed check, and one vouch clears it.
- Most rejected PRs came from people new to the repo. 73 of 100 rejected PRs came from accounts with no commits or role in the repo. In the 20 live queues, v0.9.17's live-scan settings pause 29 of 93 open PRs: 25 from first-time authors and 4 from repo bots outside the allowlist. One more first-time author passes because ghostty's
VOUCHED.tdvouches for them. - Live queues found mistakes the benchmark missed. At scan time, v0.9.16 rejected 2 of 59 merged PRs (two security fixes in one repo) and 5 of 93 open PRs, all wrongly. v0.9.17 rejects 0 of 59 and 0 of 93. We tuned it on that same sample, so this shows known errors fixed, not new evidence.
- One answer in three runtimes. All 200 Cohort 1 PRs got the same
gate_sha256from the live server, the npm client and the PyPI client on v0.9.16 (200/200), and again from v0.9.17's server and both clients at the release tag (200/200). All 100 blind-holdout PRs got the samegate_sha256andslop_gate_sha256from v0.9.18's server and both clients (100/100).
- Merged PRs flagged by Layer 10 of 156v0.9.17 · Cohorts 1 and 2 · in-sample · 95% upper bound 2.4%
- Merged PRs flagged in the blind holdout0 of 50v0.9.18 · 25 unseen repos · 95% upper bound 7.1% · 0 of 50 rejected caught
- Rejected PRs that passed the diff check91 of 100v0.9.16 · 92 of 100 on v0.9.17
- Rejected PRs from outside the team, blocked or paused96 of 96default settings · 8 blocked · 88 paused · none closed
- Open PRs rejected by Layer 10 of 93v0.9.17 · 20 live queues · v0.9.16 rejected 5, all wrongly
- Same digest in three runtimes200/200
gate_sha256· server · npm · PyPI - Layer 1 time per PR0.35 msJS median (v0.9.16) · 1.22 ms Python · 0 LLM calls
| Cohort | What it is | PRs |
|---|---|---|
| Cohort 1 · balanced benchmark | 100 merged and 100 maintainer-rejected PRs in 51 repos, 7 languages | 200 |
| Cohort 1 · calibration | The first edition's 60 PRs in 20 repos; the gate's rules were tuned on these | 60 |
| Cohort 1 · holdout | 140 PRs in 31 more repos, never seen by v0.9.16 | 140 |
| Cohort 2 · live queues | 93 open and 59 recently merged PRs in 20 busy repos | 152 |
| Cohorts 1 and 2 | 349 distinct PRs (3 merged PRs were drawn by both cohorts) in 63 distinct repos (8 in both); the gate was tuned on them | 352 |
| Cohort 3 · blind holdout | 50 merged and 50 maintainer-rejected PRs in 25 new repos, 11 languages, scored once on v0.9.18 | 100 |
| All three cohorts | 449 distinct PRs in 88 distinct repos; Cohort 3 shares no PR and no repo with the other two | 452 |
Why Layer 1 stops at 8 of 100. Layer 1 reads only the diff: changed paths, added lines, and known AI-tool artifacts such as a newly committed root CLAUDE md instruction file. It decided each PR in a 0.35 ms median on Node.js with 0 LLM calls, and on v0.9.17 it flagged 0 of 156 merged PRs. That precision has a price: 91 of 100 rejected PRs passed it, so a rule strict enough to reject them from the diff alone would start rejecting good PRs too. Outside the 60 calibration PRs it catches even less: 1 of 70 rejected PRs in Cohort 1's holdout, and none of 50 in the blind holdout.
Why Layer 2 pauses instead of closing. What Layer 1 lets through is decided by standing, not by guessing: a maintainer's own PR, a collaborator's /valun vouch pinned to the PR's commit, a listing in the repo's VOUCHED.td, a peer endorsement or a Clean-PR Passport passes with no bond, and anything else gets needs_endorsement_or_bond. Good first-time PRs without prior standing also pause in advisory mode; nothing is auto-closed. One vouch moves a good newcomer on.
Section 2 · Cohort 1
Cohort 1: 200 PRs, 51 repos, 7 languages, half merged and half rejected
The 51 repos span Rust (10 repos), Python (11), TypeScript (8), C/C++ (7), Go (6), Java (5) and Zig (4). They include three that keep a VOUCHED.td contributor list (ghostty, atuin and Hyprland) and eight with written policies on AI-generated contributions (curl, zig, servo, yt-dlp, caddy, uv, ruff and biome). The first edition's 60 PRs come first; for the 140 new ones, per-repository quotas were fixed in the fetch script before any of them was scored, and each repo's recently closed PRs were read newest first, labelled rejections first. Merged means a maintainer merged it. Rejected means it was closed without a merge commit by someone other than its author, or labelled as rejected: unsolicited features, policy closes and stale branches count, not only slop.
Diffs alone do not separate them
| Measure | Merged | Rejected |
|---|---|---|
| Passed the diff-only check, v0.9.16 | 99 of 100 | 91 of 100 |
| Passed the diff-only check, v0.9.17 | 100 of 100 | 92 of 100 |
| Median diff size | 4,031 B | 3,377 B |
| Median lines added | +27 | +35 |
| Median files changed | 2 | 2 |
| Added real test assertions | 35 of 100 | 26 of 100 |
Who sent them is a different story, and it has to be read with care. 73 of 100 rejected PRs came from accounts GitHub lists with no commits or role in the repo (NONE), 23 from returning contributors and 4 from collaborators. We do not set that against the merged PRs: GitHub reports an author's standing as it is today, and merging a PR is itself what makes its author a contributor.
Layer 1 (valun-slop-gate/2): precise, not broad
| Measure | v0.9.16 | v0.9.17 |
|---|---|---|
| Merged PRs flagged (false flags) | 1 of 100 | 0 of 100 |
| Merged PRs left alone (specificity) | 99.0% (94.6–99.8%) | 100.0% (96.3–100%) |
| Rejected PRs caught (recall) | 9 of 100 | 8 of 100 |
| Flags that were right (precision) | 9 of 10 · 90.0% (59.6–98.2%) | 8 of 8 · 100.0% (67.6–100%) |
The one false flag. v0.9.16 rejected vitejs/vite#24292, a merged chore(...) PR that updated stale code comments. Vite's pull-request template holds an HTML comment with the example text fixes #123, which the gate read as a claim to fix an issue, and its comment-only rule (cosmetic_or_comment_only_bugfix_claim) lacked the exemption for hygiene titles that a sibling rule had. v0.9.17 strips HTML comments in one linear pass before it looks for such claims, and adds the exemption.
One catch moved to Layer 2. After maintainers' own edits were flagged in the live queues (Cohort 2), v0.9.17 also stopped flagging edits to files a repo already tracks. One rejected PR here edited a patch file its repo already tracked: v0.9.16 caught it, and v0.9.17 leaves it to Layer 2, which pauses it. A backtest of the HTML-comment fix alone kept all 9 catches (9/9); the shipped release scores 8/8.
Read the v0.9.17 column as in-sample. Its fixes were written after we saw these errors. The out-of-sample test is v0.9.16 on the 140-PR holdout below.
Layer 2 (valun-gate/1): standing decides what the diff cannot
| Measure | Default settings | Live-scan settings |
|---|---|---|
| Used by | The installed GitHub Action and POST /pilot/v1/gate/evaluate | The live queue scan (?scan=) and the live PR check (/gate?pr=) |
| Rejected PRs from outside the team, blocked or paused | 96 of 96 (8 blocked, 88 paused) | 74 of 96 (8 blocked, 66 paused) |
| Merged PRs from outside the team, paused for a vouch | 98 of 98 | Not measurable after the merge |
| Team PRs passed (collaborators and members) | 4 rejected · 2 merged | 4 rejected · 2 merged |
A cold replay has nothing on file to vouch for anyone, so the default holds every PR from outside the team that Layer 1 lets through: 88 rejected ones, and all 98 merged ones too. That pause is advisory: nothing is closed or failed, and one collaborator's /valun vouch moves a good PR on. The live scan adds two fast tracks, returning contributors (GitHub's CONTRIBUTOR: the author already has commits in the repo) and eight known maintenance bots. Here they cost coverage: 22 rejected PRs came from returning contributors and would pass. Their benefit cannot be measured on merged PRs after the fact, because a merge makes its author a contributor; the live queues of Cohort 2 measure it instead. The installed Action keeps both fast tracks off.
Calibration and holdout
The first edition of this study used 60 PRs from 20 repos, and the gate's rules were tuned on them. Cohort 1 adds 140 PRs from 31 repos that v0.9.16 had never seen. The calibration results are the same on v0.9.16 and v0.9.17.
| Measure | Calibration · 60 PRs, 20 repos | Holdout · 140 PRs, 31 repos |
|---|---|---|
| Merged PRs flagged by Layer 1 | 0 of 30 | 1 of 70 (v0.9.16) · 0 of 70 (v0.9.17) |
| Rejected PRs caught by Layer 1 | 7 of 30 | 2 of 70 (v0.9.16) · 1 of 70 (v0.9.17) |
Rejected PRs paused by Layer 2 (needs_endorsement_or_bond) | 23 of 30 | 64 of 70 (v0.9.16) · 65 of 70 (v0.9.17) |
| Rejected PRs passed as team PRs | 0 of 30 | 4 of 70 |
| Rejected PRs with valid syntax (the first edition's measure) | 15 of 30 | Not measured |
| Median time per PR, as first measured | 0.41 ms | 0.35 ms over all 200 (v0.9.16) |
Seven accounts in two repos each
We never filtered by author, yet 7 accounts turned up in two different repos of Cohort 1, 5 of them in two languages. 4 had PRs rejected in both repos. 3 had a PR merged in one repo and another rejected elsewhere, which is why the gate scores each PR on its own instead of trusting or blocking people for good. With default settings the gate blocked 2 and paused 9 of their 11 rejected PRs. We do not name these accounts: the pattern matters, not the people.
Section 3 · Cohort 2
Cohort 2: 152 PRs from 20 live maintainer queues
A benchmark cannot show what a maintainer would see today, so we also read live queues: up to 5 of each repo's most recently updated open PRs (the order the live scan uses) and up to 3 of its most recently merged ones, a rule fixed before any diff was read. That gave 93 open and 59 merged PRs in crewAI, fastapi, browser-use, immich, ghostty, hermes-agent, continue, zed, mitchellh/vouch, cline, biome, open-webui, bun, modelcontextprotocol/servers, n8n, coolify, uv, pydantic-ai, tldraw and goose. 5 more PRs could not be read: GitHub refuses diffs over 300 files.
| Measure | v0.9.16, at scan time | v0.9.17 |
|---|---|---|
| Merged PRs rejected by Layer 1 | 2 of 59 | 0 of 59 |
| Open PRs rejected by Layer 1 | 5 of 93 (0 were slop) | 0 of 93 |
| Open PRs paused by Layer 2 | 56 of 93 | 29 of 93 |
| Of those, first-time authors | 25 | 25 |
| Of those, team members, regulars and bots | 31 | 4 bots |
| PRs too large to read | 5, dropped silently | 5, listed as too large |
Merged PRs held at Layer 2 fell from 24 of 59 to 6 of 59, all of them repo bots outside the allowlist; read that with the same care as above, since a merge makes its author a contributor.
What 20 live queues taught the gate
- Tracked agent files are maintenance. 7 of 22 repos we profiled keep a root
CLAUDE.mdand 9 a.claude/folder, on purpose. v0.9.16 rejected maintainers' own edits to them: 3 of the 4 open PRs in modelcontextprotocol/servers and 1 in bun. v0.9.17 counts only agent files a PR newly adds; a drive-by new root instruction file is still rejected, as Exhibit 1 shows. - A conditional skip is not sabotage. Two merged security fixes in modelcontextprotocol/servers add a
@pytest.mark.skipif(whose condition sits on the next line, and v0.9.16 read each as an introduced test skip and rejected it. v0.9.17 treatsskipif,skipIfandskipUnlessas conditional unless the condition is a literal true value on the same line. - Fake keys in test fixtures are not leaks. A first-time contributor's crewAI test fixture held key-shaped values explicitly marked as fake, and v0.9.16's scan labelled the PR as leaking a secret. v0.9.17 skips such values in test and fixture paths when they carry an explicit fake marker or are only words; a realistic key in a test file is still rejected.
- Read the repo's own trust list. 2 of the 22 repos keep a
VOUCHED.td(ghostty: 407 vouched, 28 denounced; mitchellh/vouch: 14 vouched). v0.9.16's scan ignored it and asked ghostty for vouches it had already given. v0.9.17's scan readsVOUCHED.tdfrom the default branch, never from the PR head, and a denouncement overrides every pass. - Returning contributors and bots are not newcomers. At scan time the live scan paused 14 open PRs from returning contributors, 8 from maintainers whose org membership is private (GitHub shows them as contributors) and 9 from the repos' own bots. v0.9.17's live scan fast-tracks GitHub's
CONTRIBUTORand eight known maintenance bots; 4 repo-specific bots still pause until someone vouches. - A static hint worth a reviewer's eye. One open cline PR builds a
cmd /s /ccommand line from an interpolated file path, and cmd still expands%VAR%inside quotes. Across the 152 PRs, the 14 deep checks behind the Diff X-Ray (/check) now score signals on 4 PRs, all real patterns (that one, two PRs pinning Actions to tags and one line too long to scan), down from 13 PRs, most of them misfires, before tuning. - A burst is a queue-level signal. fastapi's queue held four small docs PRs, one file each, from one new account in about an hour. Each is fine on its own, so Layer 1 scored all four clean, and Layer 2 paused all four as first-time PRs; queue-level triage (
/triage) batches multi-PR bursts across the open queue. - Oversized PRs must not vanish. GitHub refuses diffs over 300 files. v0.9.16's scan dropped those 5 PRs without a word; v0.9.17 lists them as too large to scan.
Read the v0.9.17 column as in-sample too: every fix above was written from this cohort. Re-run on v0.9.17, the 60 calibration PRs give the first edition's results again (0 of 30 merged flagged, 7 of 30 rejected caught).
Section 4 · Cohort 3
Cohort 3: a blind holdout of 100 PRs from 25 repos the gate had never seen, scored once
Every fix in v0.9.17 was written from Cohorts 1 and 2, so its results there are in-sample. For this edition we fixed 25 new repos and a sampling rule before fetching a single PR from them, and recorded both by hash. None of the 63 earlier repos is among them, and they span Rust (4 repos), Python (3), TypeScript (3), Go (3), C/C++ (3), Ruby (2), Java (2), Elixir (2), PHP (1), Zig (1) and C# (1): sharkdp/bat, BurntSushi/ripgrep, juspay/hyperswitch, gleam-lang/gleam, PrefectHQ/prefect, encode/httpx, Textualize/rich, trpc/trpc, TanStack/query, excalidraw/excalidraw, junegunn/fzf, gohugoio/hugo, go-gitea/gitea, neovim/neovim, redis/redis, raysan5/raylib, rails/rails, Homebrew/brew, mockito/mockito, jenkinsci/jenkins, elixir-lang/elixir, phoenixframework/phoenix, laravel/framework, zigtools/zls and jellyfin/jellyfin. From each we took the 2 newest merged PRs and the 2 newest rejected ones created from December 2025 through November 2026, by authors outside the repo's owners and members, skipping bots, drafts and diffs of 250,000 bytes or more. Rejected is stricter here than in Cohort 1: GitHub's record shows that a person other than the author closed the PR without merging it, and not by a commit; a label or a bot close alone does not count. netty/netty had only one qualifying rejected PR among its 500 newest closed PRs, so the rule replaced it with mockito/mockito before anything was scored. Then we ran v0.9.18 once, in three runtimes. Its detection rules are v0.9.17's, and no rule was changed after scoring.
| Measure | Result | 95% interval |
|---|---|---|
| Merged PRs flagged by Layer 1 (false flags) | 0 of 50 | 0–7.1% |
| Rejected PRs caught by Layer 1 (recall) | 0 of 50 | 0–7.1% |
| Rejected PRs from outside the team, blocked or paused (default settings) | 50 of 50 (0 blocked, 50 paused) | 92.9–100% |
| Merged PRs from outside the team, paused for a vouch (default settings) | 40 of 40 | 91.2–100% |
| Rejected PRs still paused with the live scan's fast tracks on | 34 of 50 | 54.2–79.2% |
The precision held: Layer 1 flagged no merged PR in 25 code bases it had never seen, though 50 PRs still allow a true false-flag rate up to 7.1%. The catches did not: no rule fired on any of the 100 PRs, not even below the threshold. In their diffs, the rejected PRs looked like the merged ones. All 50 passed the diff-only check, with a median of 3,142 bytes of diff against 2,580 for merged PRs, +35 against +21 lines, 2 against 2 files, and 24 of 50 adding real test assertions against 17 of 50 merged ones.
| Sample | Merged PRs flagged | Rejected PRs caught |
|---|---|---|
| Calibration · the first edition's 60 PRs, which the rules were tuned on | 0 of 30 | 7 of 30 |
| Cohort 1 holdout · v0.9.16, before it was seen | 1 of 70 | 2 of 70 |
| Cohort 1 holdout · v0.9.17, after one fix written from it | 0 of 70 | 1 of 70 |
| Cohort 3 · blind holdout · v0.9.18, scored once | 0 of 50 | 0 of 50 |
Standing did in Cohort 3 what it does in any cold replay. With no vouches on file it paused all 50 rejected PRs, every one from outside the team (34 from accounts with no commits or role in the repo, 16 from returning contributors), and it paused all 40 merged PRs from outside the team as well; the 10 merged PRs by collaborators passed. With the live scan's fast tracks on, the 16 rejected PRs from returning contributors would pass. On repos the gate has never seen, its protection is the pause, and so is its cost: a good newcomer waits for one vouch.
The server and the JS and Python clients at the v0.9.18 tag returned the same gate_sha256 and slop_gate_sha256 for all 100 PRs, with the live scan's fast tracks off and on (100/100).
Section 5 · Exhibits and parity
Verifiable exhibits and 200/200 cross-language parity
Four public PRs: a Layer 1 catch, a Layer 2 decision, and two merged PRs an earlier release got wrong. Each live link re-runs today's gate on the public PR with the live-scan settings, so you can compare its decision with the study's; every live result also prints its gate_sha256.
crewAIInc/crewAI#5951Added a root CLAUDE md instruction file; caught deterministically in <1ms with zero LLM calls.
Closed unmerged by its maintainers. In the study:
reject_slop. Today, on the v0.9.17 live check:reject_slop. A newly added root instruction file is still rejected on v0.9.17.astral-sh/uv#23505Clean diff syntax with no prior collaborator standing or SHA-pinned vouch; paused cleanly in advisory mode.
Merged by its maintainers. In the study:
needs_endorsement_or_bond. Today, on the v0.9.17 live check:pass_returning_contributor. The live check now fast-tracks its returning author; the installed Action still asks for one vouch.vitejs/vite#24292A merged chore PR that updated stale code comments. v0.9.16 read the example "fixes #123" inside the PR template's HTML comment as a claim to fix an issue: our one false flag in Cohort 1.
Merged by its maintainers. In the study:
reject_slop. Today, on the v0.9.17 live check:pass_returning_contributor. Fixed in v0.9.17: HTML comments are stripped before the check, and chore titles are exempt from that rule.modelcontextprotocol/servers#5795 A merged security fix by a core maintainer. v0.9.16 read its multi-line conditional pytest skipif as an introduced test skip: one of two false flags in the live queues.
Merged by its maintainers. In the study:
reject_slop. Today, on the v0.9.17 live check:pass_maintainer. Fixed in v0.9.17: skipif, skipIf and skipUnless count as conditional skips.
200/200: the same digest in three runtimes
All 200 Cohort 1 PRs produced the same gate_sha256 on the live gitbills.com server, npm @fitzdoud/valun@0.9.16 and PyPI valun==0.9.16: 200/200 matching. On v0.9.17 the server and the JS and Python clients at the release tag agree on all 200 again (200/200), with the live scan's fast tracks off and on. On v0.9.18 they agree on all 100 blind-holdout PRs, for both gate_sha256 and slop_gate_sha256 (100/100). The first edition's check covered 160 cases (the 60 real PRs plus a 100-case synthetic corpus) in server JS, npm @fitzdoud/valun and PyPI valun: 160/160. A gate decision can be re-derived with either client and checked against the server's.
| Run | Runtimes | Matching |
|---|---|---|
| Cohort 1 · v0.9.16 | live gitbills.com server · npm @fitzdoud/valun@0.9.16 · PyPI valun==0.9.16 | 200/200 |
| Cohort 1 · v0.9.17 | server JS · JS client at the v0.9.17 tag · Python client at the v0.9.17 tag | 200/200 |
| Cohort 3 · v0.9.18 | server JS · JS client at the v0.9.18 tag · Python client at the v0.9.18 tag · also slop_gate_sha256 | 100/100 |
| First edition | 60 real PRs + 100 synthetic corpus cases · server JS · npm @fitzdoud/valun · PyPI valun | 160/160 |
Section 6 · Model
Why upfront cash bonds fail, and how /valun vouch and acceptance houses solve it
SIMULATED MODEL · SEED 2026120469 · NOT LIVE ACTIVITY
2,000 synthetic PRs · separate from the 452-evaluation study · never counted in it
The study measures today's gate. What happens at scale when every newcomer must post a cash bond, or when reviewers vouch and are scored for it, is a modelling question, so we answered it separately: 2,000 synthetic PRs, of which 1,000 are slop and 471 are legitimate PRs from zero-capital authors (no money to post a bond), seed 2026120469. These are model outputs, not observations. The model is calibrated to the first edition: its diff-only regime lets 76.7% of slop through, the same share as the 23 of 30 rejected PRs Layer 1 let through there, so that row restates the study rather than confirming it.
| Regime | Slop reaching maintainers | Zero-capital legitimate PRs merged |
|---|---|---|
| Unfiltered queue No gate at all. | 1,000/1,000 (100.0%) | 471/471 (100.0%) |
| Layer 1 diff-only check alone The static check from this study, without standing. | 767/1,000 (76.7%) | 471/471 (100.0%) |
| Upfront cash bond only Every author must post a bond before review. | 0/1,000 (0.0%) | 0/471 (0.0%) 471/471 locked out |
| Competitive acceptance houses Reviewers vouch for PRs and are scored on every outcome; a 22% fault circuit breaker halts careless houses. | 27/1,000 (2.7%) | 456/471 (96.82%) |
Cash bonds fail the other way. Requiring an upfront bond stopped all slop (0/1,000) and locked out 471/471 zero-capital newcomers: every legitimate PR from an author who could not post money.
Vouching keeps both. A collaborator's /valun vouch fast-tracks a clean newcomer without a bond. Acceptance houses do the same at scale and are scored on every outcome: in the model they cut slop reaching maintainers by 97.3% against an unfiltered queue (27/1,000) while still merging 96.82% (456/471) of zero-capital legitimate PRs. The 22% fault circuit breaker is live in the gate: after 25 or more judged outcomes, a house whose vouched PRs fault more than 22% of the time is suspended. In the model, the rubber-stamp house tripped it and was halted in epoch 1.
Section 7 · Install
15-second maintainer install (zero checkout · zero API key · zero secrets)
One workflow file, pinned to fitzss/valun-open v0.9.21 by its full commit SHA, so a moved tag never changes the code that runs. It runs on pull_request_target, reads each PR's diff through GitHub's API, and never checks out or runs the PR's code. No API key and no secrets: it uses only the workflow's built-in GitHub permissions (contents: read, pull-requests: write). It starts in advisory mode: Layer 1 slop fails the check, each PR keeps one scorecard comment, nothing is auto-closed, and a collaborator's /valun vouch comment fast-tracks a clean newcomer. Its Layer 2 uses the default settings measured in Cohort 1.
- Save the workflow below as
.github/.workflows/ valun-gate.yml - Commit it to your default branch.
pull_request_targetworkflows run from there, so a fork cannot change the gate it is checked by. - Open or update a pull request: the gate keeps one scorecard comment on it, and the job's outputs carry the decision and its
gate-sha256.
name: Valun PR Gate
on:
pull_request_target:
types: [opened, edited, synchronize, reopened]
issue_comment:
types: [created]
permissions:
contents: read
pull-requests: write
jobs:
gate:
if: github.event_name != 'issue_comment' || (github.event.issue.pull_request && (contains(github.event.comment.body, '/valun vouch') || contains(github.event.comment.body, '/gitbills vouch')))
runs-on: ubuntu-latest
steps:
- name: GitBills Deterministic Pre-Flight (example-org/example-repo)
uses: fitzss/valun-open@5fd775e1b95e53bf236e8766fa16838ceca8a61c # v0.9.21
with:
mode: 'unified-gate'
payee: 'valun-auditor'
policy-mode: 'advisory'
fail-on-slop: 'true'
post-comment: 'true'
Or let the CLI write a standalone version to the same path
npx --yes @fitzdoud/valun@0.9.21 gate init --maintainer valun-auditor --write
The snippet uses example values: replace example-org/example-repo and valun-auditor with your repository and your Valun handle, or fill in the form below and the page rewrites it for you.
Open the PR Gate Acceptance House Observatory Agent Tabs This study as JSON
Evidence honesty
What this evidence is, and what it is not
| Who measured | The team that builds this gate ran all three cohorts. Every PR is public, the gate's code is open source (fitzss/valun-open), and any decision can be re-run live on /gate. |
|---|---|
| Study scope | Read-only: the study only read public data of 452 evaluations of 449 distinct pull requests in 88 OSS repos, wrote nothing to any of them (no comments, issues or PRs) and made 0 LLM calls. |
| Ground truth | Merged means a maintainer merged it. Rejected means it was closed without a merge commit by someone other than its author, or labelled as rejected: stale branches, unsolicited features and policy closes count, not only slop. In Cohort 3 a label or a bot close alone does not count: a person other than the author must have closed it. Open PRs have no ground truth yet. |
| Sample design | Cohort 1 is half merged and half rejected by design, and its fetch took labelled rejections first. Real queues have other mixes, so expect lower precision there. PRs cluster by repo: about 4 per repo in Cohort 1, and exactly 4 in Cohort 3, which took each repo's newest qualifying PRs: a recent sample, not a random one. |
| In-sample tuning | v0.9.17's fixes were written after we saw the false flags in Cohorts 1 and 2, so its zero-false-flag results there are in-sample. The out-of-sample results are v0.9.16 on the 140-PR holdout (1 of 70 merged PRs flagged) and v0.9.18, with v0.9.17's rules, on the blind holdout (0 of 50). |
| Blind holdout | Its 25 repos, its sampling rule and its scoring were fixed, and recorded by hash, before any of its PRs was fetched. That record is our own, not a public registration. One repo (netty) was replaced under the rule before scoring. Nothing was rescored or removed afterwards. |
| Small numbers | 95% Wilson intervals: 0 of 100 false flags still allows a true rate up to 3.7%, and 8 of 8 right flags a precision as low as 67.6%. In the blind holdout, 0 of 50 allows up to 7.1%, and with no flags at all there is no precision to report. |
| Standing data | GitHub reports an author's standing as it is today, and from public org membership only. A merge turns its author into a contributor, so merged PRs cannot show how a fast track would have treated them on the day they were opened. |
| Overlap | 3 merged PRs (one in continue, two in bun) and 8 repos are in both Cohorts 1 and 2, and Cohort 3 shares none with them: the 452 evaluations cover 449 distinct PRs in 88 repos. |
| Gate mode | Advisory: needs_endorsement_or_bond is a note on the PR's scorecard that asks for a vouch, not a failed check; only Layer 1 slop or a VOUCHED.td denouncement fails it. Nothing is auto-closed. |
| Record value | Advisory scorecards, standing and credit claims are worth 0 USD. Nothing here is money. |
| Outside adoption | first_light=0 at the time of this study: no independent outside party had yet accepted a credit claim second-hand. |
| PR code executed | None. The gate is fork-safe: it reads diffs and metadata and never checks out or runs untrusted PR code. |
| Model vs. study | The 2,000-PR comparison (seed 2026120469) is a simulation, kept separate from the 452-evaluation study and never counted in it. |