{"action":"created","comment":{"url":"https://api.github.com/repos/guardian/frontend/pulls/comments/222976377","pull_request_review_id":161996179,"id":222976377,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjk3NjM3Nw==","diff_hunk":"@@ -5,6 +5,25 @@ import memoize from 'lodash/functions/memoize';\n \n const supportsPushState = hasPushStateSupport();\n \n+/* commercial testing instrument */\n+// Returns a map { <bidderName>: true } of bidders\n+// according to the pbtest URL parameter\n+\n+type TestNameMap = { [string]: boolean };\n+\n+const pbTestNameMap: () => TestNameMap = memoize(\n+    (): TestNameMap =>\n+        new URLSearchParams(window.location.search)\n+            .getAll('pbtest')\n+            .reduce((acc, value) => {\n+                acc[value] = true;\n+                return acc;\n+            }, {}),\n+    (): string =>\n+        // Same implicit parameter as the memoized function\n+        window.location.search\n+);\n+","path":"static/src/javascripts/lib/url.js","position":22,"original_position":22,"commit_id":"884553b99f97ac36ac6463d17d8f78fda5d6a35e","original_commit_id":"884553b99f97ac36ac6463d17d8f78fda5d6a35e","user":{"login":"kelvin-chappell","id":1722550,"node_id":"MDQ6VXNlcjE3MjI1NTA=","avatar_url":"https://avatars1.githubusercontent.com/u/1722550?v=4","gravatar_id":"","url":"https://api.github.com/users/kelvin-chappell","html_url":"https://github.com/kelvin-chappell","followers_url":"https://api.github.com/users/kelvin-chappell/followers","following_url":"https://api.github.com/users/kelvin-chappell/following{/other_user}","gists_url":"https://api.github.com/users/kelvin-chappell/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvin-chappell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvin-chappell/subscriptions","organizations_url":"https://api.github.com/users/kelvin-chappell/orgs","repos_url":"https://api.github.com/users/kelvin-chappell/repos","events_url":"https://api.github.com/users/kelvin-chappell/events{/privacy}","received_events_url":"https://api.github.com/users/kelvin-chappell/received_events","type":"User","site_admin":false},"body":"Why is this here when it looks completely Prebid-specific?","created_at":"2018-10-05T11:39:40Z","updated_at":"2018-10-05T11:39:40Z","html_url":"https://github.com/guardian/frontend/pull/20425#discussion_r222976377","pull_request_url":"https://api.github.com/repos/guardian/frontend/pulls/20425","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/guardian/frontend/pulls/comments/222976377"},"html":{"href":"https://github.com/guardian/frontend/pull/20425#discussion_r222976377"},"pull_request":{"href":"https://api.github.com/repos/guardian/frontend/pulls/20425"}}},"pull_request":{"url":"https://api.github.com/repos/guardian/frontend/pulls/20425","id":218602248,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4NjAyMjQ4","html_url":"https://github.com/guardian/frontend/pull/20425","diff_url":"https://github.com/guardian/frontend/pull/20425.diff","patch_url":"https://github.com/guardian/frontend/pull/20425.patch","issue_url":"https://api.github.com/repos/guardian/frontend/issues/20425","number":20425,"state":"open","locked":false,"title":"Update AppNexus direct to run in UK/ROW","user":{"login":"janua","id":445472,"node_id":"MDQ6VXNlcjQ0NTQ3Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/445472?v=4","gravatar_id":"","url":"https://api.github.com/users/janua","html_url":"https://github.com/janua","followers_url":"https://api.github.com/users/janua/followers","following_url":"https://api.github.com/users/janua/following{/other_user}","gists_url":"https://api.github.com/users/janua/gists{/gist_id}","starred_url":"https://api.github.com/users/janua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janua/subscriptions","organizations_url":"https://api.github.com/users/janua/orgs","repos_url":"https://api.github.com/users/janua/repos","events_url":"https://api.github.com/users/janua/events{/privacy}","received_events_url":"https://api.github.com/users/janua/received_events","type":"User","site_admin":false},"body":"## What does this change?\r\n\r\nThis changes the adapter `and` (AppNexus Direct) to run in the UK and ROW regions with specific placement IDs.\r\n\r\n@guardian/commercial-dev ","created_at":"2018-09-27T10:32:23Z","updated_at":"2018-10-05T11:39:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cd11d4ac602c7de3794bae605e86027742c455e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/guardian/frontend/pulls/20425/commits","review_comments_url":"https://api.github.com/repos/guardian/frontend/pulls/20425/comments","review_comment_url":"https://api.github.com/repos/guardian/frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/frontend/issues/20425/comments","statuses_url":"https://api.github.com/repos/guardian/frontend/statuses/884553b99f97ac36ac6463d17d8f78fda5d6a35e","head":{"label":"guardian:appnexus-direct-uk-row","ref":"appnexus-direct-uk-row","sha":"884553b99f97ac36ac6463d17d8f78fda5d6a35e","user":{"login":"guardian","id":164318,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDMxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/164318?v=4","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":4370755,"node_id":"MDEwOlJlcG9zaXRvcnk0MzcwNzU1","name":"frontend","full_name":"guardian/frontend","private":false,"owner":{"login":"guardian","id":164318,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDMxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/164318?v=4","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/guardian/frontend","description":"frontend","fork":false,"url":"https://api.github.com/repos/guardian/frontend","forks_url":"https://api.github.com/repos/guardian/frontend/forks","keys_url":"https://api.github.com/repos/guardian/frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/frontend/teams","hooks_url":"https://api.github.com/repos/guardian/frontend/hooks","issue_events_url":"https://api.github.com/repos/guardian/frontend/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/frontend/events","assignees_url":"https://api.github.com/repos/guardian/frontend/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/frontend/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/frontend/tags","blobs_url":"https://api.github.com/repos/guardian/frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/frontend/languages","stargazers_url":"https://api.github.com/repos/guardian/frontend/stargazers","contributors_url":"https://api.github.com/repos/guardian/frontend/contributors","subscribers_url":"https://api.github.com/repos/guardian/frontend/subscribers","subscription_url":"https://api.github.com/repos/guardian/frontend/subscription","commits_url":"https://api.github.com/repos/guardian/frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/frontend/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/frontend/merges","archive_url":"https://api.github.com/repos/guardian/frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/frontend/downloads","issues_url":"https://api.github.com/repos/guardian/frontend/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/frontend/labels{/name}","releases_url":"https://api.github.com/repos/guardian/frontend/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/frontend/deployments","created_at":"2012-05-18T15:39:15Z","updated_at":"2018-10-05T10:34:01Z","pushed_at":"2018-10-05T11:32:15Z","git_url":"git://github.com/guardian/frontend.git","ssh_url":"git@github.com:guardian/frontend.git","clone_url":"https://github.com/guardian/frontend.git","svn_url":"https://github.com/guardian/frontend","homepage":"https://www.theguardian.com","size":604254,"stargazers_count":5180,"watchers_count":5180,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":519,"mirror_url":null,"archived":false,"open_issues_count":53,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":519,"open_issues":53,"watchers":5180,"default_branch":"master"}},"base":{"label":"guardian:master","ref":"master","sha":"c50ae56ae0a7b043715902023cde0b924f73cc26","user":{"login":"guardian","id":164318,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDMxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/164318?v=4","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":4370755,"node_id":"MDEwOlJlcG9zaXRvcnk0MzcwNzU1","name":"frontend","full_name":"guardian/frontend","private":false,"owner":{"login":"guardian","id":164318,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDMxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/164318?v=4","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/guardian/frontend","description":"frontend","fork":false,"url":"https://api.github.com/repos/guardian/frontend","forks_url":"https://api.github.com/repos/guardian/frontend/forks","keys_url":"https://api.github.com/repos/guardian/frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/frontend/teams","hooks_url":"https://api.github.com/repos/guardian/frontend/hooks","issue_events_url":"https://api.github.com/repos/guardian/frontend/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/frontend/events","assignees_url":"https://api.github.com/repos/guardian/frontend/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/frontend/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/frontend/tags","blobs_url":"https://api.github.com/repos/guardian/frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/frontend/languages","stargazers_url":"https://api.github.com/repos/guardian/frontend/stargazers","contributors_url":"https://api.github.com/repos/guardian/frontend/contributors","subscribers_url":"https://api.github.com/repos/guardian/frontend/subscribers","subscription_url":"https://api.github.com/repos/guardian/frontend/subscription","commits_url":"https://api.github.com/repos/guardian/frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/frontend/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/frontend/merges","archive_url":"https://api.github.com/repos/guardian/frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/frontend/downloads","issues_url":"https://api.github.com/repos/guardian/frontend/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/frontend/labels{/name}","releases_url":"https://api.github.com/repos/guardian/frontend/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/frontend/deployments","created_at":"2012-05-18T15:39:15Z","updated_at":"2018-10-05T10:34:01Z","pushed_at":"2018-10-05T11:32:15Z","git_url":"git://github.com/guardian/frontend.git","ssh_url":"git@github.com:guardian/frontend.git","clone_url":"https://github.com/guardian/frontend.git","svn_url":"https://github.com/guardian/frontend","homepage":"https://www.theguardian.com","size":604254,"stargazers_count":5180,"watchers_count":5180,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":519,"mirror_url":null,"archived":false,"open_issues_count":53,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":519,"open_issues":53,"watchers":5180,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guardian/frontend/pulls/20425"},"html":{"href":"https://github.com/guardian/frontend/pull/20425"},"issue":{"href":"https://api.github.com/repos/guardian/frontend/issues/20425"},"comments":{"href":"https://api.github.com/repos/guardian/frontend/issues/20425/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/frontend/pulls/20425/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/frontend/pulls/20425/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/frontend/statuses/884553b99f97ac36ac6463d17d8f78fda5d6a35e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"kelvin-chappell"}}