{"action":"created","comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments/69048546","id":69048546,"diff_hunk":"@@ -46,10 +47,11 @@ handle query_lc => sub {\n     my $number = $style->for_display($num);\n     my $percent_answer = \"$sign$calculated_answer is $percentage% of $sign$number\";\n     \n-    return $percent_answer,\n+    return \"$sign$calculated_answer\",\n         structured_answer => {\n             data => {\n-                title => \"$percent_answer\"\n+                title => \"$sign$calculated_answer\",\n+                subtitle => \"$percent_answer\"","path":"lib/DDG/Goodie/Tips.pm","position":24,"original_position":24,"commit_id":"7a0886d469c2de922442b2eab87141a8f4ccbcfe","original_commit_id":"7a0886d469c2de922442b2eab87141a8f4ccbcfe","user":{"login":"gaulrobe","id":4641626,"avatar_url":"https://avatars.githubusercontent.com/u/4641626?v=3","gravatar_id":"","url":"https://api.github.com/users/gaulrobe","html_url":"https://github.com/gaulrobe","followers_url":"https://api.github.com/users/gaulrobe/followers","following_url":"https://api.github.com/users/gaulrobe/following{/other_user}","gists_url":"https://api.github.com/users/gaulrobe/gists{/gist_id}","starred_url":"https://api.github.com/users/gaulrobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaulrobe/subscriptions","organizations_url":"https://api.github.com/users/gaulrobe/orgs","repos_url":"https://api.github.com/users/gaulrobe/repos","events_url":"https://api.github.com/users/gaulrobe/events{/privacy}","received_events_url":"https://api.github.com/users/gaulrobe/received_events","type":"User","site_admin":false},"body":"Awesome to know! I'll do that :+1: ","created_at":"2016-06-29T23:47:39Z","updated_at":"2016-06-29T23:47:39Z","html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/3277#discussion_r69048546","pull_request_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3277","_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/comments/69048546"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/3277#discussion_r69048546"},"pull_request":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3277"}}},"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3277","id":74315336,"html_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/3277","diff_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/3277.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/3277.patch","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/3277","number":3277,"state":"open","locked":false,"title":"Tips IA: Create better title/subtitle","user":{"login":"gaulrobe","id":4641626,"avatar_url":"https://avatars.githubusercontent.com/u/4641626?v=3","gravatar_id":"","url":"https://api.github.com/users/gaulrobe","html_url":"https://github.com/gaulrobe","followers_url":"https://api.github.com/users/gaulrobe/followers","following_url":"https://api.github.com/users/gaulrobe/following{/other_user}","gists_url":"https://api.github.com/users/gaulrobe/gists{/gist_id}","starred_url":"https://api.github.com/users/gaulrobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaulrobe/subscriptions","organizations_url":"https://api.github.com/users/gaulrobe/orgs","repos_url":"https://api.github.com/users/gaulrobe/repos","events_url":"https://api.github.com/users/gaulrobe/events{/privacy}","received_events_url":"https://api.github.com/users/gaulrobe/received_events","type":"User","site_admin":false},"body":"###### What does your Pull Request do (check all that apply)?\r\n\r\nChoose the most relevant items and use the following title template to name\r\nyour Pull Request.\r\n\r\n- [x] Improvement\r\n    - [x] Enhancement: **`Tips: Create a better title/subtitle`**\r\n\r\n###### Description of changes\r\n\r\nThe previous title, which was pretty verbose, is now the subtitle as it does a better job explaining context of the tip calculation. The new title is now the succinct answer to the query. Per a discussion in #3208.\r\n\r\nI changed the percentage answering to this format as well even though it'll be eventually removed. This was to make the tests easier to write and the removal of said code to be (hopefully) easier when the time comes.\r\n\r\n###### People to notify (@mention interested parties)\r\n\r\n@mattlehning @moollaza\r\n\r\n---\r\n\r\nInstant Answer Page: https://duck.co/ia/view/tips\r\n\r\n[Maintainer](http://docs.duckduckhack.com/maintaining/guidelines.html): @mattlehning\r\n\r\n","created_at":"2016-06-17T22:46:03Z","updated_at":"2016-06-29T23:47:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e351f452021f9cba4cc1e377ad509bf849a81750","assignee":{"login":"moollaza","id":873785,"avatar_url":"https://avatars.githubusercontent.com/u/873785?v=3","gravatar_id":"","url":"https://api.github.com/users/moollaza","html_url":"https://github.com/moollaza","followers_url":"https://api.github.com/users/moollaza/followers","following_url":"https://api.github.com/users/moollaza/following{/other_user}","gists_url":"https://api.github.com/users/moollaza/gists{/gist_id}","starred_url":"https://api.github.com/users/moollaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moollaza/subscriptions","organizations_url":"https://api.github.com/users/moollaza/orgs","repos_url":"https://api.github.com/users/moollaza/repos","events_url":"https://api.github.com/users/moollaza/events{/privacy}","received_events_url":"https://api.github.com/users/moollaza/received_events","type":"User","site_admin":false},"assignees":[{"login":"moollaza","id":873785,"avatar_url":"https://avatars.githubusercontent.com/u/873785?v=3","gravatar_id":"","url":"https://api.github.com/users/moollaza","html_url":"https://github.com/moollaza","followers_url":"https://api.github.com/users/moollaza/followers","following_url":"https://api.github.com/users/moollaza/following{/other_user}","gists_url":"https://api.github.com/users/moollaza/gists{/gist_id}","starred_url":"https://api.github.com/users/moollaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moollaza/subscriptions","organizations_url":"https://api.github.com/users/moollaza/orgs","repos_url":"https://api.github.com/users/moollaza/repos","events_url":"https://api.github.com/users/moollaza/events{/privacy}","received_events_url":"https://api.github.com/users/moollaza/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3277/commits","review_comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3277/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/3277/comments","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/statuses/7a0886d469c2de922442b2eab87141a8f4ccbcfe","head":{"label":"gaulrobe:tip_output_fix","ref":"tip_output_fix","sha":"7a0886d469c2de922442b2eab87141a8f4ccbcfe","user":{"login":"gaulrobe","id":4641626,"avatar_url":"https://avatars.githubusercontent.com/u/4641626?v=3","gravatar_id":"","url":"https://api.github.com/users/gaulrobe","html_url":"https://github.com/gaulrobe","followers_url":"https://api.github.com/users/gaulrobe/followers","following_url":"https://api.github.com/users/gaulrobe/following{/other_user}","gists_url":"https://api.github.com/users/gaulrobe/gists{/gist_id}","starred_url":"https://api.github.com/users/gaulrobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaulrobe/subscriptions","organizations_url":"https://api.github.com/users/gaulrobe/orgs","repos_url":"https://api.github.com/users/gaulrobe/repos","events_url":"https://api.github.com/users/gaulrobe/events{/privacy}","received_events_url":"https://api.github.com/users/gaulrobe/received_events","type":"User","site_admin":false},"repo":{"id":55312676,"name":"zeroclickinfo-goodies","full_name":"gaulrobe/zeroclickinfo-goodies","owner":{"login":"gaulrobe","id":4641626,"avatar_url":"https://avatars.githubusercontent.com/u/4641626?v=3","gravatar_id":"","url":"https://api.github.com/users/gaulrobe","html_url":"https://github.com/gaulrobe","followers_url":"https://api.github.com/users/gaulrobe/followers","following_url":"https://api.github.com/users/gaulrobe/following{/other_user}","gists_url":"https://api.github.com/users/gaulrobe/gists{/gist_id}","starred_url":"https://api.github.com/users/gaulrobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaulrobe/subscriptions","organizations_url":"https://api.github.com/users/gaulrobe/orgs","repos_url":"https://api.github.com/users/gaulrobe/repos","events_url":"https://api.github.com/users/gaulrobe/events{/privacy}","received_events_url":"https://api.github.com/users/gaulrobe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gaulrobe/zeroclickinfo-goodies","description":"DuckDuckGo Instant Answers based on Perl & JavaScript","fork":true,"url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies","forks_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/forks","keys_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/teams","hooks_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/hooks","issue_events_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/issues/events{/number}","events_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/events","assignees_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/assignees{/user}","branches_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/branches{/branch}","tags_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/tags","blobs_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/git/refs{/sha}","trees_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/statuses/{sha}","languages_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/languages","stargazers_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/stargazers","contributors_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/contributors","subscribers_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/subscribers","subscription_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/subscription","commits_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/commits{/sha}","git_commits_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/git/commits{/sha}","comments_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/comments{/number}","issue_comment_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/issues/comments{/number}","contents_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/contents/{+path}","compare_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/merges","archive_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/downloads","issues_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/issues{/number}","pulls_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/pulls{/number}","milestones_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/milestones{/number}","notifications_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/labels{/name}","releases_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/releases{/id}","deployments_url":"https://api.github.com/repos/gaulrobe/zeroclickinfo-goodies/deployments","created_at":"2016-04-02T19:35:26Z","updated_at":"2016-04-02T19:35:31Z","pushed_at":"2016-06-18T01:14:58Z","git_url":"git://github.com/gaulrobe/zeroclickinfo-goodies.git","ssh_url":"git@github.com:gaulrobe/zeroclickinfo-goodies.git","clone_url":"https://github.com/gaulrobe/zeroclickinfo-goodies.git","svn_url":"https://github.com/gaulrobe/zeroclickinfo-goodies","homepage":"http://duckduckhack.com/","size":16999,"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":"9fa3936c29a5512dedc027d46041dbbace3e226f","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 Answers based on Perl & JavaScript","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}","deployments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/deployments","created_at":"2011-08-06T13:26:05Z","updated_at":"2016-06-29T13:24:07Z","pushed_at":"2016-06-29T23:30:07Z","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":31125,"stargazers_count":511,"watchers_count":511,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1714,"mirror_url":null,"open_issues_count":211,"forks":1714,"open_issues":211,"watchers":511,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3277"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-goodies/pull/3277"},"issue":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/3277"},"comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/issues/3277/comments"},"review_comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/pulls/3277/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/3277/commits"},"statuses":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-goodies/statuses/7a0886d469c2de922442b2eab87141a8f4ccbcfe"}}}}
{"actor":{"display_login":"gaulrobe"}}