{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls/comments/63879613","id":63879613,"diff_hunk":"@@ -61,13 +61,13 @@ case class E10sExperiment(experimentId: String, prefix: String) extends DerivedS\n \n         // the e10s cohort determines which group a user belongs to in the e10s experiment\n         // (as of beta46 experiment 2; previously, we used the Telemetry Experiments framework)\n-        val JString(cohort) = settings \\ \"e10sCohort\"\n+        val JString(cohort) = (settings \\ \"e10sCohort\").toOption.getOrElse(JString(\"nothing\"))","path":"src/main/scala/streams/E10sExperiment.scala","position":5,"original_position":5,"commit_id":"170c9110b722ecbe8220451fd4028d675776558e","original_commit_id":"170c9110b722ecbe8220451fd4028d675776558e","user":{"login":"vitillo","id":2061747,"avatar_url":"https://avatars.githubusercontent.com/u/2061747?v=3","gravatar_id":"","url":"https://api.github.com/users/vitillo","html_url":"https://github.com/vitillo","followers_url":"https://api.github.com/users/vitillo/followers","following_url":"https://api.github.com/users/vitillo/following{/other_user}","gists_url":"https://api.github.com/users/vitillo/gists{/gist_id}","starred_url":"https://api.github.com/users/vitillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitillo/subscriptions","organizations_url":"https://api.github.com/users/vitillo/orgs","repos_url":"https://api.github.com/users/vitillo/repos","events_url":"https://api.github.com/users/vitillo/events{/privacy}","received_events_url":"https://api.github.com/users/vitillo/received_events","type":"User","site_admin":false},"body":"Please use pattern matching to extract the cohort.","created_at":"2016-05-19T13:40:39Z","updated_at":"2016-05-19T13:40:39Z","html_url":"https://github.com/mozilla/telemetry-batch-view/pull/68#discussion_r63879613","pull_request_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls/comments/63879613"},"html":{"href":"https://github.com/mozilla/telemetry-batch-view/pull/68#discussion_r63879613"},"pull_request":{"href":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls/68","id":70689761,"html_url":"https://github.com/mozilla/telemetry-batch-view/pull/68","diff_url":"https://github.com/mozilla/telemetry-batch-view/pull/68.diff","patch_url":"https://github.com/mozilla/telemetry-batch-view/pull/68.patch","issue_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/issues/68","number":68,"state":"open","locked":false,"title":"e10sCohort and e10sEnabled can occasionally be JNothing","user":{"login":"chutten","id":1123376,"avatar_url":"https://avatars.githubusercontent.com/u/1123376?v=3","gravatar_id":"","url":"https://api.github.com/users/chutten","html_url":"https://github.com/chutten","followers_url":"https://api.github.com/users/chutten/followers","following_url":"https://api.github.com/users/chutten/following{/other_user}","gists_url":"https://api.github.com/users/chutten/gists{/gist_id}","starred_url":"https://api.github.com/users/chutten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chutten/subscriptions","organizations_url":"https://api.github.com/users/chutten/orgs","repos_url":"https://api.github.com/users/chutten/repos","events_url":"https://api.github.com/users/chutten/events{/privacy}","received_events_url":"https://api.github.com/users/chutten/received_events","type":"User","site_admin":false},"body":"They shouldn't be, but they are.","created_at":"2016-05-19T13:02:06Z","updated_at":"2016-05-19T13:40:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0bf9bf0fbb3ce226755997855fb15607c894a31b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls/68/commits","review_comments_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls/68/comments","review_comment_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/issues/68/comments","statuses_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/statuses/170c9110b722ecbe8220451fd4028d675776558e","head":{"label":"chutten:e10s-jnothing","ref":"e10s-jnothing","sha":"170c9110b722ecbe8220451fd4028d675776558e","user":{"login":"chutten","id":1123376,"avatar_url":"https://avatars.githubusercontent.com/u/1123376?v=3","gravatar_id":"","url":"https://api.github.com/users/chutten","html_url":"https://github.com/chutten","followers_url":"https://api.github.com/users/chutten/followers","following_url":"https://api.github.com/users/chutten/following{/other_user}","gists_url":"https://api.github.com/users/chutten/gists{/gist_id}","starred_url":"https://api.github.com/users/chutten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chutten/subscriptions","organizations_url":"https://api.github.com/users/chutten/orgs","repos_url":"https://api.github.com/users/chutten/repos","events_url":"https://api.github.com/users/chutten/events{/privacy}","received_events_url":"https://api.github.com/users/chutten/received_events","type":"User","site_admin":false},"repo":{"id":58052464,"name":"telemetry-batch-view","full_name":"chutten/telemetry-batch-view","owner":{"login":"chutten","id":1123376,"avatar_url":"https://avatars.githubusercontent.com/u/1123376?v=3","gravatar_id":"","url":"https://api.github.com/users/chutten","html_url":"https://github.com/chutten","followers_url":"https://api.github.com/users/chutten/followers","following_url":"https://api.github.com/users/chutten/following{/other_user}","gists_url":"https://api.github.com/users/chutten/gists{/gist_id}","starred_url":"https://api.github.com/users/chutten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chutten/subscriptions","organizations_url":"https://api.github.com/users/chutten/orgs","repos_url":"https://api.github.com/users/chutten/repos","events_url":"https://api.github.com/users/chutten/events{/privacy}","received_events_url":"https://api.github.com/users/chutten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chutten/telemetry-batch-view","description":"A Scala framework to build derived datasets, aka batch views, of Telemetry data.","fork":true,"url":"https://api.github.com/repos/chutten/telemetry-batch-view","forks_url":"https://api.github.com/repos/chutten/telemetry-batch-view/forks","keys_url":"https://api.github.com/repos/chutten/telemetry-batch-view/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chutten/telemetry-batch-view/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chutten/telemetry-batch-view/teams","hooks_url":"https://api.github.com/repos/chutten/telemetry-batch-view/hooks","issue_events_url":"https://api.github.com/repos/chutten/telemetry-batch-view/issues/events{/number}","events_url":"https://api.github.com/repos/chutten/telemetry-batch-view/events","assignees_url":"https://api.github.com/repos/chutten/telemetry-batch-view/assignees{/user}","branches_url":"https://api.github.com/repos/chutten/telemetry-batch-view/branches{/branch}","tags_url":"https://api.github.com/repos/chutten/telemetry-batch-view/tags","blobs_url":"https://api.github.com/repos/chutten/telemetry-batch-view/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chutten/telemetry-batch-view/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chutten/telemetry-batch-view/git/refs{/sha}","trees_url":"https://api.github.com/repos/chutten/telemetry-batch-view/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chutten/telemetry-batch-view/statuses/{sha}","languages_url":"https://api.github.com/repos/chutten/telemetry-batch-view/languages","stargazers_url":"https://api.github.com/repos/chutten/telemetry-batch-view/stargazers","contributors_url":"https://api.github.com/repos/chutten/telemetry-batch-view/contributors","subscribers_url":"https://api.github.com/repos/chutten/telemetry-batch-view/subscribers","subscription_url":"https://api.github.com/repos/chutten/telemetry-batch-view/subscription","commits_url":"https://api.github.com/repos/chutten/telemetry-batch-view/commits{/sha}","git_commits_url":"https://api.github.com/repos/chutten/telemetry-batch-view/git/commits{/sha}","comments_url":"https://api.github.com/repos/chutten/telemetry-batch-view/comments{/number}","issue_comment_url":"https://api.github.com/repos/chutten/telemetry-batch-view/issues/comments{/number}","contents_url":"https://api.github.com/repos/chutten/telemetry-batch-view/contents/{+path}","compare_url":"https://api.github.com/repos/chutten/telemetry-batch-view/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chutten/telemetry-batch-view/merges","archive_url":"https://api.github.com/repos/chutten/telemetry-batch-view/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chutten/telemetry-batch-view/downloads","issues_url":"https://api.github.com/repos/chutten/telemetry-batch-view/issues{/number}","pulls_url":"https://api.github.com/repos/chutten/telemetry-batch-view/pulls{/number}","milestones_url":"https://api.github.com/repos/chutten/telemetry-batch-view/milestones{/number}","notifications_url":"https://api.github.com/repos/chutten/telemetry-batch-view/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chutten/telemetry-batch-view/labels{/name}","releases_url":"https://api.github.com/repos/chutten/telemetry-batch-view/releases{/id}","deployments_url":"https://api.github.com/repos/chutten/telemetry-batch-view/deployments","created_at":"2016-05-04T13:02:37Z","updated_at":"2016-05-04T13:02:38Z","pushed_at":"2016-05-12T17:03:11Z","git_url":"git://github.com/chutten/telemetry-batch-view.git","ssh_url":"git@github.com:chutten/telemetry-batch-view.git","clone_url":"https://github.com/chutten/telemetry-batch-view.git","svn_url":"https://github.com/chutten/telemetry-batch-view","homepage":"","size":419,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"mozilla:master","ref":"master","sha":"f02806df4008025235c6750cf3e6a33998ed0fd7","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":44998549,"name":"telemetry-batch-view","full_name":"mozilla/telemetry-batch-view","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/telemetry-batch-view","description":"A Scala framework to build derived datasets, aka batch views, of Telemetry data.","fork":false,"url":"https://api.github.com/repos/mozilla/telemetry-batch-view","forks_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/forks","keys_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/teams","hooks_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/hooks","issue_events_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/events","assignees_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/tags","blobs_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/languages","stargazers_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/stargazers","contributors_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/contributors","subscribers_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/subscribers","subscription_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/subscription","commits_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/merges","archive_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/downloads","issues_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/telemetry-batch-view/deployments","created_at":"2015-10-26T21:29:57Z","updated_at":"2016-04-07T19:06:23Z","pushed_at":"2016-05-19T13:02:06Z","git_url":"git://github.com/mozilla/telemetry-batch-view.git","ssh_url":"git@github.com:mozilla/telemetry-batch-view.git","clone_url":"https://github.com/mozilla/telemetry-batch-view.git","svn_url":"https://github.com/mozilla/telemetry-batch-view","homepage":"","size":487,"stargazers_count":2,"watchers_count":2,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":6,"forks":4,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls/68"},"html":{"href":"https://github.com/mozilla/telemetry-batch-view/pull/68"},"issue":{"href":"https://api.github.com/repos/mozilla/telemetry-batch-view/issues/68"},"comments":{"href":"https://api.github.com/repos/mozilla/telemetry-batch-view/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/telemetry-batch-view/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/telemetry-batch-view/statuses/170c9110b722ecbe8220451fd4028d675776558e"}}}}