{"action":"created","comment":{"url":"https://api.github.com/repos/numenta/nupic/pulls/comments/33098631","id":33098631,"diff_hunk":"@@ -157,6 +144,30 @@ def compute(self, activeColumns, predictedColumns,\n     return score\n \n \n+############################################","path":"nupic/algorithms/anomaly.py","position":110,"original_position":110,"commit_id":"429a339e51cc5133216fadd1aa4c05e7f5252c9e","original_commit_id":"429a339e51cc5133216fadd1aa4c05e7f5252c9e","user":{"login":"vitaly-krugl","id":1441066,"avatar_url":"https://avatars.githubusercontent.com/u/1441066?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-krugl","html_url":"https://github.com/vitaly-krugl","followers_url":"https://api.github.com/users/vitaly-krugl/followers","following_url":"https://api.github.com/users/vitaly-krugl/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-krugl/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-krugl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-krugl/subscriptions","organizations_url":"https://api.github.com/users/vitaly-krugl/orgs","repos_url":"https://api.github.com/users/vitaly-krugl/repos","events_url":"https://api.github.com/users/vitaly-krugl/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-krugl/received_events","type":"User","site_admin":false},"body":"@scottpurdy: didn't we do away with separators like `###############################` in the nupic coding conventions?","created_at":"2015-06-23T22:08:10Z","updated_at":"2015-06-23T22:08:10Z","html_url":"https://github.com/numenta/nupic/pull/1934#discussion_r33098631","pull_request_url":"https://api.github.com/repos/numenta/nupic/pulls/1934","_links":{"self":{"href":"https://api.github.com/repos/numenta/nupic/pulls/comments/33098631"},"html":{"href":"https://github.com/numenta/nupic/pull/1934#discussion_r33098631"},"pull_request":{"href":"https://api.github.com/repos/numenta/nupic/pulls/1934"}}},"pull_request":{"url":"https://api.github.com/repos/numenta/nupic/pulls/1934","id":31403905,"html_url":"https://github.com/numenta/nupic/pull/1934","diff_url":"https://github.com/numenta/nupic/pull/1934.diff","patch_url":"https://github.com/numenta/nupic/pull/1934.patch","issue_url":"https://api.github.com/repos/numenta/nupic/issues/1934","number":1934,"state":"open","locked":false,"title":"Modular Anomaly.computeRAWAnomalyScore() ","user":{"login":"breznak","id":2166111,"avatar_url":"https://avatars.githubusercontent.com/u/2166111?v=3","gravatar_id":"","url":"https://api.github.com/users/breznak","html_url":"https://github.com/breznak","followers_url":"https://api.github.com/users/breznak/followers","following_url":"https://api.github.com/users/breznak/following{/other_user}","gists_url":"https://api.github.com/users/breznak/gists{/gist_id}","starred_url":"https://api.github.com/users/breznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breznak/subscriptions","organizations_url":"https://api.github.com/users/breznak/orgs","repos_url":"https://api.github.com/users/breznak/repos","events_url":"https://api.github.com/users/breznak/events{/privacy}","received_events_url":"https://api.github.com/users/breznak/received_events","type":"User","site_admin":false},"body":"Fixes #1980 \r\n\r\nThe PR adds new ways how to compute \"raw\" anomaly score from TP. \r\nAnd allows to swarm over it.\r\n\r\n----\r\nEDIT: was intended for #1300 but needs more testing there.","created_at":"2015-03-18T06:37:55Z","updated_at":"2015-06-23T22:08:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"793c1834684a96570a6d748e65576c63619bb9ea","assignee":{"login":"scottpurdy","id":239726,"avatar_url":"https://avatars.githubusercontent.com/u/239726?v=3","gravatar_id":"","url":"https://api.github.com/users/scottpurdy","html_url":"https://github.com/scottpurdy","followers_url":"https://api.github.com/users/scottpurdy/followers","following_url":"https://api.github.com/users/scottpurdy/following{/other_user}","gists_url":"https://api.github.com/users/scottpurdy/gists{/gist_id}","starred_url":"https://api.github.com/users/scottpurdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottpurdy/subscriptions","organizations_url":"https://api.github.com/users/scottpurdy/orgs","repos_url":"https://api.github.com/users/scottpurdy/repos","events_url":"https://api.github.com/users/scottpurdy/events{/privacy}","received_events_url":"https://api.github.com/users/scottpurdy/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/numenta/nupic/pulls/1934/commits","review_comments_url":"https://api.github.com/repos/numenta/nupic/pulls/1934/comments","review_comment_url":"https://api.github.com/repos/numenta/nupic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/numenta/nupic/issues/1934/comments","statuses_url":"https://api.github.com/repos/numenta/nupic/statuses/429a339e51cc5133216fadd1aa4c05e7f5252c9e","head":{"label":"breznak:anomaly_strict","ref":"anomaly_strict","sha":"429a339e51cc5133216fadd1aa4c05e7f5252c9e","user":{"login":"breznak","id":2166111,"avatar_url":"https://avatars.githubusercontent.com/u/2166111?v=3","gravatar_id":"","url":"https://api.github.com/users/breznak","html_url":"https://github.com/breznak","followers_url":"https://api.github.com/users/breznak/followers","following_url":"https://api.github.com/users/breznak/following{/other_user}","gists_url":"https://api.github.com/users/breznak/gists{/gist_id}","starred_url":"https://api.github.com/users/breznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breznak/subscriptions","organizations_url":"https://api.github.com/users/breznak/orgs","repos_url":"https://api.github.com/users/breznak/repos","events_url":"https://api.github.com/users/breznak/events{/privacy}","received_events_url":"https://api.github.com/users/breznak/received_events","type":"User","site_admin":false},"repo":{"id":10535896,"name":"nupic","full_name":"breznak/nupic","owner":{"login":"breznak","id":2166111,"avatar_url":"https://avatars.githubusercontent.com/u/2166111?v=3","gravatar_id":"","url":"https://api.github.com/users/breznak","html_url":"https://github.com/breznak","followers_url":"https://api.github.com/users/breznak/followers","following_url":"https://api.github.com/users/breznak/following{/other_user}","gists_url":"https://api.github.com/users/breznak/gists{/gist_id}","starred_url":"https://api.github.com/users/breznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breznak/subscriptions","organizations_url":"https://api.github.com/users/breznak/orgs","repos_url":"https://api.github.com/users/breznak/repos","events_url":"https://api.github.com/users/breznak/events{/privacy}","received_events_url":"https://api.github.com/users/breznak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/breznak/nupic","description":"","fork":true,"url":"https://api.github.com/repos/breznak/nupic","forks_url":"https://api.github.com/repos/breznak/nupic/forks","keys_url":"https://api.github.com/repos/breznak/nupic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/breznak/nupic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/breznak/nupic/teams","hooks_url":"https://api.github.com/repos/breznak/nupic/hooks","issue_events_url":"https://api.github.com/repos/breznak/nupic/issues/events{/number}","events_url":"https://api.github.com/repos/breznak/nupic/events","assignees_url":"https://api.github.com/repos/breznak/nupic/assignees{/user}","branches_url":"https://api.github.com/repos/breznak/nupic/branches{/branch}","tags_url":"https://api.github.com/repos/breznak/nupic/tags","blobs_url":"https://api.github.com/repos/breznak/nupic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/breznak/nupic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/breznak/nupic/git/refs{/sha}","trees_url":"https://api.github.com/repos/breznak/nupic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/breznak/nupic/statuses/{sha}","languages_url":"https://api.github.com/repos/breznak/nupic/languages","stargazers_url":"https://api.github.com/repos/breznak/nupic/stargazers","contributors_url":"https://api.github.com/repos/breznak/nupic/contributors","subscribers_url":"https://api.github.com/repos/breznak/nupic/subscribers","subscription_url":"https://api.github.com/repos/breznak/nupic/subscription","commits_url":"https://api.github.com/repos/breznak/nupic/commits{/sha}","git_commits_url":"https://api.github.com/repos/breznak/nupic/git/commits{/sha}","comments_url":"https://api.github.com/repos/breznak/nupic/comments{/number}","issue_comment_url":"https://api.github.com/repos/breznak/nupic/issues/comments{/number}","contents_url":"https://api.github.com/repos/breznak/nupic/contents/{+path}","compare_url":"https://api.github.com/repos/breznak/nupic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/breznak/nupic/merges","archive_url":"https://api.github.com/repos/breznak/nupic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/breznak/nupic/downloads","issues_url":"https://api.github.com/repos/breznak/nupic/issues{/number}","pulls_url":"https://api.github.com/repos/breznak/nupic/pulls{/number}","milestones_url":"https://api.github.com/repos/breznak/nupic/milestones{/number}","notifications_url":"https://api.github.com/repos/breznak/nupic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/breznak/nupic/labels{/name}","releases_url":"https://api.github.com/repos/breznak/nupic/releases{/id}","created_at":"2013-06-06T20:32:30Z","updated_at":"2015-02-24T11:13:05Z","pushed_at":"2015-06-16T18:48:39Z","git_url":"git://github.com/breznak/nupic.git","ssh_url":"git@github.com:breznak/nupic.git","clone_url":"https://github.com/breznak/nupic.git","svn_url":"https://github.com/breznak/nupic","homepage":null,"size":221757,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"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":"8a8d42771f260a77fb93dc395c3af85f156458a4","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":9252533,"name":"nupic","full_name":"numenta/nupic","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/nupic","description":"Numenta Platform for Intelligent Computing: a brain-inspired machine intelligence platform, and biologically accurate neural network based on cortical learning algorithms.","fork":false,"url":"https://api.github.com/repos/numenta/nupic","forks_url":"https://api.github.com/repos/numenta/nupic/forks","keys_url":"https://api.github.com/repos/numenta/nupic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/numenta/nupic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/numenta/nupic/teams","hooks_url":"https://api.github.com/repos/numenta/nupic/hooks","issue_events_url":"https://api.github.com/repos/numenta/nupic/issues/events{/number}","events_url":"https://api.github.com/repos/numenta/nupic/events","assignees_url":"https://api.github.com/repos/numenta/nupic/assignees{/user}","branches_url":"https://api.github.com/repos/numenta/nupic/branches{/branch}","tags_url":"https://api.github.com/repos/numenta/nupic/tags","blobs_url":"https://api.github.com/repos/numenta/nupic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/numenta/nupic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/numenta/nupic/git/refs{/sha}","trees_url":"https://api.github.com/repos/numenta/nupic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/numenta/nupic/statuses/{sha}","languages_url":"https://api.github.com/repos/numenta/nupic/languages","stargazers_url":"https://api.github.com/repos/numenta/nupic/stargazers","contributors_url":"https://api.github.com/repos/numenta/nupic/contributors","subscribers_url":"https://api.github.com/repos/numenta/nupic/subscribers","subscription_url":"https://api.github.com/repos/numenta/nupic/subscription","commits_url":"https://api.github.com/repos/numenta/nupic/commits{/sha}","git_commits_url":"https://api.github.com/repos/numenta/nupic/git/commits{/sha}","comments_url":"https://api.github.com/repos/numenta/nupic/comments{/number}","issue_comment_url":"https://api.github.com/repos/numenta/nupic/issues/comments{/number}","contents_url":"https://api.github.com/repos/numenta/nupic/contents/{+path}","compare_url":"https://api.github.com/repos/numenta/nupic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/numenta/nupic/merges","archive_url":"https://api.github.com/repos/numenta/nupic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/numenta/nupic/downloads","issues_url":"https://api.github.com/repos/numenta/nupic/issues{/number}","pulls_url":"https://api.github.com/repos/numenta/nupic/pulls{/number}","milestones_url":"https://api.github.com/repos/numenta/nupic/milestones{/number}","notifications_url":"https://api.github.com/repos/numenta/nupic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/numenta/nupic/labels{/name}","releases_url":"https://api.github.com/repos/numenta/nupic/releases{/id}","created_at":"2013-04-05T23:14:27Z","updated_at":"2015-06-23T15:14:30Z","pushed_at":"2015-06-23T21:39:36Z","git_url":"git://github.com/numenta/nupic.git","ssh_url":"git@github.com:numenta/nupic.git","clone_url":"https://github.com/numenta/nupic.git","svn_url":"https://github.com/numenta/nupic","homepage":"http://numenta.org/","size":304140,"stargazers_count":3207,"watchers_count":3207,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":861,"mirror_url":null,"open_issues_count":385,"forks":861,"open_issues":385,"watchers":3207,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/numenta/nupic/pulls/1934"},"html":{"href":"https://github.com/numenta/nupic/pull/1934"},"issue":{"href":"https://api.github.com/repos/numenta/nupic/issues/1934"},"comments":{"href":"https://api.github.com/repos/numenta/nupic/issues/1934/comments"},"review_comments":{"href":"https://api.github.com/repos/numenta/nupic/pulls/1934/comments"},"review_comment":{"href":"https://api.github.com/repos/numenta/nupic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/numenta/nupic/pulls/1934/commits"},"statuses":{"href":"https://api.github.com/repos/numenta/nupic/statuses/429a339e51cc5133216fadd1aa4c05e7f5252c9e"}}}}