Skip to content

Add reproducible GitHub maintenance analysis - #3

Open
crhea93 wants to merge 51 commits into
mainfrom
feat/github
Open

crhea93 wants to merge 51 commits into
mainfrom
feat/github

Conversation

@crhea93

@crhea93 crhea93 commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

What this PR delivers

This PR turns the initial GitHub exploration into a reproducible analysis of maintenance around pyOpenSci acceptance. Collection is resumable and quota-aware; analysis runs entirely from local snapshots and can be rebuilt for different matched windows without querying GitHub again.

Layer What it computes
Cohort Acceptance and submission timing, repository age and commit recency, and the listed-maintainer roster
Tier 1 Complete issue and pull-request indexes; activity volume and close times in symmetric windows around acceptance
Tier 2 Censoring-aware time to the first qualifying maintainer comment, using repository-wide conversation and review-comment streams
Other signals Default-branch commits, aggregate star acquisition, and current public activity of listed maintainers

The full interpretation and methods are in the maintenance analysis and collection design.

Headline findings

The central descriptive result is that activity generally decreases after acceptance, but does not collapse. Some decline is expected because submission and review themselves concentrate work before acceptance, and accepted packages have already been brought closer to pyOpenSci standards.

Measure Current result
Cohort 71 accepted packages; 70 GitHub-hosted repositories in the GitHub analysis
Commits, 90-day window Median 61 before → 21 after across 59 repositories; 50/59 (84.7%) still had a post-acceptance commit
Issues, 90-day window Median 4 before → 1.5 after across 64 eligible repositories
Pull requests, 90-day window Median 12 before → 4 after across 64 eligible repositories
Issue comment response within 30 days 34.4% before → 43.0% after across 62 eligible repositories
PR comment response within 30 days 48.4% before → 51.4% after across 62 eligible repositories
Stars Median within-repository change of 3 fewer newly acquired stars after acceptance across 66 repositories
Maintainers For most packages with an available roster, every listed maintainer had observed public GitHub activity during the 365-day snapshot

The direction of the issue and PR activity result is stable across 90-, 180-, and 365-day windows. Issue comment-response probability is higher after acceptance in all three comparisons. PR comment response is broadly stable: modestly higher at 90 and 180 days and less than two percentage points lower at 365 days.

Scope and interpretation

These are descriptive before-and-after comparisons. They do not show that pyOpenSci acceptance caused the observed changes. Package maturity, maintainer capacity, community trends, and regression toward ordinary activity after the review period may all contribute. A future comparison with a matched control cohort is needed to address causality.

Tier 2 comment collection is complete for 68/70 repositories. MovingPandas is excluded because its issue-comment endpoint returned 404; Astropy is excluded because GitHub stopped offset pagination after 30,000 comments. Incomplete streams are excluded rather than interpreted as no response. Formal submitted PR reviews and issue-management events are outside the current Tier 2 metric.

Reproduce the result

uv run reflections status
uv run --extra analysis reflections analyze all --windows 90 180 365

The first command reports local collection completeness. The second rebuilds cohort, commit, star, maintainer, Tier 1, and Tier 2 tables and figures from cached data without making GitHub API requests.

Implementation and cleanup

  • unwindowed, checkpointed Tier 1 indexes and Tier 2 interaction streams;
  • quota floors, request budgets, partial checkpoints, and explicit failures;
  • one project CLI instead of standalone scripts;
  • accessible purple figures and machine-readable comparison tables; and
  • removal of the superseded bounded issue/PR pipeline and obsolete coverage audit.

Validation

  • 70 tests passing;
  • Ruff passes for the consolidated CLI, command modules, and changed interfaces;
  • collection-status and complete-analysis dry-run smoke tests pass.

AI Usage

It is probably clear that I used AI (Codex) to help me build this analysis. I HAVE NOT LOOKED AT EVERY SINGLE LINE OF CODE PRODUCED. Instead I have focused on the validation of metrics against individual repositories.

@crhea93
crhea93 requested a review from kysolvik November 21, 2026 20:44
@crhea93
crhea93 marked this pull request as ready for review November 21, 2026 22:49
@crhea93

crhea93 commented Nov 21, 2026

Copy link
Copy Markdown
Contributor Author

I swear my PRs are not normally so horrendous

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant