GitHub PullRequestEvent at 2014-01-28 08:59:51
Repository: networkx
Actor: FedericoV
Payload: {"action":"closed","number":862,"pull_request":{"url":"https://api.github.com/repos/networkx/networkx/pulls/862","id":4928854,"html_url":"https://github.com/networkx/networkx/pull/862","diff_url":"https://github.com/networkx/networkx/pull/862.diff","patch_url":"https://github.com/networkx/networkx/pull/862.patch","issue_url":"https://api.github.com/repos/networkx/networkx/issues/862","number":862,"state":"closed","title":"Small world","user":{"login":"FedericoV","id":630134,"avatar_url":"https://identicons.github.com/2c22f4eb80a0a65d6a5347c999e364dd.png","gravatar_id":null,"url":"https://api.github.com/users/FedericoV","html_url":"https://github.com/FedericoV","followers_url":"https://api.github.com/users/FedericoV/followers","following_url":"https://api.github.com/users/FedericoV/following{/other_user}","gists_url":"https://api.github.com/users/FedericoV/gists{/gist_id}","starred_url":"https://api.github.com/users/FedericoV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FedericoV/subscriptions","organizations_url":"https://api.github.com/users/FedericoV/orgs","repos_url":"https://api.github.com/users/FedericoV/repos","events_url":"https://api.github.com/users/FedericoV/events{/privacy}","received_events_url":"https://api.github.com/users/FedericoV/received_events","type":"User","site_admin":false},"body":"I've added code, docstring and tests for a few functions.\r\n\r\n- A linear algebra based implementation of the clustering coefficient, which also works for directed and weighted graphs.  Based on:\r\nhttp://web1.sssup.it/pubblicazioni/ugov_files/303163_PRE_2007.pdf.  Tests also present for the weighted and unweighted undirected case.\r\n\r\n- A bootstrapping based implementation of the small world coefficient, using either clustering coefficient or transitivity.  Based on:\r\nhttp://www.plosone.org/article/info:doi/10.1371/journal.pone.0002051\r\n\r\n- A average_shortest_path_length_weakly_connected function, calculating the average distance for weakly connected graphs, which correctly normalizes the average distance by the total number of actual paths present in the graph.  This is separate from average_shortest_path_length to preserve backward compatibility.  Tests also present.","created_at":"2013-04-02T13:02:18Z","updated_at":"2014-01-28T08:59:51Z","closed_at":"2014-01-28T08:59:51Z","merged_at":null,"merge_commit_sha":"f9ab0f7104d32dde57da3495d7fc9c962f043e02","assignee":{"login":"hagberg","id":187875,"avatar_url":"https://gravatar.com/avatar/cf2fa0c08e61c5568e451b7c03579229?d=https%3A%2F%2Fidenticons.github.com%2Feb3b3fc53c61d3c75b6bae57d481ad18.png&r=x","gravatar_id":"cf2fa0c08e61c5568e451b7c03579229","url":"https://api.github.com/users/hagberg","html_url":"https://github.com/hagberg","followers_url":"https://api.github.com/users/hagberg/followers","following_url":"https://api.github.com/users/hagberg/following{/other_user}","gists_url":"https://api.github.com/users/hagberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hagberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hagberg/subscriptions","organizations_url":"https://api.github.com/users/hagberg/orgs","repos_url":"https://api.github.com/users/hagberg/repos","events_url":"https://api.github.com/users/hagberg/events{/privacy}","received_events_url":"https://api.github.com/users/hagberg/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/networkx/networkx/pulls/862/commits","review_comments_url":"https://api.github.com/repos/networkx/networkx/pulls/862/comments","review_comment_url":"/repos/networkx/networkx/pulls/comments/{number}","comments_url":"https://api.github.com/repos/networkx/networkx/issues/862/comments","statuses_url":"https://api.github.com/repos/networkx/networkx/statuses/eb3e398fcd79d6d962229ffa938e34f4023de078","head":{"label":"FedericoV:small_world","ref":"small_world","sha":"eb3e398fcd79d6d962229ffa938e34f4023de078","user":{"login":"FedericoV","id":630134,"avatar_url":"https://identicons.github.com/2c22f4eb80a0a65d6a5347c999e364dd.png","gravatar_id":null,"url":"https://api.github.com/users/FedericoV","html_url":"https://github.com/FedericoV","followers_url":"https://api.github.com/users/FedericoV/followers","following_url":"https://api.github.com/users/FedericoV/following{/other_user}","gists_url":"https://api.github.com/users/FedericoV/gists{/gist_id}","starred_url":"https://api.github.com/users/FedericoV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FedericoV/subscriptions","organizations_url":"https://api.github.com/users/FedericoV/orgs","repos_url":"https://api.github.com/users/FedericoV/repos","events_url":"https://api.github.com/users/FedericoV/events{/privacy}","received_events_url":"https://api.github.com/users/FedericoV/received_events","type":"User","site_admin":false},"repo":{"id":8854826,"name":"networkx","full_name":"FedericoV/networkx","owner":{"login":"FedericoV","id":630134,"avatar_url":"https://identicons.github.com/2c22f4eb80a0a65d6a5347c999e364dd.png","gravatar_id":null,"url":"https://api.github.com/users/FedericoV","html_url":"https://github.com/FedericoV","followers_url":"https://api.github.com/users/FedericoV/followers","following_url":"https://api.github.com/users/FedericoV/following{/other_user}","gists_url":"https://api.github.com/users/FedericoV/gists{/gist_id}","starred_url":"https://api.github.com/users/FedericoV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FedericoV/subscriptions","organizations_url":"https://api.github.com/users/FedericoV/orgs","repos_url":"https://api.github.com/users/FedericoV/repos","events_url":"https://api.github.com/users/FedericoV/events{/privacy}","received_events_url":"https://api.github.com/users/FedericoV/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FedericoV/networkx","description":"Official NetworkX source code repository.  ","fork":true,"url":"https://api.github.com/repos/FedericoV/networkx","forks_url":"https://api.github.com/repos/FedericoV/networkx/forks","keys_url":"https://api.github.com/repos/FedericoV/networkx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FedericoV/networkx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FedericoV/networkx/teams","hooks_url":"https://api.github.com/repos/FedericoV/networkx/hooks","issue_events_url":"https://api.github.com/repos/FedericoV/networkx/issues/events{/number}","events_url":"https://api.github.com/repos/FedericoV/networkx/events","assignees_url":"https://api.github.com/repos/FedericoV/networkx/assignees{/user}","branches_url":"https://api.github.com/repos/FedericoV/networkx/branches{/branch}","tags_url":"https://api.github.com/repos/FedericoV/networkx/tags","blobs_url":"https://api.github.com/repos/FedericoV/networkx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FedericoV/networkx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FedericoV/networkx/git/refs{/sha}","trees_url":"https://api.github.com/repos/FedericoV/networkx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FedericoV/networkx/statuses/{sha}","languages_url":"https://api.github.com/repos/FedericoV/networkx/languages","stargazers_url":"https://api.github.com/repos/FedericoV/networkx/stargazers","contributors_url":"https://api.github.com/repos/FedericoV/networkx/contributors","subscribers_url":"https://api.github.com/repos/FedericoV/networkx/subscribers","subscription_url":"https://api.github.com/repos/FedericoV/networkx/subscription","commits_url":"https://api.github.com/repos/FedericoV/networkx/commits{/sha}","git_commits_url":"https://api.github.com/repos/FedericoV/networkx/git/commits{/sha}","comments_url":"https://api.github.com/repos/FedericoV/networkx/comments{/number}","issue_comment_url":"https://api.github.com/repos/FedericoV/networkx/issues/comments/{number}","contents_url":"https://api.github.com/repos/FedericoV/networkx/contents/{+path}","compare_url":"https://api.github.com/repos/FedericoV/networkx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FedericoV/networkx/merges","archive_url":"https://api.github.com/repos/FedericoV/networkx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FedericoV/networkx/downloads","issues_url":"https://api.github.com/repos/FedericoV/networkx/issues{/number}","pulls_url":"https://api.github.com/repos/FedericoV/networkx/pulls{/number}","milestones_url":"https://api.github.com/repos/FedericoV/networkx/milestones{/number}","notifications_url":"https://api.github.com/repos/FedericoV/networkx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FedericoV/networkx/labels{/name}","releases_url":"https://api.github.com/repos/FedericoV/networkx/releases{/id}","created_at":"2013-03-18T13:34:26Z","updated_at":"2014-01-27T11:19:15Z","pushed_at":"2014-01-27T11:19:07Z","git_url":"git://github.com/FedericoV/networkx.git","ssh_url":"git@github.com:FedericoV/networkx.git","clone_url":"https://github.com/FedericoV/networkx.git","svn_url":"https://github.com/FedericoV/networkx","homepage":"http:/networkx.lanl.gov/","size":11534,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"networkx:master","ref":"master","sha":"e687e359cf3691d0fc760c93eb4b91dafd066f92","user":{"login":"networkx","id":388785,"avatar_url":"https://gravatar.com/avatar/839f97e174de34ac9e485680f0c5113c?d=https%3A%2F%2Fidenticons.github.com%2F1ae514bb1791873f5c412a74425ccc21.png&r=x","gravatar_id":"839f97e174de34ac9e485680f0c5113c","url":"https://api.github.com/users/networkx","html_url":"https://github.com/networkx","followers_url":"https://api.github.com/users/networkx/followers","following_url":"https://api.github.com/users/networkx/following{/other_user}","gists_url":"https://api.github.com/users/networkx/gists{/gist_id}","starred_url":"https://api.github.com/users/networkx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/networkx/subscriptions","organizations_url":"https://api.github.com/users/networkx/orgs","repos_url":"https://api.github.com/users/networkx/repos","events_url":"https://api.github.com/users/networkx/events{/privacy}","received_events_url":"https://api.github.com/users/networkx/received_events","type":"Organization","site_admin":false},"repo":{"id":890377,"name":"networkx","full_name":"networkx/networkx","owner":{"login":"networkx","id":388785,"avatar_url":"https://gravatar.com/avatar/839f97e174de34ac9e485680f0c5113c?d=https%3A%2F%2Fidenticons.github.com%2F1ae514bb1791873f5c412a74425ccc21.png&r=x","gravatar_id":"839f97e174de34ac9e485680f0c5113c","url":"https://api.github.com/users/networkx","html_url":"https://github.com/networkx","followers_url":"https://api.github.com/users/networkx/followers","following_url":"https://api.github.com/users/networkx/following{/other_user}","gists_url":"https://api.github.com/users/networkx/gists{/gist_id}","starred_url":"https://api.github.com/users/networkx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/networkx/subscriptions","organizations_url":"https://api.github.com/users/networkx/orgs","repos_url":"https://api.github.com/users/networkx/repos","events_url":"https://api.github.com/users/networkx/events{/privacy}","received_events_url":"https://api.github.com/users/networkx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/networkx/networkx","description":"Official NetworkX source code repository.  ","fork":false,"url":"https://api.github.com/repos/networkx/networkx","forks_url":"https://api.github.com/repos/networkx/networkx/forks","keys_url":"https://api.github.com/repos/networkx/networkx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/networkx/networkx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/networkx/networkx/teams","hooks_url":"https://api.github.com/repos/networkx/networkx/hooks","issue_events_url":"https://api.github.com/repos/networkx/networkx/issues/events{/number}","events_url":"https://api.github.com/repos/networkx/networkx/events","assignees_url":"https://api.github.com/repos/networkx/networkx/assignees{/user}","branches_url":"https://api.github.com/repos/networkx/networkx/branches{/branch}","tags_url":"https://api.github.com/repos/networkx/networkx/tags","blobs_url":"https://api.github.com/repos/networkx/networkx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/networkx/networkx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/networkx/networkx/git/refs{/sha}","trees_url":"https://api.github.com/repos/networkx/networkx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/networkx/networkx/statuses/{sha}","languages_url":"https://api.github.com/repos/networkx/networkx/languages","stargazers_url":"https://api.github.com/repos/networkx/networkx/stargazers","contributors_url":"https://api.github.com/repos/networkx/networkx/contributors","subscribers_url":"https://api.github.com/repos/networkx/networkx/subscribers","subscription_url":"https://api.github.com/repos/networkx/networkx/subscription","commits_url":"https://api.github.com/repos/networkx/networkx/commits{/sha}","git_commits_url":"https://api.github.com/repos/networkx/networkx/git/commits{/sha}","comments_url":"https://api.github.com/repos/networkx/networkx/comments{/number}","issue_comment_url":"https://api.github.com/repos/networkx/networkx/issues/comments/{number}","contents_url":"https://api.github.com/repos/networkx/networkx/contents/{+path}","compare_url":"https://api.github.com/repos/networkx/networkx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/networkx/networkx/merges","archive_url":"https://api.github.com/repos/networkx/networkx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/networkx/networkx/downloads","issues_url":"https://api.github.com/repos/networkx/networkx/issues{/number}","pulls_url":"https://api.github.com/repos/networkx/networkx/pulls{/number}","milestones_url":"https://api.github.com/repos/networkx/networkx/milestones{/number}","notifications_url":"https://api.github.com/repos/networkx/networkx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/networkx/networkx/labels{/name}","releases_url":"https://api.github.com/repos/networkx/networkx/releases{/id}","created_at":"2010-09-06T00:53:44Z","updated_at":"2014-01-16T20:42:14Z","pushed_at":"2014-01-04T22:07:08Z","git_url":"git://github.com/networkx/networkx.git","ssh_url":"git@github.com:networkx/networkx.git","clone_url":"https://github.com/networkx/networkx.git","svn_url":"https://github.com/networkx/networkx","homepage":"http:/networkx.lanl.gov/","size":16458,"stargazers_count":686,"watchers_count":686,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":215,"mirror_url":null,"open_issues_count":106,"forks":215,"open_issues":106,"watchers":686,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/networkx/networkx/pulls/862"},"html":{"href":"https://github.com/networkx/networkx/pull/862"},"issue":{"href":"https://api.github.com/repos/networkx/networkx/issues/862"},"comments":{"href":"https://api.github.com/repos/networkx/networkx/issues/862/comments"},"review_comments":{"href":"https://api.github.com/repos/networkx/networkx/pulls/862/comments"},"commits":{"href":"https://api.github.com/repos/networkx/networkx/pulls/862/commits"},"statuses":{"href":"https://api.github.com/repos/networkx/networkx/statuses/eb3e398fcd79d6d962229ffa938e34f4023de078"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":7,"review_comments":0,"commits":10,"additions":337,"deletions":5,"changed_files":6}}