{"action":"created","comment":{"url":"https://api.github.com/repos/numenta/numenta-apps/pulls/comments/42264635","id":42264635,"diff_hunk":"@@ -0,0 +1,134 @@\n+// Numenta Platform for Intelligent Computing (NuPIC)\n+// Copyright (C) 2015, Numenta, Inc.  Unless you have purchased from\n+// Numenta, Inc. a separate commercial license for this software code, the\n+// following terms and conditions apply:\n+//\n+// This program is free software: you can redistribute it and/or modify\n+// it under the terms of the GNU Affero Public License version 3 as\n+// published by the Free Software Foundation.\n+//\n+// This program is distributed in the hope that it will be useful,\n+// but WITHOUT ANY WARRANTY; without even the implied warranty of\n+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n+// See the GNU Affero Public License for more details.\n+//\n+// You should have received a copy of the GNU Affero Public License\n+// along with this program.  If not, see http://www.gnu.org/licenses.\n+//\n+// http://numenta.org/licenses/\n+var util = require('util');","path":"unicorn/frontend/lib/TimeAggregator.js","position":19,"original_position":19,"commit_id":"bbd28d143d35efdd0f9700ce6505ff9ff99111b1","original_commit_id":"bbd28d143d35efdd0f9700ce6505ff9ff99111b1","user":{"login":"brev","id":208140,"avatar_url":"https://avatars.githubusercontent.com/u/208140?v=3","gravatar_id":"","url":"https://api.github.com/users/brev","html_url":"https://github.com/brev","followers_url":"https://api.github.com/users/brev/followers","following_url":"https://api.github.com/users/brev/following{/other_user}","gists_url":"https://api.github.com/users/brev/gists{/gist_id}","starred_url":"https://api.github.com/users/brev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brev/subscriptions","organizations_url":"https://api.github.com/users/brev/orgs","repos_url":"https://api.github.com/users/brev/repos","events_url":"https://api.github.com/users/brev/events{/privacy}","received_events_url":"https://api.github.com/users/brev/received_events","type":"User","site_admin":false},"body":"does this need to be `var`?","created_at":"2015-10-16T16:59:35Z","updated_at":"2015-10-16T16:59:35Z","html_url":"https://github.com/numenta/numenta-apps/pull/417#discussion_r42264635","pull_request_url":"https://api.github.com/repos/numenta/numenta-apps/pulls/417","_links":{"self":{"href":"https://api.github.com/repos/numenta/numenta-apps/pulls/comments/42264635"},"html":{"href":"https://github.com/numenta/numenta-apps/pull/417#discussion_r42264635"},"pull_request":{"href":"https://api.github.com/repos/numenta/numenta-apps/pulls/417"}}},"pull_request":{"url":"https://api.github.com/repos/numenta/numenta-apps/pulls/417","id":47863525,"html_url":"https://github.com/numenta/numenta-apps/pull/417","diff_url":"https://github.com/numenta/numenta-apps/pull/417.diff","patch_url":"https://github.com/numenta/numenta-apps/pull/417.patch","issue_url":"https://api.github.com/repos/numenta/numenta-apps/issues/417","number":417,"state":"open","locked":false,"title":"UNI-200: Add aggregation options","user":{"login":"lscheinkman","id":3209822,"avatar_url":"https://avatars.githubusercontent.com/u/3209822?v=3","gravatar_id":"","url":"https://api.github.com/users/lscheinkman","html_url":"https://github.com/lscheinkman","followers_url":"https://api.github.com/users/lscheinkman/followers","following_url":"https://api.github.com/users/lscheinkman/following{/other_user}","gists_url":"https://api.github.com/users/lscheinkman/gists{/gist_id}","starred_url":"https://api.github.com/users/lscheinkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lscheinkman/subscriptions","organizations_url":"https://api.github.com/users/lscheinkman/orgs","repos_url":"https://api.github.com/users/lscheinkman/repos","events_url":"https://api.github.com/users/lscheinkman/events{/privacy}","received_events_url":"https://api.github.com/users/lscheinkman/received_events","type":"User","site_admin":false},"body":"@brev, @marionleborgne  Please review","created_at":"2015-10-16T01:57:46Z","updated_at":"2015-10-16T16:59:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6526c435fbd8f586738c10491d70f9938e5ab4d5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/numenta/numenta-apps/pulls/417/commits","review_comments_url":"https://api.github.com/repos/numenta/numenta-apps/pulls/417/comments","review_comment_url":"https://api.github.com/repos/numenta/numenta-apps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/numenta/numenta-apps/issues/417/comments","statuses_url":"https://api.github.com/repos/numenta/numenta-apps/statuses/bbd28d143d35efdd0f9700ce6505ff9ff99111b1","head":{"label":"lscheinkman:UNI-200","ref":"UNI-200","sha":"bbd28d143d35efdd0f9700ce6505ff9ff99111b1","user":{"login":"lscheinkman","id":3209822,"avatar_url":"https://avatars.githubusercontent.com/u/3209822?v=3","gravatar_id":"","url":"https://api.github.com/users/lscheinkman","html_url":"https://github.com/lscheinkman","followers_url":"https://api.github.com/users/lscheinkman/followers","following_url":"https://api.github.com/users/lscheinkman/following{/other_user}","gists_url":"https://api.github.com/users/lscheinkman/gists{/gist_id}","starred_url":"https://api.github.com/users/lscheinkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lscheinkman/subscriptions","organizations_url":"https://api.github.com/users/lscheinkman/orgs","repos_url":"https://api.github.com/users/lscheinkman/repos","events_url":"https://api.github.com/users/lscheinkman/events{/privacy}","received_events_url":"https://api.github.com/users/lscheinkman/received_events","type":"User","site_admin":false},"repo":{"id":36945994,"name":"numenta-apps","full_name":"lscheinkman/numenta-apps","owner":{"login":"lscheinkman","id":3209822,"avatar_url":"https://avatars.githubusercontent.com/u/3209822?v=3","gravatar_id":"","url":"https://api.github.com/users/lscheinkman","html_url":"https://github.com/lscheinkman","followers_url":"https://api.github.com/users/lscheinkman/followers","following_url":"https://api.github.com/users/lscheinkman/following{/other_user}","gists_url":"https://api.github.com/users/lscheinkman/gists{/gist_id}","starred_url":"https://api.github.com/users/lscheinkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lscheinkman/subscriptions","organizations_url":"https://api.github.com/users/lscheinkman/orgs","repos_url":"https://api.github.com/users/lscheinkman/repos","events_url":"https://api.github.com/users/lscheinkman/events{/privacy}","received_events_url":"https://api.github.com/users/lscheinkman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lscheinkman/numenta-apps","description":"","fork":true,"url":"https://api.github.com/repos/lscheinkman/numenta-apps","forks_url":"https://api.github.com/repos/lscheinkman/numenta-apps/forks","keys_url":"https://api.github.com/repos/lscheinkman/numenta-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lscheinkman/numenta-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lscheinkman/numenta-apps/teams","hooks_url":"https://api.github.com/repos/lscheinkman/numenta-apps/hooks","issue_events_url":"https://api.github.com/repos/lscheinkman/numenta-apps/issues/events{/number}","events_url":"https://api.github.com/repos/lscheinkman/numenta-apps/events","assignees_url":"https://api.github.com/repos/lscheinkman/numenta-apps/assignees{/user}","branches_url":"https://api.github.com/repos/lscheinkman/numenta-apps/branches{/branch}","tags_url":"https://api.github.com/repos/lscheinkman/numenta-apps/tags","blobs_url":"https://api.github.com/repos/lscheinkman/numenta-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lscheinkman/numenta-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lscheinkman/numenta-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/lscheinkman/numenta-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lscheinkman/numenta-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/lscheinkman/numenta-apps/languages","stargazers_url":"https://api.github.com/repos/lscheinkman/numenta-apps/stargazers","contributors_url":"https://api.github.com/repos/lscheinkman/numenta-apps/contributors","subscribers_url":"https://api.github.com/repos/lscheinkman/numenta-apps/subscribers","subscription_url":"https://api.github.com/repos/lscheinkman/numenta-apps/subscription","commits_url":"https://api.github.com/repos/lscheinkman/numenta-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/lscheinkman/numenta-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/lscheinkman/numenta-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/lscheinkman/numenta-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/lscheinkman/numenta-apps/contents/{+path}","compare_url":"https://api.github.com/repos/lscheinkman/numenta-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lscheinkman/numenta-apps/merges","archive_url":"https://api.github.com/repos/lscheinkman/numenta-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lscheinkman/numenta-apps/downloads","issues_url":"https://api.github.com/repos/lscheinkman/numenta-apps/issues{/number}","pulls_url":"https://api.github.com/repos/lscheinkman/numenta-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/lscheinkman/numenta-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/lscheinkman/numenta-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lscheinkman/numenta-apps/labels{/name}","releases_url":"https://api.github.com/repos/lscheinkman/numenta-apps/releases{/id}","created_at":"2015-06-05T17:31:47Z","updated_at":"2015-06-05T17:31:51Z","pushed_at":"2015-10-16T01:56:13Z","git_url":"git://github.com/lscheinkman/numenta-apps.git","ssh_url":"git@github.com:lscheinkman/numenta-apps.git","clone_url":"https://github.com/lscheinkman/numenta-apps.git","svn_url":"https://github.com/lscheinkman/numenta-apps","homepage":null,"size":48115,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"numenta:master","ref":"master","sha":"714a6766967362afc76a5ca30760828f50be1c0d","user":{"login":"numenta","id":1039191,"avatar_url":"https://avatars.githubusercontent.com/u/1039191?v=3","gravatar_id":"","url":"https://api.github.com/users/numenta","html_url":"https://github.com/numenta","followers_url":"https://api.github.com/users/numenta/followers","following_url":"https://api.github.com/users/numenta/following{/other_user}","gists_url":"https://api.github.com/users/numenta/gists{/gist_id}","starred_url":"https://api.github.com/users/numenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numenta/subscriptions","organizations_url":"https://api.github.com/users/numenta/orgs","repos_url":"https://api.github.com/users/numenta/repos","events_url":"https://api.github.com/users/numenta/events{/privacy}","received_events_url":"https://api.github.com/users/numenta/received_events","type":"Organization","site_admin":false},"repo":{"id":36754402,"name":"numenta-apps","full_name":"numenta/numenta-apps","owner":{"login":"numenta","id":1039191,"avatar_url":"https://avatars.githubusercontent.com/u/1039191?v=3","gravatar_id":"","url":"https://api.github.com/users/numenta","html_url":"https://github.com/numenta","followers_url":"https://api.github.com/users/numenta/followers","following_url":"https://api.github.com/users/numenta/following{/other_user}","gists_url":"https://api.github.com/users/numenta/gists{/gist_id}","starred_url":"https://api.github.com/users/numenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numenta/subscriptions","organizations_url":"https://api.github.com/users/numenta/orgs","repos_url":"https://api.github.com/users/numenta/repos","events_url":"https://api.github.com/users/numenta/events{/privacy}","received_events_url":"https://api.github.com/users/numenta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/numenta/numenta-apps","description":"HTM based applications and support libraries. Includes Grok for IT Analytics and Grok for Stocks (code name \"Taurus\").","fork":false,"url":"https://api.github.com/repos/numenta/numenta-apps","forks_url":"https://api.github.com/repos/numenta/numenta-apps/forks","keys_url":"https://api.github.com/repos/numenta/numenta-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/numenta/numenta-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/numenta/numenta-apps/teams","hooks_url":"https://api.github.com/repos/numenta/numenta-apps/hooks","issue_events_url":"https://api.github.com/repos/numenta/numenta-apps/issues/events{/number}","events_url":"https://api.github.com/repos/numenta/numenta-apps/events","assignees_url":"https://api.github.com/repos/numenta/numenta-apps/assignees{/user}","branches_url":"https://api.github.com/repos/numenta/numenta-apps/branches{/branch}","tags_url":"https://api.github.com/repos/numenta/numenta-apps/tags","blobs_url":"https://api.github.com/repos/numenta/numenta-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/numenta/numenta-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/numenta/numenta-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/numenta/numenta-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/numenta/numenta-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/numenta/numenta-apps/languages","stargazers_url":"https://api.github.com/repos/numenta/numenta-apps/stargazers","contributors_url":"https://api.github.com/repos/numenta/numenta-apps/contributors","subscribers_url":"https://api.github.com/repos/numenta/numenta-apps/subscribers","subscription_url":"https://api.github.com/repos/numenta/numenta-apps/subscription","commits_url":"https://api.github.com/repos/numenta/numenta-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/numenta/numenta-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/numenta/numenta-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/numenta/numenta-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/numenta/numenta-apps/contents/{+path}","compare_url":"https://api.github.com/repos/numenta/numenta-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/numenta/numenta-apps/merges","archive_url":"https://api.github.com/repos/numenta/numenta-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/numenta/numenta-apps/downloads","issues_url":"https://api.github.com/repos/numenta/numenta-apps/issues{/number}","pulls_url":"https://api.github.com/repos/numenta/numenta-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/numenta/numenta-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/numenta/numenta-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/numenta/numenta-apps/labels{/name}","releases_url":"https://api.github.com/repos/numenta/numenta-apps/releases{/id}","created_at":"2015-06-02T18:49:30Z","updated_at":"2015-10-12T15:57:14Z","pushed_at":"2015-10-16T16:00:22Z","git_url":"git://github.com/numenta/numenta-apps.git","ssh_url":"git@github.com:numenta/numenta-apps.git","clone_url":"https://github.com/numenta/numenta-apps.git","svn_url":"https://github.com/numenta/numenta-apps","homepage":"http://numenta.com","size":50624,"stargazers_count":66,"watchers_count":66,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":8,"forks":41,"open_issues":8,"watchers":66,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/numenta/numenta-apps/pulls/417"},"html":{"href":"https://github.com/numenta/numenta-apps/pull/417"},"issue":{"href":"https://api.github.com/repos/numenta/numenta-apps/issues/417"},"comments":{"href":"https://api.github.com/repos/numenta/numenta-apps/issues/417/comments"},"review_comments":{"href":"https://api.github.com/repos/numenta/numenta-apps/pulls/417/comments"},"review_comment":{"href":"https://api.github.com/repos/numenta/numenta-apps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/numenta/numenta-apps/pulls/417/commits"},"statuses":{"href":"https://api.github.com/repos/numenta/numenta-apps/statuses/bbd28d143d35efdd0f9700ce6505ff9ff99111b1"}}}}