-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG] EXA align lorenz curves between the two examples with GLMs #16640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get why I'm marked as author in commits for two last PRs that I merged. I have done everything as usual (i.e. clicking on the merge commit button). Either it's a Github bug or they are changing something. We'll see what happens for other PRs merged today. |
FYI, we are also seeing this problem in some of our repos. The merging author does seems to be a github problem. |
We just sent a bug report to the github support. Perhaps all related project should do so to escalate the issue. |
Thanks for the confirmation! I also contacted Github support. This seem related to https://github.community/t5/How-to-use-Git-and-GitHub/Authorship-of-merge-commits-made-by-Github-Apps-changed/m-p/48797#. |
Response from Github suport:
It's possible that I had removed the @scikit-learn/core-devs FYI, when you next merge PR please make sure you keep |
FYI, this issue (the change in commit author) got escalated to me at GitHub. We have a bug in our squash and merge logic right now (introduced yesterday) which causes the original PR author to be removed from the list of commit co-authors in some cases. We're working on a fix now. (The change to make the merger an author will persist, as that is what |
Thanks @greysteil for working on this. Is it possible to give an option to retain the old behavior? Personally I feel that the old squash merge behavior is better. The new way gives additional stats to the merger and can be confusing when looking into the commit history of maintainers. We could go with the rebase merge. But one thing that we really liked about the original squash merge is that it directly generates commit messages that links to the PR. Would love to see if there is a way for community to choose the behavior they want |
Thanks for the feedback - we're going to revert the default behaviour back to the previous, PR-creator-as-author, setup. The fix will go out in the next 24 hours and we'll think of another way to address the problems the change was intended to solve. |
Good to hear this is being rolled back. However, there is a point that I haven't seen come up in this discussion which I think is important. Keeping exact records of authorship information in the commit is really important. I feel that merging that with co-authorship is not entirely being accurate as not every contributor has commit rights in the github projects and different projects have different maintainer structures. It is important to keep accurate records of authorship as projects need to be aware of who authored what, so why is this needed ? This is needed in case there is a requirement for relicensing or any other query regarding the authorship and yes that does happen in a long running project that uses git as a version control system and github as a hosting system. My 2 cents. Thanks, |
Reference Issues/PRs
#14300 added 2 examples, one for Poisson, one for Tweedie regression. In the last plot of each example, a lorenz curve shown. But one orders the x-axis opposite to the other example.
What does this implement/fix? Explain your changes.
This PR aligns the x-axis of the last plot, always from safest to riskiest policies.