{"action":"opened","number":226,"pull_request":{"url":"https://api.github.com/repos/lspector/Clojush/pulls/226","id":98082140,"html_url":"https://github.com/lspector/Clojush/pull/226","diff_url":"https://github.com/lspector/Clojush/pull/226.diff","patch_url":"https://github.com/lspector/Clojush/pull/226.patch","issue_url":"https://api.github.com/repos/lspector/Clojush/issues/226","number":226,"state":"open","locked":false,"title":"Fix `breed` `NullPointerException` bug","user":{"login":"NicMcPhee","id":302297,"avatar_url":"https://avatars.githubusercontent.com/u/302297?v=3","gravatar_id":"","url":"https://api.github.com/users/NicMcPhee","html_url":"https://github.com/NicMcPhee","followers_url":"https://api.github.com/users/NicMcPhee/followers","following_url":"https://api.github.com/users/NicMcPhee/following{/other_user}","gists_url":"https://api.github.com/users/NicMcPhee/gists{/gist_id}","starred_url":"https://api.github.com/users/NicMcPhee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicMcPhee/subscriptions","organizations_url":"https://api.github.com/users/NicMcPhee/orgs","repos_url":"https://api.github.com/users/NicMcPhee/repos","events_url":"https://api.github.com/users/NicMcPhee/events{/privacy}","received_events_url":"https://api.github.com/users/NicMcPhee/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/lspector/Clojush/issues/225\r\n\r\nWhen going through the list of genetic operators, we now check when\r\nthere's just one operator left and choose that. This avoids the\r\nrare but occassional situation where we'd get a `NullPointerException`\r\nbecause we'd run through the whole list of operators without the sum\r\nof the probabilities getting past the random number.","created_at":"2016-12-15T03:42:05Z","updated_at":"2016-12-15T03:42:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lspector/Clojush/pulls/226/commits","review_comments_url":"https://api.github.com/repos/lspector/Clojush/pulls/226/comments","review_comment_url":"https://api.github.com/repos/lspector/Clojush/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lspector/Clojush/issues/226/comments","statuses_url":"https://api.github.com/repos/lspector/Clojush/statuses/63f2a7b7f6ce3622786c2efa1fd9c6c13261dd38","head":{"label":"NicMcPhee:fix-breed-bug","ref":"fix-breed-bug","sha":"63f2a7b7f6ce3622786c2efa1fd9c6c13261dd38","user":{"login":"NicMcPhee","id":302297,"avatar_url":"https://avatars.githubusercontent.com/u/302297?v=3","gravatar_id":"","url":"https://api.github.com/users/NicMcPhee","html_url":"https://github.com/NicMcPhee","followers_url":"https://api.github.com/users/NicMcPhee/followers","following_url":"https://api.github.com/users/NicMcPhee/following{/other_user}","gists_url":"https://api.github.com/users/NicMcPhee/gists{/gist_id}","starred_url":"https://api.github.com/users/NicMcPhee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicMcPhee/subscriptions","organizations_url":"https://api.github.com/users/NicMcPhee/orgs","repos_url":"https://api.github.com/users/NicMcPhee/repos","events_url":"https://api.github.com/users/NicMcPhee/events{/privacy}","received_events_url":"https://api.github.com/users/NicMcPhee/received_events","type":"User","site_admin":false},"repo":{"id":21801576,"name":"Clojush","full_name":"NicMcPhee/Clojush","owner":{"login":"NicMcPhee","id":302297,"avatar_url":"https://avatars.githubusercontent.com/u/302297?v=3","gravatar_id":"","url":"https://api.github.com/users/NicMcPhee","html_url":"https://github.com/NicMcPhee","followers_url":"https://api.github.com/users/NicMcPhee/followers","following_url":"https://api.github.com/users/NicMcPhee/following{/other_user}","gists_url":"https://api.github.com/users/NicMcPhee/gists{/gist_id}","starred_url":"https://api.github.com/users/NicMcPhee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicMcPhee/subscriptions","organizations_url":"https://api.github.com/users/NicMcPhee/orgs","repos_url":"https://api.github.com/users/NicMcPhee/repos","events_url":"https://api.github.com/users/NicMcPhee/events{/privacy}","received_events_url":"https://api.github.com/users/NicMcPhee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NicMcPhee/Clojush","description":"The Push programming language and the PushGP genetic programming system implemented in Clojure.","fork":true,"url":"https://api.github.com/repos/NicMcPhee/Clojush","forks_url":"https://api.github.com/repos/NicMcPhee/Clojush/forks","keys_url":"https://api.github.com/repos/NicMcPhee/Clojush/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NicMcPhee/Clojush/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NicMcPhee/Clojush/teams","hooks_url":"https://api.github.com/repos/NicMcPhee/Clojush/hooks","issue_events_url":"https://api.github.com/repos/NicMcPhee/Clojush/issues/events{/number}","events_url":"https://api.github.com/repos/NicMcPhee/Clojush/events","assignees_url":"https://api.github.com/repos/NicMcPhee/Clojush/assignees{/user}","branches_url":"https://api.github.com/repos/NicMcPhee/Clojush/branches{/branch}","tags_url":"https://api.github.com/repos/NicMcPhee/Clojush/tags","blobs_url":"https://api.github.com/repos/NicMcPhee/Clojush/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NicMcPhee/Clojush/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NicMcPhee/Clojush/git/refs{/sha}","trees_url":"https://api.github.com/repos/NicMcPhee/Clojush/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NicMcPhee/Clojush/statuses/{sha}","languages_url":"https://api.github.com/repos/NicMcPhee/Clojush/languages","stargazers_url":"https://api.github.com/repos/NicMcPhee/Clojush/stargazers","contributors_url":"https://api.github.com/repos/NicMcPhee/Clojush/contributors","subscribers_url":"https://api.github.com/repos/NicMcPhee/Clojush/subscribers","subscription_url":"https://api.github.com/repos/NicMcPhee/Clojush/subscription","commits_url":"https://api.github.com/repos/NicMcPhee/Clojush/commits{/sha}","git_commits_url":"https://api.github.com/repos/NicMcPhee/Clojush/git/commits{/sha}","comments_url":"https://api.github.com/repos/NicMcPhee/Clojush/comments{/number}","issue_comment_url":"https://api.github.com/repos/NicMcPhee/Clojush/issues/comments{/number}","contents_url":"https://api.github.com/repos/NicMcPhee/Clojush/contents/{+path}","compare_url":"https://api.github.com/repos/NicMcPhee/Clojush/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NicMcPhee/Clojush/merges","archive_url":"https://api.github.com/repos/NicMcPhee/Clojush/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NicMcPhee/Clojush/downloads","issues_url":"https://api.github.com/repos/NicMcPhee/Clojush/issues{/number}","pulls_url":"https://api.github.com/repos/NicMcPhee/Clojush/pulls{/number}","milestones_url":"https://api.github.com/repos/NicMcPhee/Clojush/milestones{/number}","notifications_url":"https://api.github.com/repos/NicMcPhee/Clojush/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NicMcPhee/Clojush/labels{/name}","releases_url":"https://api.github.com/repos/NicMcPhee/Clojush/releases{/id}","deployments_url":"https://api.github.com/repos/NicMcPhee/Clojush/deployments","created_at":"2014-07-13T23:09:13Z","updated_at":"2016-11-30T15:20:17Z","pushed_at":"2016-12-15T03:39:49Z","git_url":"git://github.com/NicMcPhee/Clojush.git","ssh_url":"git@github.com:NicMcPhee/Clojush.git","clone_url":"https://github.com/NicMcPhee/Clojush.git","svn_url":"https://github.com/NicMcPhee/Clojush","homepage":"http://hampshire.edu/lspector/push.html","size":16863,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":7,"forks":19,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"lspector:master","ref":"master","sha":"56a6e0861b8bfff4b9f41a259e7166f8af4436d4","user":{"login":"lspector","id":246808,"avatar_url":"https://avatars.githubusercontent.com/u/246808?v=3","gravatar_id":"","url":"https://api.github.com/users/lspector","html_url":"https://github.com/lspector","followers_url":"https://api.github.com/users/lspector/followers","following_url":"https://api.github.com/users/lspector/following{/other_user}","gists_url":"https://api.github.com/users/lspector/gists{/gist_id}","starred_url":"https://api.github.com/users/lspector/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lspector/subscriptions","organizations_url":"https://api.github.com/users/lspector/orgs","repos_url":"https://api.github.com/users/lspector/repos","events_url":"https://api.github.com/users/lspector/events{/privacy}","received_events_url":"https://api.github.com/users/lspector/received_events","type":"User","site_admin":false},"repo":{"id":616728,"name":"Clojush","full_name":"lspector/Clojush","owner":{"login":"lspector","id":246808,"avatar_url":"https://avatars.githubusercontent.com/u/246808?v=3","gravatar_id":"","url":"https://api.github.com/users/lspector","html_url":"https://github.com/lspector","followers_url":"https://api.github.com/users/lspector/followers","following_url":"https://api.github.com/users/lspector/following{/other_user}","gists_url":"https://api.github.com/users/lspector/gists{/gist_id}","starred_url":"https://api.github.com/users/lspector/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lspector/subscriptions","organizations_url":"https://api.github.com/users/lspector/orgs","repos_url":"https://api.github.com/users/lspector/repos","events_url":"https://api.github.com/users/lspector/events{/privacy}","received_events_url":"https://api.github.com/users/lspector/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lspector/Clojush","description":"The Push programming language and the PushGP genetic programming system implemented in Clojure.","fork":false,"url":"https://api.github.com/repos/lspector/Clojush","forks_url":"https://api.github.com/repos/lspector/Clojush/forks","keys_url":"https://api.github.com/repos/lspector/Clojush/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lspector/Clojush/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lspector/Clojush/teams","hooks_url":"https://api.github.com/repos/lspector/Clojush/hooks","issue_events_url":"https://api.github.com/repos/lspector/Clojush/issues/events{/number}","events_url":"https://api.github.com/repos/lspector/Clojush/events","assignees_url":"https://api.github.com/repos/lspector/Clojush/assignees{/user}","branches_url":"https://api.github.com/repos/lspector/Clojush/branches{/branch}","tags_url":"https://api.github.com/repos/lspector/Clojush/tags","blobs_url":"https://api.github.com/repos/lspector/Clojush/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lspector/Clojush/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lspector/Clojush/git/refs{/sha}","trees_url":"https://api.github.com/repos/lspector/Clojush/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lspector/Clojush/statuses/{sha}","languages_url":"https://api.github.com/repos/lspector/Clojush/languages","stargazers_url":"https://api.github.com/repos/lspector/Clojush/stargazers","contributors_url":"https://api.github.com/repos/lspector/Clojush/contributors","subscribers_url":"https://api.github.com/repos/lspector/Clojush/subscribers","subscription_url":"https://api.github.com/repos/lspector/Clojush/subscription","commits_url":"https://api.github.com/repos/lspector/Clojush/commits{/sha}","git_commits_url":"https://api.github.com/repos/lspector/Clojush/git/commits{/sha}","comments_url":"https://api.github.com/repos/lspector/Clojush/comments{/number}","issue_comment_url":"https://api.github.com/repos/lspector/Clojush/issues/comments{/number}","contents_url":"https://api.github.com/repos/lspector/Clojush/contents/{+path}","compare_url":"https://api.github.com/repos/lspector/Clojush/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lspector/Clojush/merges","archive_url":"https://api.github.com/repos/lspector/Clojush/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lspector/Clojush/downloads","issues_url":"https://api.github.com/repos/lspector/Clojush/issues{/number}","pulls_url":"https://api.github.com/repos/lspector/Clojush/pulls{/number}","milestones_url":"https://api.github.com/repos/lspector/Clojush/milestones{/number}","notifications_url":"https://api.github.com/repos/lspector/Clojush/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lspector/Clojush/labels{/name}","releases_url":"https://api.github.com/repos/lspector/Clojush/releases{/id}","deployments_url":"https://api.github.com/repos/lspector/Clojush/deployments","created_at":"2010-04-18T19:45:50Z","updated_at":"2016-12-10T06:00:15Z","pushed_at":"2016-12-15T03:42:05Z","git_url":"git://github.com/lspector/Clojush.git","ssh_url":"git@github.com:lspector/Clojush.git","clone_url":"https://github.com/lspector/Clojush.git","svn_url":"https://github.com/lspector/Clojush","homepage":"http://hampshire.edu/lspector/push.html","size":17152,"stargazers_count":182,"watchers_count":182,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":60,"mirror_url":null,"open_issues_count":42,"forks":60,"open_issues":42,"watchers":182,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lspector/Clojush/pulls/226"},"html":{"href":"https://github.com/lspector/Clojush/pull/226"},"issue":{"href":"https://api.github.com/repos/lspector/Clojush/issues/226"},"comments":{"href":"https://api.github.com/repos/lspector/Clojush/issues/226/comments"},"review_comments":{"href":"https://api.github.com/repos/lspector/Clojush/pulls/226/comments"},"review_comment":{"href":"https://api.github.com/repos/lspector/Clojush/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lspector/Clojush/pulls/226/commits"},"statuses":{"href":"https://api.github.com/repos/lspector/Clojush/statuses/63f2a7b7f6ce3622786c2efa1fd9c6c13261dd38"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"NicMcPhee"}}