{"action":"opened","number":152,"pull_request":{"url":"https://api.github.com/repos/peterolson/BigInteger.js/pulls/152","id":205461308,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NDYxMzA4","html_url":"https://github.com/peterolson/BigInteger.js/pull/152","diff_url":"https://github.com/peterolson/BigInteger.js/pull/152.diff","patch_url":"https://github.com/peterolson/BigInteger.js/pull/152.patch","issue_url":"https://api.github.com/repos/peterolson/BigInteger.js/issues/152","number":152,"state":"open","locked":false,"title":"Reliable isProbablePrime","user":{"login":"oogFranz","id":5346111,"node_id":"MDQ6VXNlcjUzNDYxMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5346111?v=4","gravatar_id":"","url":"https://api.github.com/users/oogFranz","html_url":"https://github.com/oogFranz","followers_url":"https://api.github.com/users/oogFranz/followers","following_url":"https://api.github.com/users/oogFranz/following{/other_user}","gists_url":"https://api.github.com/users/oogFranz/gists{/gist_id}","starred_url":"https://api.github.com/users/oogFranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oogFranz/subscriptions","organizations_url":"https://api.github.com/users/oogFranz/orgs","repos_url":"https://api.github.com/users/oogFranz/repos","events_url":"https://api.github.com/users/oogFranz/events{/privacy}","received_events_url":"https://api.github.com/users/oogFranz/received_events","type":"User","site_admin":false},"body":"Make isProbablePrime more reliable.\r\n\r\nMiller-Rabin Test with random sampling can detect some pseudo primes as a composite number.\r\nAnd with my local testing, the new isProbablePrime() works as fast as the original one.\r\nref. https://github.com/peterolson/BigInteger.js/pull/48#issue-45877579","created_at":"2018-08-01T15:18:52Z","updated_at":"2018-08-01T15:18:52Z","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/peterolson/BigInteger.js/pulls/152/commits","review_comments_url":"https://api.github.com/repos/peterolson/BigInteger.js/pulls/152/comments","review_comment_url":"https://api.github.com/repos/peterolson/BigInteger.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/peterolson/BigInteger.js/issues/152/comments","statuses_url":"https://api.github.com/repos/peterolson/BigInteger.js/statuses/a110a848bdbf9f227aa7d4dcba119a2c2d0111ef","head":{"label":"oogFranz:reliable_isProbablePrime","ref":"reliable_isProbablePrime","sha":"a110a848bdbf9f227aa7d4dcba119a2c2d0111ef","user":{"login":"oogFranz","id":5346111,"node_id":"MDQ6VXNlcjUzNDYxMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5346111?v=4","gravatar_id":"","url":"https://api.github.com/users/oogFranz","html_url":"https://github.com/oogFranz","followers_url":"https://api.github.com/users/oogFranz/followers","following_url":"https://api.github.com/users/oogFranz/following{/other_user}","gists_url":"https://api.github.com/users/oogFranz/gists{/gist_id}","starred_url":"https://api.github.com/users/oogFranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oogFranz/subscriptions","organizations_url":"https://api.github.com/users/oogFranz/orgs","repos_url":"https://api.github.com/users/oogFranz/repos","events_url":"https://api.github.com/users/oogFranz/events{/privacy}","received_events_url":"https://api.github.com/users/oogFranz/received_events","type":"User","site_admin":false},"repo":{"id":143021867,"node_id":"MDEwOlJlcG9zaXRvcnkxNDMwMjE4Njc=","name":"BigInteger.js","full_name":"oogFranz/BigInteger.js","owner":{"login":"oogFranz","id":5346111,"node_id":"MDQ6VXNlcjUzNDYxMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5346111?v=4","gravatar_id":"","url":"https://api.github.com/users/oogFranz","html_url":"https://github.com/oogFranz","followers_url":"https://api.github.com/users/oogFranz/followers","following_url":"https://api.github.com/users/oogFranz/following{/other_user}","gists_url":"https://api.github.com/users/oogFranz/gists{/gist_id}","starred_url":"https://api.github.com/users/oogFranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oogFranz/subscriptions","organizations_url":"https://api.github.com/users/oogFranz/orgs","repos_url":"https://api.github.com/users/oogFranz/repos","events_url":"https://api.github.com/users/oogFranz/events{/privacy}","received_events_url":"https://api.github.com/users/oogFranz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oogFranz/BigInteger.js","description":"An arbitrary length integer library for Javascript","fork":true,"url":"https://api.github.com/repos/oogFranz/BigInteger.js","forks_url":"https://api.github.com/repos/oogFranz/BigInteger.js/forks","keys_url":"https://api.github.com/repos/oogFranz/BigInteger.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oogFranz/BigInteger.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oogFranz/BigInteger.js/teams","hooks_url":"https://api.github.com/repos/oogFranz/BigInteger.js/hooks","issue_events_url":"https://api.github.com/repos/oogFranz/BigInteger.js/issues/events{/number}","events_url":"https://api.github.com/repos/oogFranz/BigInteger.js/events","assignees_url":"https://api.github.com/repos/oogFranz/BigInteger.js/assignees{/user}","branches_url":"https://api.github.com/repos/oogFranz/BigInteger.js/branches{/branch}","tags_url":"https://api.github.com/repos/oogFranz/BigInteger.js/tags","blobs_url":"https://api.github.com/repos/oogFranz/BigInteger.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oogFranz/BigInteger.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oogFranz/BigInteger.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/oogFranz/BigInteger.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oogFranz/BigInteger.js/statuses/{sha}","languages_url":"https://api.github.com/repos/oogFranz/BigInteger.js/languages","stargazers_url":"https://api.github.com/repos/oogFranz/BigInteger.js/stargazers","contributors_url":"https://api.github.com/repos/oogFranz/BigInteger.js/contributors","subscribers_url":"https://api.github.com/repos/oogFranz/BigInteger.js/subscribers","subscription_url":"https://api.github.com/repos/oogFranz/BigInteger.js/subscription","commits_url":"https://api.github.com/repos/oogFranz/BigInteger.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/oogFranz/BigInteger.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/oogFranz/BigInteger.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/oogFranz/BigInteger.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/oogFranz/BigInteger.js/contents/{+path}","compare_url":"https://api.github.com/repos/oogFranz/BigInteger.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oogFranz/BigInteger.js/merges","archive_url":"https://api.github.com/repos/oogFranz/BigInteger.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oogFranz/BigInteger.js/downloads","issues_url":"https://api.github.com/repos/oogFranz/BigInteger.js/issues{/number}","pulls_url":"https://api.github.com/repos/oogFranz/BigInteger.js/pulls{/number}","milestones_url":"https://api.github.com/repos/oogFranz/BigInteger.js/milestones{/number}","notifications_url":"https://api.github.com/repos/oogFranz/BigInteger.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oogFranz/BigInteger.js/labels{/name}","releases_url":"https://api.github.com/repos/oogFranz/BigInteger.js/releases{/id}","deployments_url":"https://api.github.com/repos/oogFranz/BigInteger.js/deployments","created_at":"2018-07-31T13:59:36Z","updated_at":"2018-08-01T14:47:18Z","pushed_at":"2018-08-01T15:06:26Z","git_url":"git://github.com/oogFranz/BigInteger.js.git","ssh_url":"git@github.com:oogFranz/BigInteger.js.git","clone_url":"https://github.com/oogFranz/BigInteger.js.git","svn_url":"https://github.com/oogFranz/BigInteger.js","homepage":"","size":565,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense","node_id":"MDc6TGljZW5zZTE1"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"peterolson:master","ref":"master","sha":"cf6754e3ee8e447ca60430614d6e9a678a537f18","user":{"login":"peterolson","id":920512,"node_id":"MDQ6VXNlcjkyMDUxMg==","avatar_url":"https://avatars1.githubusercontent.com/u/920512?v=4","gravatar_id":"","url":"https://api.github.com/users/peterolson","html_url":"https://github.com/peterolson","followers_url":"https://api.github.com/users/peterolson/followers","following_url":"https://api.github.com/users/peterolson/following{/other_user}","gists_url":"https://api.github.com/users/peterolson/gists{/gist_id}","starred_url":"https://api.github.com/users/peterolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterolson/subscriptions","organizations_url":"https://api.github.com/users/peterolson/orgs","repos_url":"https://api.github.com/users/peterolson/repos","events_url":"https://api.github.com/users/peterolson/events{/privacy}","received_events_url":"https://api.github.com/users/peterolson/received_events","type":"User","site_admin":false},"repo":{"id":5717953,"node_id":"MDEwOlJlcG9zaXRvcnk1NzE3OTUz","name":"BigInteger.js","full_name":"peterolson/BigInteger.js","owner":{"login":"peterolson","id":920512,"node_id":"MDQ6VXNlcjkyMDUxMg==","avatar_url":"https://avatars1.githubusercontent.com/u/920512?v=4","gravatar_id":"","url":"https://api.github.com/users/peterolson","html_url":"https://github.com/peterolson","followers_url":"https://api.github.com/users/peterolson/followers","following_url":"https://api.github.com/users/peterolson/following{/other_user}","gists_url":"https://api.github.com/users/peterolson/gists{/gist_id}","starred_url":"https://api.github.com/users/peterolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterolson/subscriptions","organizations_url":"https://api.github.com/users/peterolson/orgs","repos_url":"https://api.github.com/users/peterolson/repos","events_url":"https://api.github.com/users/peterolson/events{/privacy}","received_events_url":"https://api.github.com/users/peterolson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterolson/BigInteger.js","description":"An arbitrary length integer library for Javascript","fork":false,"url":"https://api.github.com/repos/peterolson/BigInteger.js","forks_url":"https://api.github.com/repos/peterolson/BigInteger.js/forks","keys_url":"https://api.github.com/repos/peterolson/BigInteger.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterolson/BigInteger.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterolson/BigInteger.js/teams","hooks_url":"https://api.github.com/repos/peterolson/BigInteger.js/hooks","issue_events_url":"https://api.github.com/repos/peterolson/BigInteger.js/issues/events{/number}","events_url":"https://api.github.com/repos/peterolson/BigInteger.js/events","assignees_url":"https://api.github.com/repos/peterolson/BigInteger.js/assignees{/user}","branches_url":"https://api.github.com/repos/peterolson/BigInteger.js/branches{/branch}","tags_url":"https://api.github.com/repos/peterolson/BigInteger.js/tags","blobs_url":"https://api.github.com/repos/peterolson/BigInteger.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterolson/BigInteger.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterolson/BigInteger.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterolson/BigInteger.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterolson/BigInteger.js/statuses/{sha}","languages_url":"https://api.github.com/repos/peterolson/BigInteger.js/languages","stargazers_url":"https://api.github.com/repos/peterolson/BigInteger.js/stargazers","contributors_url":"https://api.github.com/repos/peterolson/BigInteger.js/contributors","subscribers_url":"https://api.github.com/repos/peterolson/BigInteger.js/subscribers","subscription_url":"https://api.github.com/repos/peterolson/BigInteger.js/subscription","commits_url":"https://api.github.com/repos/peterolson/BigInteger.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterolson/BigInteger.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterolson/BigInteger.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterolson/BigInteger.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterolson/BigInteger.js/contents/{+path}","compare_url":"https://api.github.com/repos/peterolson/BigInteger.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterolson/BigInteger.js/merges","archive_url":"https://api.github.com/repos/peterolson/BigInteger.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterolson/BigInteger.js/downloads","issues_url":"https://api.github.com/repos/peterolson/BigInteger.js/issues{/number}","pulls_url":"https://api.github.com/repos/peterolson/BigInteger.js/pulls{/number}","milestones_url":"https://api.github.com/repos/peterolson/BigInteger.js/milestones{/number}","notifications_url":"https://api.github.com/repos/peterolson/BigInteger.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterolson/BigInteger.js/labels{/name}","releases_url":"https://api.github.com/repos/peterolson/BigInteger.js/releases{/id}","deployments_url":"https://api.github.com/repos/peterolson/BigInteger.js/deployments","created_at":"2012-09-07T14:30:41Z","updated_at":"2018-08-01T11:02:57Z","pushed_at":"2018-08-01T01:10:56Z","git_url":"git://github.com/peterolson/BigInteger.js.git","ssh_url":"git@github.com:peterolson/BigInteger.js.git","clone_url":"https://github.com/peterolson/BigInteger.js.git","svn_url":"https://github.com/peterolson/BigInteger.js","homepage":"","size":574,"stargazers_count":604,"watchers_count":604,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":110,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense","node_id":"MDc6TGljZW5zZTE1"},"forks":110,"open_issues":8,"watchers":604,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/peterolson/BigInteger.js/pulls/152"},"html":{"href":"https://github.com/peterolson/BigInteger.js/pull/152"},"issue":{"href":"https://api.github.com/repos/peterolson/BigInteger.js/issues/152"},"comments":{"href":"https://api.github.com/repos/peterolson/BigInteger.js/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/peterolson/BigInteger.js/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/peterolson/BigInteger.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/peterolson/BigInteger.js/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/peterolson/BigInteger.js/statuses/a110a848bdbf9f227aa7d4dcba119a2c2d0111ef"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":25,"deletions":19,"changed_files":3}}
{"actor":{"display_login":"oogFranz"}}