{"action":"created","comment":{"url":"https://api.github.com/repos/htm-community/nupic.cpp/pulls/comments/237949904","pull_request_review_id":180348265,"id":237949904,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzk0OTkwNA==","diff_hunk":"@@ -0,0 +1,247 @@\n+#!/usr/bin/env python\n+# ----------------------------------------------------------------------\n+# Numenta Platform for Intelligent Computing (NuPIC)\n+# Copyright (C) 2017, Numenta, Inc.  Unless you have an agreement\n+# with Numenta, Inc., for a separate 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+# ----------------------------------------------------------------------\n+\n+\"\"\"NuPIC random module tests.\"\"\"\n+\n+import cPickle as pickle\n+import unittest\n+import pytest\n+import numpy\n+\n+\n+from nupic.bindings.math import Random\n+\n+\n+\n+class TestNupicRandom(unittest.TestCase):","path":"bindings/py/src/test/bindings/py/tests/nupic_random_test.py","position":35,"original_position":35,"commit_id":"6dec50a8b43d3ea389bb62f13ed02890f3b8e2ba","original_commit_id":"6dec50a8b43d3ea389bb62f13ed02890f3b8e2ba","user":{"login":"breznak","id":2166111,"node_id":"MDQ6VXNlcjIxNjYxMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/2166111?v=4","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":"why are some test files new (\"new\")? They should be git mv-ed ? ","created_at":"2018-11-30T18:02:18Z","updated_at":"2018-11-30T18:34:34Z","html_url":"https://github.com/htm-community/nupic.cpp/pull/136#discussion_r237949904","pull_request_url":"https://api.github.com/repos/htm-community/nupic.cpp/pulls/136","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/htm-community/nupic.cpp/pulls/comments/237949904"},"html":{"href":"https://github.com/htm-community/nupic.cpp/pull/136#discussion_r237949904"},"pull_request":{"href":"https://api.github.com/repos/htm-community/nupic.cpp/pulls/136"}}},"pull_request":{"url":"https://api.github.com/repos/htm-community/nupic.cpp/pulls/136","id":234845986,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0ODQ1OTg2","html_url":"https://github.com/htm-community/nupic.cpp/pull/136","diff_url":"https://github.com/htm-community/nupic.cpp/pull/136.diff","patch_url":"https://github.com/htm-community/nupic.cpp/pull/136.patch","issue_url":"https://api.github.com/repos/htm-community/nupic.cpp/issues/136","number":136,"state":"open","locked":false,"title":"pybind11","user":{"login":"dkeeney","id":5266175,"node_id":"MDQ6VXNlcjUyNjYxNzU=","avatar_url":"https://avatars1.githubusercontent.com/u/5266175?v=4","gravatar_id":"","url":"https://api.github.com/users/dkeeney","html_url":"https://github.com/dkeeney","followers_url":"https://api.github.com/users/dkeeney/followers","following_url":"https://api.github.com/users/dkeeney/following{/other_user}","gists_url":"https://api.github.com/users/dkeeney/gists{/gist_id}","starred_url":"https://api.github.com/users/dkeeney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkeeney/subscriptions","organizations_url":"https://api.github.com/users/dkeeney/orgs","repos_url":"https://api.github.com/users/dkeeney/repos","events_url":"https://api.github.com/users/dkeeney/events{/privacy}","received_events_url":"https://api.github.com/users/dkeeney/received_events","type":"User","site_admin":false},"body":" This is a first look so you can see the directory structure with pybind11.  The bindings folder does not yet have the py tests repopulated.  A lot of things don't work yet but just wanted to capture its current state.\r\n\r\nThe directory names or structure is not locked in so if anyone would like any changes, now is the time to speak up.","created_at":"2018-11-30T01:50:39Z","updated_at":"2018-11-30T18:34:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6613f229b9cc3e565253c1c4b780253ce866ab70","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htm-community/nupic.cpp/pulls/136/commits","review_comments_url":"https://api.github.com/repos/htm-community/nupic.cpp/pulls/136/comments","review_comment_url":"https://api.github.com/repos/htm-community/nupic.cpp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htm-community/nupic.cpp/issues/136/comments","statuses_url":"https://api.github.com/repos/htm-community/nupic.cpp/statuses/6dec50a8b43d3ea389bb62f13ed02890f3b8e2ba","head":{"label":"htm-community:pybind11","ref":"pybind11","sha":"6dec50a8b43d3ea389bb62f13ed02890f3b8e2ba","user":{"login":"htm-community","id":8866221,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NjYyMjE=","avatar_url":"https://avatars1.githubusercontent.com/u/8866221?v=4","gravatar_id":"","url":"https://api.github.com/users/htm-community","html_url":"https://github.com/htm-community","followers_url":"https://api.github.com/users/htm-community/followers","following_url":"https://api.github.com/users/htm-community/following{/other_user}","gists_url":"https://api.github.com/users/htm-community/gists{/gist_id}","starred_url":"https://api.github.com/users/htm-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htm-community/subscriptions","organizations_url":"https://api.github.com/users/htm-community/orgs","repos_url":"https://api.github.com/users/htm-community/repos","events_url":"https://api.github.com/users/htm-community/events{/privacy}","received_events_url":"https://api.github.com/users/htm-community/received_events","type":"Organization","site_admin":false},"repo":{"id":118031881,"node_id":"MDEwOlJlcG9zaXRvcnkxMTgwMzE4ODE=","name":"nupic.cpp","full_name":"htm-community/nupic.cpp","private":false,"owner":{"login":"htm-community","id":8866221,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NjYyMjE=","avatar_url":"https://avatars1.githubusercontent.com/u/8866221?v=4","gravatar_id":"","url":"https://api.github.com/users/htm-community","html_url":"https://github.com/htm-community","followers_url":"https://api.github.com/users/htm-community/followers","following_url":"https://api.github.com/users/htm-community/following{/other_user}","gists_url":"https://api.github.com/users/htm-community/gists{/gist_id}","starred_url":"https://api.github.com/users/htm-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htm-community/subscriptions","organizations_url":"https://api.github.com/users/htm-community/orgs","repos_url":"https://api.github.com/users/htm-community/repos","events_url":"https://api.github.com/users/htm-community/events{/privacy}","received_events_url":"https://api.github.com/users/htm-community/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/htm-community/nupic.cpp","description":"Community fork. Implementation of core NuPIC algorithms in C++ (under construction)","fork":true,"url":"https://api.github.com/repos/htm-community/nupic.cpp","forks_url":"https://api.github.com/repos/htm-community/nupic.cpp/forks","keys_url":"https://api.github.com/repos/htm-community/nupic.cpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htm-community/nupic.cpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htm-community/nupic.cpp/teams","hooks_url":"https://api.github.com/repos/htm-community/nupic.cpp/hooks","issue_events_url":"https://api.github.com/repos/htm-community/nupic.cpp/issues/events{/number}","events_url":"https://api.github.com/repos/htm-community/nupic.cpp/events","assignees_url":"https://api.github.com/repos/htm-community/nupic.cpp/assignees{/user}","branches_url":"https://api.github.com/repos/htm-community/nupic.cpp/branches{/branch}","tags_url":"https://api.github.com/repos/htm-community/nupic.cpp/tags","blobs_url":"https://api.github.com/repos/htm-community/nupic.cpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htm-community/nupic.cpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htm-community/nupic.cpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/htm-community/nupic.cpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htm-community/nupic.cpp/statuses/{sha}","languages_url":"https://api.github.com/repos/htm-community/nupic.cpp/languages","stargazers_url":"https://api.github.com/repos/htm-community/nupic.cpp/stargazers","contributors_url":"https://api.github.com/repos/htm-community/nupic.cpp/contributors","subscribers_url":"https://api.github.com/repos/htm-community/nupic.cpp/subscribers","subscription_url":"https://api.github.com/repos/htm-community/nupic.cpp/subscription","commits_url":"https://api.github.com/repos/htm-community/nupic.cpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/htm-community/nupic.cpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/htm-community/nupic.cpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/htm-community/nupic.cpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/htm-community/nupic.cpp/contents/{+path}","compare_url":"https://api.github.com/repos/htm-community/nupic.cpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htm-community/nupic.cpp/merges","archive_url":"https://api.github.com/repos/htm-community/nupic.cpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htm-community/nupic.cpp/downloads","issues_url":"https://api.github.com/repos/htm-community/nupic.cpp/issues{/number}","pulls_url":"https://api.github.com/repos/htm-community/nupic.cpp/pulls{/number}","milestones_url":"https://api.github.com/repos/htm-community/nupic.cpp/milestones{/number}","notifications_url":"https://api.github.com/repos/htm-community/nupic.cpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htm-community/nupic.cpp/labels{/name}","releases_url":"https://api.github.com/repos/htm-community/nupic.cpp/releases{/id}","deployments_url":"https://api.github.com/repos/htm-community/nupic.cpp/deployments","created_at":"2018-01-18T20:03:28Z","updated_at":"2018-11-30T15:55:34Z","pushed_at":"2018-11-30T15:55:34Z","git_url":"git://github.com/htm-community/nupic.cpp.git","ssh_url":"git@github.com:htm-community/nupic.cpp.git","clone_url":"https://github.com/htm-community/nupic.cpp.git","svn_url":"https://github.com/htm-community/nupic.cpp","homepage":"http://numenta.org","size":287341,"stargazers_count":8,"watchers_count":8,"language":"C++","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":2,"open_issues":47,"watchers":8,"default_branch":"master"}},"base":{"label":"htm-community:master","ref":"master","sha":"83ea315cbcda0dd40fd5ba8c489a124636180961","user":{"login":"htm-community","id":8866221,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NjYyMjE=","avatar_url":"https://avatars1.githubusercontent.com/u/8866221?v=4","gravatar_id":"","url":"https://api.github.com/users/htm-community","html_url":"https://github.com/htm-community","followers_url":"https://api.github.com/users/htm-community/followers","following_url":"https://api.github.com/users/htm-community/following{/other_user}","gists_url":"https://api.github.com/users/htm-community/gists{/gist_id}","starred_url":"https://api.github.com/users/htm-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htm-community/subscriptions","organizations_url":"https://api.github.com/users/htm-community/orgs","repos_url":"https://api.github.com/users/htm-community/repos","events_url":"https://api.github.com/users/htm-community/events{/privacy}","received_events_url":"https://api.github.com/users/htm-community/received_events","type":"Organization","site_admin":false},"repo":{"id":118031881,"node_id":"MDEwOlJlcG9zaXRvcnkxMTgwMzE4ODE=","name":"nupic.cpp","full_name":"htm-community/nupic.cpp","private":false,"owner":{"login":"htm-community","id":8866221,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NjYyMjE=","avatar_url":"https://avatars1.githubusercontent.com/u/8866221?v=4","gravatar_id":"","url":"https://api.github.com/users/htm-community","html_url":"https://github.com/htm-community","followers_url":"https://api.github.com/users/htm-community/followers","following_url":"https://api.github.com/users/htm-community/following{/other_user}","gists_url":"https://api.github.com/users/htm-community/gists{/gist_id}","starred_url":"https://api.github.com/users/htm-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htm-community/subscriptions","organizations_url":"https://api.github.com/users/htm-community/orgs","repos_url":"https://api.github.com/users/htm-community/repos","events_url":"https://api.github.com/users/htm-community/events{/privacy}","received_events_url":"https://api.github.com/users/htm-community/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/htm-community/nupic.cpp","description":"Community fork. Implementation of core NuPIC algorithms in C++ (under construction)","fork":true,"url":"https://api.github.com/repos/htm-community/nupic.cpp","forks_url":"https://api.github.com/repos/htm-community/nupic.cpp/forks","keys_url":"https://api.github.com/repos/htm-community/nupic.cpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htm-community/nupic.cpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htm-community/nupic.cpp/teams","hooks_url":"https://api.github.com/repos/htm-community/nupic.cpp/hooks","issue_events_url":"https://api.github.com/repos/htm-community/nupic.cpp/issues/events{/number}","events_url":"https://api.github.com/repos/htm-community/nupic.cpp/events","assignees_url":"https://api.github.com/repos/htm-community/nupic.cpp/assignees{/user}","branches_url":"https://api.github.com/repos/htm-community/nupic.cpp/branches{/branch}","tags_url":"https://api.github.com/repos/htm-community/nupic.cpp/tags","blobs_url":"https://api.github.com/repos/htm-community/nupic.cpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htm-community/nupic.cpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htm-community/nupic.cpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/htm-community/nupic.cpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htm-community/nupic.cpp/statuses/{sha}","languages_url":"https://api.github.com/repos/htm-community/nupic.cpp/languages","stargazers_url":"https://api.github.com/repos/htm-community/nupic.cpp/stargazers","contributors_url":"https://api.github.com/repos/htm-community/nupic.cpp/contributors","subscribers_url":"https://api.github.com/repos/htm-community/nupic.cpp/subscribers","subscription_url":"https://api.github.com/repos/htm-community/nupic.cpp/subscription","commits_url":"https://api.github.com/repos/htm-community/nupic.cpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/htm-community/nupic.cpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/htm-community/nupic.cpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/htm-community/nupic.cpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/htm-community/nupic.cpp/contents/{+path}","compare_url":"https://api.github.com/repos/htm-community/nupic.cpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htm-community/nupic.cpp/merges","archive_url":"https://api.github.com/repos/htm-community/nupic.cpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htm-community/nupic.cpp/downloads","issues_url":"https://api.github.com/repos/htm-community/nupic.cpp/issues{/number}","pulls_url":"https://api.github.com/repos/htm-community/nupic.cpp/pulls{/number}","milestones_url":"https://api.github.com/repos/htm-community/nupic.cpp/milestones{/number}","notifications_url":"https://api.github.com/repos/htm-community/nupic.cpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htm-community/nupic.cpp/labels{/name}","releases_url":"https://api.github.com/repos/htm-community/nupic.cpp/releases{/id}","deployments_url":"https://api.github.com/repos/htm-community/nupic.cpp/deployments","created_at":"2018-01-18T20:03:28Z","updated_at":"2018-11-30T15:55:34Z","pushed_at":"2018-11-30T15:55:34Z","git_url":"git://github.com/htm-community/nupic.cpp.git","ssh_url":"git@github.com:htm-community/nupic.cpp.git","clone_url":"https://github.com/htm-community/nupic.cpp.git","svn_url":"https://github.com/htm-community/nupic.cpp","homepage":"http://numenta.org","size":287341,"stargazers_count":8,"watchers_count":8,"language":"C++","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":2,"open_issues":47,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htm-community/nupic.cpp/pulls/136"},"html":{"href":"https://github.com/htm-community/nupic.cpp/pull/136"},"issue":{"href":"https://api.github.com/repos/htm-community/nupic.cpp/issues/136"},"comments":{"href":"https://api.github.com/repos/htm-community/nupic.cpp/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/htm-community/nupic.cpp/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/htm-community/nupic.cpp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htm-community/nupic.cpp/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/htm-community/nupic.cpp/statuses/6dec50a8b43d3ea389bb62f13ed02890f3b8e2ba"}},"author_association":"NONE"}}
{"actor":{"display_login":"breznak"}}