{"action":"created","issue":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/1820","repository_url":"https://api.github.com/repos/official-stockfish/Stockfish","labels_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/1820/labels{/name}","comments_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/1820/comments","events_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/1820/events","html_url":"https://github.com/official-stockfish/Stockfish/pull/1820","id":381981787,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxODAyMDYz","number":1820,"title":"FastStatReduction","user":{"login":"Chess13234","id":37609326,"node_id":"MDQ6VXNlcjM3NjA5MzI2","avatar_url":"https://avatars1.githubusercontent.com/u/37609326?v=4","gravatar_id":"","url":"https://api.github.com/users/Chess13234","html_url":"https://github.com/Chess13234","followers_url":"https://api.github.com/users/Chess13234/followers","following_url":"https://api.github.com/users/Chess13234/following{/other_user}","gists_url":"https://api.github.com/users/Chess13234/gists{/gist_id}","starred_url":"https://api.github.com/users/Chess13234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chess13234/subscriptions","organizations_url":"https://api.github.com/users/Chess13234/orgs","repos_url":"https://api.github.com/users/Chess13234/repos","events_url":"https://api.github.com/users/Chess13234/events{/privacy}","received_events_url":"https://api.github.com/users/Chess13234/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-18T17:35:09Z","updated_at":"2018-11-18T19:20:42Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/pulls/1820","html_url":"https://github.com/official-stockfish/Stockfish/pull/1820","diff_url":"https://github.com/official-stockfish/Stockfish/pull/1820.diff","patch_url":"https://github.com/official-stockfish/Stockfish/pull/1820.patch"},"body":"Converts the stat reduction to branchless version \r\nverified STC for no regression:\r\nLLR: 2.96 (-2.94,2.94) [-3.00,1.00]\r\nTotal: 39678 W: 8409 L: 8322 D: 22947 [GREEN]\r\nhttp://tests.stockfishchess.org/tests/view/5bf15f740ebc595e0ae3c094\r\n\r\nI believe no LTC test is needed.\r\nNo functional change"},"comment":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/comments/439718119","html_url":"https://github.com/official-stockfish/Stockfish/pull/1820#issuecomment-439718119","issue_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/1820","id":439718119,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTcxODExOQ==","user":{"login":"31m059","id":37052095,"node_id":"MDQ6VXNlcjM3MDUyMDk1","avatar_url":"https://avatars1.githubusercontent.com/u/37052095?v=4","gravatar_id":"","url":"https://api.github.com/users/31m059","html_url":"https://github.com/31m059","followers_url":"https://api.github.com/users/31m059/followers","following_url":"https://api.github.com/users/31m059/following{/other_user}","gists_url":"https://api.github.com/users/31m059/gists{/gist_id}","starred_url":"https://api.github.com/users/31m059/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/31m059/subscriptions","organizations_url":"https://api.github.com/users/31m059/orgs","repos_url":"https://api.github.com/users/31m059/repos","events_url":"https://api.github.com/users/31m059/events{/privacy}","received_events_url":"https://api.github.com/users/31m059/received_events","type":"User","site_admin":false},"created_at":"2018-11-18T19:20:42Z","updated_at":"2018-11-18T19:20:42Z","author_association":"NONE","body":"Isn't this equivalent?  Perhaps easier to read with an addition rather than double subtraction.\r\n\r\n`r += (((ss-1)->statScore >= 0) - (ss->statScore >= 0)) * ONE_PLY`"}}
{"actor":{"display_login":"31m059"}}