{"action":"closed","number":46,"pull_request":{"url":"https://api.github.com/repos/NICTA/stateline/pulls/46","id":39990566,"html_url":"https://github.com/NICTA/stateline/pull/46","diff_url":"https://github.com/NICTA/stateline/pull/46.diff","patch_url":"https://github.com/NICTA/stateline/pull/46.patch","issue_url":"https://api.github.com/repos/NICTA/stateline/issues/46","number":46,"state":"closed","locked":false,"title":"Feat/fix chain output","user":{"login":"dtpc","id":11439447,"avatar_url":"https://avatars.githubusercontent.com/u/11439447?v=3","gravatar_id":"","url":"https://api.github.com/users/dtpc","html_url":"https://github.com/dtpc","followers_url":"https://api.github.com/users/dtpc/followers","following_url":"https://api.github.com/users/dtpc/following{/other_user}","gists_url":"https://api.github.com/users/dtpc/gists{/gist_id}","starred_url":"https://api.github.com/users/dtpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtpc/subscriptions","organizations_url":"https://api.github.com/users/dtpc/orgs","repos_url":"https://api.github.com/users/dtpc/repos","events_url":"https://api.github.com/users/dtpc/events{/privacy}","received_events_url":"https://api.github.com/users/dtpc/received_events","type":"User","site_admin":false},"body":"I noticed sigma and beta values from hotter chains in the output files. It appears they came from 2 separate issues:\r\n\r\n1. Chain array writer replacing the last state for chains other than the coldest.\r\n2. Swapping beta and sigma values when swapping chains. I changed this to only swap `sample`, `energy`, and the `accepted` flag. I'm not 100% sure if this is correct, could someone have a look.","created_at":"2015-07-15T06:02:40Z","updated_at":"2015-07-28T05:15:27Z","closed_at":"2015-07-28T05:15:27Z","merged_at":"2015-07-28T05:15:27Z","merge_commit_sha":"1a6b4c1335926200d1e6daf9a32f4121295d1a6e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NICTA/stateline/pulls/46/commits","review_comments_url":"https://api.github.com/repos/NICTA/stateline/pulls/46/comments","review_comment_url":"https://api.github.com/repos/NICTA/stateline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NICTA/stateline/issues/46/comments","statuses_url":"https://api.github.com/repos/NICTA/stateline/statuses/7bd094c45ca454c0e26542a7ca8ae768d7382477","head":{"label":"dtpc:feat/fix-chain-output","ref":"feat/fix-chain-output","sha":"7bd094c45ca454c0e26542a7ca8ae768d7382477","user":{"login":"dtpc","id":11439447,"avatar_url":"https://avatars.githubusercontent.com/u/11439447?v=3","gravatar_id":"","url":"https://api.github.com/users/dtpc","html_url":"https://github.com/dtpc","followers_url":"https://api.github.com/users/dtpc/followers","following_url":"https://api.github.com/users/dtpc/following{/other_user}","gists_url":"https://api.github.com/users/dtpc/gists{/gist_id}","starred_url":"https://api.github.com/users/dtpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtpc/subscriptions","organizations_url":"https://api.github.com/users/dtpc/orgs","repos_url":"https://api.github.com/users/dtpc/repos","events_url":"https://api.github.com/users/dtpc/events{/privacy}","received_events_url":"https://api.github.com/users/dtpc/received_events","type":"User","site_admin":false},"repo":{"id":37502742,"name":"stateline","full_name":"dtpc/stateline","owner":{"login":"dtpc","id":11439447,"avatar_url":"https://avatars.githubusercontent.com/u/11439447?v=3","gravatar_id":"","url":"https://api.github.com/users/dtpc","html_url":"https://github.com/dtpc","followers_url":"https://api.github.com/users/dtpc/followers","following_url":"https://api.github.com/users/dtpc/following{/other_user}","gists_url":"https://api.github.com/users/dtpc/gists{/gist_id}","starred_url":"https://api.github.com/users/dtpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtpc/subscriptions","organizations_url":"https://api.github.com/users/dtpc/orgs","repos_url":"https://api.github.com/users/dtpc/repos","events_url":"https://api.github.com/users/dtpc/events{/privacy}","received_events_url":"https://api.github.com/users/dtpc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dtpc/stateline","description":"Distributed Markov Chain Monte Carlo","fork":true,"url":"https://api.github.com/repos/dtpc/stateline","forks_url":"https://api.github.com/repos/dtpc/stateline/forks","keys_url":"https://api.github.com/repos/dtpc/stateline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dtpc/stateline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dtpc/stateline/teams","hooks_url":"https://api.github.com/repos/dtpc/stateline/hooks","issue_events_url":"https://api.github.com/repos/dtpc/stateline/issues/events{/number}","events_url":"https://api.github.com/repos/dtpc/stateline/events","assignees_url":"https://api.github.com/repos/dtpc/stateline/assignees{/user}","branches_url":"https://api.github.com/repos/dtpc/stateline/branches{/branch}","tags_url":"https://api.github.com/repos/dtpc/stateline/tags","blobs_url":"https://api.github.com/repos/dtpc/stateline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dtpc/stateline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dtpc/stateline/git/refs{/sha}","trees_url":"https://api.github.com/repos/dtpc/stateline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dtpc/stateline/statuses/{sha}","languages_url":"https://api.github.com/repos/dtpc/stateline/languages","stargazers_url":"https://api.github.com/repos/dtpc/stateline/stargazers","contributors_url":"https://api.github.com/repos/dtpc/stateline/contributors","subscribers_url":"https://api.github.com/repos/dtpc/stateline/subscribers","subscription_url":"https://api.github.com/repos/dtpc/stateline/subscription","commits_url":"https://api.github.com/repos/dtpc/stateline/commits{/sha}","git_commits_url":"https://api.github.com/repos/dtpc/stateline/git/commits{/sha}","comments_url":"https://api.github.com/repos/dtpc/stateline/comments{/number}","issue_comment_url":"https://api.github.com/repos/dtpc/stateline/issues/comments{/number}","contents_url":"https://api.github.com/repos/dtpc/stateline/contents/{+path}","compare_url":"https://api.github.com/repos/dtpc/stateline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dtpc/stateline/merges","archive_url":"https://api.github.com/repos/dtpc/stateline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dtpc/stateline/downloads","issues_url":"https://api.github.com/repos/dtpc/stateline/issues{/number}","pulls_url":"https://api.github.com/repos/dtpc/stateline/pulls{/number}","milestones_url":"https://api.github.com/repos/dtpc/stateline/milestones{/number}","notifications_url":"https://api.github.com/repos/dtpc/stateline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dtpc/stateline/labels{/name}","releases_url":"https://api.github.com/repos/dtpc/stateline/releases{/id}","created_at":"2015-06-16T02:15:25Z","updated_at":"2015-06-16T02:15:26Z","pushed_at":"2015-07-28T05:07:36Z","git_url":"git://github.com/dtpc/stateline.git","ssh_url":"git@github.com:dtpc/stateline.git","clone_url":"https://github.com/dtpc/stateline.git","svn_url":"https://github.com/dtpc/stateline","homepage":"","size":500,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NICTA:master","ref":"master","sha":"a212316dc1832052145ee7076188c4f27d7eb087","user":{"login":"NICTA","id":1151968,"avatar_url":"https://avatars.githubusercontent.com/u/1151968?v=3","gravatar_id":"","url":"https://api.github.com/users/NICTA","html_url":"https://github.com/NICTA","followers_url":"https://api.github.com/users/NICTA/followers","following_url":"https://api.github.com/users/NICTA/following{/other_user}","gists_url":"https://api.github.com/users/NICTA/gists{/gist_id}","starred_url":"https://api.github.com/users/NICTA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NICTA/subscriptions","organizations_url":"https://api.github.com/users/NICTA/orgs","repos_url":"https://api.github.com/users/NICTA/repos","events_url":"https://api.github.com/users/NICTA/events{/privacy}","received_events_url":"https://api.github.com/users/NICTA/received_events","type":"Organization","site_admin":false},"repo":{"id":20953987,"name":"stateline","full_name":"NICTA/stateline","owner":{"login":"NICTA","id":1151968,"avatar_url":"https://avatars.githubusercontent.com/u/1151968?v=3","gravatar_id":"","url":"https://api.github.com/users/NICTA","html_url":"https://github.com/NICTA","followers_url":"https://api.github.com/users/NICTA/followers","following_url":"https://api.github.com/users/NICTA/following{/other_user}","gists_url":"https://api.github.com/users/NICTA/gists{/gist_id}","starred_url":"https://api.github.com/users/NICTA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NICTA/subscriptions","organizations_url":"https://api.github.com/users/NICTA/orgs","repos_url":"https://api.github.com/users/NICTA/repos","events_url":"https://api.github.com/users/NICTA/events{/privacy}","received_events_url":"https://api.github.com/users/NICTA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NICTA/stateline","description":"Distributed Markov Chain Monte Carlo","fork":false,"url":"https://api.github.com/repos/NICTA/stateline","forks_url":"https://api.github.com/repos/NICTA/stateline/forks","keys_url":"https://api.github.com/repos/NICTA/stateline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NICTA/stateline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NICTA/stateline/teams","hooks_url":"https://api.github.com/repos/NICTA/stateline/hooks","issue_events_url":"https://api.github.com/repos/NICTA/stateline/issues/events{/number}","events_url":"https://api.github.com/repos/NICTA/stateline/events","assignees_url":"https://api.github.com/repos/NICTA/stateline/assignees{/user}","branches_url":"https://api.github.com/repos/NICTA/stateline/branches{/branch}","tags_url":"https://api.github.com/repos/NICTA/stateline/tags","blobs_url":"https://api.github.com/repos/NICTA/stateline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NICTA/stateline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NICTA/stateline/git/refs{/sha}","trees_url":"https://api.github.com/repos/NICTA/stateline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NICTA/stateline/statuses/{sha}","languages_url":"https://api.github.com/repos/NICTA/stateline/languages","stargazers_url":"https://api.github.com/repos/NICTA/stateline/stargazers","contributors_url":"https://api.github.com/repos/NICTA/stateline/contributors","subscribers_url":"https://api.github.com/repos/NICTA/stateline/subscribers","subscription_url":"https://api.github.com/repos/NICTA/stateline/subscription","commits_url":"https://api.github.com/repos/NICTA/stateline/commits{/sha}","git_commits_url":"https://api.github.com/repos/NICTA/stateline/git/commits{/sha}","comments_url":"https://api.github.com/repos/NICTA/stateline/comments{/number}","issue_comment_url":"https://api.github.com/repos/NICTA/stateline/issues/comments{/number}","contents_url":"https://api.github.com/repos/NICTA/stateline/contents/{+path}","compare_url":"https://api.github.com/repos/NICTA/stateline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NICTA/stateline/merges","archive_url":"https://api.github.com/repos/NICTA/stateline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NICTA/stateline/downloads","issues_url":"https://api.github.com/repos/NICTA/stateline/issues{/number}","pulls_url":"https://api.github.com/repos/NICTA/stateline/pulls{/number}","milestones_url":"https://api.github.com/repos/NICTA/stateline/milestones{/number}","notifications_url":"https://api.github.com/repos/NICTA/stateline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NICTA/stateline/labels{/name}","releases_url":"https://api.github.com/repos/NICTA/stateline/releases{/id}","created_at":"2014-06-18T07:54:38Z","updated_at":"2015-05-27T04:09:07Z","pushed_at":"2015-07-28T05:15:27Z","git_url":"git://github.com/NICTA/stateline.git","ssh_url":"git@github.com:NICTA/stateline.git","clone_url":"https://github.com/NICTA/stateline.git","svn_url":"https://github.com/NICTA/stateline","homepage":"","size":1671,"stargazers_count":4,"watchers_count":4,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":27,"forks":2,"open_issues":27,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NICTA/stateline/pulls/46"},"html":{"href":"https://github.com/NICTA/stateline/pull/46"},"issue":{"href":"https://api.github.com/repos/NICTA/stateline/issues/46"},"comments":{"href":"https://api.github.com/repos/NICTA/stateline/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/NICTA/stateline/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/NICTA/stateline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NICTA/stateline/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/NICTA/stateline/statuses/7bd094c45ca454c0e26542a7ca8ae768d7382477"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dtpc","id":11439447,"avatar_url":"https://avatars.githubusercontent.com/u/11439447?v=3","gravatar_id":"","url":"https://api.github.com/users/dtpc","html_url":"https://github.com/dtpc","followers_url":"https://api.github.com/users/dtpc/followers","following_url":"https://api.github.com/users/dtpc/following{/other_user}","gists_url":"https://api.github.com/users/dtpc/gists{/gist_id}","starred_url":"https://api.github.com/users/dtpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtpc/subscriptions","organizations_url":"https://api.github.com/users/dtpc/orgs","repos_url":"https://api.github.com/users/dtpc/repos","events_url":"https://api.github.com/users/dtpc/events{/privacy}","received_events_url":"https://api.github.com/users/dtpc/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":7,"deletions":2,"changed_files":1}}