{"action":"closed","number":86,"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/pulls/86","id":86022453,"html_url":"https://github.com/duckduckgo/zeroclickinfo-longtail/pull/86","diff_url":"https://github.com/duckduckgo/zeroclickinfo-longtail/pull/86.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-longtail/pull/86.patch","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/issues/86","number":86,"state":"closed","locked":false,"title":"Calculate p_count","user":{"login":"zachthompson","id":1467466,"avatar_url":"https://avatars.githubusercontent.com/u/1467466?v=3","gravatar_id":"","url":"https://api.github.com/users/zachthompson","html_url":"https://github.com/zachthompson","followers_url":"https://api.github.com/users/zachthompson/followers","following_url":"https://api.github.com/users/zachthompson/following{/other_user}","gists_url":"https://api.github.com/users/zachthompson/gists{/gist_id}","starred_url":"https://api.github.com/users/zachthompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachthompson/subscriptions","organizations_url":"https://api.github.com/users/zachthompson/orgs","repos_url":"https://api.github.com/users/zachthompson/repos","events_url":"https://api.github.com/users/zachthompson/events{/privacy}","received_events_url":"https://api.github.com/users/zachthompson/received_events","type":"User","site_admin":false},"body":"When allowing negative numbers through, `-$score` becomes `--3`, for example, causing an integer error in Solr.  This converts only when the score is greater than zero.","created_at":"2016-09-20T17:40:00Z","updated_at":"2016-09-20T19:33:29Z","closed_at":"2016-09-20T19:33:29Z","merged_at":"2016-09-20T19:33:29Z","merge_commit_sha":"dd5bc2261f4878eac281dab219e3b0347add38ad","assignee":{"login":"b2ddg","id":11357039,"avatar_url":"https://avatars.githubusercontent.com/u/11357039?v=3","gravatar_id":"","url":"https://api.github.com/users/b2ddg","html_url":"https://github.com/b2ddg","followers_url":"https://api.github.com/users/b2ddg/followers","following_url":"https://api.github.com/users/b2ddg/following{/other_user}","gists_url":"https://api.github.com/users/b2ddg/gists{/gist_id}","starred_url":"https://api.github.com/users/b2ddg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b2ddg/subscriptions","organizations_url":"https://api.github.com/users/b2ddg/orgs","repos_url":"https://api.github.com/users/b2ddg/repos","events_url":"https://api.github.com/users/b2ddg/events{/privacy}","received_events_url":"https://api.github.com/users/b2ddg/received_events","type":"User","site_admin":false},"assignees":[{"login":"b2ddg","id":11357039,"avatar_url":"https://avatars.githubusercontent.com/u/11357039?v=3","gravatar_id":"","url":"https://api.github.com/users/b2ddg","html_url":"https://github.com/b2ddg","followers_url":"https://api.github.com/users/b2ddg/followers","following_url":"https://api.github.com/users/b2ddg/following{/other_user}","gists_url":"https://api.github.com/users/b2ddg/gists{/gist_id}","starred_url":"https://api.github.com/users/b2ddg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b2ddg/subscriptions","organizations_url":"https://api.github.com/users/b2ddg/orgs","repos_url":"https://api.github.com/users/b2ddg/repos","events_url":"https://api.github.com/users/b2ddg/events{/privacy}","received_events_url":"https://api.github.com/users/b2ddg/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/pulls/86/commits","review_comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/pulls/86/comments","review_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/pulls/comments{/number}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/issues/86/comments","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/statuses/4addacfd00fde19d8828d336383d89a3bed5f369","head":{"label":"duckduckgo:zt/so-p_count","ref":"zt/so-p_count","sha":"4addacfd00fde19d8828d336383d89a3bed5f369","user":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"repo":{"id":3270369,"name":"zeroclickinfo-longtail","full_name":"duckduckgo/zeroclickinfo-longtail","owner":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/duckduckgo/zeroclickinfo-longtail","description":"DuckDuckGo Instant Answers based on full-text data","fork":false,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail","forks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/forks","keys_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/teams","hooks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/hooks","issue_events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/issues/events{/number}","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/events","assignees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/assignees{/user}","branches_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/branches{/branch}","tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/tags","blobs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/git/refs{/sha}","trees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/statuses/{sha}","languages_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/languages","stargazers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/stargazers","contributors_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/contributors","subscribers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/subscribers","subscription_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/subscription","commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/commits{/sha}","git_commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/git/commits{/sha}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/comments{/number}","issue_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/issues/comments{/number}","contents_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/contents/{+path}","compare_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/merges","archive_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/downloads","issues_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/issues{/number}","pulls_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/pulls{/number}","milestones_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/milestones{/number}","notifications_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/labels{/name}","releases_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/releases{/id}","deployments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/deployments","created_at":"2012-01-26T01:28:34Z","updated_at":"2016-08-29T21:12:00Z","pushed_at":"2016-09-20T19:33:29Z","git_url":"git://github.com/duckduckgo/zeroclickinfo-longtail.git","ssh_url":"git@github.com:duckduckgo/zeroclickinfo-longtail.git","clone_url":"https://github.com/duckduckgo/zeroclickinfo-longtail.git","svn_url":"https://github.com/duckduckgo/zeroclickinfo-longtail","homepage":"http://duckduckhack.com/","size":476,"stargazers_count":61,"watchers_count":61,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":106,"mirror_url":null,"open_issues_count":11,"forks":106,"open_issues":11,"watchers":61,"default_branch":"master"}},"base":{"label":"duckduckgo:master","ref":"master","sha":"4bc1e65c82caea6a3af2e91644a307012e83fb31","user":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"repo":{"id":3270369,"name":"zeroclickinfo-longtail","full_name":"duckduckgo/zeroclickinfo-longtail","owner":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/duckduckgo/zeroclickinfo-longtail","description":"DuckDuckGo Instant Answers based on full-text data","fork":false,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail","forks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/forks","keys_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/teams","hooks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/hooks","issue_events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/issues/events{/number}","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/events","assignees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/assignees{/user}","branches_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/branches{/branch}","tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/tags","blobs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/git/refs{/sha}","trees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/statuses/{sha}","languages_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/languages","stargazers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/stargazers","contributors_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/contributors","subscribers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/subscribers","subscription_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/subscription","commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/commits{/sha}","git_commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/git/commits{/sha}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/comments{/number}","issue_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/issues/comments{/number}","contents_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/contents/{+path}","compare_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/merges","archive_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/downloads","issues_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/issues{/number}","pulls_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/pulls{/number}","milestones_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/milestones{/number}","notifications_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/labels{/name}","releases_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/releases{/id}","deployments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/deployments","created_at":"2012-01-26T01:28:34Z","updated_at":"2016-08-29T21:12:00Z","pushed_at":"2016-09-20T19:33:29Z","git_url":"git://github.com/duckduckgo/zeroclickinfo-longtail.git","ssh_url":"git@github.com:duckduckgo/zeroclickinfo-longtail.git","clone_url":"https://github.com/duckduckgo/zeroclickinfo-longtail.git","svn_url":"https://github.com/duckduckgo/zeroclickinfo-longtail","homepage":"http://duckduckhack.com/","size":476,"stargazers_count":61,"watchers_count":61,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":106,"mirror_url":null,"open_issues_count":11,"forks":106,"open_issues":11,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/pulls/86"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-longtail/pull/86"},"issue":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/issues/86"},"comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-longtail/statuses/4addacfd00fde19d8828d336383d89a3bed5f369"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"b2ddg","id":11357039,"avatar_url":"https://avatars.githubusercontent.com/u/11357039?v=3","gravatar_id":"","url":"https://api.github.com/users/b2ddg","html_url":"https://github.com/b2ddg","followers_url":"https://api.github.com/users/b2ddg/followers","following_url":"https://api.github.com/users/b2ddg/following{/other_user}","gists_url":"https://api.github.com/users/b2ddg/gists{/gist_id}","starred_url":"https://api.github.com/users/b2ddg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b2ddg/subscriptions","organizations_url":"https://api.github.com/users/b2ddg/orgs","repos_url":"https://api.github.com/users/b2ddg/repos","events_url":"https://api.github.com/users/b2ddg/events{/privacy}","received_events_url":"https://api.github.com/users/b2ddg/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"b2ddg"}}