{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls/comments/45978109","id":45978109,"diff_hunk":"@@ -185,12 +185,13 @@ def _extract_scalar_value(state, name, label, value, bucket_labels, is_child=Fal\n     aggregated_histogram[unicode(insert_bucket)] = aggregated_histogram.get(unicode(insert_bucket), 0L) + 1L\n \n \n-def _extract_children_histograms(state, child_payloads):\n+def _extract_child_payloads(state, child_payloads):\n     if not isinstance(child_payloads, (list, tuple)):\n         return\n \n     for child in child_payloads:\n         _extract_histograms(state, child, True)\n+        _extract_simple_measures(state, child.get(\"simpleMeasurements\", {}), True)","path":"mozaggregator/aggregator.py","position":32,"original_position":32,"commit_id":"caa6d85a267e9a01cb708d086b9c64bde28ce597","original_commit_id":"caa6d85a267e9a01cb708d086b9c64bde28ce597","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":"It shouldn't.","created_at":"2015-11-26T13:29:12Z","updated_at":"2015-11-26T13:29:12Z","html_url":"https://github.com/mozilla/python_mozaggregator/pull/9#discussion_r45978109","pull_request_url":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls/comments/45978109"},"html":{"href":"https://github.com/mozilla/python_mozaggregator/pull/9#discussion_r45978109"},"pull_request":{"href":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls/9","id":51910997,"html_url":"https://github.com/mozilla/python_mozaggregator/pull/9","diff_url":"https://github.com/mozilla/python_mozaggregator/pull/9.diff","patch_url":"https://github.com/mozilla/python_mozaggregator/pull/9.patch","issue_url":"https://api.github.com/repos/mozilla/python_mozaggregator/issues/9","number":9,"state":"open","locked":false,"title":"Bug 1228126 - aggregate simpleMeasurements in child payloads","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":"","created_at":"2015-11-26T13:13:45Z","updated_at":"2015-11-26T13:29:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"012c742c9fcf93155e8e108948e637c2f1cff65c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls/9/commits","review_comments_url":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls/9/comments","review_comment_url":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/python_mozaggregator/issues/9/comments","statuses_url":"https://api.github.com/repos/mozilla/python_mozaggregator/statuses/caa6d85a267e9a01cb708d086b9c64bde28ce597","head":{"label":"mozilla:simple_measures","ref":"simple_measures","sha":"caa6d85a267e9a01cb708d086b9c64bde28ce597","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":36069380,"name":"python_mozaggregator","full_name":"mozilla/python_mozaggregator","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/python_mozaggregator","description":"Aggregator job for Telemetry.","fork":false,"url":"https://api.github.com/repos/mozilla/python_mozaggregator","forks_url":"https://api.github.com/repos/mozilla/python_mozaggregator/forks","keys_url":"https://api.github.com/repos/mozilla/python_mozaggregator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/python_mozaggregator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/python_mozaggregator/teams","hooks_url":"https://api.github.com/repos/mozilla/python_mozaggregator/hooks","issue_events_url":"https://api.github.com/repos/mozilla/python_mozaggregator/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/python_mozaggregator/events","assignees_url":"https://api.github.com/repos/mozilla/python_mozaggregator/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/python_mozaggregator/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/python_mozaggregator/tags","blobs_url":"https://api.github.com/repos/mozilla/python_mozaggregator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/python_mozaggregator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/python_mozaggregator/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/python_mozaggregator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/python_mozaggregator/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/python_mozaggregator/languages","stargazers_url":"https://api.github.com/repos/mozilla/python_mozaggregator/stargazers","contributors_url":"https://api.github.com/repos/mozilla/python_mozaggregator/contributors","subscribers_url":"https://api.github.com/repos/mozilla/python_mozaggregator/subscribers","subscription_url":"https://api.github.com/repos/mozilla/python_mozaggregator/subscription","commits_url":"https://api.github.com/repos/mozilla/python_mozaggregator/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/python_mozaggregator/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/python_mozaggregator/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/python_mozaggregator/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/python_mozaggregator/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/python_mozaggregator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/python_mozaggregator/merges","archive_url":"https://api.github.com/repos/mozilla/python_mozaggregator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/python_mozaggregator/downloads","issues_url":"https://api.github.com/repos/mozilla/python_mozaggregator/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/python_mozaggregator/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/python_mozaggregator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/python_mozaggregator/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/python_mozaggregator/releases{/id}","created_at":"2015-05-22T11:44:19Z","updated_at":"2015-08-21T14:51:10Z","pushed_at":"2015-11-26T13:24:12Z","git_url":"git://github.com/mozilla/python_mozaggregator.git","ssh_url":"git@github.com:mozilla/python_mozaggregator.git","clone_url":"https://github.com/mozilla/python_mozaggregator.git","svn_url":"https://github.com/mozilla/python_mozaggregator","homepage":null,"size":149,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"71b9cbb719fcfed89b6d442cadad111f22ab3fe1","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":36069380,"name":"python_mozaggregator","full_name":"mozilla/python_mozaggregator","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/python_mozaggregator","description":"Aggregator job for Telemetry.","fork":false,"url":"https://api.github.com/repos/mozilla/python_mozaggregator","forks_url":"https://api.github.com/repos/mozilla/python_mozaggregator/forks","keys_url":"https://api.github.com/repos/mozilla/python_mozaggregator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/python_mozaggregator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/python_mozaggregator/teams","hooks_url":"https://api.github.com/repos/mozilla/python_mozaggregator/hooks","issue_events_url":"https://api.github.com/repos/mozilla/python_mozaggregator/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/python_mozaggregator/events","assignees_url":"https://api.github.com/repos/mozilla/python_mozaggregator/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/python_mozaggregator/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/python_mozaggregator/tags","blobs_url":"https://api.github.com/repos/mozilla/python_mozaggregator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/python_mozaggregator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/python_mozaggregator/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/python_mozaggregator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/python_mozaggregator/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/python_mozaggregator/languages","stargazers_url":"https://api.github.com/repos/mozilla/python_mozaggregator/stargazers","contributors_url":"https://api.github.com/repos/mozilla/python_mozaggregator/contributors","subscribers_url":"https://api.github.com/repos/mozilla/python_mozaggregator/subscribers","subscription_url":"https://api.github.com/repos/mozilla/python_mozaggregator/subscription","commits_url":"https://api.github.com/repos/mozilla/python_mozaggregator/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/python_mozaggregator/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/python_mozaggregator/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/python_mozaggregator/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/python_mozaggregator/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/python_mozaggregator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/python_mozaggregator/merges","archive_url":"https://api.github.com/repos/mozilla/python_mozaggregator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/python_mozaggregator/downloads","issues_url":"https://api.github.com/repos/mozilla/python_mozaggregator/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/python_mozaggregator/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/python_mozaggregator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/python_mozaggregator/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/python_mozaggregator/releases{/id}","created_at":"2015-05-22T11:44:19Z","updated_at":"2015-08-21T14:51:10Z","pushed_at":"2015-11-26T13:24:12Z","git_url":"git://github.com/mozilla/python_mozaggregator.git","ssh_url":"git@github.com:mozilla/python_mozaggregator.git","clone_url":"https://github.com/mozilla/python_mozaggregator.git","svn_url":"https://github.com/mozilla/python_mozaggregator","homepage":null,"size":149,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls/9"},"html":{"href":"https://github.com/mozilla/python_mozaggregator/pull/9"},"issue":{"href":"https://api.github.com/repos/mozilla/python_mozaggregator/issues/9"},"comments":{"href":"https://api.github.com/repos/mozilla/python_mozaggregator/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/python_mozaggregator/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/python_mozaggregator/statuses/caa6d85a267e9a01cb708d086b9c64bde28ce597"}}}}