{"action":"created","issue":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/864","repository_url":"https://api.github.com/repos/official-stockfish/Stockfish","labels_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/864/labels{/name}","comments_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/864/comments","events_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/864/events","html_url":"https://github.com/official-stockfish/Stockfish/pull/864","id":187694495,"number":864,"title":"More accurate 'go nodes' searches at low count.","user":{"login":"vondele","id":4202567,"avatar_url":"https://avatars.githubusercontent.com/u/4202567?v=3","gravatar_id":"","url":"https://api.github.com/users/vondele","html_url":"https://github.com/vondele","followers_url":"https://api.github.com/users/vondele/followers","following_url":"https://api.github.com/users/vondele/following{/other_user}","gists_url":"https://api.github.com/users/vondele/gists{/gist_id}","starred_url":"https://api.github.com/users/vondele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vondele/subscriptions","organizations_url":"https://api.github.com/users/vondele/orgs","repos_url":"https://api.github.com/users/vondele/repos","events_url":"https://api.github.com/users/vondele/events{/privacy}","received_events_url":"https://api.github.com/users/vondele/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-07T12:02:31Z","updated_at":"2016-11-11T06:27:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/pulls/864","html_url":"https://github.com/official-stockfish/Stockfish/pull/864","diff_url":"https://github.com/official-stockfish/Stockfish/pull/864.diff","patch_url":"https://github.com/official-stockfish/Stockfish/pull/864.patch"},"body":"Makes the actual number of nodes searched match closely the number of nodes requested, by increasing the frequency of checking the number of nodes searched at low node count. All other searches retain the default checking frequency of once per 4096 nodes, and are thus unaffected.\r\n\r\nOn master the number of nodes searched vs requested looks like:\r\n```\r\n # requested       actual       %error\r\n        1000         7379       637.90\r\n        2000         7379       268.95\r\n        4000         7379        84.47\r\n        8000        14138        76.72\r\n       16000        21185        32.41\r\n       32000        36079        12.75\r\n       64000        65371         2.14\r\n      128000       131819         2.98\r\n      256000       259799         1.48\r\n\r\nThis patch changes this into:\r\n\r\n # requested       actual       %error\r\n        1000         1000         0.00\r\n        2000         2001         0.05\r\n        4000         4008         0.20\r\n        8000         8002         0.03\r\n       16000        16014         0.09\r\n       32000        32035         0.11\r\n       64000        64109         0.17\r\n      128000       128097         0.08\r\n      256000       256210         0.08\r\n```\r\npassed STC single threaded\r\n\r\nLLR: 2.96 (-2.94,2.94) [-3.00,1.00]\r\nTotal: 32410 W: 5644 L: 5542 D: 21224\r\n\r\nwith no noticeable slowdown on 32 threads\r\n\r\nnodecount: 40139952 +- 218708 Nodes/second\r\nmaster: 40091022 +- 118310 Nodes/second\r\n\r\nNo functional change."},"comment":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/comments/259890648","html_url":"https://github.com/official-stockfish/Stockfish/pull/864#issuecomment-259890648","issue_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/864","id":259890648,"user":{"login":"mcostalba","id":1099265,"avatar_url":"https://avatars.githubusercontent.com/u/1099265?v=3","gravatar_id":"","url":"https://api.github.com/users/mcostalba","html_url":"https://github.com/mcostalba","followers_url":"https://api.github.com/users/mcostalba/followers","following_url":"https://api.github.com/users/mcostalba/following{/other_user}","gists_url":"https://api.github.com/users/mcostalba/gists{/gist_id}","starred_url":"https://api.github.com/users/mcostalba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcostalba/subscriptions","organizations_url":"https://api.github.com/users/mcostalba/orgs","repos_url":"https://api.github.com/users/mcostalba/repos","events_url":"https://api.github.com/users/mcostalba/events{/privacy}","received_events_url":"https://api.github.com/users/mcostalba/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T06:27:56Z","updated_at":"2016-11-11T06:27:56Z","body":"@syzygy this is a good idea "}}
{"actor":{"display_login":"mcostalba"}}