{"action":"created","issue":{"url":"https://api.github.com/repos/HaliteChallenge/Halite-II/issues/151","repository_url":"https://api.github.com/repos/HaliteChallenge/Halite-II","labels_url":"https://api.github.com/repos/HaliteChallenge/Halite-II/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/HaliteChallenge/Halite-II/issues/151/comments","events_url":"https://api.github.com/repos/HaliteChallenge/Halite-II/issues/151/events","html_url":"https://github.com/HaliteChallenge/Halite-II/issues/151","id":269474838,"number":151,"title":"Starter kits don't let bots take advantage of initial 60s map timeout","user":{"login":"Snaar","id":602439,"avatar_url":"https://avatars1.githubusercontent.com/u/602439?v=4","gravatar_id":"","url":"https://api.github.com/users/Snaar","html_url":"https://github.com/Snaar","followers_url":"https://api.github.com/users/Snaar/followers","following_url":"https://api.github.com/users/Snaar/following{/other_user}","gists_url":"https://api.github.com/users/Snaar/gists{/gist_id}","starred_url":"https://api.github.com/users/Snaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snaar/subscriptions","organizations_url":"https://api.github.com/users/Snaar/orgs","repos_url":"https://api.github.com/users/Snaar/repos","events_url":"https://api.github.com/users/Snaar/events{/privacy}","received_events_url":"https://api.github.com/users/Snaar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Snaar","id":602439,"avatar_url":"https://avatars1.githubusercontent.com/u/602439?v=4","gravatar_id":"","url":"https://api.github.com/users/Snaar","html_url":"https://github.com/Snaar","followers_url":"https://api.github.com/users/Snaar/followers","following_url":"https://api.github.com/users/Snaar/following{/other_user}","gists_url":"https://api.github.com/users/Snaar/gists{/gist_id}","starred_url":"https://api.github.com/users/Snaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snaar/subscriptions","organizations_url":"https://api.github.com/users/Snaar/orgs","repos_url":"https://api.github.com/users/Snaar/repos","events_url":"https://api.github.com/users/Snaar/events{/privacy}","received_events_url":"https://api.github.com/users/Snaar/received_events","type":"User","site_admin":false},"assignees":[{"login":"Snaar","id":602439,"avatar_url":"https://avatars1.githubusercontent.com/u/602439?v=4","gravatar_id":"","url":"https://api.github.com/users/Snaar","html_url":"https://github.com/Snaar","followers_url":"https://api.github.com/users/Snaar/followers","following_url":"https://api.github.com/users/Snaar/following{/other_user}","gists_url":"https://api.github.com/users/Snaar/gists{/gist_id}","starred_url":"https://api.github.com/users/Snaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snaar/subscriptions","organizations_url":"https://api.github.com/users/Snaar/orgs","repos_url":"https://api.github.com/users/Snaar/repos","events_url":"https://api.github.com/users/Snaar/events{/privacy}","received_events_url":"https://api.github.com/users/Snaar/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-10-30T03:54:05Z","updated_at":"2017-10-31T17:23:27Z","closed_at":null,"author_association":"COLLABORATOR","body":"Issue is that most (all?) kits send bot name to halite right away, but that's what stops the initial 60s timeout, so right now there is no way to take advantage of the initial 60s timeout for preprocessing the map. Kits need to cache the bot name and delay sending it until getting the map for first turn. Fixed in:\r\n\r\n- [x] C++\r\n- [ ] CSharp\r\n- [ ] Clojure\r\n- [ ] Go\r\n- [x] Java\r\n- [ ] JavaScript\r\n- [ ] Kotlin\r\n- [x] ML-StarterBot-Python\r\n- [x] Python3\r\n- [ ] Ruby\r\n- [ ] Rust\r\n- [ ] Scala"},"comment":{"url":"https://api.github.com/repos/HaliteChallenge/Halite-II/issues/comments/340837885","html_url":"https://github.com/HaliteChallenge/Halite-II/issues/151#issuecomment-340837885","issue_url":"https://api.github.com/repos/HaliteChallenge/Halite-II/issues/151","id":340837885,"user":{"login":"hypirion","id":504876,"avatar_url":"https://avatars2.githubusercontent.com/u/504876?v=4","gravatar_id":"","url":"https://api.github.com/users/hypirion","html_url":"https://github.com/hypirion","followers_url":"https://api.github.com/users/hypirion/followers","following_url":"https://api.github.com/users/hypirion/following{/other_user}","gists_url":"https://api.github.com/users/hypirion/gists{/gist_id}","starred_url":"https://api.github.com/users/hypirion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypirion/subscriptions","organizations_url":"https://api.github.com/users/hypirion/orgs","repos_url":"https://api.github.com/users/hypirion/repos","events_url":"https://api.github.com/users/hypirion/events{/privacy}","received_events_url":"https://api.github.com/users/hypirion/received_events","type":"User","site_admin":false},"created_at":"2017-10-31T17:23:27Z","updated_at":"2017-10-31T17:23:27Z","author_association":"CONTRIBUTOR","body":"The Clojure kit is able to take advantage of the initial timeout if you want it to: `(initialize-game ...)` reads the player + map info, but the bot doesn't send back its name before [`(io/send-done-initialized)`](https://github.com/HaliteChallenge/Halite-II/blob/afe9836e2efa8f377c7ed69d2900682e26a15c7f/airesources/Clojure/src/MyBot.clj#L52) is called. "}}
{"actor":{"display_login":"hypirion"}}