{"action":"opened","number":109,"pull_request":{"url":"https://api.github.com/repos/cibotech/ScalaStan/pulls/109","id":239857963,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5ODU3OTYz","html_url":"https://github.com/cibotech/ScalaStan/pull/109","diff_url":"https://github.com/cibotech/ScalaStan/pull/109.diff","patch_url":"https://github.com/cibotech/ScalaStan/pull/109.patch","issue_url":"https://api.github.com/repos/cibotech/ScalaStan/issues/109","number":109,"state":"open","locked":false,"title":"Some small improvements","user":{"login":"joewing","id":1285008,"node_id":"MDQ6VXNlcjEyODUwMDg=","avatar_url":"https://avatars3.githubusercontent.com/u/1285008?v=4","gravatar_id":"","url":"https://api.github.com/users/joewing","html_url":"https://github.com/joewing","followers_url":"https://api.github.com/users/joewing/followers","following_url":"https://api.github.com/users/joewing/following{/other_user}","gists_url":"https://api.github.com/users/joewing/gists{/gist_id}","starred_url":"https://api.github.com/users/joewing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joewing/subscriptions","organizations_url":"https://api.github.com/users/joewing/orgs","repos_url":"https://api.github.com/users/joewing/repos","events_url":"https://api.github.com/users/joewing/events{/privacy}","received_events_url":"https://api.github.com/users/joewing/received_events","type":"User","site_admin":false},"body":"This has several small improvements that I didn't think were worthy of a PR each (broken out by commit instead):\r\n* Add support for the `algebra_solver` functions.\r\n* Fix for a null pointer exception that can happen when running multiple ScalaStan instances on the same box.  When removing old result files, ScalaStan now handles the case where another instance removed the file.\r\n* ScalaStan now throws an exception with the error code from the model when the model fails.\r\n* Improved parsing performance for the common case.  ScalaStan now stores results as Doubles instead of Strings, which means that we don't have to convert String -> Double multiple times if a result is used multiple times.  In addition, because each chain is parsed in parallel, the conversions happen in parallel, too.  On the other hand, if a result isn't used at all, the conversion is unnecessary.\r\n* More robust parsing of results: ScalaStan now supports parsing NaN/-Inf/Inf (before it would just throw an exception since the encoding Stan uses doesn't match what Scala expects).\r\n* `numElements` has been renamed to `num_elements` to match Stan.\r\n* Added initial value support to locals.","created_at":"2018-12-19T14:37:19Z","updated_at":"2018-12-19T14:37:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cibotech/ScalaStan/pulls/109/commits","review_comments_url":"https://api.github.com/repos/cibotech/ScalaStan/pulls/109/comments","review_comment_url":"https://api.github.com/repos/cibotech/ScalaStan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cibotech/ScalaStan/issues/109/comments","statuses_url":"https://api.github.com/repos/cibotech/ScalaStan/statuses/8b95d3df2e74ef02bf78fd0eab31d62cd9321f11","head":{"label":"cibotech:algebra-solver","ref":"algebra-solver","sha":"8b95d3df2e74ef02bf78fd0eab31d62cd9321f11","user":{"login":"cibotech","id":17886118,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODg2MTE4","avatar_url":"https://avatars3.githubusercontent.com/u/17886118?v=4","gravatar_id":"","url":"https://api.github.com/users/cibotech","html_url":"https://github.com/cibotech","followers_url":"https://api.github.com/users/cibotech/followers","following_url":"https://api.github.com/users/cibotech/following{/other_user}","gists_url":"https://api.github.com/users/cibotech/gists{/gist_id}","starred_url":"https://api.github.com/users/cibotech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cibotech/subscriptions","organizations_url":"https://api.github.com/users/cibotech/orgs","repos_url":"https://api.github.com/users/cibotech/repos","events_url":"https://api.github.com/users/cibotech/events{/privacy}","received_events_url":"https://api.github.com/users/cibotech/received_events","type":"Organization","site_admin":false},"repo":{"id":107566529,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc1NjY1Mjk=","name":"ScalaStan","full_name":"cibotech/ScalaStan","private":false,"owner":{"login":"cibotech","id":17886118,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODg2MTE4","avatar_url":"https://avatars3.githubusercontent.com/u/17886118?v=4","gravatar_id":"","url":"https://api.github.com/users/cibotech","html_url":"https://github.com/cibotech","followers_url":"https://api.github.com/users/cibotech/followers","following_url":"https://api.github.com/users/cibotech/following{/other_user}","gists_url":"https://api.github.com/users/cibotech/gists{/gist_id}","starred_url":"https://api.github.com/users/cibotech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cibotech/subscriptions","organizations_url":"https://api.github.com/users/cibotech/orgs","repos_url":"https://api.github.com/users/cibotech/repos","events_url":"https://api.github.com/users/cibotech/events{/privacy}","received_events_url":"https://api.github.com/users/cibotech/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cibotech/ScalaStan","description":"Scala wrapper for Stan","fork":false,"url":"https://api.github.com/repos/cibotech/ScalaStan","forks_url":"https://api.github.com/repos/cibotech/ScalaStan/forks","keys_url":"https://api.github.com/repos/cibotech/ScalaStan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cibotech/ScalaStan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cibotech/ScalaStan/teams","hooks_url":"https://api.github.com/repos/cibotech/ScalaStan/hooks","issue_events_url":"https://api.github.com/repos/cibotech/ScalaStan/issues/events{/number}","events_url":"https://api.github.com/repos/cibotech/ScalaStan/events","assignees_url":"https://api.github.com/repos/cibotech/ScalaStan/assignees{/user}","branches_url":"https://api.github.com/repos/cibotech/ScalaStan/branches{/branch}","tags_url":"https://api.github.com/repos/cibotech/ScalaStan/tags","blobs_url":"https://api.github.com/repos/cibotech/ScalaStan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cibotech/ScalaStan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cibotech/ScalaStan/git/refs{/sha}","trees_url":"https://api.github.com/repos/cibotech/ScalaStan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cibotech/ScalaStan/statuses/{sha}","languages_url":"https://api.github.com/repos/cibotech/ScalaStan/languages","stargazers_url":"https://api.github.com/repos/cibotech/ScalaStan/stargazers","contributors_url":"https://api.github.com/repos/cibotech/ScalaStan/contributors","subscribers_url":"https://api.github.com/repos/cibotech/ScalaStan/subscribers","subscription_url":"https://api.github.com/repos/cibotech/ScalaStan/subscription","commits_url":"https://api.github.com/repos/cibotech/ScalaStan/commits{/sha}","git_commits_url":"https://api.github.com/repos/cibotech/ScalaStan/git/commits{/sha}","comments_url":"https://api.github.com/repos/cibotech/ScalaStan/comments{/number}","issue_comment_url":"https://api.github.com/repos/cibotech/ScalaStan/issues/comments{/number}","contents_url":"https://api.github.com/repos/cibotech/ScalaStan/contents/{+path}","compare_url":"https://api.github.com/repos/cibotech/ScalaStan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cibotech/ScalaStan/merges","archive_url":"https://api.github.com/repos/cibotech/ScalaStan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cibotech/ScalaStan/downloads","issues_url":"https://api.github.com/repos/cibotech/ScalaStan/issues{/number}","pulls_url":"https://api.github.com/repos/cibotech/ScalaStan/pulls{/number}","milestones_url":"https://api.github.com/repos/cibotech/ScalaStan/milestones{/number}","notifications_url":"https://api.github.com/repos/cibotech/ScalaStan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cibotech/ScalaStan/labels{/name}","releases_url":"https://api.github.com/repos/cibotech/ScalaStan/releases{/id}","deployments_url":"https://api.github.com/repos/cibotech/ScalaStan/deployments","created_at":"2017-10-19T15:43:39Z","updated_at":"2018-12-12T00:53:40Z","pushed_at":"2018-12-18T13:49:00Z","git_url":"git://github.com/cibotech/ScalaStan.git","ssh_url":"git@github.com:cibotech/ScalaStan.git","clone_url":"https://github.com/cibotech/ScalaStan.git","svn_url":"https://github.com/cibotech/ScalaStan","homepage":null,"size":803,"stargazers_count":43,"watchers_count":43,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":3,"open_issues":5,"watchers":43,"default_branch":"master"}},"base":{"label":"cibotech:master","ref":"master","sha":"a077df62a6b18531e4accd6c089c904cd48f5c6c","user":{"login":"cibotech","id":17886118,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODg2MTE4","avatar_url":"https://avatars3.githubusercontent.com/u/17886118?v=4","gravatar_id":"","url":"https://api.github.com/users/cibotech","html_url":"https://github.com/cibotech","followers_url":"https://api.github.com/users/cibotech/followers","following_url":"https://api.github.com/users/cibotech/following{/other_user}","gists_url":"https://api.github.com/users/cibotech/gists{/gist_id}","starred_url":"https://api.github.com/users/cibotech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cibotech/subscriptions","organizations_url":"https://api.github.com/users/cibotech/orgs","repos_url":"https://api.github.com/users/cibotech/repos","events_url":"https://api.github.com/users/cibotech/events{/privacy}","received_events_url":"https://api.github.com/users/cibotech/received_events","type":"Organization","site_admin":false},"repo":{"id":107566529,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc1NjY1Mjk=","name":"ScalaStan","full_name":"cibotech/ScalaStan","private":false,"owner":{"login":"cibotech","id":17886118,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODg2MTE4","avatar_url":"https://avatars3.githubusercontent.com/u/17886118?v=4","gravatar_id":"","url":"https://api.github.com/users/cibotech","html_url":"https://github.com/cibotech","followers_url":"https://api.github.com/users/cibotech/followers","following_url":"https://api.github.com/users/cibotech/following{/other_user}","gists_url":"https://api.github.com/users/cibotech/gists{/gist_id}","starred_url":"https://api.github.com/users/cibotech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cibotech/subscriptions","organizations_url":"https://api.github.com/users/cibotech/orgs","repos_url":"https://api.github.com/users/cibotech/repos","events_url":"https://api.github.com/users/cibotech/events{/privacy}","received_events_url":"https://api.github.com/users/cibotech/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cibotech/ScalaStan","description":"Scala wrapper for Stan","fork":false,"url":"https://api.github.com/repos/cibotech/ScalaStan","forks_url":"https://api.github.com/repos/cibotech/ScalaStan/forks","keys_url":"https://api.github.com/repos/cibotech/ScalaStan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cibotech/ScalaStan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cibotech/ScalaStan/teams","hooks_url":"https://api.github.com/repos/cibotech/ScalaStan/hooks","issue_events_url":"https://api.github.com/repos/cibotech/ScalaStan/issues/events{/number}","events_url":"https://api.github.com/repos/cibotech/ScalaStan/events","assignees_url":"https://api.github.com/repos/cibotech/ScalaStan/assignees{/user}","branches_url":"https://api.github.com/repos/cibotech/ScalaStan/branches{/branch}","tags_url":"https://api.github.com/repos/cibotech/ScalaStan/tags","blobs_url":"https://api.github.com/repos/cibotech/ScalaStan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cibotech/ScalaStan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cibotech/ScalaStan/git/refs{/sha}","trees_url":"https://api.github.com/repos/cibotech/ScalaStan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cibotech/ScalaStan/statuses/{sha}","languages_url":"https://api.github.com/repos/cibotech/ScalaStan/languages","stargazers_url":"https://api.github.com/repos/cibotech/ScalaStan/stargazers","contributors_url":"https://api.github.com/repos/cibotech/ScalaStan/contributors","subscribers_url":"https://api.github.com/repos/cibotech/ScalaStan/subscribers","subscription_url":"https://api.github.com/repos/cibotech/ScalaStan/subscription","commits_url":"https://api.github.com/repos/cibotech/ScalaStan/commits{/sha}","git_commits_url":"https://api.github.com/repos/cibotech/ScalaStan/git/commits{/sha}","comments_url":"https://api.github.com/repos/cibotech/ScalaStan/comments{/number}","issue_comment_url":"https://api.github.com/repos/cibotech/ScalaStan/issues/comments{/number}","contents_url":"https://api.github.com/repos/cibotech/ScalaStan/contents/{+path}","compare_url":"https://api.github.com/repos/cibotech/ScalaStan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cibotech/ScalaStan/merges","archive_url":"https://api.github.com/repos/cibotech/ScalaStan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cibotech/ScalaStan/downloads","issues_url":"https://api.github.com/repos/cibotech/ScalaStan/issues{/number}","pulls_url":"https://api.github.com/repos/cibotech/ScalaStan/pulls{/number}","milestones_url":"https://api.github.com/repos/cibotech/ScalaStan/milestones{/number}","notifications_url":"https://api.github.com/repos/cibotech/ScalaStan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cibotech/ScalaStan/labels{/name}","releases_url":"https://api.github.com/repos/cibotech/ScalaStan/releases{/id}","deployments_url":"https://api.github.com/repos/cibotech/ScalaStan/deployments","created_at":"2017-10-19T15:43:39Z","updated_at":"2018-12-12T00:53:40Z","pushed_at":"2018-12-18T13:49:00Z","git_url":"git://github.com/cibotech/ScalaStan.git","ssh_url":"git@github.com:cibotech/ScalaStan.git","clone_url":"https://github.com/cibotech/ScalaStan.git","svn_url":"https://github.com/cibotech/ScalaStan","homepage":null,"size":803,"stargazers_count":43,"watchers_count":43,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":3,"open_issues":5,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cibotech/ScalaStan/pulls/109"},"html":{"href":"https://github.com/cibotech/ScalaStan/pull/109"},"issue":{"href":"https://api.github.com/repos/cibotech/ScalaStan/issues/109"},"comments":{"href":"https://api.github.com/repos/cibotech/ScalaStan/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/cibotech/ScalaStan/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/cibotech/ScalaStan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cibotech/ScalaStan/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/cibotech/ScalaStan/statuses/8b95d3df2e74ef02bf78fd0eab31d62cd9321f11"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":9,"additions":208,"deletions":46,"changed_files":13}}
{"actor":{"display_login":"joewing"}}