Skip to content

Research log

Planned before the pilot month is read: GitHub's own thread-to-example conversion

The sizing's example projections borrow the Gerrit conversion, and the two denominators differ (above), so GitHub's conversion is measured on a built pilot month before any GitHub organization is admitted. Method (scripts/github_conversion.py): every PR the route lists for the month, each counted with the sizing's own per-PR rule (pr_threads, moved out of github_sizing.py so both read one definition); the numerator is the refined examples the route built from those PRs. A PR the sizing scores zero (bot or AI author) keeps its examples in the numerator, so the rate times the sizing's thread total projects the examples the route would build. A PR the route failed to collect, or that GitHub no longer answers for at the census, counts on neither side, since its examples are unknown; one withdrawn at collection keeps its threads, as the sizing counted them. The script refuses when the listing differs from the snapshot's own count, when an example comes from an unlisted PR, when failed PRs go unnamed, or when the month has no reviewer threads. The interval is a 95% percentile bootstrap over PRs of the ratio. The sizing's own draws that fall in the month are counted again by the census and their agreement reported, a check on the rule and on the data since the draws were taken.

A GitHub collection route, and what live pull requests taught it

sphragis/corpus/github.py and github_api.py (spec docs/superpowers/specs/2026-10-01-github-route-design.md): pull requests shaped as Gerrit changes, so build, refine and dedup run on them unchanged and no frozen Gerrit month goes stale; the route's own digest (GITHUB_RULES) stales only GitHub months, failing closed when a GitHub snapshot lacks it. fetch --via github collects a registered organization-month; the sealed test window is refused before any request, as on the other routes.

The confirmation pass: Apache and LLVM qualify for an H1 cell, .NET and Grafana for RQ2, OpenJDK and HashiCorp are borderline

github-sizing-report.json, from the 200 draws an organization planned above (github-sizing-draws-<org>.jsonl). The design checks out: the same estimator applied to the number of PRs recovers the counts the search API reports to within 1% to 7% (Apache 108,600 against 107,888; HashiCorp 24,531 against 22,870, the widest). No draw hit the search frame cap. The thread-to-example conversion read from the built corpora is 0.217 (Wikimedia) to 0.282 (OpenStack); the example range below is the interval's low end at the low rate to its high end at the high rate.

Planned before the confirmation pass is read: GitHub organizations as candidates beyond Qt and Chromium

AJ asked for six or more organizations, so that RQ2 has a federation of several clients and RQ1 more than two cells. The permitted Gerrit hosts give OpenStack and Wikimedia; LineageOS yields 458 examples from about 29,800 merged changes (its reviewers rarely comment inline). GitHub's Acceptable Use Policies allow research use of public information when the resulting publications are open access; identities are pseudonymised at ingestion as on Gerrit.

LineageOS's 57 dropped changes were withdrawn from the host, not failed requests

LineageOS 2025-10 dropped 57 changes as comment_error, and a rebuild of that month dropped exactly 57 again with every other count identical, so the drop was not transient. A one-request-per-change probe of the month (stopped at 1,562 of 4,161 changes, to spare a host then returning 502s) found timeouts and 502s, which the client retries five times and which rarely survive that, and 404s, which it does not retry. Two of the 404s were checked by hand: the change itself now answers 404. They were public when the snapshot listed them (fetched 2026-09-29) and were deleted or made private since.

The planted check passes 10 of 10 on Wikimedia; the planted run's base arm is left out of it

The ten runs planned above (jobs 211277 to 211286, pinned at a43f7af), rq1-partition-wikimedia-*-n1850-plant0.5.json. All ten pass, every half's lower bound above zero (least +0.036), per-half estimates from +0.087 to +0.143, projected pass probability at least 0.9994 per run (0.9999 on average). By the rule fixed before the runs, check 5 is registered for Wikimedia as for OpenStack, at a half.

Wikimedia's test window projects as a lower bound: the dev check fails by under-predicting

window-report-wikimedia-v3.json then project-windows-wikimedia-v3.json, on the v3 corpus. Train-into-dev leakage is 0.27% at Jaccard 0.7 (2 of 747 dev examples). The capture model, fitted on the training window (2,348 changes over 10 months, captured 0.974, 241.1 a month), predicts 359 dev changes against 448 observed: a miss of -19.9%, past the 15% tolerance. Wikimedia's arrivals rose over the year (raw changes a month in the refined corpus range from 156 to 319, the highest in the first dev month), so the dev window holds more than the training rate predicts.

Wikimedia's development-window pilot: K = 16, and H1 inconclusive at +0.0009

Twenty-two partition_run jobs on corpus-v3/wikimedia, the first 22 admissible partitions at training seeds 1 to 22 and N = 1,850 (jobs 210577 to 210600, pinned at ec8cc05). Every outcome-neutral check passed and the apparatus held in all 22; the largest leakage rate, own or sibling, is 0.40% against the registered 2%. Every run scored the same 711 examples (429 changes); none was dropped.

The planted check at a half passes 10 of 10 runs: registered at a half, read on the planted run only

The ten runs planned above, repeated at PLANT=0.5 (jobs 210234 to 210243, pinned at b05a2d8), rq1-partition-openstack-*-n1850-plant0.5.json. All ten pass. Every half's lower bound is above zero (least +0.017); per-half estimates run from +0.053 to +0.142. The pass probability projected by the logged rule (normal per half, interval half-width over 1.96 as the standard error, product over halves) is at least 0.9989 for every run and 0.9999 on average. Both conditions of the rule hold, so check 5 is registered with the plant at a half: neutral.planted_convention, which reads the plant's strength and window from the run's corpus path and refuses any other, and partition_pilot.py --planted, which halts the cell when it fails.

The planted check at a quarter passes 2 of 10 runs: redesigned before registration

The ten runs planned above (jobs 210077 to 210086, pinned at b05a2d8), rq1-partition-openstack-*-n1850-plant0.25.json. Two pass (partitions 2 and 12), seven read mixed, one fail. The planted effect is there in every run but one half (partition 5, half b, -0.013), from about +0.003 to +0.106, and the development window's 81 to 125 changes a half resolve the smaller ones no better than the pilot's 183 did. Registered as drafted, check 5 would halt a working apparatus in about four studies of five. By the rule fixed before these runs, it is not registered at a quarter: the plant is raised to a half and the same ten partitions and seeds are repeated.

Planned before any run: the planted-convention check's pass rate on v3 at N = 1,850

Audit item 5. The Stage 1 draft registers outcome-neutral check 5: on the development window, one run with each half's own comment marker planted in a quarter of its refinements must pass on both halves. Its one pilot (v1, bf16, random halves of 183 changes each, one seed) passed on the weaker half at a lower bound of +0.005, and on a partition the halves hold 125 and 81 development changes. A positive control that halts a working apparatus is not "sufficient" in the sense the registered-report guidelines use, so its pass rate is measured before it is registered.