GitHub PullRequestReviewCommentEvent at 2014-07-29 21:17:37
Repository: MOE
Actor: sc932
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Yelp/MOE/pulls/comments/15553133","id":15553133,"diff_hunk":"@@ -0,0 +1,15 @@\n+# -*- coding: utf-8 -*-\n+\"\"\"Some default configuration parameters for bandit components.\"\"\"\n+DEFAULT_BANDIT_HISTORICAL_INFO = {\n+                           \"arms_sampled\": {\n+                                            \"arm1\": {\"win\": 20, \"loss\": 5, \"total\": 25},\n+                                            \"arm2\": {\"win\": 20, \"loss\": 10, \"total\": 30},\n+                                            \"arm3\": {\"win\": 0, \"loss\": 0, \"total\": 0},\n+                                            }\n+                           }\n+\n+DEFAULT_EPSILON = 0.05\n+\n+# Epsilon subtypes\n+EPSILON_SUBTYPE_GREEDY = 'greedy'\n+EPSILON_SUBTYPES = [EPSILON_SUBTYPE_GREEDY]","path":"moe/bandit/constant.py","position":15,"original_position":15,"commit_id":"b1972c5304a25caba28bc10c68431d11b873703d","original_commit_id":"b1972c5304a25caba28bc10c68431d11b873703d","user":{"login":"sc932","id":327867,"avatar_url":"https://avatars.githubusercontent.com/u/327867?","gravatar_id":"18743b7bd958e47e8edfef44eb3f2ea5","url":"https://api.github.com/users/sc932","html_url":"https://github.com/sc932","followers_url":"https://api.github.com/users/sc932/followers","following_url":"https://api.github.com/users/sc932/following{/other_user}","gists_url":"https://api.github.com/users/sc932/gists{/gist_id}","starred_url":"https://api.github.com/users/sc932/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sc932/subscriptions","organizations_url":"https://api.github.com/users/sc932/orgs","repos_url":"https://api.github.com/users/sc932/repos","events_url":"https://api.github.com/users/sc932/events{/privacy}","received_events_url":"https://api.github.com/users/sc932/received_events","type":"User","site_admin":false},"body":"multiline please","created_at":"2014-07-29T21:17:37Z","updated_at":"2014-07-29T21:17:37Z","html_url":"https://github.com/Yelp/MOE/pull/300#discussion_r15553133","pull_request_url":"https://api.github.com/repos/Yelp/MOE/pulls/300","_links":{"self":{"href":"https://api.github.com/repos/Yelp/MOE/pulls/comments/15553133"},"html":{"href":"https://github.com/Yelp/MOE/pull/300#discussion_r15553133"},"pull_request":{"href":"https://api.github.com/repos/Yelp/MOE/pulls/300"}}},"pull_request":{"url":"https://api.github.com/repos/Yelp/MOE/pulls/300","id":18487004,"html_url":"https://github.com/Yelp/MOE/pull/300","diff_url":"https://github.com/Yelp/MOE/pull/300.diff","patch_url":"https://github.com/Yelp/MOE/pull/300.patch","issue_url":"https://api.github.com/repos/Yelp/MOE/issues/300","number":300,"state":"open","title":"Added Bandit epsilon-greedy implementation","user":{"login":"norases","id":1620020,"avatar_url":"https://avatars.githubusercontent.com/u/1620020?","gravatar_id":"6a2db6f5037334cecacc3c800000273f","url":"https://api.github.com/users/norases","html_url":"https://github.com/norases","followers_url":"https://api.github.com/users/norases/followers","following_url":"https://api.github.com/users/norases/following{/other_user}","gists_url":"https://api.github.com/users/norases/gists{/gist_id}","starred_url":"https://api.github.com/users/norases/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norases/subscriptions","organizations_url":"https://api.github.com/users/norases/orgs","repos_url":"https://api.github.com/users/norases/repos","events_url":"https://api.github.com/users/norases/events{/privacy}","received_events_url":"https://api.github.com/users/norases/received_events","type":"User","site_admin":false},"body":"********* PEOPLE *************\r\nPrimary reviewer: @sc932\r\n\r\nReviewers: @suntzu86\r\n\r\n********* DESCRIPTION **************\r\nBranch Name: norases_255_create_epsilon_greedy_bandits\r\nTicket(s)/Issue(s): Closes #255 \r\n\r\n********* TESTING DONE *************\r\nmake test-no-tox\r\nmake style-test-no-tox","created_at":"2014-07-16T18:47:41Z","updated_at":"2014-07-29T21:17:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3df0a95ede0f2f58c64c355ffe04dc0747f541a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Yelp/MOE/pulls/300/commits","review_comments_url":"https://api.github.com/repos/Yelp/MOE/pulls/300/comments","review_comment_url":"https://api.github.com/repos/Yelp/MOE/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Yelp/MOE/issues/300/comments","statuses_url":"https://api.github.com/repos/Yelp/MOE/statuses/b1972c5304a25caba28bc10c68431d11b873703d","head":{"label":"Yelp:norases_255_create_epsilon_greedy_bandits","ref":"norases_255_create_epsilon_greedy_bandits","sha":"b1972c5304a25caba28bc10c68431d11b873703d","user":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?","gravatar_id":"cedaa6f42505b701ae74f53ea1783c0b","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"repo":{"id":17152267,"name":"MOE","full_name":"Yelp/MOE","owner":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?","gravatar_id":"cedaa6f42505b701ae74f53ea1783c0b","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yelp/MOE","description":"A global, black box optimization engine for real world metric optimization.","fork":false,"url":"https://api.github.com/repos/Yelp/MOE","forks_url":"https://api.github.com/repos/Yelp/MOE/forks","keys_url":"https://api.github.com/repos/Yelp/MOE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yelp/MOE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yelp/MOE/teams","hooks_url":"https://api.github.com/repos/Yelp/MOE/hooks","issue_events_url":"https://api.github.com/repos/Yelp/MOE/issues/events{/number}","events_url":"https://api.github.com/repos/Yelp/MOE/events","assignees_url":"https://api.github.com/repos/Yelp/MOE/assignees{/user}","branches_url":"https://api.github.com/repos/Yelp/MOE/branches{/branch}","tags_url":"https://api.github.com/repos/Yelp/MOE/tags","blobs_url":"https://api.github.com/repos/Yelp/MOE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yelp/MOE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yelp/MOE/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yelp/MOE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yelp/MOE/statuses/{sha}","languages_url":"https://api.github.com/repos/Yelp/MOE/languages","stargazers_url":"https://api.github.com/repos/Yelp/MOE/stargazers","contributors_url":"https://api.github.com/repos/Yelp/MOE/contributors","subscribers_url":"https://api.github.com/repos/Yelp/MOE/subscribers","subscription_url":"https://api.github.com/repos/Yelp/MOE/subscription","commits_url":"https://api.github.com/repos/Yelp/MOE/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yelp/MOE/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yelp/MOE/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yelp/MOE/issues/comments/{number}","contents_url":"https://api.github.com/repos/Yelp/MOE/contents/{+path}","compare_url":"https://api.github.com/repos/Yelp/MOE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yelp/MOE/merges","archive_url":"https://api.github.com/repos/Yelp/MOE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yelp/MOE/downloads","issues_url":"https://api.github.com/repos/Yelp/MOE/issues{/number}","pulls_url":"https://api.github.com/repos/Yelp/MOE/pulls{/number}","milestones_url":"https://api.github.com/repos/Yelp/MOE/milestones{/number}","notifications_url":"https://api.github.com/repos/Yelp/MOE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yelp/MOE/labels{/name}","releases_url":"https://api.github.com/repos/Yelp/MOE/releases{/id}","created_at":"2014-02-24T21:55:56Z","updated_at":"2014-07-29T20:58:19Z","pushed_at":"2014-07-28T21:56:26Z","git_url":"git://github.com/Yelp/MOE.git","ssh_url":"git@github.com:Yelp/MOE.git","clone_url":"https://github.com/Yelp/MOE.git","svn_url":"https://github.com/Yelp/MOE","homepage":"","size":15377,"stargazers_count":241,"watchers_count":241,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":10,"mirror_url":null,"open_issues_count":131,"forks":10,"open_issues":131,"watchers":241,"default_branch":"master"}},"base":{"label":"Yelp:master","ref":"master","sha":"7b79c85f9df14b0cebd40c96c3cb09bd7a7f7ec1","user":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?","gravatar_id":"cedaa6f42505b701ae74f53ea1783c0b","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"repo":{"id":17152267,"name":"MOE","full_name":"Yelp/MOE","owner":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?","gravatar_id":"cedaa6f42505b701ae74f53ea1783c0b","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yelp/MOE","description":"A global, black box optimization engine for real world metric optimization.","fork":false,"url":"https://api.github.com/repos/Yelp/MOE","forks_url":"https://api.github.com/repos/Yelp/MOE/forks","keys_url":"https://api.github.com/repos/Yelp/MOE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yelp/MOE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yelp/MOE/teams","hooks_url":"https://api.github.com/repos/Yelp/MOE/hooks","issue_events_url":"https://api.github.com/repos/Yelp/MOE/issues/events{/number}","events_url":"https://api.github.com/repos/Yelp/MOE/events","assignees_url":"https://api.github.com/repos/Yelp/MOE/assignees{/user}","branches_url":"https://api.github.com/repos/Yelp/MOE/branches{/branch}","tags_url":"https://api.github.com/repos/Yelp/MOE/tags","blobs_url":"https://api.github.com/repos/Yelp/MOE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yelp/MOE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yelp/MOE/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yelp/MOE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yelp/MOE/statuses/{sha}","languages_url":"https://api.github.com/repos/Yelp/MOE/languages","stargazers_url":"https://api.github.com/repos/Yelp/MOE/stargazers","contributors_url":"https://api.github.com/repos/Yelp/MOE/contributors","subscribers_url":"https://api.github.com/repos/Yelp/MOE/subscribers","subscription_url":"https://api.github.com/repos/Yelp/MOE/subscription","commits_url":"https://api.github.com/repos/Yelp/MOE/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yelp/MOE/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yelp/MOE/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yelp/MOE/issues/comments/{number}","contents_url":"https://api.github.com/repos/Yelp/MOE/contents/{+path}","compare_url":"https://api.github.com/repos/Yelp/MOE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yelp/MOE/merges","archive_url":"https://api.github.com/repos/Yelp/MOE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yelp/MOE/downloads","issues_url":"https://api.github.com/repos/Yelp/MOE/issues{/number}","pulls_url":"https://api.github.com/repos/Yelp/MOE/pulls{/number}","milestones_url":"https://api.github.com/repos/Yelp/MOE/milestones{/number}","notifications_url":"https://api.github.com/repos/Yelp/MOE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yelp/MOE/labels{/name}","releases_url":"https://api.github.com/repos/Yelp/MOE/releases{/id}","created_at":"2014-02-24T21:55:56Z","updated_at":"2014-07-29T20:58:19Z","pushed_at":"2014-07-28T21:56:26Z","git_url":"git://github.com/Yelp/MOE.git","ssh_url":"git@github.com:Yelp/MOE.git","clone_url":"https://github.com/Yelp/MOE.git","svn_url":"https://github.com/Yelp/MOE","homepage":"","size":15377,"stargazers_count":241,"watchers_count":241,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":10,"mirror_url":null,"open_issues_count":131,"forks":10,"open_issues":131,"watchers":241,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yelp/MOE/pulls/300"},"html":{"href":"https://github.com/Yelp/MOE/pull/300"},"issue":{"href":"https://api.github.com/repos/Yelp/MOE/issues/300"},"comments":{"href":"https://api.github.com/repos/Yelp/MOE/issues/300/comments"},"review_comments":{"href":"https://api.github.com/repos/Yelp/MOE/pulls/300/comments"},"review_comment":{"href":"https://api.github.com/repos/Yelp/MOE/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Yelp/MOE/pulls/300/commits"},"statuses":{"href":"https://api.github.com/repos/Yelp/MOE/statuses/b1972c5304a25caba28bc10c68431d11b873703d"}}}}