{"action":"created","comment":{"url":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/comments/114311801","pull_request_review_id":35765805,"id":114311801,"diff_hunk":"@@ -0,0 +1,130 @@\n+import random\n+from axelrod.actions import Actions, Action\n+from axelrod.player import Player\n+\n+C, D = Actions.C, Actions.D\n+\n+\n+class BM(Player):\n+    \"\"\"\n+    A player that is based on Bush Mosteller reinforced learning algorithm, he decides what he'll\n+    play only depending on his own previous payoffs.\n+\n+    The probability of playing C or D will be updated using a stimulus which represents\n+    a win or a loss of value based on his previous play's payoff in the specified probability.\n+    The more a play will be rewarded through rounds , the more the player will be tempted to use it.","path":"axelrod/strategies/bm.py","position":15,"original_position":15,"commit_id":"0d763790267f9724764b707599efd6da82bd6574","original_commit_id":"0d763790267f9724764b707599efd6da82bd6574","user":{"login":"meatballs","id":338846,"avatar_url":"https://avatars2.githubusercontent.com/u/338846?v=3","gravatar_id":"","url":"https://api.github.com/users/meatballs","html_url":"https://github.com/meatballs","followers_url":"https://api.github.com/users/meatballs/followers","following_url":"https://api.github.com/users/meatballs/following{/other_user}","gists_url":"https://api.github.com/users/meatballs/gists{/gist_id}","starred_url":"https://api.github.com/users/meatballs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meatballs/subscriptions","organizations_url":"https://api.github.com/users/meatballs/orgs","repos_url":"https://api.github.com/users/meatballs/repos","events_url":"https://api.github.com/users/meatballs/events{/privacy}","received_events_url":"https://api.github.com/users/meatballs/received_events","type":"User","site_admin":false},"body":"typo: remove the space before the comma","created_at":"2017-05-02T13:00:07Z","updated_at":"2017-05-02T13:03:15Z","html_url":"https://github.com/Axelrod-Python/Axelrod/pull/1002#discussion_r114311801","pull_request_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/1002","_links":{"self":{"href":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/comments/114311801"},"html":{"href":"https://github.com/Axelrod-Python/Axelrod/pull/1002#discussion_r114311801"},"pull_request":{"href":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/1002"}}},"pull_request":{"url":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/1002","id":118428702,"html_url":"https://github.com/Axelrod-Python/Axelrod/pull/1002","diff_url":"https://github.com/Axelrod-Python/Axelrod/pull/1002.diff","patch_url":"https://github.com/Axelrod-Python/Axelrod/pull/1002.patch","issue_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues/1002","number":1002,"state":"open","locked":false,"title":"BM player addition","user":{"login":"GGOUSSEAUD","id":25582593,"avatar_url":"https://avatars0.githubusercontent.com/u/25582593?v=3","gravatar_id":"","url":"https://api.github.com/users/GGOUSSEAUD","html_url":"https://github.com/GGOUSSEAUD","followers_url":"https://api.github.com/users/GGOUSSEAUD/followers","following_url":"https://api.github.com/users/GGOUSSEAUD/following{/other_user}","gists_url":"https://api.github.com/users/GGOUSSEAUD/gists{/gist_id}","starred_url":"https://api.github.com/users/GGOUSSEAUD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GGOUSSEAUD/subscriptions","organizations_url":"https://api.github.com/users/GGOUSSEAUD/orgs","repos_url":"https://api.github.com/users/GGOUSSEAUD/repos","events_url":"https://api.github.com/users/GGOUSSEAUD/events{/privacy}","received_events_url":"https://api.github.com/users/GGOUSSEAUD/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-01T19:49:44Z","updated_at":"2017-05-02T13:03:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f96620ff30af3c0cdad61f125c2e34d023ac24e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/1002/commits","review_comments_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/1002/comments","review_comment_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues/1002/comments","statuses_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/statuses/0d763790267f9724764b707599efd6da82bd6574","head":{"label":"GGOUSSEAUD:master","ref":"master","sha":"0d763790267f9724764b707599efd6da82bd6574","user":{"login":"GGOUSSEAUD","id":25582593,"avatar_url":"https://avatars0.githubusercontent.com/u/25582593?v=3","gravatar_id":"","url":"https://api.github.com/users/GGOUSSEAUD","html_url":"https://github.com/GGOUSSEAUD","followers_url":"https://api.github.com/users/GGOUSSEAUD/followers","following_url":"https://api.github.com/users/GGOUSSEAUD/following{/other_user}","gists_url":"https://api.github.com/users/GGOUSSEAUD/gists{/gist_id}","starred_url":"https://api.github.com/users/GGOUSSEAUD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GGOUSSEAUD/subscriptions","organizations_url":"https://api.github.com/users/GGOUSSEAUD/orgs","repos_url":"https://api.github.com/users/GGOUSSEAUD/repos","events_url":"https://api.github.com/users/GGOUSSEAUD/events{/privacy}","received_events_url":"https://api.github.com/users/GGOUSSEAUD/received_events","type":"User","site_admin":false},"repo":{"id":84827194,"name":"Axelrod","full_name":"GGOUSSEAUD/Axelrod","owner":{"login":"GGOUSSEAUD","id":25582593,"avatar_url":"https://avatars0.githubusercontent.com/u/25582593?v=3","gravatar_id":"","url":"https://api.github.com/users/GGOUSSEAUD","html_url":"https://github.com/GGOUSSEAUD","followers_url":"https://api.github.com/users/GGOUSSEAUD/followers","following_url":"https://api.github.com/users/GGOUSSEAUD/following{/other_user}","gists_url":"https://api.github.com/users/GGOUSSEAUD/gists{/gist_id}","starred_url":"https://api.github.com/users/GGOUSSEAUD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GGOUSSEAUD/subscriptions","organizations_url":"https://api.github.com/users/GGOUSSEAUD/orgs","repos_url":"https://api.github.com/users/GGOUSSEAUD/repos","events_url":"https://api.github.com/users/GGOUSSEAUD/events{/privacy}","received_events_url":"https://api.github.com/users/GGOUSSEAUD/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GGOUSSEAUD/Axelrod","description":"A research tool for the Iterated Prisoner's Dilemma","fork":true,"url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod","forks_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/forks","keys_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/teams","hooks_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/hooks","issue_events_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/issues/events{/number}","events_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/events","assignees_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/assignees{/user}","branches_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/branches{/branch}","tags_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/tags","blobs_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/git/refs{/sha}","trees_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/statuses/{sha}","languages_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/languages","stargazers_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/stargazers","contributors_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/contributors","subscribers_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/subscribers","subscription_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/subscription","commits_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/commits{/sha}","git_commits_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/git/commits{/sha}","comments_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/comments{/number}","issue_comment_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/issues/comments{/number}","contents_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/contents/{+path}","compare_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/merges","archive_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/downloads","issues_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/issues{/number}","pulls_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/pulls{/number}","milestones_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/milestones{/number}","notifications_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/labels{/name}","releases_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/releases{/id}","deployments_url":"https://api.github.com/repos/GGOUSSEAUD/Axelrod/deployments","created_at":"2017-03-13T13:04:00Z","updated_at":"2017-03-13T13:04:02Z","pushed_at":"2017-05-02T10:05:07Z","git_url":"git://github.com/GGOUSSEAUD/Axelrod.git","ssh_url":"git@github.com:GGOUSSEAUD/Axelrod.git","clone_url":"https://github.com/GGOUSSEAUD/Axelrod.git","svn_url":"https://github.com/GGOUSSEAUD/Axelrod","homepage":"http://axelrod.readthedocs.org/","size":5421,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":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":"Axelrod-Python:master","ref":"master","sha":"c629ffc306170dff75268b96db9229ff0e151d30","user":{"login":"Axelrod-Python","id":11720937,"avatar_url":"https://avatars2.githubusercontent.com/u/11720937?v=3","gravatar_id":"","url":"https://api.github.com/users/Axelrod-Python","html_url":"https://github.com/Axelrod-Python","followers_url":"https://api.github.com/users/Axelrod-Python/followers","following_url":"https://api.github.com/users/Axelrod-Python/following{/other_user}","gists_url":"https://api.github.com/users/Axelrod-Python/gists{/gist_id}","starred_url":"https://api.github.com/users/Axelrod-Python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Axelrod-Python/subscriptions","organizations_url":"https://api.github.com/users/Axelrod-Python/orgs","repos_url":"https://api.github.com/users/Axelrod-Python/repos","events_url":"https://api.github.com/users/Axelrod-Python/events{/privacy}","received_events_url":"https://api.github.com/users/Axelrod-Python/received_events","type":"Organization","site_admin":false},"repo":{"id":30959449,"name":"Axelrod","full_name":"Axelrod-Python/Axelrod","owner":{"login":"Axelrod-Python","id":11720937,"avatar_url":"https://avatars2.githubusercontent.com/u/11720937?v=3","gravatar_id":"","url":"https://api.github.com/users/Axelrod-Python","html_url":"https://github.com/Axelrod-Python","followers_url":"https://api.github.com/users/Axelrod-Python/followers","following_url":"https://api.github.com/users/Axelrod-Python/following{/other_user}","gists_url":"https://api.github.com/users/Axelrod-Python/gists{/gist_id}","starred_url":"https://api.github.com/users/Axelrod-Python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Axelrod-Python/subscriptions","organizations_url":"https://api.github.com/users/Axelrod-Python/orgs","repos_url":"https://api.github.com/users/Axelrod-Python/repos","events_url":"https://api.github.com/users/Axelrod-Python/events{/privacy}","received_events_url":"https://api.github.com/users/Axelrod-Python/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Axelrod-Python/Axelrod","description":"A research tool for the Iterated Prisoner's Dilemma","fork":false,"url":"https://api.github.com/repos/Axelrod-Python/Axelrod","forks_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/forks","keys_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/teams","hooks_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/hooks","issue_events_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues/events{/number}","events_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/events","assignees_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/assignees{/user}","branches_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/branches{/branch}","tags_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/tags","blobs_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/git/refs{/sha}","trees_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/statuses/{sha}","languages_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/languages","stargazers_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/stargazers","contributors_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/contributors","subscribers_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/subscribers","subscription_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/subscription","commits_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/commits{/sha}","git_commits_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/git/commits{/sha}","comments_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/comments{/number}","issue_comment_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues/comments{/number}","contents_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/contents/{+path}","compare_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/merges","archive_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/downloads","issues_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues{/number}","pulls_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls{/number}","milestones_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/milestones{/number}","notifications_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/labels{/name}","releases_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/releases{/id}","deployments_url":"https://api.github.com/repos/Axelrod-Python/Axelrod/deployments","created_at":"2015-02-18T09:37:17Z","updated_at":"2017-05-02T04:17:40Z","pushed_at":"2017-05-02T10:05:09Z","git_url":"git://github.com/Axelrod-Python/Axelrod.git","ssh_url":"git@github.com:Axelrod-Python/Axelrod.git","clone_url":"https://github.com/Axelrod-Python/Axelrod.git","svn_url":"https://github.com/Axelrod-Python/Axelrod","homepage":"http://axelrod.readthedocs.org/","size":5410,"stargazers_count":187,"watchers_count":187,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":93,"mirror_url":null,"open_issues_count":27,"forks":93,"open_issues":27,"watchers":187,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/1002"},"html":{"href":"https://github.com/Axelrod-Python/Axelrod/pull/1002"},"issue":{"href":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues/1002"},"comments":{"href":"https://api.github.com/repos/Axelrod-Python/Axelrod/issues/1002/comments"},"review_comments":{"href":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/1002/comments"},"review_comment":{"href":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Axelrod-Python/Axelrod/pulls/1002/commits"},"statuses":{"href":"https://api.github.com/repos/Axelrod-Python/Axelrod/statuses/0d763790267f9724764b707599efd6da82bd6574"}}}}
{"actor":{"display_login":"meatballs"}}