{"action":"created","comment":{"url":"https://api.github.com/repos/improbable-research/keanu/pulls/comments/239095407","pull_request_review_id":181793882,"id":239095407,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTA5NTQwNw==","diff_hunk":"@@ -80,7 +80,7 @@ public void sample(Map<VertexId, List<?>> samples, List<Double> logOfMasterPForE\n     @Override\n     public NetworkState sample() {\n         step();\n-        return new SimpleNetworkState(acceptOrReject());\n+        return new SimpleNetworkState(acceptOrReject(),logOfMasterPBeforeLeapfrog);","path":"keanu-project/src/main/java/io/improbable/keanu/algorithms/mcmc/HamiltonianSampler.java","position":5,"original_position":5,"commit_id":"2caeb2eba51c33ac53defec5f43fc782b6c6c12c","original_commit_id":"2caeb2eba51c33ac53defec5f43fc782b6c6c12c","user":{"login":"wesleyw72","id":9009191,"node_id":"MDQ6VXNlcjkwMDkxOTE=","avatar_url":"https://avatars1.githubusercontent.com/u/9009191?v=4","gravatar_id":"","url":"https://api.github.com/users/wesleyw72","html_url":"https://github.com/wesleyw72","followers_url":"https://api.github.com/users/wesleyw72/followers","following_url":"https://api.github.com/users/wesleyw72/following{/other_user}","gists_url":"https://api.github.com/users/wesleyw72/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleyw72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleyw72/subscriptions","organizations_url":"https://api.github.com/users/wesleyw72/orgs","repos_url":"https://api.github.com/users/wesleyw72/repos","events_url":"https://api.github.com/users/wesleyw72/events{/privacy}","received_events_url":"https://api.github.com/users/wesleyw72/received_events","type":"User","site_admin":false},"body":"Yes. Arguments are evaluated left to right. [Ref](https://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.7.4)","created_at":"2018-12-05T14:50:33Z","updated_at":"2018-12-05T14:50:34Z","html_url":"https://github.com/improbable-research/keanu/pull/378#discussion_r239095407","pull_request_url":"https://api.github.com/repos/improbable-research/keanu/pulls/378","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/improbable-research/keanu/pulls/comments/239095407"},"html":{"href":"https://github.com/improbable-research/keanu/pull/378#discussion_r239095407"},"pull_request":{"href":"https://api.github.com/repos/improbable-research/keanu/pulls/378"}},"in_reply_to_id":239047675},"pull_request":{"url":"https://api.github.com/repos/improbable-research/keanu/pulls/378","id":235464867,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1NDY0ODY3","html_url":"https://github.com/improbable-research/keanu/pull/378","diff_url":"https://github.com/improbable-research/keanu/pull/378.diff","patch_url":"https://github.com/improbable-research/keanu/pull/378.patch","issue_url":"https://api.github.com/repos/improbable-research/keanu/issues/378","number":378,"state":"open","locked":false,"title":"Expose autocorrelation in Java","user":{"login":"wesleyw72","id":9009191,"node_id":"MDQ6VXNlcjkwMDkxOTE=","avatar_url":"https://avatars1.githubusercontent.com/u/9009191?v=4","gravatar_id":"","url":"https://api.github.com/users/wesleyw72","html_url":"https://github.com/wesleyw72","followers_url":"https://api.github.com/users/wesleyw72/followers","following_url":"https://api.github.com/users/wesleyw72/following{/other_user}","gists_url":"https://api.github.com/users/wesleyw72/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleyw72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleyw72/subscriptions","organizations_url":"https://api.github.com/users/wesleyw72/orgs","repos_url":"https://api.github.com/users/wesleyw72/repos","events_url":"https://api.github.com/users/wesleyw72/events{/privacy}","received_events_url":"https://api.github.com/users/wesleyw72/received_events","type":"User","site_admin":false},"body":"Exposes autocorrelation within Java as a metric aid in analysing chain convergence.\r\n\r\n## Notes\r\n - Only covers use in Java. Further PR will be raised to add Python support.\r\n - Added construction of `NetworkSamples` from `List<NetworkState>` to support autocorrelation calculation on samples collected through streaming.\r\n ","created_at":"2018-12-03T14:24:10Z","updated_at":"2018-12-05T14:50:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1aec3c2df34586a1a19d49a3e00a588d0495af54","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/improbable-research/keanu/pulls/378/commits","review_comments_url":"https://api.github.com/repos/improbable-research/keanu/pulls/378/comments","review_comment_url":"https://api.github.com/repos/improbable-research/keanu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/improbable-research/keanu/issues/378/comments","statuses_url":"https://api.github.com/repos/improbable-research/keanu/statuses/2caeb2eba51c33ac53defec5f43fc782b6c6c12c","head":{"label":"improbable-research:feature/expose-autocorrelation","ref":"feature/expose-autocorrelation","sha":"2caeb2eba51c33ac53defec5f43fc782b6c6c12c","user":{"login":"improbable-research","id":37903994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTAzOTk0","avatar_url":"https://avatars1.githubusercontent.com/u/37903994?v=4","gravatar_id":"","url":"https://api.github.com/users/improbable-research","html_url":"https://github.com/improbable-research","followers_url":"https://api.github.com/users/improbable-research/followers","following_url":"https://api.github.com/users/improbable-research/following{/other_user}","gists_url":"https://api.github.com/users/improbable-research/gists{/gist_id}","starred_url":"https://api.github.com/users/improbable-research/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/improbable-research/subscriptions","organizations_url":"https://api.github.com/users/improbable-research/orgs","repos_url":"https://api.github.com/users/improbable-research/repos","events_url":"https://api.github.com/users/improbable-research/events{/privacy}","received_events_url":"https://api.github.com/users/improbable-research/received_events","type":"Organization","site_admin":false},"repo":{"id":128393918,"node_id":"MDEwOlJlcG9zaXRvcnkxMjgzOTM5MTg=","name":"keanu","full_name":"improbable-research/keanu","private":false,"owner":{"login":"improbable-research","id":37903994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTAzOTk0","avatar_url":"https://avatars1.githubusercontent.com/u/37903994?v=4","gravatar_id":"","url":"https://api.github.com/users/improbable-research","html_url":"https://github.com/improbable-research","followers_url":"https://api.github.com/users/improbable-research/followers","following_url":"https://api.github.com/users/improbable-research/following{/other_user}","gists_url":"https://api.github.com/users/improbable-research/gists{/gist_id}","starred_url":"https://api.github.com/users/improbable-research/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/improbable-research/subscriptions","organizations_url":"https://api.github.com/users/improbable-research/orgs","repos_url":"https://api.github.com/users/improbable-research/repos","events_url":"https://api.github.com/users/improbable-research/events{/privacy}","received_events_url":"https://api.github.com/users/improbable-research/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/improbable-research/keanu","description":"A probabilistic approach from an Improbabilistic company","fork":false,"url":"https://api.github.com/repos/improbable-research/keanu","forks_url":"https://api.github.com/repos/improbable-research/keanu/forks","keys_url":"https://api.github.com/repos/improbable-research/keanu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/improbable-research/keanu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/improbable-research/keanu/teams","hooks_url":"https://api.github.com/repos/improbable-research/keanu/hooks","issue_events_url":"https://api.github.com/repos/improbable-research/keanu/issues/events{/number}","events_url":"https://api.github.com/repos/improbable-research/keanu/events","assignees_url":"https://api.github.com/repos/improbable-research/keanu/assignees{/user}","branches_url":"https://api.github.com/repos/improbable-research/keanu/branches{/branch}","tags_url":"https://api.github.com/repos/improbable-research/keanu/tags","blobs_url":"https://api.github.com/repos/improbable-research/keanu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/improbable-research/keanu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/improbable-research/keanu/git/refs{/sha}","trees_url":"https://api.github.com/repos/improbable-research/keanu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/improbable-research/keanu/statuses/{sha}","languages_url":"https://api.github.com/repos/improbable-research/keanu/languages","stargazers_url":"https://api.github.com/repos/improbable-research/keanu/stargazers","contributors_url":"https://api.github.com/repos/improbable-research/keanu/contributors","subscribers_url":"https://api.github.com/repos/improbable-research/keanu/subscribers","subscription_url":"https://api.github.com/repos/improbable-research/keanu/subscription","commits_url":"https://api.github.com/repos/improbable-research/keanu/commits{/sha}","git_commits_url":"https://api.github.com/repos/improbable-research/keanu/git/commits{/sha}","comments_url":"https://api.github.com/repos/improbable-research/keanu/comments{/number}","issue_comment_url":"https://api.github.com/repos/improbable-research/keanu/issues/comments{/number}","contents_url":"https://api.github.com/repos/improbable-research/keanu/contents/{+path}","compare_url":"https://api.github.com/repos/improbable-research/keanu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/improbable-research/keanu/merges","archive_url":"https://api.github.com/repos/improbable-research/keanu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/improbable-research/keanu/downloads","issues_url":"https://api.github.com/repos/improbable-research/keanu/issues{/number}","pulls_url":"https://api.github.com/repos/improbable-research/keanu/pulls{/number}","milestones_url":"https://api.github.com/repos/improbable-research/keanu/milestones{/number}","notifications_url":"https://api.github.com/repos/improbable-research/keanu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/improbable-research/keanu/labels{/name}","releases_url":"https://api.github.com/repos/improbable-research/keanu/releases{/id}","deployments_url":"https://api.github.com/repos/improbable-research/keanu/deployments","created_at":"2018-04-06T12:48:36Z","updated_at":"2018-12-05T11:34:44Z","pushed_at":"2018-12-05T14:35:24Z","git_url":"git://github.com/improbable-research/keanu.git","ssh_url":"git@github.com:improbable-research/keanu.git","clone_url":"https://github.com/improbable-research/keanu.git","svn_url":"https://github.com/improbable-research/keanu","homepage":"","size":10049,"stargazers_count":114,"watchers_count":114,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":25,"open_issues":19,"watchers":114,"default_branch":"develop"}},"base":{"label":"improbable-research:develop","ref":"develop","sha":"0fe263d375f24250922a038e3d5a5671d40a2e32","user":{"login":"improbable-research","id":37903994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTAzOTk0","avatar_url":"https://avatars1.githubusercontent.com/u/37903994?v=4","gravatar_id":"","url":"https://api.github.com/users/improbable-research","html_url":"https://github.com/improbable-research","followers_url":"https://api.github.com/users/improbable-research/followers","following_url":"https://api.github.com/users/improbable-research/following{/other_user}","gists_url":"https://api.github.com/users/improbable-research/gists{/gist_id}","starred_url":"https://api.github.com/users/improbable-research/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/improbable-research/subscriptions","organizations_url":"https://api.github.com/users/improbable-research/orgs","repos_url":"https://api.github.com/users/improbable-research/repos","events_url":"https://api.github.com/users/improbable-research/events{/privacy}","received_events_url":"https://api.github.com/users/improbable-research/received_events","type":"Organization","site_admin":false},"repo":{"id":128393918,"node_id":"MDEwOlJlcG9zaXRvcnkxMjgzOTM5MTg=","name":"keanu","full_name":"improbable-research/keanu","private":false,"owner":{"login":"improbable-research","id":37903994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTAzOTk0","avatar_url":"https://avatars1.githubusercontent.com/u/37903994?v=4","gravatar_id":"","url":"https://api.github.com/users/improbable-research","html_url":"https://github.com/improbable-research","followers_url":"https://api.github.com/users/improbable-research/followers","following_url":"https://api.github.com/users/improbable-research/following{/other_user}","gists_url":"https://api.github.com/users/improbable-research/gists{/gist_id}","starred_url":"https://api.github.com/users/improbable-research/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/improbable-research/subscriptions","organizations_url":"https://api.github.com/users/improbable-research/orgs","repos_url":"https://api.github.com/users/improbable-research/repos","events_url":"https://api.github.com/users/improbable-research/events{/privacy}","received_events_url":"https://api.github.com/users/improbable-research/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/improbable-research/keanu","description":"A probabilistic approach from an Improbabilistic company","fork":false,"url":"https://api.github.com/repos/improbable-research/keanu","forks_url":"https://api.github.com/repos/improbable-research/keanu/forks","keys_url":"https://api.github.com/repos/improbable-research/keanu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/improbable-research/keanu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/improbable-research/keanu/teams","hooks_url":"https://api.github.com/repos/improbable-research/keanu/hooks","issue_events_url":"https://api.github.com/repos/improbable-research/keanu/issues/events{/number}","events_url":"https://api.github.com/repos/improbable-research/keanu/events","assignees_url":"https://api.github.com/repos/improbable-research/keanu/assignees{/user}","branches_url":"https://api.github.com/repos/improbable-research/keanu/branches{/branch}","tags_url":"https://api.github.com/repos/improbable-research/keanu/tags","blobs_url":"https://api.github.com/repos/improbable-research/keanu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/improbable-research/keanu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/improbable-research/keanu/git/refs{/sha}","trees_url":"https://api.github.com/repos/improbable-research/keanu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/improbable-research/keanu/statuses/{sha}","languages_url":"https://api.github.com/repos/improbable-research/keanu/languages","stargazers_url":"https://api.github.com/repos/improbable-research/keanu/stargazers","contributors_url":"https://api.github.com/repos/improbable-research/keanu/contributors","subscribers_url":"https://api.github.com/repos/improbable-research/keanu/subscribers","subscription_url":"https://api.github.com/repos/improbable-research/keanu/subscription","commits_url":"https://api.github.com/repos/improbable-research/keanu/commits{/sha}","git_commits_url":"https://api.github.com/repos/improbable-research/keanu/git/commits{/sha}","comments_url":"https://api.github.com/repos/improbable-research/keanu/comments{/number}","issue_comment_url":"https://api.github.com/repos/improbable-research/keanu/issues/comments{/number}","contents_url":"https://api.github.com/repos/improbable-research/keanu/contents/{+path}","compare_url":"https://api.github.com/repos/improbable-research/keanu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/improbable-research/keanu/merges","archive_url":"https://api.github.com/repos/improbable-research/keanu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/improbable-research/keanu/downloads","issues_url":"https://api.github.com/repos/improbable-research/keanu/issues{/number}","pulls_url":"https://api.github.com/repos/improbable-research/keanu/pulls{/number}","milestones_url":"https://api.github.com/repos/improbable-research/keanu/milestones{/number}","notifications_url":"https://api.github.com/repos/improbable-research/keanu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/improbable-research/keanu/labels{/name}","releases_url":"https://api.github.com/repos/improbable-research/keanu/releases{/id}","deployments_url":"https://api.github.com/repos/improbable-research/keanu/deployments","created_at":"2018-04-06T12:48:36Z","updated_at":"2018-12-05T11:34:44Z","pushed_at":"2018-12-05T14:35:24Z","git_url":"git://github.com/improbable-research/keanu.git","ssh_url":"git@github.com:improbable-research/keanu.git","clone_url":"https://github.com/improbable-research/keanu.git","svn_url":"https://github.com/improbable-research/keanu","homepage":"","size":10049,"stargazers_count":114,"watchers_count":114,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":25,"open_issues":19,"watchers":114,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/improbable-research/keanu/pulls/378"},"html":{"href":"https://github.com/improbable-research/keanu/pull/378"},"issue":{"href":"https://api.github.com/repos/improbable-research/keanu/issues/378"},"comments":{"href":"https://api.github.com/repos/improbable-research/keanu/issues/378/comments"},"review_comments":{"href":"https://api.github.com/repos/improbable-research/keanu/pulls/378/comments"},"review_comment":{"href":"https://api.github.com/repos/improbable-research/keanu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/improbable-research/keanu/pulls/378/commits"},"statuses":{"href":"https://api.github.com/repos/improbable-research/keanu/statuses/2caeb2eba51c33ac53defec5f43fc782b6c6c12c"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"wesleyw72"}}