{"action":"created","issue":{"url":"https://api.github.com/repos/gcp/leela-zero/issues/795","repository_url":"https://api.github.com/repos/gcp/leela-zero","labels_url":"https://api.github.com/repos/gcp/leela-zero/issues/795/labels{/name}","comments_url":"https://api.github.com/repos/gcp/leela-zero/issues/795/comments","events_url":"https://api.github.com/repos/gcp/leela-zero/issues/795/events","html_url":"https://github.com/gcp/leela-zero/issues/795","id":293590764,"number":795,"title":"Should Leela be able to resign while doing kgs-genmove_cleanup moves?","user":{"login":"Cabu","id":453185,"avatar_url":"https://avatars0.githubusercontent.com/u/453185?v=4","gravatar_id":"","url":"https://api.github.com/users/Cabu","html_url":"https://github.com/Cabu","followers_url":"https://api.github.com/users/Cabu/followers","following_url":"https://api.github.com/users/Cabu/following{/other_user}","gists_url":"https://api.github.com/users/Cabu/gists{/gist_id}","starred_url":"https://api.github.com/users/Cabu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cabu/subscriptions","organizations_url":"https://api.github.com/users/Cabu/orgs","repos_url":"https://api.github.com/users/Cabu/repos","events_url":"https://api.github.com/users/Cabu/events{/privacy}","received_events_url":"https://api.github.com/users/Cabu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-01T16:16:02Z","updated_at":"2018-02-01T17:46:20Z","closed_at":null,"author_association":"NONE","body":"The kgs-genmove_cleanup, should play move to remove all dead stones. \r\nBut in the code in GTP.cpp on line 390, you don't set UCTSearch::NORESIGN\r\n\r\n389                game.set_to_move(who);\r\n390                int move = search->think(who, UCTSearch::NOPASS);\r\n391                game.play_move(move);\r\n\r\nAnd on line 398 you specifically check for a resign:\r\n\r\n396            if (cfg_allow_pondering) {\r\n397                // now start pondering\r\n398                if (!game.has_resigned()) {\r\n399                    search->ponder();\r\n400                }\r\n401            }\r\n"},"comment":{"url":"https://api.github.com/repos/gcp/leela-zero/issues/comments/362346393","html_url":"https://github.com/gcp/leela-zero/issues/795#issuecomment-362346393","issue_url":"https://api.github.com/repos/gcp/leela-zero/issues/795","id":362346393,"user":{"login":"gcp","id":1104290,"avatar_url":"https://avatars2.githubusercontent.com/u/1104290?v=4","gravatar_id":"","url":"https://api.github.com/users/gcp","html_url":"https://github.com/gcp","followers_url":"https://api.github.com/users/gcp/followers","following_url":"https://api.github.com/users/gcp/following{/other_user}","gists_url":"https://api.github.com/users/gcp/gists{/gist_id}","starred_url":"https://api.github.com/users/gcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcp/subscriptions","organizations_url":"https://api.github.com/users/gcp/orgs","repos_url":"https://api.github.com/users/gcp/repos","events_url":"https://api.github.com/users/gcp/events{/privacy}","received_events_url":"https://api.github.com/users/gcp/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T17:46:20Z","updated_at":"2018-02-01T17:46:20Z","author_association":"OWNER","body":"I think it's ok to resign then?"}}
{"actor":{"display_login":"gcp"}}