{"action":"opened","number":170,"pull_request":{"url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/pulls/170","id":86651892,"html_url":"https://github.com/Rochester-NRT/RocAlphaGo/pull/170","diff_url":"https://github.com/Rochester-NRT/RocAlphaGo/pull/170.diff","patch_url":"https://github.com/Rochester-NRT/RocAlphaGo/pull/170.patch","issue_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/issues/170","number":170,"state":"open","locked":false,"title":"Cache features in preprocessing.py","user":{"login":"wrongu","id":854542,"avatar_url":"https://avatars.githubusercontent.com/u/854542?v=3","gravatar_id":"","url":"https://api.github.com/users/wrongu","html_url":"https://github.com/wrongu","followers_url":"https://api.github.com/users/wrongu/followers","following_url":"https://api.github.com/users/wrongu/following{/other_user}","gists_url":"https://api.github.com/users/wrongu/gists{/gist_id}","starred_url":"https://api.github.com/users/wrongu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrongu/subscriptions","organizations_url":"https://api.github.com/users/wrongu/orgs","repos_url":"https://api.github.com/users/wrongu/repos","events_url":"https://api.github.com/users/wrongu/events{/privacy}","received_events_url":"https://api.github.com/users/wrongu/received_events","type":"User","site_admin":false},"body":"This PR includes a generic LRU Cache implementation and applies it to feature preprocessing. When there is a cache hit, an existing numpy array is returned - no new allocation or extra processing is needed. Cache lookups and updates are all `O(1)` time on average.\r\n\r\nCloses #160.","created_at":"2016-09-25T14:43:10Z","updated_at":"2016-09-25T14:43:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7115ac6cbb31bcdc862db0b6df0b7d4de29e934","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/pulls/170/commits","review_comments_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/pulls/170/comments","review_comment_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/issues/170/comments","statuses_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/statuses/af6bc464a78b317cfa6d88204b7ec80d014bcd97","head":{"label":"wrongu:preprocessing_cache","ref":"preprocessing_cache","sha":"af6bc464a78b317cfa6d88204b7ec80d014bcd97","user":{"login":"wrongu","id":854542,"avatar_url":"https://avatars.githubusercontent.com/u/854542?v=3","gravatar_id":"","url":"https://api.github.com/users/wrongu","html_url":"https://github.com/wrongu","followers_url":"https://api.github.com/users/wrongu/followers","following_url":"https://api.github.com/users/wrongu/following{/other_user}","gists_url":"https://api.github.com/users/wrongu/gists{/gist_id}","starred_url":"https://api.github.com/users/wrongu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrongu/subscriptions","organizations_url":"https://api.github.com/users/wrongu/orgs","repos_url":"https://api.github.com/users/wrongu/repos","events_url":"https://api.github.com/users/wrongu/events{/privacy}","received_events_url":"https://api.github.com/users/wrongu/received_events","type":"User","site_admin":false},"repo":{"id":51029140,"name":"RocAlphaGo","full_name":"wrongu/RocAlphaGo","owner":{"login":"wrongu","id":854542,"avatar_url":"https://avatars.githubusercontent.com/u/854542?v=3","gravatar_id":"","url":"https://api.github.com/users/wrongu","html_url":"https://github.com/wrongu","followers_url":"https://api.github.com/users/wrongu/followers","following_url":"https://api.github.com/users/wrongu/following{/other_user}","gists_url":"https://api.github.com/users/wrongu/gists{/gist_id}","starred_url":"https://api.github.com/users/wrongu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrongu/subscriptions","organizations_url":"https://api.github.com/users/wrongu/orgs","repos_url":"https://api.github.com/users/wrongu/repos","events_url":"https://api.github.com/users/wrongu/events{/privacy}","received_events_url":"https://api.github.com/users/wrongu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wrongu/RocAlphaGo","description":"A replication of DeepMind's 2016 Nature publication, \"Mastering the game of Go with deep neural networks and tree search.\" Based off of the specification in the paper.","fork":true,"url":"https://api.github.com/repos/wrongu/RocAlphaGo","forks_url":"https://api.github.com/repos/wrongu/RocAlphaGo/forks","keys_url":"https://api.github.com/repos/wrongu/RocAlphaGo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wrongu/RocAlphaGo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wrongu/RocAlphaGo/teams","hooks_url":"https://api.github.com/repos/wrongu/RocAlphaGo/hooks","issue_events_url":"https://api.github.com/repos/wrongu/RocAlphaGo/issues/events{/number}","events_url":"https://api.github.com/repos/wrongu/RocAlphaGo/events","assignees_url":"https://api.github.com/repos/wrongu/RocAlphaGo/assignees{/user}","branches_url":"https://api.github.com/repos/wrongu/RocAlphaGo/branches{/branch}","tags_url":"https://api.github.com/repos/wrongu/RocAlphaGo/tags","blobs_url":"https://api.github.com/repos/wrongu/RocAlphaGo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wrongu/RocAlphaGo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wrongu/RocAlphaGo/git/refs{/sha}","trees_url":"https://api.github.com/repos/wrongu/RocAlphaGo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wrongu/RocAlphaGo/statuses/{sha}","languages_url":"https://api.github.com/repos/wrongu/RocAlphaGo/languages","stargazers_url":"https://api.github.com/repos/wrongu/RocAlphaGo/stargazers","contributors_url":"https://api.github.com/repos/wrongu/RocAlphaGo/contributors","subscribers_url":"https://api.github.com/repos/wrongu/RocAlphaGo/subscribers","subscription_url":"https://api.github.com/repos/wrongu/RocAlphaGo/subscription","commits_url":"https://api.github.com/repos/wrongu/RocAlphaGo/commits{/sha}","git_commits_url":"https://api.github.com/repos/wrongu/RocAlphaGo/git/commits{/sha}","comments_url":"https://api.github.com/repos/wrongu/RocAlphaGo/comments{/number}","issue_comment_url":"https://api.github.com/repos/wrongu/RocAlphaGo/issues/comments{/number}","contents_url":"https://api.github.com/repos/wrongu/RocAlphaGo/contents/{+path}","compare_url":"https://api.github.com/repos/wrongu/RocAlphaGo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wrongu/RocAlphaGo/merges","archive_url":"https://api.github.com/repos/wrongu/RocAlphaGo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wrongu/RocAlphaGo/downloads","issues_url":"https://api.github.com/repos/wrongu/RocAlphaGo/issues{/number}","pulls_url":"https://api.github.com/repos/wrongu/RocAlphaGo/pulls{/number}","milestones_url":"https://api.github.com/repos/wrongu/RocAlphaGo/milestones{/number}","notifications_url":"https://api.github.com/repos/wrongu/RocAlphaGo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wrongu/RocAlphaGo/labels{/name}","releases_url":"https://api.github.com/repos/wrongu/RocAlphaGo/releases{/id}","deployments_url":"https://api.github.com/repos/wrongu/RocAlphaGo/deployments","created_at":"2016-02-03T20:42:08Z","updated_at":"2016-08-02T19:26:02Z","pushed_at":"2016-09-25T14:40:14Z","git_url":"git://github.com/wrongu/RocAlphaGo.git","ssh_url":"git@github.com:wrongu/RocAlphaGo.git","clone_url":"https://github.com/wrongu/RocAlphaGo.git","svn_url":"https://github.com/wrongu/RocAlphaGo","homepage":null,"size":3624,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":4,"default_branch":"develop"}},"base":{"label":"Rochester-NRT:develop","ref":"develop","sha":"d4d9da4f6f77737caebe500b88ab64fc319ed8cf","user":{"login":"Rochester-NRT","id":17015390,"avatar_url":"https://avatars.githubusercontent.com/u/17015390?v=3","gravatar_id":"","url":"https://api.github.com/users/Rochester-NRT","html_url":"https://github.com/Rochester-NRT","followers_url":"https://api.github.com/users/Rochester-NRT/followers","following_url":"https://api.github.com/users/Rochester-NRT/following{/other_user}","gists_url":"https://api.github.com/users/Rochester-NRT/gists{/gist_id}","starred_url":"https://api.github.com/users/Rochester-NRT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rochester-NRT/subscriptions","organizations_url":"https://api.github.com/users/Rochester-NRT/orgs","repos_url":"https://api.github.com/users/Rochester-NRT/repos","events_url":"https://api.github.com/users/Rochester-NRT/events{/privacy}","received_events_url":"https://api.github.com/users/Rochester-NRT/received_events","type":"Organization","site_admin":false},"repo":{"id":50803610,"name":"RocAlphaGo","full_name":"Rochester-NRT/RocAlphaGo","owner":{"login":"Rochester-NRT","id":17015390,"avatar_url":"https://avatars.githubusercontent.com/u/17015390?v=3","gravatar_id":"","url":"https://api.github.com/users/Rochester-NRT","html_url":"https://github.com/Rochester-NRT","followers_url":"https://api.github.com/users/Rochester-NRT/followers","following_url":"https://api.github.com/users/Rochester-NRT/following{/other_user}","gists_url":"https://api.github.com/users/Rochester-NRT/gists{/gist_id}","starred_url":"https://api.github.com/users/Rochester-NRT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rochester-NRT/subscriptions","organizations_url":"https://api.github.com/users/Rochester-NRT/orgs","repos_url":"https://api.github.com/users/Rochester-NRT/repos","events_url":"https://api.github.com/users/Rochester-NRT/events{/privacy}","received_events_url":"https://api.github.com/users/Rochester-NRT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rochester-NRT/RocAlphaGo","description":"An independent, student-led replication of DeepMind's 2016 Nature publication, \"Mastering the game of Go with deep neural networks and tree search\" (Nature 529, 484-489, 28 Jan 2016), details of which can be found on their website https://deepmind.com/publications.html.","fork":false,"url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo","forks_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/forks","keys_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/teams","hooks_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/hooks","issue_events_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/issues/events{/number}","events_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/events","assignees_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/assignees{/user}","branches_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/branches{/branch}","tags_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/tags","blobs_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/statuses/{sha}","languages_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/languages","stargazers_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/stargazers","contributors_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/contributors","subscribers_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/subscribers","subscription_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/subscription","commits_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/contents/{+path}","compare_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/merges","archive_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/downloads","issues_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/issues{/number}","pulls_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/pulls{/number}","milestones_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/milestones{/number}","notifications_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/labels{/name}","releases_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/releases{/id}","deployments_url":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/deployments","created_at":"2016-02-01T00:40:29Z","updated_at":"2016-09-24T16:52:08Z","pushed_at":"2016-09-25T14:43:10Z","git_url":"git://github.com/Rochester-NRT/RocAlphaGo.git","ssh_url":"git@github.com:Rochester-NRT/RocAlphaGo.git","clone_url":"https://github.com/Rochester-NRT/RocAlphaGo.git","svn_url":"https://github.com/Rochester-NRT/RocAlphaGo","homepage":"","size":4351,"stargazers_count":7292,"watchers_count":7292,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1994,"mirror_url":null,"open_issues_count":29,"forks":1994,"open_issues":29,"watchers":7292,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/pulls/170"},"html":{"href":"https://github.com/Rochester-NRT/RocAlphaGo/pull/170"},"issue":{"href":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/issues/170"},"comments":{"href":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/Rochester-NRT/RocAlphaGo/statuses/af6bc464a78b317cfa6d88204b7ec80d014bcd97"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":239,"deletions":5,"changed_files":3}}
{"actor":{"display_login":"wrongu"}}