{"action":"created","issue":{"url":"https://api.github.com/repos/ujh/iomrascalai/issues/75","labels_url":"https://api.github.com/repos/ujh/iomrascalai/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/ujh/iomrascalai/issues/75/comments","events_url":"https://api.github.com/repos/ujh/iomrascalai/issues/75/events","html_url":"https://github.com/ujh/iomrascalai/pull/75","id":54319487,"number":75,"title":"Fixed a bug where the computation of win ratio would be 100% for new pass move","user":{"login":"TisButMe","id":3686967,"avatar_url":"https://avatars.githubusercontent.com/u/3686967?v=3","gravatar_id":"","url":"https://api.github.com/users/TisButMe","html_url":"https://github.com/TisButMe","followers_url":"https://api.github.com/users/TisButMe/followers","following_url":"https://api.github.com/users/TisButMe/following{/other_user}","gists_url":"https://api.github.com/users/TisButMe/gists{/gist_id}","starred_url":"https://api.github.com/users/TisButMe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TisButMe/subscriptions","organizations_url":"https://api.github.com/users/TisButMe/orgs","repos_url":"https://api.github.com/users/TisButMe/repos","events_url":"https://api.github.com/users/TisButMe/events{/privacy}","received_events_url":"https://api.github.com/users/TisButMe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ujh/iomrascalai/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-14T13:03:32Z","updated_at":"2015-01-14T13:56:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ujh/iomrascalai/pulls/75","html_url":"https://github.com/ujh/iomrascalai/pull/75","diff_url":"https://github.com/ujh/iomrascalai/pull/75.diff","patch_url":"https://github.com/ujh/iomrascalai/pull/75.patch"},"body":"This allows the MC Engine to actually play.\r\n\r\nI've also bumped up the number of playouts/move to 1000 to reflect our gain in speed. On my machine, this give a playable 9x9, with some okayish moves generated (captures seen, etc...)."},"comment":{"url":"https://api.github.com/repos/ujh/iomrascalai/issues/comments/69918829","html_url":"https://github.com/ujh/iomrascalai/pull/75#issuecomment-69918829","issue_url":"https://api.github.com/repos/ujh/iomrascalai/issues/75","id":69918829,"user":{"login":"TisButMe","id":3686967,"avatar_url":"https://avatars.githubusercontent.com/u/3686967?v=3","gravatar_id":"","url":"https://api.github.com/users/TisButMe","html_url":"https://github.com/TisButMe","followers_url":"https://api.github.com/users/TisButMe/followers","following_url":"https://api.github.com/users/TisButMe/following{/other_user}","gists_url":"https://api.github.com/users/TisButMe/gists{/gist_id}","starred_url":"https://api.github.com/users/TisButMe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TisButMe/subscriptions","organizations_url":"https://api.github.com/users/TisButMe/orgs","repos_url":"https://api.github.com/users/TisButMe/repos","events_url":"https://api.github.com/users/TisButMe/events{/privacy}","received_events_url":"https://api.github.com/users/TisButMe/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T13:56:56Z","updated_at":"2015-01-14T13:56:56Z","body":"It had nothing to do with Pass or not, just that with MoveStats.plays == 0, you have a float division by 0, which returns NaN, which screwed up the comparisons to a better move. This, in turn, caused the Pass move to always be chosen, as it had NaN% win ratio."}}