{"action":"created","issue":{"url":"https://api.github.com/repos/24pullrequests/24pullrequests/issues/1043","labels_url":"https://api.github.com/repos/24pullrequests/24pullrequests/issues/1043/labels{/name}","comments_url":"https://api.github.com/repos/24pullrequests/24pullrequests/issues/1043/comments","events_url":"https://api.github.com/repos/24pullrequests/24pullrequests/issues/1043/events","html_url":"https://github.com/24pullrequests/24pullrequests/issues/1043","id":120396119,"number":1043,"title":"Don't count PRs back to a user's own repos","user":{"login":"pimterry","id":1526883,"avatar_url":"https://avatars.githubusercontent.com/u/1526883?v=3","gravatar_id":"","url":"https://api.github.com/users/pimterry","html_url":"https://github.com/pimterry","followers_url":"https://api.github.com/users/pimterry/followers","following_url":"https://api.github.com/users/pimterry/following{/other_user}","gists_url":"https://api.github.com/users/pimterry/gists{/gist_id}","starred_url":"https://api.github.com/users/pimterry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pimterry/subscriptions","organizations_url":"https://api.github.com/users/pimterry/orgs","repos_url":"https://api.github.com/users/pimterry/repos","events_url":"https://api.github.com/users/pimterry/events{/privacy}","received_events_url":"https://api.github.com/users/pimterry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-12-04T12:53:28Z","updated_at":"2015-12-08T14:52:46Z","closed_at":null,"body":"The [organisations](http://24pullrequests.com/organisations) leaderboard today is currently a bit useless, because [a user](http://24pullrequests.com/users/IonicaBizau) submitted 190 (mostly automated) PRs yesterday evening, and is a member of 20 different github organisations, so all 20 of those have jumped right to the top and pushed everything else out.\r\n\r\nI don't think there's anything wrong particularly with these PRs themselves, but it does mess up 24 pull requests a bit, and PRs to your own repos particularly is not really in the spirit of giving back.\r\n\r\nHow would you feel about not including PRs from a user to their own repos in their total? Alternatively/additionally, maybe we could think about having users pick only one of their organisations that they want their PRs to count towards, rather than applying them to all of them automatically?"},"comment":{"url":"https://api.github.com/repos/24pullrequests/24pullrequests/issues/comments/162905510","html_url":"https://github.com/24pullrequests/24pullrequests/issues/1043#issuecomment-162905510","issue_url":"https://api.github.com/repos/24pullrequests/24pullrequests/issues/1043","id":162905510,"user":{"login":"pimterry","id":1526883,"avatar_url":"https://avatars.githubusercontent.com/u/1526883?v=3","gravatar_id":"","url":"https://api.github.com/users/pimterry","html_url":"https://github.com/pimterry","followers_url":"https://api.github.com/users/pimterry/followers","following_url":"https://api.github.com/users/pimterry/following{/other_user}","gists_url":"https://api.github.com/users/pimterry/gists{/gist_id}","starred_url":"https://api.github.com/users/pimterry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pimterry/subscriptions","organizations_url":"https://api.github.com/users/pimterry/orgs","repos_url":"https://api.github.com/users/pimterry/repos","events_url":"https://api.github.com/users/pimterry/events{/privacy}","received_events_url":"https://api.github.com/users/pimterry/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T14:52:46Z","updated_at":"2015-12-08T14:52:46Z","body":"@Charlotteis I'm not sure I understand. I think we're suggesting a blacklist of users, rather than specific behaviour matching for specific bots, which it sounds like you're talking about?\r\n\r\nE.g. we could blacklist [IonicaBizau](http://24pullrequests.com/users/IonicaBizau) so he doesn't appear in and mess up the user or organisation leaderboards (just the leaderboards; there's no need to stop counting his PRs or to break his user page). That alone would solve the whole problem for now, and should be pretty easy to do I'd imagine (just only aggregate over users who don't match the blacklist, not everybody).\r\n\r\nIs there anybody who objects to that approach? If not I'll take a look at putting a patch together in the next day or two."}}