Nonlinear performance: code review fixes + GitHub contributor analysis notebook#2
Open
dima-yanter wants to merge 2 commits intomainfrom
Open
Nonlinear performance: code review fixes + GitHub contributor analysis notebook#2dima-yanter wants to merge 2 commits intomainfrom
dima-yanter wants to merge 2 commits intomainfrom
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nonlinear-performance.ipynb: named parameters, documented week-to-year normalization, fixedμdisplay, removed dead code, replacedlnx.ilocwithlnx.iterrows(), swappednp.seterr(invalid='ignore')for an explicit zero guard, and fixed typosgithub-contributor-analysis.ipynb: fetches contributor stats from any GitHub repo via the API and runs the same nonlinear maintenance model fittingTest plan
github-contributor-analysis.ipynb, setREPOto a public repo (e.g."pandas-dev/pandas"), run all cells — contributor plots should render with fitted μ valuesnonlinear-performance.ipynbstill runs end-to-end againstlinux_contributors.jsonhttps://claude.ai/code/session_01VAzMQrsv5yZXFmC4BxGrQ2