{"action":"created","comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments/23330818","id":23330818,"diff_hunk":"@@ -0,0 +1,51 @@\n+#!/usr/bin/env perl\n+\n+use strict;\n+use warnings;\n+use Test::More;\n+use DDG::Test::Goodie;\n+\n+zci answer_type => \"sales_tax\";\n+zci is_cached   => 1;\n+\n+ddg_goodie_test(\n+    [qw( DDG::Goodie::SalesTax )],\n+            \n+    'Sales tax for pennsylvania' => test_zci(\n+        'Pennsylvania sales tax: 6%',\n+        structured_answer => {\n+            input     => ['Pennsylvania'],\n+            operation => 'Sales tax for',\n+            result    => '6%'\n+        }\n+    ), \n+    'what is sales tax for mississippi' => test_zci(\n+        'Mississippi sales tax: 7%',\n+        structured_answer => {\n+            input     => ['Mississippi'],\n+            operation => 'Sales tax for',\n+            result    => '7%'\n+            \n+            \n+        }\n+    ),    \n+    'sales tax pa' => test_zci(\n+        'Pennsylvania sales tax: 6%',\n+        structured_answer => {\n+            input     => ['Pennsylvania'],\n+            operation => 'Sales tax for',\n+            result    => '6%'\n+            \n+        }\n+    ),\n+    'sales tax washington dc' => test_zci(","path":"t/SalesTax.t","position":41,"original_position":41,"commit_id":"96a86dba8165de8ce662e4eacf3beccda88e7a20","original_commit_id":"96a86dba8165de8ce662e4eacf3beccda88e7a20","user":{"login":"jagtalon","id":81969,"avatar_url":"https://avatars.githubusercontent.com/u/81969?v=3","gravatar_id":"","url":"https://api.github.com/users/jagtalon","html_url":"https://github.com/jagtalon","followers_url":"https://api.github.com/users/jagtalon/followers","following_url":"https://api.github.com/users/jagtalon/following{/other_user}","gists_url":"https://api.github.com/users/jagtalon/gists{/gist_id}","starred_url":"https://api.github.com/users/jagtalon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagtalon/subscriptions","organizations_url":"https://api.github.com/users/jagtalon/orgs","repos_url":"https://api.github.com/users/jagtalon/repos","events_url":"https://api.github.com/users/jagtalon/events{/privacy}","received_events_url":"https://api.github.com/users/jagtalon/received_events","type":"User","site_admin":false},"body":"Add a test for \"sales tax in japan\" and set it to undef","created_at":"2015-01-21T20:18:28Z","updated_at":"2015-01-21T20:18:28Z","html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/917#discussion_r23330818","pull_request_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/917","_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments/23330818"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/917#discussion_r23330818"},"pull_request":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/917"}}},"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/917","id":27154013,"html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/917","diff_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/917.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/917.patch","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/917","number":917,"state":"open","locked":false,"title":"Sales Tax","user":{"login":"javathunderman","id":6887325,"avatar_url":"https://avatars.githubusercontent.com/u/6887325?v=3","gravatar_id":"","url":"https://api.github.com/users/javathunderman","html_url":"https://github.com/javathunderman","followers_url":"https://api.github.com/users/javathunderman/followers","following_url":"https://api.github.com/users/javathunderman/following{/other_user}","gists_url":"https://api.github.com/users/javathunderman/gists{/gist_id}","starred_url":"https://api.github.com/users/javathunderman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javathunderman/subscriptions","organizations_url":"https://api.github.com/users/javathunderman/orgs","repos_url":"https://api.github.com/users/javathunderman/repos","events_url":"https://api.github.com/users/javathunderman/events{/privacy}","received_events_url":"https://api.github.com/users/javathunderman/received_events","type":"User","site_admin":false},"body":"What does your Instant Answer do?\r\n\r\nIt returns the sales tax of a state in the United States\r\n\r\nWhat problem does your Instant Answer solve (Why is it better than organic links)?\r\n\r\nIt's a lot quicker, plus no clicking around. \r\n\r\nWhat is the data source for your Instant Answer? (Provide a link if possible)\r\n\r\nhttps://en.wikipedia.org/wiki/Sales_taxes_in_the_United_States\r\n\r\nWhy did you choose this data source?\r\n\r\nIt is in the format ideal for my IA. \r\n\r\nAre there any other alternative (better) data sources?\r\n\r\nYes, probably state by state websites. \r\n\r\nWhat are some example queries that trigger this Instant Answer?\r\n\r\n\"Sales tax for Pennsylvania\", \"sales tax for pa\". \r\n\r\nWhich communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)\r\n\r\nTravelers, people who move a lot, etc. \r\n\r\nIs this Instant Answer connected to a DuckDuckHack Instant Answer idea?\r\n\r\nYes, however I can't find it. \r\n\r\nWhich existing Instant Answers will this one supercede/overlap with?\r\n\r\nN/A\r\n\r\nAre you having any problems? Do you need our help with anything?\r\n\r\nHad some; they have since been resolved. \r\n\r\nWhere did you hear about DuckDuckHack? (For first time contributors)\r\n\r\nN/A\r\n","created_at":"2015-01-10T20:21:39Z","updated_at":"2015-01-21T20:18:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c93b1d67a468fa3b11470ee60f7c675ca081c917","assignee":{"login":"MrChrisW","id":5282264,"avatar_url":"https://avatars.githubusercontent.com/u/5282264?v=3","gravatar_id":"","url":"https://api.github.com/users/MrChrisW","html_url":"https://github.com/MrChrisW","followers_url":"https://api.github.com/users/MrChrisW/followers","following_url":"https://api.github.com/users/MrChrisW/following{/other_user}","gists_url":"https://api.github.com/users/MrChrisW/gists{/gist_id}","starred_url":"https://api.github.com/users/MrChrisW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrChrisW/subscriptions","organizations_url":"https://api.github.com/users/MrChrisW/orgs","repos_url":"https://api.github.com/users/MrChrisW/repos","events_url":"https://api.github.com/users/MrChrisW/events{/privacy}","received_events_url":"https://api.github.com/users/MrChrisW/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/917/commits","review_comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/917/comments","review_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments/{number}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/917/comments","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/statuses/96a86dba8165de8ce662e4eacf3beccda88e7a20","head":{"label":"javathunderman:master","ref":"master","sha":"96a86dba8165de8ce662e4eacf3beccda88e7a20","user":{"login":"javathunderman","id":6887325,"avatar_url":"https://avatars.githubusercontent.com/u/6887325?v=3","gravatar_id":"","url":"https://api.github.com/users/javathunderman","html_url":"https://github.com/javathunderman","followers_url":"https://api.github.com/users/javathunderman/followers","following_url":"https://api.github.com/users/javathunderman/following{/other_user}","gists_url":"https://api.github.com/users/javathunderman/gists{/gist_id}","starred_url":"https://api.github.com/users/javathunderman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javathunderman/subscriptions","organizations_url":"https://api.github.com/users/javathunderman/orgs","repos_url":"https://api.github.com/users/javathunderman/repos","events_url":"https://api.github.com/users/javathunderman/events{/privacy}","received_events_url":"https://api.github.com/users/javathunderman/received_events","type":"User","site_admin":false},"repo":{"id":29067287,"name":"zeroclickinfo-goodies","full_name":"javathunderman/zeroclickinfo-goodies","owner":{"login":"javathunderman","id":6887325,"avatar_url":"https://avatars.githubusercontent.com/u/6887325?v=3","gravatar_id":"","url":"https://api.github.com/users/javathunderman","html_url":"https://github.com/javathunderman","followers_url":"https://api.github.com/users/javathunderman/followers","following_url":"https://api.github.com/users/javathunderman/following{/other_user}","gists_url":"https://api.github.com/users/javathunderman/gists{/gist_id}","starred_url":"https://api.github.com/users/javathunderman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javathunderman/subscriptions","organizations_url":"https://api.github.com/users/javathunderman/orgs","repos_url":"https://api.github.com/users/javathunderman/repos","events_url":"https://api.github.com/users/javathunderman/events{/privacy}","received_events_url":"https://api.github.com/users/javathunderman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/javathunderman/zeroclickinfo-goodies","description":"DuckDuckGo instant answer plugins based on Perl functions","fork":true,"url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies","forks_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/forks","keys_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/teams","hooks_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/hooks","issue_events_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/issues/events{/number}","events_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/events","assignees_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/assignees{/user}","branches_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/branches{/branch}","tags_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/tags","blobs_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/git/refs{/sha}","trees_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/statuses/{sha}","languages_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/languages","stargazers_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/stargazers","contributors_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/contributors","subscribers_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/subscribers","subscription_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/subscription","commits_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/commits{/sha}","git_commits_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/git/commits{/sha}","comments_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/comments{/number}","issue_comment_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/issues/comments/{number}","contents_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/contents/{+path}","compare_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/merges","archive_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/downloads","issues_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/issues{/number}","pulls_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/pulls{/number}","milestones_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/milestones{/number}","notifications_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/labels{/name}","releases_url":"https://api.github.com/repos/javathunderman/zeroclickinfo-goodies/releases{/id}","created_at":"2015-01-10T18:54:21Z","updated_at":"2015-01-21T13:46:02Z","pushed_at":"2015-01-21T13:46:01Z","git_url":"git://github.com/javathunderman/zeroclickinfo-goodies.git","ssh_url":"git@github.com:javathunderman/zeroclickinfo-goodies.git","clone_url":"https://github.com/javathunderman/zeroclickinfo-goodies.git","svn_url":"https://github.com/javathunderman/zeroclickinfo-goodies","homepage":"http://duckduckhack.com/","size":6813,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"duckduckgo:master","ref":"master","sha":"3851e4037077cff7d7ef79f7bc6a484940310c84","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":2164979,"name":"zeroclickinfo-goodies","full_name":"duckduckgo/zeroclickinfo-goodies","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-goodies","description":"DuckDuckGo instant answer plugins based on Perl functions","fork":false,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies","forks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/forks","keys_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/teams","hooks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/hooks","issue_events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/events{/number}","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/events","assignees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/assignees{/user}","branches_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/branches{/branch}","tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/tags","blobs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/refs{/sha}","trees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/statuses/{sha}","languages_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/languages","stargazers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/stargazers","contributors_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/contributors","subscribers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/subscribers","subscription_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/subscription","commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/commits{/sha}","git_commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/git/commits{/sha}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/comments{/number}","issue_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/comments/{number}","contents_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/contents/{+path}","compare_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/merges","archive_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/downloads","issues_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues{/number}","pulls_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls{/number}","milestones_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/milestones{/number}","notifications_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/labels{/name}","releases_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/releases{/id}","created_at":"2011-08-06T13:26:05Z","updated_at":"2015-01-20T21:57:24Z","pushed_at":"2015-01-20T22:49:53Z","git_url":"git://github.com/duckduckgo/zeroclickinfo-goodies.git","ssh_url":"git@github.com:duckduckgo/zeroclickinfo-goodies.git","clone_url":"https://github.com/duckduckgo/zeroclickinfo-goodies.git","svn_url":"https://github.com/duckduckgo/zeroclickinfo-goodies","homepage":"http://duckduckhack.com/","size":21747,"stargazers_count":240,"watchers_count":240,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":638,"mirror_url":null,"open_issues_count":85,"forks":638,"open_issues":85,"watchers":240,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/917"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/917"},"issue":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/917"},"comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/917/comments"},"review_comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/917/comments"},"review_comment":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/917/commits"},"statuses":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/statuses/96a86dba8165de8ce662e4eacf3beccda88e7a20"}}}}