{"protocol":"gitbills-study/1","origin":"https://gitbills.com","canonical_url":"https://gitbills.com/study","json_url":"https://gitbills.com/study?format=json","client_version":"0.9.21","study":{"sample":{"total_prs":60,"merged_prs":30,"maintainer_rejected_prs":30,"distinct_oss_repos":20,"mode":"read_only","valid_syntax_rejected_prs":15},"layer1_diff_only":{"llm_calls":0,"merged_flagged":0,"merged_clean":30,"rejected_caught":7,"median_latency_ms":0.41,"runtime":"Node.js","protocol":"valun-slop-gate/2"},"layer2_standing":{"remaining_rejected_paused":23,"decision":"needs_endorsement_or_bond","zero_bond_fast_tracks":["repo_collaborator","prior_clean_merged_pr","sha_pinned_valun_vouch"],"advisory_note":"Good first-time PRs without prior standing also pause in advisory mode; nothing is auto-closed."},"determinism":{"matching_cases":160,"total_cases":160,"real_prs":60,"synthetic_corpus":100,"runtimes":["server JS","npm @fitzdoud/valun","PyPI valun"],"digest_field":"gate_sha256"},"exhibits":[{"pr":"crewAIInc/crewAI#5951","layer":"Layer 1 (Diff)","outcome":"reject_slop","summary":"Added a root CLAUDE md instruction file; caught deterministically in \u003c1ms with zero LLM calls.","ground_truth":"rejected","cohort":"cohort1_calibration","live_outcome_v0917":"reject_slop","live_note":"A newly added root instruction file is still rejected on v0.9.17."},{"pr":"astral-sh/uv#23505","layer":"Layer 2 (Standing)","outcome":"needs_endorsement_or_bond","summary":"Clean diff syntax with no prior collaborator standing or SHA-pinned vouch; paused cleanly in advisory mode.","ground_truth":"merged","cohort":"cohort1_calibration","live_outcome_v0917":"pass_returning_contributor","live_note":"The live check now fast-tracks its returning author; the installed Action still asks for one vouch."},{"pr":"vitejs/vite#24292","layer":"Layer 1 (Diff)","outcome":"reject_slop","summary":"A 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.","ground_truth":"merged","cohort":"cohort1_holdout","live_outcome_v0917":"pass_returning_contributor","live_note":"Fixed in v0.9.17: HTML comments are stripped before the check, and chore titles are exempt from that rule."},{"pr":"modelcontextprotocol/servers#5795","layer":"Layer 1 (Diff)","outcome":"reject_slop","summary":"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.","ground_truth":"merged","cohort":"cohort2_live_queues","live_outcome_v0917":"pass_maintainer","live_note":"Fixed in v0.9.17: skipif, skipIf and skipUnless count as conditional skips."}],"simulation_comparison":{"simulated":true,"seed":2026120469,"total_synthetic_prs":2000,"separate_from_live_study":true,"unfiltered":{"slop_leaked":1000,"slop_total":1000,"slop_leakage_pct":100,"zero_capital_legit_merged":471,"zero_capital_legit_total":471},"static_layer1_only":{"slop_leaked":767,"slop_total":1000,"slop_leakage_pct":76.7,"zero_capital_legit_merged":471,"zero_capital_legit_total":471},"upfront_cash_bond_only":{"slop_leaked":0,"slop_total":1000,"slop_leakage_pct":0,"zero_capital_legit_merged":0,"zero_capital_legit_total":471},"competitive_acceptance_houses":{"slop_leaked":27,"slop_total":1000,"slop_leakage_pct":2.7,"zero_capital_legit_merged":456,"zero_capital_legit_total":471,"breaker_threshold_pct":22,"rubber_stamp_halted_epoch":1}},"honesty":{"usd_value":0,"first_light":0,"executes_untrusted_pr_code":false,"fork_safe":true},"scope":{"pr_evaluations":452,"distinct_prs":449,"prs_in_both_cohorts":["continuedev/continue#13004","oven-sh/bun#50049","oven-sh/bun#49976"],"merged_prs_in_both_cohorts":3,"distinct_oss_repos":88,"repos_in_both_cohorts":["astral-sh/uv","biomejs/biome","continuedev/continue","crewAIInc/crewAI","fastapi/fastapi","ghostty-org/ghostty","oven-sh/bun","pydantic/pydantic-ai"],"cohorts":3,"tuned_cohorts":{"cohorts":["cohort1_balanced_benchmark","cohort2_live_queues"],"pr_evaluations":352,"distinct_prs":349,"distinct_oss_repos":63},"blind_holdout":{"cohort":"cohort3_blind_holdout","pr_evaluations":100,"distinct_prs":100,"distinct_oss_repos":25,"prs_shared_with_tuned_cohorts":0,"repos_shared_with_tuned_cohorts":0},"mode":"read_only","github_writes":0,"llm_calls":0,"gate_versions":["0.9.16","0.9.17","0.9.18"],"first_edition_fields":["sample","layer1_diff_only","layer2_standing","determinism"],"measured_by":"the team that builds the gate"},"cohort1_balanced_benchmark":{"total_prs":200,"merged_prs":100,"maintainer_rejected_prs":100,"distinct_oss_repos":51,"languages":[{"language":"Rust","repos":10,"merged_prs":20,"rejected_prs":23},{"language":"Python","repos":11,"merged_prs":19,"rejected_prs":20},{"language":"TypeScript","repos":8,"merged_prs":11,"rejected_prs":7},{"language":"C/C++","repos":7,"merged_prs":15,"rejected_prs":15},{"language":"Go","repos":6,"merged_prs":14,"rejected_prs":14},{"language":"Java","repos":5,"merged_prs":11,"rejected_prs":11},{"language":"Zig","repos":4,"merged_prs":10,"rejected_prs":10}],"vouched_td_repos":["ghostty-org/ghostty","atuinsh/atuin","hyprwm/Hyprland"],"written_ai_policy_repos":["curl/curl","ziglang/zig","servo/servo","yt-dlp/yt-dlp","caddyserver/caddy","astral-sh/uv","astral-sh/ruff","biomejs/biome"],"selection":"The first edition's 60 PRs, then 140 new PRs by per-repository quotas fixed in the fetch script before any of them was scored; each repo's recently closed PRs read newest first, labelled rejections first.","ground_truth":{"merged":"merged by a maintainer","rejected":"closed without a merge commit by someone other than its author, or labelled as rejected; includes unsolicited features, policy closes and stale branches, not only slop"},"splits":{"calibration":{"prs":60,"repos":20,"merged_prs":30,"rejected_prs":30},"holdout":{"prs":140,"repos":31,"merged_prs":70,"rejected_prs":70,"unseen_by_version":"0.9.16"}},"diff_structure":{"median_method":"nearest_rank_p50","passed_diff_check":{"v0916":{"merged":99,"rejected":91},"v0917":{"merged":100,"rejected":92}},"median_diff_bytes":{"merged":4031,"rejected":3377},"median_lines_added":{"merged":27,"rejected":35},"median_files_changed":{"merged":2,"rejected":2},"prs_adding_real_test_assertions":{"merged":35,"rejected":26}},"rejected_author_association":{"NONE":73,"CONTRIBUTOR":23,"COLLABORATOR":4},"author_association_note":"Read at fetch time. Merging a PR makes its author a contributor, so merged and rejected PRs are not compared by it.","layer1":{"protocol":"valun-slop-gate/2","llm_calls":0,"v0916":{"merged_flagged":1,"rejected_caught":9,"false_flag":"vitejs/vite#24292","false_flag_rule":"cosmetic_or_comment_only_bugfix_claim"},"v0917":{"merged_flagged":0,"rejected_caught":8},"html_comment_fix_backtest_rejected_caught":9,"latency_ms":{"measured_on":"0.9.16","js_p50":0.35,"js_p95":1.23,"python_p50":1.22,"python_p95":12.16}},"layer2":{"protocol":"valun-gate/1","version":"0.9.17","replay":"cold: no vouches, endorsements, passports or bonds on file","non_collaborator_rejected_prs":96,"non_collaborator_merged_prs":98,"collaborator_rejected_repos":["tigerbeetle/tigerbeetle","tursodatabase/turso"],"default_settings":{"used_by":["the installed GitHub Action","POST /pilot/v1/gate/evaluate"],"rejected_blocked":8,"rejected_paused":88,"rejected_collaborators_passed":4,"merged_paused":98,"merged_collaborators_passed":2},"live_scan_settings":{"used_by":["the live queue scan (?scan=)","the live PR check (/gate?pr=)"],"fast_tracks":["returning_contributor","known_maintenance_bot"],"rejected_blocked":8,"rejected_paused":66,"rejected_returning_contributors_passed":22,"rejected_collaborators_passed":4,"merged_note":"Not measurable on merged PRs after the fact: a merge makes its author a contributor."}},"holdout_results":{"v0916":{"merged_flagged":1,"rejected_caught":2,"rejected_paused":64,"rejected_collaborators_passed":4},"v0917":{"merged_flagged":0,"rejected_caught":1,"rejected_paused":65,"rejected_collaborators_passed":4}},"determinism":{"digest_field":"gate_sha256","v0916":{"matching":200,"total":200,"runtimes":["live gitbills.com server","npm @fitzdoud/valun@0.9.16","PyPI valun==0.9.16"]},"v0917":{"matching":200,"total":200,"runtimes":["server JS","JS client at the v0.9.17 tag","Python client at the v0.9.17 tag"],"settings":["default","live_scan"]}},"cross_repo_accounts":{"accounts":7,"in_two_languages":5,"rejected_in_both_repos":4,"merged_in_one_rejected_in_another":3,"rejected_prs":11,"rejected_blocked_default":2,"rejected_paused_default":9,"named":false}},"cohort2_live_queues":{"total_prs":152,"open_prs":93,"merged_prs":59,"distinct_oss_repos":20,"repos":["crewAIInc/crewAI","fastapi/fastapi","browser-use/browser-use","immich-app/immich","ghostty-org/ghostty","NousResearch/hermes-agent","continuedev/continue","zed-industries/zed","mitchellh/vouch","cline/cline","biomejs/biome","open-webui/open-webui","oven-sh/bun","modelcontextprotocol/servers","n8n-io/n8n","coollabsio/coolify","astral-sh/uv","pydantic/pydantic-ai","tldraw/tldraw","block/goose"],"selection":"Up to 5 of each repo's most recently updated open PRs (the live scan's order) and up to 3 of its most recently merged PRs, fixed before any diff was read.","too_large_not_evaluated":5,"layer1":{"v0916":{"merged_rejected":2,"open_rejected":5,"open_rejected_that_were_slop":0},"v0917":{"merged_rejected":0,"open_rejected":0}},"layer2_open":{"first_time_authors":26,"v0916":{"paused":56,"paused_first_time_authors":25,"paused_returning_contributors":14,"paused_private_members":8,"paused_bots":9},"v0917":{"paused":29,"paused_first_time_authors":25,"paused_bots":4,"first_time_authors_passed_vouched_td":1}},"layer2_merged":{"v0916_paused":24,"v0917_paused":6,"v0917_paused_are_bots":true},"deep_checks":{"rules":14,"prs_with_signals_v0916":13,"prs_with_scored_signals_v0917":4},"repos_profiled":22,"repo_files":{"root_claude_md":7,"claude_dir":9,"agents_md":19,"vouched_td":2},"vouched_td_lists":[{"repo":"ghostty-org/ghostty","vouched":407,"denounced":28},{"repo":"mitchellh/vouch","vouched":14,"denounced":0}],"lessons":["tracked_ai_config_is_maintenance","conditional_test_skips","fake_fixture_keys","vouched_td_live_scan","returning_contributor_and_bot_fast_tracks","static_review_hint","micro_pr_burst","oversized_prs_listed"]},"cohort3_blind_holdout":{"total_prs":100,"merged_prs":50,"maintainer_rejected_prs":50,"distinct_oss_repos":25,"gate_version":"0.9.18","rule_changes":0,"detection_rules_as_of":"0.9.17","scored_once":true,"selection_fixed_before_fetch":true,"registered_in_public":false,"shared_with_tuned_cohorts":{"prs":0,"repos":0},"languages":[{"language":"Rust","repos":4,"merged_prs":8,"rejected_prs":8},{"language":"Python","repos":3,"merged_prs":6,"rejected_prs":6},{"language":"TypeScript","repos":3,"merged_prs":6,"rejected_prs":6},{"language":"Go","repos":3,"merged_prs":6,"rejected_prs":6},{"language":"C/C++","repos":3,"merged_prs":6,"rejected_prs":6},{"language":"Ruby","repos":2,"merged_prs":4,"rejected_prs":4},{"language":"Java","repos":2,"merged_prs":4,"rejected_prs":4},{"language":"Elixir","repos":2,"merged_prs":4,"rejected_prs":4},{"language":"PHP","repos":1,"merged_prs":2,"rejected_prs":2},{"language":"Zig","repos":1,"merged_prs":2,"rejected_prs":2},{"language":"C#","repos":1,"merged_prs":2,"rejected_prs":2}],"repos":["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","jellyfin/jellyfin"],"replaced_repos":[{"repo":"netty/netty","replaced_by":"mockito/mockito","reason":"only one qualifying rejected PR among its 500 newest closed PRs"}],"selection":"Fixed before any of its PRs was fetched: per repo, the 2 newest merged and the 2 newest rejected PRs created from 2025-12-01 to 2026-11-30 and closed before 2026-12-05, by authors outside the repo's owners and members (GitHub's author association), no bots, no drafts, diffs under 250,000 bytes; a repo that could not supply 2 + 2 among its 500 newest closed PRs was replaced by a named alternate of its language before scoring.","ground_truth":{"merged":"merged by a maintainer","rejected":"closed without a merge by a person other than its author, as GitHub records who closed it, and not by a commit; a label or a bot close alone does not count"},"diff_structure":{"median_method":"nearest_rank_p50","passed_diff_check":{"merged":50,"rejected":50},"median_diff_bytes":{"merged":2580,"rejected":3142},"median_lines_added":{"merged":21,"rejected":35},"median_files_changed":{"merged":2,"rejected":2},"prs_adding_real_test_assertions":{"merged":17,"rejected":24}},"rejected_author_association":{"NONE":34,"CONTRIBUTOR":16,"COLLABORATOR":0},"layer1":{"protocol":"valun-slop-gate/2","version":"0.9.18","llm_calls":0,"merged_flagged":0,"rejected_caught":0,"prs_with_any_rule_signal":0},"layer2":{"protocol":"valun-gate/1","version":"0.9.18","replay":"cold: no vouches, endorsements, passports or bonds on file","non_collaborator_rejected_prs":50,"non_collaborator_merged_prs":40,"default_settings":{"rejected_blocked":0,"rejected_paused":50,"rejected_collaborators_passed":0,"merged_paused":40,"merged_collaborators_passed":10},"live_scan_settings":{"rejected_blocked":0,"rejected_paused":34,"rejected_returning_contributors_passed":16,"rejected_collaborators_passed":0,"merged_note":"Not measurable on merged PRs after the fact: a merge makes its author a contributor."}},"determinism":{"digest_fields":["gate_sha256","slop_gate_sha256"],"matching":100,"total":100,"runtimes":["server JS","JS client at the v0.9.18 tag","Python client at the v0.9.18 tag"],"settings":["default","live_scan"]}}},"derived":{"rejected_valid_syntax_pct":50,"houses_zero_capital_merged_pct":96.82,"houses_slop_reduction_vs_unfiltered_pct":97.3,"distinct_merged_prs":156,"merged_flagged_v0917_both_cohorts":0,"merged_flagged_v0917_ci95_pct":[0,2.4],"cohort1_rejected_passed_diff_check_pct_v0916":91,"cohort1_layer1_v0916":{"false_flag_rate_ci95_pct":[0.2,5.4],"specificity_pct":99,"specificity_ci95_pct":[94.6,99.8],"precision_pct":90,"precision_ci95_pct":[59.6,98.2],"recall_pct":9,"recall_ci95_pct":[4.8,16.2]},"cohort1_layer1_v0917":{"false_flag_rate_ci95_pct":[0,3.7],"specificity_pct":100,"specificity_ci95_pct":[96.3,100],"precision_pct":100,"precision_ci95_pct":[67.6,100],"recall_pct":8,"recall_ci95_pct":[4.1,15]},"cohort1_layer2_default_coverage_pct":100,"cohort1_layer2_live_scan_coverage_pct":77.1,"cohort2_open_paused_pct_v0917":31.2,"cohort3_layer1_v0918":{"false_flag_rate_ci95_pct":[0,7.1],"specificity_pct":100,"specificity_ci95_pct":[92.9,100],"precision_pct":null,"precision_ci95_pct":null,"recall_pct":0,"recall_ci95_pct":[0,7.1]},"cohort3_rejected_passed_diff_check_pct":100,"cohort3_layer2_default_coverage_pct":100,"cohort3_layer2_default_coverage_ci95_pct":[92.9,100],"cohort3_layer2_default_merged_paused_ci95_pct":[91.2,100],"cohort3_layer2_live_scan_coverage_pct":68,"cohort3_layer2_live_scan_coverage_ci95_pct":[54.2,79.2]},"install":{"customized":false,"repo":"example-org/example-repo","payee":"valun-auditor","workflow_path":".github/workflows/valun-gate.yml","action_ref":"fitzss/valun-open@5fd775e1b95e53bf236e8766fa16838ceca8a61c","workflow_yaml":"name: Valun PR Gate\n\non:\n  pull_request_target:\n    types: [opened, edited, synchronize, reopened]\n  issue_comment:\n    types: [created]\n\npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n  gate:\n    if: github.event_name != 'issue_comment' || (github.event.issue.pull_request \u0026\u0026 (contains(github.event.comment.body, '/valun vouch') || contains(github.event.comment.body, '/gitbills vouch')))\n    runs-on: ubuntu-latest\n    steps:\n      - name: GitBills Deterministic Pre-Flight (example-org/example-repo)\n        uses: fitzss/valun-open@5fd775e1b95e53bf236e8766fa16838ceca8a61c # v0.9.21\n        with:\n          mode: 'unified-gate'\n          payee: 'valun-auditor'\n          policy-mode: 'advisory'\n          fail-on-slop: 'true'\n          post-comment: 'true'","init_command":"npx --yes @fitzdoud/valun@0.9.21 gate init --maintainer valun-auditor --write"},"links":{"gate":"https://gitbills.com/gate","scan_example":"https://gitbills.com/gate?scan=fitzss%2Fvalun-open","exhibits":["https://gitbills.com/gate?pr=crewAIInc%2FcrewAI%235951","https://gitbills.com/gate?pr=astral-sh%2Fuv%2323505","https://gitbills.com/gate?pr=vitejs%2Fvite%2324292","https://gitbills.com/gate?pr=modelcontextprotocol%2Fservers%235795"],"houses":"https://gitbills.com/houses","circulate":"https://gitbills.com/circulate","tab":"https://gitbills.com/tab"}}