Skip to content

Nonlinear performance: code review fixes + GitHub contributor analysis notebook#2

Open
dima-yanter wants to merge 2 commits intomainfrom
claude/code-review-bRM3j
Open

Nonlinear performance: code review fixes + GitHub contributor analysis notebook#2
dima-yanter wants to merge 2 commits intomainfrom
claude/code-review-bRM3j

Conversation

@dima-yanter
Copy link
Copy Markdown
Owner

Summary

  • Addressed all code review issues in nonlinear-performance.ipynb: named parameters, documented week-to-year normalization, fixed μ display, removed dead code, replaced lnx.iloc with lnx.iterrows(), swapped np.seterr(invalid='ignore') for an explicit zero guard, and fixed typos
  • Added github-contributor-analysis.ipynb: fetches contributor stats from any GitHub repo via the API and runs the same nonlinear maintenance model fitting

Test plan

  • Open github-contributor-analysis.ipynb, set REPO to a public repo (e.g. "pandas-dev/pandas"), run all cells — contributor plots should render with fitted μ values
  • Verify HTTP 202 retry logic by testing against a repo that hasn't been recently accessed
  • Confirm nonlinear-performance.ipynb still runs end-to-end against linux_contributors.json

https://claude.ai/code/session_01VAzMQrsv5yZXFmC4BxGrQ2

claude added 2 commits March 30, 2026 21:11
Fetches contributor stats from any GitHub repo via the API and runs
the same nonlinear maintenance model fitting as nonlinear-performance.ipynb.
Handles 202 retry, rate limit errors, and missing/empty repos.

https://claude.ai/code/session_01VAzMQrsv5yZXFmC4BxGrQ2
Builds a contributor collaboration network from GitHub PR and commit history,
and a code archaeology heatmap showing how deep into history a contributor
must reach to understand code areas they arrived at after others had left.

https://claude.ai/code/session_01VAzMQrsv5yZXFmC4BxGrQ2
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.

2 participants