{"action":"created","comment":{"url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/comments/218450076","pull_request_review_id":156389422,"id":218450076,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODQ1MDA3Ng==","diff_hunk":"@@ -440,23 +439,26 @@ def test_it_can_calculate_total_revenue_by_merchant\n \n     sales_analyst = sales_engine.analyst\n \n-    actual_1 = sales_analyst.all_merchant_invoices(12334194)\n-    assert_instance_of Array, actual_1\n-    assert_equal 13, actual_1.count\n+    assert_equal 2143253, sales_analyst.top_revenue_earners(20)","path":"test/sales_analyst_test.rb","position":15,"original_position":15,"commit_id":"250d1810946ba41178a35c61ff9c0de94894bf90","original_commit_id":"250d1810946ba41178a35c61ff9c0de94894bf90","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Style/NumericLiterals: Use underscores(_) as decimal mark and separate every 3 digits with them.","created_at":"2018-09-18T14:14:06Z","updated_at":"2018-09-18T14:14:08Z","html_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1/pull/43#discussion_r218450076","pull_request_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/43","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/comments/218450076"},"html":{"href":"https://github.com/SKG360/BLACK_THURSDAY_MOD1/pull/43#discussion_r218450076"},"pull_request":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/43","id":216323491,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2MzIzNDkx","html_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1/pull/43","diff_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1/pull/43.diff","patch_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1/pull/43.patch","issue_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/43","number":43,"state":"open","locked":false,"title":"tries another approach to top rev earners","user":{"login":"jplao","id":28496818,"node_id":"MDQ6VXNlcjI4NDk2ODE4","avatar_url":"https://avatars3.githubusercontent.com/u/28496818?v=4","gravatar_id":"","url":"https://api.github.com/users/jplao","html_url":"https://github.com/jplao","followers_url":"https://api.github.com/users/jplao/followers","following_url":"https://api.github.com/users/jplao/following{/other_user}","gists_url":"https://api.github.com/users/jplao/gists{/gist_id}","starred_url":"https://api.github.com/users/jplao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jplao/subscriptions","organizations_url":"https://api.github.com/users/jplao/orgs","repos_url":"https://api.github.com/users/jplao/repos","events_url":"https://api.github.com/users/jplao/events{/privacy}","received_events_url":"https://api.github.com/users/jplao/received_events","type":"User","site_admin":false},"body":"lots of old code commented out","created_at":"2018-09-18T14:13:42Z","updated_at":"2018-09-18T14:14:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9cf553baf756630fe4a2bc43414c21a2618759fb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/43/commits","review_comments_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/43/comments","review_comment_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/43/comments","statuses_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/statuses/250d1810946ba41178a35c61ff9c0de94894bf90","head":{"label":"SKG360:top_revenue","ref":"top_revenue","sha":"250d1810946ba41178a35c61ff9c0de94894bf90","user":{"login":"SKG360","id":29897785,"node_id":"MDQ6VXNlcjI5ODk3Nzg1","avatar_url":"https://avatars3.githubusercontent.com/u/29897785?v=4","gravatar_id":"","url":"https://api.github.com/users/SKG360","html_url":"https://github.com/SKG360","followers_url":"https://api.github.com/users/SKG360/followers","following_url":"https://api.github.com/users/SKG360/following{/other_user}","gists_url":"https://api.github.com/users/SKG360/gists{/gist_id}","starred_url":"https://api.github.com/users/SKG360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SKG360/subscriptions","organizations_url":"https://api.github.com/users/SKG360/orgs","repos_url":"https://api.github.com/users/SKG360/repos","events_url":"https://api.github.com/users/SKG360/events{/privacy}","received_events_url":"https://api.github.com/users/SKG360/received_events","type":"User","site_admin":false},"repo":{"id":147974208,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc5NzQyMDg=","name":"BLACK_THURSDAY_MOD1","full_name":"SKG360/BLACK_THURSDAY_MOD1","private":false,"owner":{"login":"SKG360","id":29897785,"node_id":"MDQ6VXNlcjI5ODk3Nzg1","avatar_url":"https://avatars3.githubusercontent.com/u/29897785?v=4","gravatar_id":"","url":"https://api.github.com/users/SKG360","html_url":"https://github.com/SKG360","followers_url":"https://api.github.com/users/SKG360/followers","following_url":"https://api.github.com/users/SKG360/following{/other_user}","gists_url":"https://api.github.com/users/SKG360/gists{/gist_id}","starred_url":"https://api.github.com/users/SKG360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SKG360/subscriptions","organizations_url":"https://api.github.com/users/SKG360/orgs","repos_url":"https://api.github.com/users/SKG360/repos","events_url":"https://api.github.com/users/SKG360/events{/privacy}","received_events_url":"https://api.github.com/users/SKG360/received_events","type":"User","site_admin":false},"html_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1","description":"JPlao & SKG360 BE MOD1","fork":false,"url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1","forks_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/forks","keys_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/teams","hooks_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/hooks","issue_events_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/events{/number}","events_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/events","assignees_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/assignees{/user}","branches_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/branches{/branch}","tags_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/tags","blobs_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/refs{/sha}","trees_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/statuses/{sha}","languages_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/languages","stargazers_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/stargazers","contributors_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/contributors","subscribers_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/subscribers","subscription_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/subscription","commits_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/commits{/sha}","git_commits_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/commits{/sha}","comments_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/comments{/number}","issue_comment_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/comments{/number}","contents_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/contents/{+path}","compare_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/merges","archive_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/downloads","issues_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues{/number}","pulls_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls{/number}","milestones_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/milestones{/number}","notifications_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/labels{/name}","releases_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/releases{/id}","deployments_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/deployments","created_at":"2018-09-08T22:24:15Z","updated_at":"2018-09-18T05:26:11Z","pushed_at":"2018-09-18T14:13:43Z","git_url":"git://github.com/SKG360/BLACK_THURSDAY_MOD1.git","ssh_url":"git@github.com:SKG360/BLACK_THURSDAY_MOD1.git","clone_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1.git","svn_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1","homepage":null,"size":825,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"SKG360:master","ref":"master","sha":"830925b669030eba25e4ebabe039cc9d9affdaa3","user":{"login":"SKG360","id":29897785,"node_id":"MDQ6VXNlcjI5ODk3Nzg1","avatar_url":"https://avatars3.githubusercontent.com/u/29897785?v=4","gravatar_id":"","url":"https://api.github.com/users/SKG360","html_url":"https://github.com/SKG360","followers_url":"https://api.github.com/users/SKG360/followers","following_url":"https://api.github.com/users/SKG360/following{/other_user}","gists_url":"https://api.github.com/users/SKG360/gists{/gist_id}","starred_url":"https://api.github.com/users/SKG360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SKG360/subscriptions","organizations_url":"https://api.github.com/users/SKG360/orgs","repos_url":"https://api.github.com/users/SKG360/repos","events_url":"https://api.github.com/users/SKG360/events{/privacy}","received_events_url":"https://api.github.com/users/SKG360/received_events","type":"User","site_admin":false},"repo":{"id":147974208,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc5NzQyMDg=","name":"BLACK_THURSDAY_MOD1","full_name":"SKG360/BLACK_THURSDAY_MOD1","private":false,"owner":{"login":"SKG360","id":29897785,"node_id":"MDQ6VXNlcjI5ODk3Nzg1","avatar_url":"https://avatars3.githubusercontent.com/u/29897785?v=4","gravatar_id":"","url":"https://api.github.com/users/SKG360","html_url":"https://github.com/SKG360","followers_url":"https://api.github.com/users/SKG360/followers","following_url":"https://api.github.com/users/SKG360/following{/other_user}","gists_url":"https://api.github.com/users/SKG360/gists{/gist_id}","starred_url":"https://api.github.com/users/SKG360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SKG360/subscriptions","organizations_url":"https://api.github.com/users/SKG360/orgs","repos_url":"https://api.github.com/users/SKG360/repos","events_url":"https://api.github.com/users/SKG360/events{/privacy}","received_events_url":"https://api.github.com/users/SKG360/received_events","type":"User","site_admin":false},"html_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1","description":"JPlao & SKG360 BE MOD1","fork":false,"url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1","forks_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/forks","keys_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/teams","hooks_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/hooks","issue_events_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/events{/number}","events_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/events","assignees_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/assignees{/user}","branches_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/branches{/branch}","tags_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/tags","blobs_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/refs{/sha}","trees_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/statuses/{sha}","languages_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/languages","stargazers_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/stargazers","contributors_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/contributors","subscribers_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/subscribers","subscription_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/subscription","commits_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/commits{/sha}","git_commits_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/commits{/sha}","comments_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/comments{/number}","issue_comment_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/comments{/number}","contents_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/contents/{+path}","compare_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/merges","archive_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/downloads","issues_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues{/number}","pulls_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls{/number}","milestones_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/milestones{/number}","notifications_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/labels{/name}","releases_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/releases{/id}","deployments_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/deployments","created_at":"2018-09-08T22:24:15Z","updated_at":"2018-09-18T05:26:11Z","pushed_at":"2018-09-18T14:13:43Z","git_url":"git://github.com/SKG360/BLACK_THURSDAY_MOD1.git","ssh_url":"git@github.com:SKG360/BLACK_THURSDAY_MOD1.git","clone_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1.git","svn_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1","homepage":null,"size":825,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/43"},"html":{"href":"https://github.com/SKG360/BLACK_THURSDAY_MOD1/pull/43"},"issue":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/43"},"comments":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/statuses/250d1810946ba41178a35c61ff9c0de94894bf90"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}