{"action":"created","comment":{"url":"https://api.github.com/repos/scrapinghub/arche/pulls/comments/274032078","pull_request_review_id":225061071,"id":274032078,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3NDAzMjA3OA==","diff_hunk":"@@ -30,12 +30,13 @@ def get_difference(\n             .fillna(0)\n             .sort_values(by=[source_key, target_key], kind=\"mergesort\")\n         )\n-        cats.name = f\"Coverage difference in {c}\"\n+        cats.name = f\"Coverage for {c}\"\n         result.stats.append(cats)\n         cat_difs = ((cats[source_key] - cats[target_key])).abs()\n-        cat_difs.name = (\n-            f\"Coverage difference between {source_key}'s and {target_key}'s {c}\"\n-        )\n+        cat_difs = cat_difs[cat_difs > 10]","path":"src/arche/rules/category.py","position":11,"original_position":11,"commit_id":"70fd8a42488f51ae4de96ca492f133146196c714","original_commit_id":"70fd8a42488f51ae4de96ca492f133146196c714","user":{"login":"manycoding","id":10396557,"node_id":"MDQ6VXNlcjEwMzk2NTU3","avatar_url":"https://avatars0.githubusercontent.com/u/10396557?v=4","gravatar_id":"","url":"https://api.github.com/users/manycoding","html_url":"https://github.com/manycoding","followers_url":"https://api.github.com/users/manycoding/followers","following_url":"https://api.github.com/users/manycoding/following{/other_user}","gists_url":"https://api.github.com/users/manycoding/gists{/gist_id}","starred_url":"https://api.github.com/users/manycoding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manycoding/subscriptions","organizations_url":"https://api.github.com/users/manycoding/orgs","repos_url":"https://api.github.com/users/manycoding/repos","events_url":"https://api.github.com/users/manycoding/events{/privacy}","received_events_url":"https://api.github.com/users/manycoding/received_events","type":"User","site_admin":false},"body":"Once anyone asks for that, it could be done.","created_at":"2019-04-10T15:48:39Z","updated_at":"2019-04-10T15:48:40Z","html_url":"https://github.com/scrapinghub/arche/pull/52#discussion_r274032078","pull_request_url":"https://api.github.com/repos/scrapinghub/arche/pulls/52","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/scrapinghub/arche/pulls/comments/274032078"},"html":{"href":"https://github.com/scrapinghub/arche/pull/52#discussion_r274032078"},"pull_request":{"href":"https://api.github.com/repos/scrapinghub/arche/pulls/52"}},"in_reply_to_id":273825018},"pull_request":{"url":"https://api.github.com/repos/scrapinghub/arche/pulls/52","id":268876448,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY4ODc2NDQ4","html_url":"https://github.com/scrapinghub/arche/pull/52","diff_url":"https://github.com/scrapinghub/arche/pull/52.diff","patch_url":"https://github.com/scrapinghub/arche/pull/52.patch","issue_url":"https://api.github.com/repos/scrapinghub/arche/issues/52","number":52,"state":"open","locked":false,"title":"Category coverage diff","user":{"login":"manycoding","id":10396557,"node_id":"MDQ6VXNlcjEwMzk2NTU3","avatar_url":"https://avatars0.githubusercontent.com/u/10396557?v=4","gravatar_id":"","url":"https://api.github.com/users/manycoding","html_url":"https://github.com/manycoding","followers_url":"https://api.github.com/users/manycoding/followers","following_url":"https://api.github.com/users/manycoding/following{/other_user}","gists_url":"https://api.github.com/users/manycoding/gists{/gist_id}","starred_url":"https://api.github.com/users/manycoding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manycoding/subscriptions","organizations_url":"https://api.github.com/users/manycoding/orgs","repos_url":"https://api.github.com/users/manycoding/repos","events_url":"https://api.github.com/users/manycoding/events{/privacy}","received_events_url":"https://api.github.com/users/manycoding/received_events","type":"User","site_admin":false},"body":"Same as #51 , but for categories.\r\n`arche.rules.category.get_difference(g.source_items.key, g.target_items.key, g.source_items.df, g.target_items.df, [\"META_TEMPLATE_NAME\", \"BIRTH_COUNTRY\"]).show()`\r\n![Screenshot 2019-04-09 at 14 48 18](https://user-images.githubusercontent.com/10396557/55826712-9a50d280-5ad6-11e9-82e1-f3dbbeb9d555.png)\r\n","created_at":"2019-04-09T18:49:18Z","updated_at":"2019-04-10T15:48:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d48574600c98ff4eb311ca8697de895fa366a6ec","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ejulio","id":1322222,"node_id":"MDQ6VXNlcjEzMjIyMjI=","avatar_url":"https://avatars1.githubusercontent.com/u/1322222?v=4","gravatar_id":"","url":"https://api.github.com/users/ejulio","html_url":"https://github.com/ejulio","followers_url":"https://api.github.com/users/ejulio/followers","following_url":"https://api.github.com/users/ejulio/following{/other_user}","gists_url":"https://api.github.com/users/ejulio/gists{/gist_id}","starred_url":"https://api.github.com/users/ejulio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejulio/subscriptions","organizations_url":"https://api.github.com/users/ejulio/orgs","repos_url":"https://api.github.com/users/ejulio/repos","events_url":"https://api.github.com/users/ejulio/events{/privacy}","received_events_url":"https://api.github.com/users/ejulio/received_events","type":"User","site_admin":false},{"login":"victor-torres","id":3674112,"node_id":"MDQ6VXNlcjM2NzQxMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/3674112?v=4","gravatar_id":"","url":"https://api.github.com/users/victor-torres","html_url":"https://github.com/victor-torres","followers_url":"https://api.github.com/users/victor-torres/followers","following_url":"https://api.github.com/users/victor-torres/following{/other_user}","gists_url":"https://api.github.com/users/victor-torres/gists{/gist_id}","starred_url":"https://api.github.com/users/victor-torres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victor-torres/subscriptions","organizations_url":"https://api.github.com/users/victor-torres/orgs","repos_url":"https://api.github.com/users/victor-torres/repos","events_url":"https://api.github.com/users/victor-torres/events{/privacy}","received_events_url":"https://api.github.com/users/victor-torres/received_events","type":"User","site_admin":false},{"login":"Alexandr1988","id":7149895,"node_id":"MDQ6VXNlcjcxNDk4OTU=","avatar_url":"https://avatars2.githubusercontent.com/u/7149895?v=4","gravatar_id":"","url":"https://api.github.com/users/Alexandr1988","html_url":"https://github.com/Alexandr1988","followers_url":"https://api.github.com/users/Alexandr1988/followers","following_url":"https://api.github.com/users/Alexandr1988/following{/other_user}","gists_url":"https://api.github.com/users/Alexandr1988/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexandr1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexandr1988/subscriptions","organizations_url":"https://api.github.com/users/Alexandr1988/orgs","repos_url":"https://api.github.com/users/Alexandr1988/repos","events_url":"https://api.github.com/users/Alexandr1988/events{/privacy}","received_events_url":"https://api.github.com/users/Alexandr1988/received_events","type":"User","site_admin":false},{"login":"andyjmc","id":42138224,"node_id":"MDQ6VXNlcjQyMTM4MjI0","avatar_url":"https://avatars2.githubusercontent.com/u/42138224?v=4","gravatar_id":"","url":"https://api.github.com/users/andyjmc","html_url":"https://github.com/andyjmc","followers_url":"https://api.github.com/users/andyjmc/followers","following_url":"https://api.github.com/users/andyjmc/following{/other_user}","gists_url":"https://api.github.com/users/andyjmc/gists{/gist_id}","starred_url":"https://api.github.com/users/andyjmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyjmc/subscriptions","organizations_url":"https://api.github.com/users/andyjmc/orgs","repos_url":"https://api.github.com/users/andyjmc/repos","events_url":"https://api.github.com/users/andyjmc/events{/privacy}","received_events_url":"https://api.github.com/users/andyjmc/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/scrapinghub/arche/pulls/52/commits","review_comments_url":"https://api.github.com/repos/scrapinghub/arche/pulls/52/comments","review_comment_url":"https://api.github.com/repos/scrapinghub/arche/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scrapinghub/arche/issues/52/comments","statuses_url":"https://api.github.com/repos/scrapinghub/arche/statuses/70fd8a42488f51ae4de96ca492f133146196c714","head":{"label":"scrapinghub:category_coverage_diff","ref":"category_coverage_diff","sha":"70fd8a42488f51ae4de96ca492f133146196c714","user":{"login":"scrapinghub","id":699596,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5OTU5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/699596?v=4","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"repo":{"id":175686790,"node_id":"MDEwOlJlcG9zaXRvcnkxNzU2ODY3OTA=","name":"arche","full_name":"scrapinghub/arche","private":false,"owner":{"login":"scrapinghub","id":699596,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5OTU5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/699596?v=4","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/scrapinghub/arche","description":" Analyze Scrapy Cloud data","fork":false,"url":"https://api.github.com/repos/scrapinghub/arche","forks_url":"https://api.github.com/repos/scrapinghub/arche/forks","keys_url":"https://api.github.com/repos/scrapinghub/arche/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scrapinghub/arche/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scrapinghub/arche/teams","hooks_url":"https://api.github.com/repos/scrapinghub/arche/hooks","issue_events_url":"https://api.github.com/repos/scrapinghub/arche/issues/events{/number}","events_url":"https://api.github.com/repos/scrapinghub/arche/events","assignees_url":"https://api.github.com/repos/scrapinghub/arche/assignees{/user}","branches_url":"https://api.github.com/repos/scrapinghub/arche/branches{/branch}","tags_url":"https://api.github.com/repos/scrapinghub/arche/tags","blobs_url":"https://api.github.com/repos/scrapinghub/arche/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scrapinghub/arche/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scrapinghub/arche/git/refs{/sha}","trees_url":"https://api.github.com/repos/scrapinghub/arche/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scrapinghub/arche/statuses/{sha}","languages_url":"https://api.github.com/repos/scrapinghub/arche/languages","stargazers_url":"https://api.github.com/repos/scrapinghub/arche/stargazers","contributors_url":"https://api.github.com/repos/scrapinghub/arche/contributors","subscribers_url":"https://api.github.com/repos/scrapinghub/arche/subscribers","subscription_url":"https://api.github.com/repos/scrapinghub/arche/subscription","commits_url":"https://api.github.com/repos/scrapinghub/arche/commits{/sha}","git_commits_url":"https://api.github.com/repos/scrapinghub/arche/git/commits{/sha}","comments_url":"https://api.github.com/repos/scrapinghub/arche/comments{/number}","issue_comment_url":"https://api.github.com/repos/scrapinghub/arche/issues/comments{/number}","contents_url":"https://api.github.com/repos/scrapinghub/arche/contents/{+path}","compare_url":"https://api.github.com/repos/scrapinghub/arche/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scrapinghub/arche/merges","archive_url":"https://api.github.com/repos/scrapinghub/arche/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scrapinghub/arche/downloads","issues_url":"https://api.github.com/repos/scrapinghub/arche/issues{/number}","pulls_url":"https://api.github.com/repos/scrapinghub/arche/pulls{/number}","milestones_url":"https://api.github.com/repos/scrapinghub/arche/milestones{/number}","notifications_url":"https://api.github.com/repos/scrapinghub/arche/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scrapinghub/arche/labels{/name}","releases_url":"https://api.github.com/repos/scrapinghub/arche/releases{/id}","deployments_url":"https://api.github.com/repos/scrapinghub/arche/deployments","created_at":"2019-03-14T19:31:24Z","updated_at":"2019-04-10T15:36:24Z","pushed_at":"2019-04-10T15:47:18Z","git_url":"git://github.com/scrapinghub/arche.git","ssh_url":"git@github.com:scrapinghub/arche.git","clone_url":"https://github.com/scrapinghub/arche.git","svn_url":"https://github.com/scrapinghub/arche","homepage":"","size":25598,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":24,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":24,"watchers":3,"default_branch":"master"}},"base":{"label":"scrapinghub:result_stats","ref":"result_stats","sha":"7d126d13d922d3d3bf03efb49f7454c588add17b","user":{"login":"scrapinghub","id":699596,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5OTU5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/699596?v=4","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"repo":{"id":175686790,"node_id":"MDEwOlJlcG9zaXRvcnkxNzU2ODY3OTA=","name":"arche","full_name":"scrapinghub/arche","private":false,"owner":{"login":"scrapinghub","id":699596,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5OTU5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/699596?v=4","gravatar_id":"","url":"https://api.github.com/users/scrapinghub","html_url":"https://github.com/scrapinghub","followers_url":"https://api.github.com/users/scrapinghub/followers","following_url":"https://api.github.com/users/scrapinghub/following{/other_user}","gists_url":"https://api.github.com/users/scrapinghub/gists{/gist_id}","starred_url":"https://api.github.com/users/scrapinghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrapinghub/subscriptions","organizations_url":"https://api.github.com/users/scrapinghub/orgs","repos_url":"https://api.github.com/users/scrapinghub/repos","events_url":"https://api.github.com/users/scrapinghub/events{/privacy}","received_events_url":"https://api.github.com/users/scrapinghub/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/scrapinghub/arche","description":" Analyze Scrapy Cloud data","fork":false,"url":"https://api.github.com/repos/scrapinghub/arche","forks_url":"https://api.github.com/repos/scrapinghub/arche/forks","keys_url":"https://api.github.com/repos/scrapinghub/arche/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scrapinghub/arche/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scrapinghub/arche/teams","hooks_url":"https://api.github.com/repos/scrapinghub/arche/hooks","issue_events_url":"https://api.github.com/repos/scrapinghub/arche/issues/events{/number}","events_url":"https://api.github.com/repos/scrapinghub/arche/events","assignees_url":"https://api.github.com/repos/scrapinghub/arche/assignees{/user}","branches_url":"https://api.github.com/repos/scrapinghub/arche/branches{/branch}","tags_url":"https://api.github.com/repos/scrapinghub/arche/tags","blobs_url":"https://api.github.com/repos/scrapinghub/arche/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scrapinghub/arche/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scrapinghub/arche/git/refs{/sha}","trees_url":"https://api.github.com/repos/scrapinghub/arche/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scrapinghub/arche/statuses/{sha}","languages_url":"https://api.github.com/repos/scrapinghub/arche/languages","stargazers_url":"https://api.github.com/repos/scrapinghub/arche/stargazers","contributors_url":"https://api.github.com/repos/scrapinghub/arche/contributors","subscribers_url":"https://api.github.com/repos/scrapinghub/arche/subscribers","subscription_url":"https://api.github.com/repos/scrapinghub/arche/subscription","commits_url":"https://api.github.com/repos/scrapinghub/arche/commits{/sha}","git_commits_url":"https://api.github.com/repos/scrapinghub/arche/git/commits{/sha}","comments_url":"https://api.github.com/repos/scrapinghub/arche/comments{/number}","issue_comment_url":"https://api.github.com/repos/scrapinghub/arche/issues/comments{/number}","contents_url":"https://api.github.com/repos/scrapinghub/arche/contents/{+path}","compare_url":"https://api.github.com/repos/scrapinghub/arche/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scrapinghub/arche/merges","archive_url":"https://api.github.com/repos/scrapinghub/arche/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scrapinghub/arche/downloads","issues_url":"https://api.github.com/repos/scrapinghub/arche/issues{/number}","pulls_url":"https://api.github.com/repos/scrapinghub/arche/pulls{/number}","milestones_url":"https://api.github.com/repos/scrapinghub/arche/milestones{/number}","notifications_url":"https://api.github.com/repos/scrapinghub/arche/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scrapinghub/arche/labels{/name}","releases_url":"https://api.github.com/repos/scrapinghub/arche/releases{/id}","deployments_url":"https://api.github.com/repos/scrapinghub/arche/deployments","created_at":"2019-03-14T19:31:24Z","updated_at":"2019-04-10T15:36:24Z","pushed_at":"2019-04-10T15:47:18Z","git_url":"git://github.com/scrapinghub/arche.git","ssh_url":"git@github.com:scrapinghub/arche.git","clone_url":"https://github.com/scrapinghub/arche.git","svn_url":"https://github.com/scrapinghub/arche","homepage":"","size":25598,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":24,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":24,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scrapinghub/arche/pulls/52"},"html":{"href":"https://github.com/scrapinghub/arche/pull/52"},"issue":{"href":"https://api.github.com/repos/scrapinghub/arche/issues/52"},"comments":{"href":"https://api.github.com/repos/scrapinghub/arche/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/scrapinghub/arche/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/scrapinghub/arche/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scrapinghub/arche/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/scrapinghub/arche/statuses/70fd8a42488f51ae4de96ca492f133146196c714"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"manycoding"}}