{"action":"created","comment":{"url":"https://api.github.com/repos/18F/domain-scan/pulls/comments/79869142","id":79869142,"diff_hunk":"@@ -0,0 +1,144 @@\n+import csv\n+import json\n+\n+from collections import defaultdict\n+from statistics import mean\n+\n+\n+class A11yProcessor(object):\n+    ERRORS = {\n+        '1_1': 'Alt Tag Errors',\n+        '1_3': 'Form Errors',\n+        '1_4': 'Color Contrast Errors',\n+        '4_1': 'HTML Attribute Errors'\n+    }\n+\n+    BRANCHES = {","path":"scripts/a11y/process_a11y.py","position":16,"original_position":16,"commit_id":"e1691a5b3c741924e687591e4663df79e94b7fa4","original_commit_id":"e1691a5b3c741924e687591e4663df79e94b7fa4","user":{"login":"adelevie","id":86790,"avatar_url":"https://avatars.githubusercontent.com/u/86790?v=3","gravatar_id":"","url":"https://api.github.com/users/adelevie","html_url":"https://github.com/adelevie","followers_url":"https://api.github.com/users/adelevie/followers","following_url":"https://api.github.com/users/adelevie/following{/other_user}","gists_url":"https://api.github.com/users/adelevie/gists{/gist_id}","starred_url":"https://api.github.com/users/adelevie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelevie/subscriptions","organizations_url":"https://api.github.com/users/adelevie/orgs","repos_url":"https://api.github.com/users/adelevie/repos","events_url":"https://api.github.com/users/adelevie/events{/privacy}","received_events_url":"https://api.github.com/users/adelevie/received_events","type":"User","site_admin":false},"body":"Basically, if you can have a default value of `'executive'` if the `dict` lookup is `Null` ... that would be great. ","created_at":"2016-09-21T15:59:44Z","updated_at":"2016-09-21T15:59:44Z","html_url":"https://github.com/18F/domain-scan/pull/80#discussion_r79869142","pull_request_url":"https://api.github.com/repos/18F/domain-scan/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/18F/domain-scan/pulls/comments/79869142"},"html":{"href":"https://github.com/18F/domain-scan/pull/80#discussion_r79869142"},"pull_request":{"href":"https://api.github.com/repos/18F/domain-scan/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/18F/domain-scan/pulls/80","id":82377568,"html_url":"https://github.com/18F/domain-scan/pull/80","diff_url":"https://github.com/18F/domain-scan/pull/80.diff","patch_url":"https://github.com/18F/domain-scan/pull/80.patch","issue_url":"https://api.github.com/repos/18F/domain-scan/issues/80","number":80,"state":"open","locked":false,"title":"WIP: Pa11y lambda","user":{"login":"adelevie","id":86790,"avatar_url":"https://avatars.githubusercontent.com/u/86790?v=3","gravatar_id":"","url":"https://api.github.com/users/adelevie","html_url":"https://github.com/adelevie","followers_url":"https://api.github.com/users/adelevie/followers","following_url":"https://api.github.com/users/adelevie/following{/other_user}","gists_url":"https://api.github.com/users/adelevie/gists{/gist_id}","starred_url":"https://api.github.com/users/adelevie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelevie/subscriptions","organizations_url":"https://api.github.com/users/adelevie/orgs","repos_url":"https://api.github.com/users/adelevie/repos","events_url":"https://api.github.com/users/adelevie/events{/privacy}","received_events_url":"https://api.github.com/users/adelevie/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-23T14:39:44Z","updated_at":"2016-09-21T15:59:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/18F/domain-scan/pulls/80/commits","review_comments_url":"https://api.github.com/repos/18F/domain-scan/pulls/80/comments","review_comment_url":"https://api.github.com/repos/18F/domain-scan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/domain-scan/issues/80/comments","statuses_url":"https://api.github.com/repos/18F/domain-scan/statuses/e1691a5b3c741924e687591e4663df79e94b7fa4","head":{"label":"18F:pa11y-lambda","ref":"pa11y-lambda","sha":"e1691a5b3c741924e687591e4663df79e94b7fa4","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":27473797,"name":"domain-scan","full_name":"18F/domain-scan","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/domain-scan","description":"A standard pipeline for running open source scanning tools on domains to measure things like speed, accessibiity, and HTTPS.","fork":false,"url":"https://api.github.com/repos/18F/domain-scan","forks_url":"https://api.github.com/repos/18F/domain-scan/forks","keys_url":"https://api.github.com/repos/18F/domain-scan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/domain-scan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/domain-scan/teams","hooks_url":"https://api.github.com/repos/18F/domain-scan/hooks","issue_events_url":"https://api.github.com/repos/18F/domain-scan/issues/events{/number}","events_url":"https://api.github.com/repos/18F/domain-scan/events","assignees_url":"https://api.github.com/repos/18F/domain-scan/assignees{/user}","branches_url":"https://api.github.com/repos/18F/domain-scan/branches{/branch}","tags_url":"https://api.github.com/repos/18F/domain-scan/tags","blobs_url":"https://api.github.com/repos/18F/domain-scan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/domain-scan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/domain-scan/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/domain-scan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/domain-scan/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/domain-scan/languages","stargazers_url":"https://api.github.com/repos/18F/domain-scan/stargazers","contributors_url":"https://api.github.com/repos/18F/domain-scan/contributors","subscribers_url":"https://api.github.com/repos/18F/domain-scan/subscribers","subscription_url":"https://api.github.com/repos/18F/domain-scan/subscription","commits_url":"https://api.github.com/repos/18F/domain-scan/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/domain-scan/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/domain-scan/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/domain-scan/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/domain-scan/contents/{+path}","compare_url":"https://api.github.com/repos/18F/domain-scan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/domain-scan/merges","archive_url":"https://api.github.com/repos/18F/domain-scan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/domain-scan/downloads","issues_url":"https://api.github.com/repos/18F/domain-scan/issues{/number}","pulls_url":"https://api.github.com/repos/18F/domain-scan/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/domain-scan/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/domain-scan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/domain-scan/labels{/name}","releases_url":"https://api.github.com/repos/18F/domain-scan/releases{/id}","deployments_url":"https://api.github.com/repos/18F/domain-scan/deployments","created_at":"2014-12-03T06:52:17Z","updated_at":"2016-09-11T05:06:50Z","pushed_at":"2016-09-21T15:19:08Z","git_url":"git://github.com/18F/domain-scan.git","ssh_url":"git@github.com:18F/domain-scan.git","clone_url":"https://github.com/18F/domain-scan.git","svn_url":"https://github.com/18F/domain-scan","homepage":"","size":282,"stargazers_count":70,"watchers_count":70,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":19,"forks":31,"open_issues":19,"watchers":70,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"ae0cc78ef05bd6cc64902cd72f0b43465e28cbf3","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":27473797,"name":"domain-scan","full_name":"18F/domain-scan","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/domain-scan","description":"A standard pipeline for running open source scanning tools on domains to measure things like speed, accessibiity, and HTTPS.","fork":false,"url":"https://api.github.com/repos/18F/domain-scan","forks_url":"https://api.github.com/repos/18F/domain-scan/forks","keys_url":"https://api.github.com/repos/18F/domain-scan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/domain-scan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/domain-scan/teams","hooks_url":"https://api.github.com/repos/18F/domain-scan/hooks","issue_events_url":"https://api.github.com/repos/18F/domain-scan/issues/events{/number}","events_url":"https://api.github.com/repos/18F/domain-scan/events","assignees_url":"https://api.github.com/repos/18F/domain-scan/assignees{/user}","branches_url":"https://api.github.com/repos/18F/domain-scan/branches{/branch}","tags_url":"https://api.github.com/repos/18F/domain-scan/tags","blobs_url":"https://api.github.com/repos/18F/domain-scan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/domain-scan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/domain-scan/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/domain-scan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/domain-scan/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/domain-scan/languages","stargazers_url":"https://api.github.com/repos/18F/domain-scan/stargazers","contributors_url":"https://api.github.com/repos/18F/domain-scan/contributors","subscribers_url":"https://api.github.com/repos/18F/domain-scan/subscribers","subscription_url":"https://api.github.com/repos/18F/domain-scan/subscription","commits_url":"https://api.github.com/repos/18F/domain-scan/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/domain-scan/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/domain-scan/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/domain-scan/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/domain-scan/contents/{+path}","compare_url":"https://api.github.com/repos/18F/domain-scan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/domain-scan/merges","archive_url":"https://api.github.com/repos/18F/domain-scan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/domain-scan/downloads","issues_url":"https://api.github.com/repos/18F/domain-scan/issues{/number}","pulls_url":"https://api.github.com/repos/18F/domain-scan/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/domain-scan/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/domain-scan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/domain-scan/labels{/name}","releases_url":"https://api.github.com/repos/18F/domain-scan/releases{/id}","deployments_url":"https://api.github.com/repos/18F/domain-scan/deployments","created_at":"2014-12-03T06:52:17Z","updated_at":"2016-09-11T05:06:50Z","pushed_at":"2016-09-21T15:19:08Z","git_url":"git://github.com/18F/domain-scan.git","ssh_url":"git@github.com:18F/domain-scan.git","clone_url":"https://github.com/18F/domain-scan.git","svn_url":"https://github.com/18F/domain-scan","homepage":"","size":282,"stargazers_count":70,"watchers_count":70,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":19,"forks":31,"open_issues":19,"watchers":70,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/domain-scan/pulls/80"},"html":{"href":"https://github.com/18F/domain-scan/pull/80"},"issue":{"href":"https://api.github.com/repos/18F/domain-scan/issues/80"},"comments":{"href":"https://api.github.com/repos/18F/domain-scan/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/domain-scan/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/domain-scan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/domain-scan/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/18F/domain-scan/statuses/e1691a5b3c741924e687591e4663df79e94b7fa4"}}}}
{"actor":{"display_login":"adelevie"}}