{"action":"closed","number":30,"pull_request":{"url":"https://api.github.com/repos/japaric/stats.rs/pulls/30","id":29965486,"html_url":"https://github.com/japaric/stats.rs/pull/30","diff_url":"https://github.com/japaric/stats.rs/pull/30.diff","patch_url":"https://github.com/japaric/stats.rs/pull/30.patch","issue_url":"https://api.github.com/repos/japaric/stats.rs/issues/30","number":30,"state":"closed","locked":false,"title":"refactor: revamp the API","user":{"login":"japaric","id":5018213,"avatar_url":"https://avatars.githubusercontent.com/u/5018213?v=3","gravatar_id":"","url":"https://api.github.com/users/japaric","html_url":"https://github.com/japaric","followers_url":"https://api.github.com/users/japaric/followers","following_url":"https://api.github.com/users/japaric/following{/other_user}","gists_url":"https://api.github.com/users/japaric/gists{/gist_id}","starred_url":"https://api.github.com/users/japaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japaric/subscriptions","organizations_url":"https://api.github.com/users/japaric/orgs","repos_url":"https://api.github.com/users/japaric/repos","events_url":"https://api.github.com/users/japaric/events{/privacy}","received_events_url":"https://api.github.com/users/japaric/received_events","type":"User","site_admin":false},"body":"- Two newtypes have been added: `univariate::Sample` and `bivariate::Data`.\r\n  These enforce some invariants (no `NaN`s, at least two samples), which make\r\n  several methods non-panicking in exchange for some `assert!`s in the\r\n  constructors.\r\n- The `Stats` trait has been removed in favor of inherent methods on `Sample`\r\n- The `Bootstrap` trait has been removed in favor of an inherent method on\r\n  `Sample`, plus two two-sample `bootstrap`s (one vanilla, and the other one\r\n  with \"prior mixing\") are provided as free functions.\r\n- Everything works with generic floats now (either `f32` or `f64`)\r\n- Everything is at least SIMD accelerated, some linear regression ops are BLAS\r\n  accelerated (`sdot`)\r\n- Bootstrap ops that compute several statistics now return a tuple of\r\n  distributions, instead of a vector of tuples.\r\n- The modules have been reorganized in a more tree-like fashion with univariate\r\n  and bivariate namespaces at the root.\r\n- Several tests have been fixed, some of them weren't catching uninitialized\r\n  values, because those are usually set to zero.\r\n\r\n[breaking-change]","created_at":"2015-02-25T07:11:24Z","updated_at":"2015-02-27T22:33:24Z","closed_at":"2015-02-27T22:33:24Z","merged_at":"2015-02-27T22:33:24Z","merge_commit_sha":"08d21f202f8c07d0be322e13e1dbeea9ba0e2b05","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/japaric/stats.rs/pulls/30/commits","review_comments_url":"https://api.github.com/repos/japaric/stats.rs/pulls/30/comments","review_comment_url":"https://api.github.com/repos/japaric/stats.rs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/japaric/stats.rs/issues/30/comments","statuses_url":"https://api.github.com/repos/japaric/stats.rs/statuses/4a2d9b0770e0ca89c73b343aee110429d763af13","head":{"label":"japaric:revamp","ref":"revamp","sha":"4a2d9b0770e0ca89c73b343aee110429d763af13","user":{"login":"japaric","id":5018213,"avatar_url":"https://avatars.githubusercontent.com/u/5018213?v=3","gravatar_id":"","url":"https://api.github.com/users/japaric","html_url":"https://github.com/japaric","followers_url":"https://api.github.com/users/japaric/followers","following_url":"https://api.github.com/users/japaric/following{/other_user}","gists_url":"https://api.github.com/users/japaric/gists{/gist_id}","starred_url":"https://api.github.com/users/japaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japaric/subscriptions","organizations_url":"https://api.github.com/users/japaric/orgs","repos_url":"https://api.github.com/users/japaric/repos","events_url":"https://api.github.com/users/japaric/events{/privacy}","received_events_url":"https://api.github.com/users/japaric/received_events","type":"User","site_admin":false},"repo":{"id":22968570,"name":"stats.rs","full_name":"japaric/stats.rs","owner":{"login":"japaric","id":5018213,"avatar_url":"https://avatars.githubusercontent.com/u/5018213?v=3","gravatar_id":"","url":"https://api.github.com/users/japaric","html_url":"https://github.com/japaric","followers_url":"https://api.github.com/users/japaric/followers","following_url":"https://api.github.com/users/japaric/following{/other_user}","gists_url":"https://api.github.com/users/japaric/gists{/gist_id}","starred_url":"https://api.github.com/users/japaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japaric/subscriptions","organizations_url":"https://api.github.com/users/japaric/orgs","repos_url":"https://api.github.com/users/japaric/repos","events_url":"https://api.github.com/users/japaric/events{/privacy}","received_events_url":"https://api.github.com/users/japaric/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/japaric/stats.rs","description":"Rust library to do statistics","fork":false,"url":"https://api.github.com/repos/japaric/stats.rs","forks_url":"https://api.github.com/repos/japaric/stats.rs/forks","keys_url":"https://api.github.com/repos/japaric/stats.rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/japaric/stats.rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/japaric/stats.rs/teams","hooks_url":"https://api.github.com/repos/japaric/stats.rs/hooks","issue_events_url":"https://api.github.com/repos/japaric/stats.rs/issues/events{/number}","events_url":"https://api.github.com/repos/japaric/stats.rs/events","assignees_url":"https://api.github.com/repos/japaric/stats.rs/assignees{/user}","branches_url":"https://api.github.com/repos/japaric/stats.rs/branches{/branch}","tags_url":"https://api.github.com/repos/japaric/stats.rs/tags","blobs_url":"https://api.github.com/repos/japaric/stats.rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/japaric/stats.rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/japaric/stats.rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/japaric/stats.rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/japaric/stats.rs/statuses/{sha}","languages_url":"https://api.github.com/repos/japaric/stats.rs/languages","stargazers_url":"https://api.github.com/repos/japaric/stats.rs/stargazers","contributors_url":"https://api.github.com/repos/japaric/stats.rs/contributors","subscribers_url":"https://api.github.com/repos/japaric/stats.rs/subscribers","subscription_url":"https://api.github.com/repos/japaric/stats.rs/subscription","commits_url":"https://api.github.com/repos/japaric/stats.rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/japaric/stats.rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/japaric/stats.rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/japaric/stats.rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/japaric/stats.rs/contents/{+path}","compare_url":"https://api.github.com/repos/japaric/stats.rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/japaric/stats.rs/merges","archive_url":"https://api.github.com/repos/japaric/stats.rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/japaric/stats.rs/downloads","issues_url":"https://api.github.com/repos/japaric/stats.rs/issues{/number}","pulls_url":"https://api.github.com/repos/japaric/stats.rs/pulls{/number}","milestones_url":"https://api.github.com/repos/japaric/stats.rs/milestones{/number}","notifications_url":"https://api.github.com/repos/japaric/stats.rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/japaric/stats.rs/labels{/name}","releases_url":"https://api.github.com/repos/japaric/stats.rs/releases{/id}","created_at":"2014-08-14T21:02:37Z","updated_at":"2015-02-27T22:33:24Z","pushed_at":"2015-02-27T22:33:24Z","git_url":"git://github.com/japaric/stats.rs.git","ssh_url":"git@github.com:japaric/stats.rs.git","clone_url":"https://github.com/japaric/stats.rs.git","svn_url":"https://github.com/japaric/stats.rs","homepage":null,"size":1787,"stargazers_count":2,"watchers_count":2,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":2,"default_branch":"master"}},"base":{"label":"japaric:master","ref":"master","sha":"ee431e0f2bc15dc8fe180dcf3a54e7abd3b1556f","user":{"login":"japaric","id":5018213,"avatar_url":"https://avatars.githubusercontent.com/u/5018213?v=3","gravatar_id":"","url":"https://api.github.com/users/japaric","html_url":"https://github.com/japaric","followers_url":"https://api.github.com/users/japaric/followers","following_url":"https://api.github.com/users/japaric/following{/other_user}","gists_url":"https://api.github.com/users/japaric/gists{/gist_id}","starred_url":"https://api.github.com/users/japaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japaric/subscriptions","organizations_url":"https://api.github.com/users/japaric/orgs","repos_url":"https://api.github.com/users/japaric/repos","events_url":"https://api.github.com/users/japaric/events{/privacy}","received_events_url":"https://api.github.com/users/japaric/received_events","type":"User","site_admin":false},"repo":{"id":22968570,"name":"stats.rs","full_name":"japaric/stats.rs","owner":{"login":"japaric","id":5018213,"avatar_url":"https://avatars.githubusercontent.com/u/5018213?v=3","gravatar_id":"","url":"https://api.github.com/users/japaric","html_url":"https://github.com/japaric","followers_url":"https://api.github.com/users/japaric/followers","following_url":"https://api.github.com/users/japaric/following{/other_user}","gists_url":"https://api.github.com/users/japaric/gists{/gist_id}","starred_url":"https://api.github.com/users/japaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japaric/subscriptions","organizations_url":"https://api.github.com/users/japaric/orgs","repos_url":"https://api.github.com/users/japaric/repos","events_url":"https://api.github.com/users/japaric/events{/privacy}","received_events_url":"https://api.github.com/users/japaric/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/japaric/stats.rs","description":"Rust library to do statistics","fork":false,"url":"https://api.github.com/repos/japaric/stats.rs","forks_url":"https://api.github.com/repos/japaric/stats.rs/forks","keys_url":"https://api.github.com/repos/japaric/stats.rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/japaric/stats.rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/japaric/stats.rs/teams","hooks_url":"https://api.github.com/repos/japaric/stats.rs/hooks","issue_events_url":"https://api.github.com/repos/japaric/stats.rs/issues/events{/number}","events_url":"https://api.github.com/repos/japaric/stats.rs/events","assignees_url":"https://api.github.com/repos/japaric/stats.rs/assignees{/user}","branches_url":"https://api.github.com/repos/japaric/stats.rs/branches{/branch}","tags_url":"https://api.github.com/repos/japaric/stats.rs/tags","blobs_url":"https://api.github.com/repos/japaric/stats.rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/japaric/stats.rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/japaric/stats.rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/japaric/stats.rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/japaric/stats.rs/statuses/{sha}","languages_url":"https://api.github.com/repos/japaric/stats.rs/languages","stargazers_url":"https://api.github.com/repos/japaric/stats.rs/stargazers","contributors_url":"https://api.github.com/repos/japaric/stats.rs/contributors","subscribers_url":"https://api.github.com/repos/japaric/stats.rs/subscribers","subscription_url":"https://api.github.com/repos/japaric/stats.rs/subscription","commits_url":"https://api.github.com/repos/japaric/stats.rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/japaric/stats.rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/japaric/stats.rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/japaric/stats.rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/japaric/stats.rs/contents/{+path}","compare_url":"https://api.github.com/repos/japaric/stats.rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/japaric/stats.rs/merges","archive_url":"https://api.github.com/repos/japaric/stats.rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/japaric/stats.rs/downloads","issues_url":"https://api.github.com/repos/japaric/stats.rs/issues{/number}","pulls_url":"https://api.github.com/repos/japaric/stats.rs/pulls{/number}","milestones_url":"https://api.github.com/repos/japaric/stats.rs/milestones{/number}","notifications_url":"https://api.github.com/repos/japaric/stats.rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/japaric/stats.rs/labels{/name}","releases_url":"https://api.github.com/repos/japaric/stats.rs/releases{/id}","created_at":"2014-08-14T21:02:37Z","updated_at":"2015-02-27T22:33:24Z","pushed_at":"2015-02-27T22:33:24Z","git_url":"git://github.com/japaric/stats.rs.git","ssh_url":"git@github.com:japaric/stats.rs.git","clone_url":"https://github.com/japaric/stats.rs.git","svn_url":"https://github.com/japaric/stats.rs","homepage":null,"size":1787,"stargazers_count":2,"watchers_count":2,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/japaric/stats.rs/pulls/30"},"html":{"href":"https://github.com/japaric/stats.rs/pull/30"},"issue":{"href":"https://api.github.com/repos/japaric/stats.rs/issues/30"},"comments":{"href":"https://api.github.com/repos/japaric/stats.rs/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/japaric/stats.rs/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/japaric/stats.rs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/japaric/stats.rs/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/japaric/stats.rs/statuses/4a2d9b0770e0ca89c73b343aee110429d763af13"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"japaric","id":5018213,"avatar_url":"https://avatars.githubusercontent.com/u/5018213?v=3","gravatar_id":"","url":"https://api.github.com/users/japaric","html_url":"https://github.com/japaric","followers_url":"https://api.github.com/users/japaric/followers","following_url":"https://api.github.com/users/japaric/following{/other_user}","gists_url":"https://api.github.com/users/japaric/gists{/gist_id}","starred_url":"https://api.github.com/users/japaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japaric/subscriptions","organizations_url":"https://api.github.com/users/japaric/orgs","repos_url":"https://api.github.com/users/japaric/repos","events_url":"https://api.github.com/users/japaric/events{/privacy}","received_events_url":"https://api.github.com/users/japaric/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":4,"additions":2342,"deletions":1576,"changed_files":29}}