{"action":"closed","number":36,"pull_request":{"url":"https://api.github.com/repos/GovLab/noi2/pulls/36","id":46010405,"html_url":"https://github.com/GovLab/noi2/pull/36","diff_url":"https://github.com/GovLab/noi2/pull/36.diff","patch_url":"https://github.com/GovLab/noi2/pull/36.patch","issue_url":"https://api.github.com/repos/GovLab/noi2/issues/36","number":36,"state":"closed","locked":false,"title":"Add \"Most Complete Profiles\" section to activity feed","user":{"login":"toolness","id":124687,"avatar_url":"https://avatars.githubusercontent.com/u/124687?v=3","gravatar_id":"","url":"https://api.github.com/users/toolness","html_url":"https://github.com/toolness","followers_url":"https://api.github.com/users/toolness/followers","following_url":"https://api.github.com/users/toolness/following{/other_user}","gists_url":"https://api.github.com/users/toolness/gists{/gist_id}","starred_url":"https://api.github.com/users/toolness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolness/subscriptions","organizations_url":"https://api.github.com/users/toolness/orgs","repos_url":"https://api.github.com/users/toolness/repos","events_url":"https://api.github.com/users/toolness/events{/privacy}","received_events_url":"https://api.github.com/users/toolness/received_events","type":"User","site_admin":false},"body":"This adds a `get_most_complete_profiles` class method to `User`, which returns a list of the users with the most complete profiles.\r\n\r\nIt's based on the code for `User.nearest_neighbors`, but one concern I have about that method (and consequently this one) is that it doesn't seem to do any filtering of users by deployment... Shouldn't that be taken into account for all methods like this?","created_at":"2015-09-25T13:16:02Z","updated_at":"2015-09-25T17:19:31Z","closed_at":"2015-09-25T17:19:31Z","merged_at":"2015-09-25T17:19:31Z","merge_commit_sha":"3a6e96c5c58839bef5c2261a4711157801cf04d9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GovLab/noi2/pulls/36/commits","review_comments_url":"https://api.github.com/repos/GovLab/noi2/pulls/36/comments","review_comment_url":"https://api.github.com/repos/GovLab/noi2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GovLab/noi2/issues/36/comments","statuses_url":"https://api.github.com/repos/GovLab/noi2/statuses/b755b2aa7d003957e2a03fa2cc5a2421ef0f2826","head":{"label":"GovLab:get-most-complete-profiles","ref":"get-most-complete-profiles","sha":"b755b2aa7d003957e2a03fa2cc5a2421ef0f2826","user":{"login":"GovLab","id":4174904,"avatar_url":"https://avatars.githubusercontent.com/u/4174904?v=3","gravatar_id":"","url":"https://api.github.com/users/GovLab","html_url":"https://github.com/GovLab","followers_url":"https://api.github.com/users/GovLab/followers","following_url":"https://api.github.com/users/GovLab/following{/other_user}","gists_url":"https://api.github.com/users/GovLab/gists{/gist_id}","starred_url":"https://api.github.com/users/GovLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GovLab/subscriptions","organizations_url":"https://api.github.com/users/GovLab/orgs","repos_url":"https://api.github.com/users/GovLab/repos","events_url":"https://api.github.com/users/GovLab/events{/privacy}","received_events_url":"https://api.github.com/users/GovLab/received_events","type":"Organization","site_admin":false},"repo":{"id":40134662,"name":"noi2","full_name":"GovLab/noi2","owner":{"login":"GovLab","id":4174904,"avatar_url":"https://avatars.githubusercontent.com/u/4174904?v=3","gravatar_id":"","url":"https://api.github.com/users/GovLab","html_url":"https://github.com/GovLab","followers_url":"https://api.github.com/users/GovLab/followers","following_url":"https://api.github.com/users/GovLab/following{/other_user}","gists_url":"https://api.github.com/users/GovLab/gists{/gist_id}","starred_url":"https://api.github.com/users/GovLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GovLab/subscriptions","organizations_url":"https://api.github.com/users/GovLab/orgs","repos_url":"https://api.github.com/users/GovLab/repos","events_url":"https://api.github.com/users/GovLab/events{/privacy}","received_events_url":"https://api.github.com/users/GovLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GovLab/noi2","description":"","fork":false,"url":"https://api.github.com/repos/GovLab/noi2","forks_url":"https://api.github.com/repos/GovLab/noi2/forks","keys_url":"https://api.github.com/repos/GovLab/noi2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GovLab/noi2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GovLab/noi2/teams","hooks_url":"https://api.github.com/repos/GovLab/noi2/hooks","issue_events_url":"https://api.github.com/repos/GovLab/noi2/issues/events{/number}","events_url":"https://api.github.com/repos/GovLab/noi2/events","assignees_url":"https://api.github.com/repos/GovLab/noi2/assignees{/user}","branches_url":"https://api.github.com/repos/GovLab/noi2/branches{/branch}","tags_url":"https://api.github.com/repos/GovLab/noi2/tags","blobs_url":"https://api.github.com/repos/GovLab/noi2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GovLab/noi2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GovLab/noi2/git/refs{/sha}","trees_url":"https://api.github.com/repos/GovLab/noi2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GovLab/noi2/statuses/{sha}","languages_url":"https://api.github.com/repos/GovLab/noi2/languages","stargazers_url":"https://api.github.com/repos/GovLab/noi2/stargazers","contributors_url":"https://api.github.com/repos/GovLab/noi2/contributors","subscribers_url":"https://api.github.com/repos/GovLab/noi2/subscribers","subscription_url":"https://api.github.com/repos/GovLab/noi2/subscription","commits_url":"https://api.github.com/repos/GovLab/noi2/commits{/sha}","git_commits_url":"https://api.github.com/repos/GovLab/noi2/git/commits{/sha}","comments_url":"https://api.github.com/repos/GovLab/noi2/comments{/number}","issue_comment_url":"https://api.github.com/repos/GovLab/noi2/issues/comments{/number}","contents_url":"https://api.github.com/repos/GovLab/noi2/contents/{+path}","compare_url":"https://api.github.com/repos/GovLab/noi2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GovLab/noi2/merges","archive_url":"https://api.github.com/repos/GovLab/noi2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GovLab/noi2/downloads","issues_url":"https://api.github.com/repos/GovLab/noi2/issues{/number}","pulls_url":"https://api.github.com/repos/GovLab/noi2/pulls{/number}","milestones_url":"https://api.github.com/repos/GovLab/noi2/milestones{/number}","notifications_url":"https://api.github.com/repos/GovLab/noi2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GovLab/noi2/labels{/name}","releases_url":"https://api.github.com/repos/GovLab/noi2/releases{/id}","created_at":"2015-08-03T16:10:41Z","updated_at":"2015-08-04T18:48:38Z","pushed_at":"2015-09-25T17:19:31Z","git_url":"git://github.com/GovLab/noi2.git","ssh_url":"git@github.com:GovLab/noi2.git","clone_url":"https://github.com/GovLab/noi2.git","svn_url":"https://github.com/GovLab/noi2","homepage":null,"size":4282,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"GovLab:master","ref":"master","sha":"8abf39879f28a6eac66985385ad30c1da61e3f3d","user":{"login":"GovLab","id":4174904,"avatar_url":"https://avatars.githubusercontent.com/u/4174904?v=3","gravatar_id":"","url":"https://api.github.com/users/GovLab","html_url":"https://github.com/GovLab","followers_url":"https://api.github.com/users/GovLab/followers","following_url":"https://api.github.com/users/GovLab/following{/other_user}","gists_url":"https://api.github.com/users/GovLab/gists{/gist_id}","starred_url":"https://api.github.com/users/GovLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GovLab/subscriptions","organizations_url":"https://api.github.com/users/GovLab/orgs","repos_url":"https://api.github.com/users/GovLab/repos","events_url":"https://api.github.com/users/GovLab/events{/privacy}","received_events_url":"https://api.github.com/users/GovLab/received_events","type":"Organization","site_admin":false},"repo":{"id":40134662,"name":"noi2","full_name":"GovLab/noi2","owner":{"login":"GovLab","id":4174904,"avatar_url":"https://avatars.githubusercontent.com/u/4174904?v=3","gravatar_id":"","url":"https://api.github.com/users/GovLab","html_url":"https://github.com/GovLab","followers_url":"https://api.github.com/users/GovLab/followers","following_url":"https://api.github.com/users/GovLab/following{/other_user}","gists_url":"https://api.github.com/users/GovLab/gists{/gist_id}","starred_url":"https://api.github.com/users/GovLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GovLab/subscriptions","organizations_url":"https://api.github.com/users/GovLab/orgs","repos_url":"https://api.github.com/users/GovLab/repos","events_url":"https://api.github.com/users/GovLab/events{/privacy}","received_events_url":"https://api.github.com/users/GovLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GovLab/noi2","description":"","fork":false,"url":"https://api.github.com/repos/GovLab/noi2","forks_url":"https://api.github.com/repos/GovLab/noi2/forks","keys_url":"https://api.github.com/repos/GovLab/noi2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GovLab/noi2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GovLab/noi2/teams","hooks_url":"https://api.github.com/repos/GovLab/noi2/hooks","issue_events_url":"https://api.github.com/repos/GovLab/noi2/issues/events{/number}","events_url":"https://api.github.com/repos/GovLab/noi2/events","assignees_url":"https://api.github.com/repos/GovLab/noi2/assignees{/user}","branches_url":"https://api.github.com/repos/GovLab/noi2/branches{/branch}","tags_url":"https://api.github.com/repos/GovLab/noi2/tags","blobs_url":"https://api.github.com/repos/GovLab/noi2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GovLab/noi2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GovLab/noi2/git/refs{/sha}","trees_url":"https://api.github.com/repos/GovLab/noi2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GovLab/noi2/statuses/{sha}","languages_url":"https://api.github.com/repos/GovLab/noi2/languages","stargazers_url":"https://api.github.com/repos/GovLab/noi2/stargazers","contributors_url":"https://api.github.com/repos/GovLab/noi2/contributors","subscribers_url":"https://api.github.com/repos/GovLab/noi2/subscribers","subscription_url":"https://api.github.com/repos/GovLab/noi2/subscription","commits_url":"https://api.github.com/repos/GovLab/noi2/commits{/sha}","git_commits_url":"https://api.github.com/repos/GovLab/noi2/git/commits{/sha}","comments_url":"https://api.github.com/repos/GovLab/noi2/comments{/number}","issue_comment_url":"https://api.github.com/repos/GovLab/noi2/issues/comments{/number}","contents_url":"https://api.github.com/repos/GovLab/noi2/contents/{+path}","compare_url":"https://api.github.com/repos/GovLab/noi2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GovLab/noi2/merges","archive_url":"https://api.github.com/repos/GovLab/noi2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GovLab/noi2/downloads","issues_url":"https://api.github.com/repos/GovLab/noi2/issues{/number}","pulls_url":"https://api.github.com/repos/GovLab/noi2/pulls{/number}","milestones_url":"https://api.github.com/repos/GovLab/noi2/milestones{/number}","notifications_url":"https://api.github.com/repos/GovLab/noi2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GovLab/noi2/labels{/name}","releases_url":"https://api.github.com/repos/GovLab/noi2/releases{/id}","created_at":"2015-08-03T16:10:41Z","updated_at":"2015-08-04T18:48:38Z","pushed_at":"2015-09-25T17:19:31Z","git_url":"git://github.com/GovLab/noi2.git","ssh_url":"git@github.com:GovLab/noi2.git","clone_url":"https://github.com/GovLab/noi2.git","svn_url":"https://github.com/GovLab/noi2","homepage":null,"size":4282,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GovLab/noi2/pulls/36"},"html":{"href":"https://github.com/GovLab/noi2/pull/36"},"issue":{"href":"https://api.github.com/repos/GovLab/noi2/issues/36"},"comments":{"href":"https://api.github.com/repos/GovLab/noi2/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/GovLab/noi2/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/GovLab/noi2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GovLab/noi2/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/GovLab/noi2/statuses/b755b2aa7d003957e2a03fa2cc5a2421ef0f2826"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"talos","id":415831,"avatar_url":"https://avatars.githubusercontent.com/u/415831?v=3","gravatar_id":"","url":"https://api.github.com/users/talos","html_url":"https://github.com/talos","followers_url":"https://api.github.com/users/talos/followers","following_url":"https://api.github.com/users/talos/following{/other_user}","gists_url":"https://api.github.com/users/talos/gists{/gist_id}","starred_url":"https://api.github.com/users/talos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talos/subscriptions","organizations_url":"https://api.github.com/users/talos/orgs","repos_url":"https://api.github.com/users/talos/repos","events_url":"https://api.github.com/users/talos/events{/privacy}","received_events_url":"https://api.github.com/users/talos/received_events","type":"User","site_admin":false},"comments":5,"review_comments":1,"commits":3,"additions":37,"deletions":1,"changed_files":4}}