{"action":"created","issue":{"url":"https://api.github.com/repos/tidwall/poly/issues/1","repository_url":"https://api.github.com/repos/tidwall/poly","labels_url":"https://api.github.com/repos/tidwall/poly/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tidwall/poly/issues/1/comments","events_url":"https://api.github.com/repos/tidwall/poly/issues/1/events","html_url":"https://github.com/tidwall/poly/pull/1","id":193334483,"number":1,"title":"Add failing tests to try to confirm a suspected bug","user":{"login":"drewlesueur","id":115536,"avatar_url":"https://avatars.githubusercontent.com/u/115536?v=3","gravatar_id":"","url":"https://api.github.com/users/drewlesueur","html_url":"https://github.com/drewlesueur","followers_url":"https://api.github.com/users/drewlesueur/followers","following_url":"https://api.github.com/users/drewlesueur/following{/other_user}","gists_url":"https://api.github.com/users/drewlesueur/gists{/gist_id}","starred_url":"https://api.github.com/users/drewlesueur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewlesueur/subscriptions","organizations_url":"https://api.github.com/users/drewlesueur/orgs","repos_url":"https://api.github.com/users/drewlesueur/repos","events_url":"https://api.github.com/users/drewlesueur/events{/privacy}","received_events_url":"https://api.github.com/users/drewlesueur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-04T06:13:21Z","updated_at":"2016-12-04T20:13:05Z","closed_at":"2016-12-04T15:41:01Z","pull_request":{"url":"https://api.github.com/repos/tidwall/poly/pulls/1","html_url":"https://github.com/tidwall/poly/pull/1","diff_url":"https://github.com/tidwall/poly/pull/1.diff","patch_url":"https://github.com/tidwall/poly/pull/1.patch"},"body":"(Hopefully this is helpful)\r\nI added some tests that I think should pass and some of them end up failing.\r\n\r\nI tried to actually fix the issue. I got some test to pass, but I ended up breaking other tests, so I removed my attempt to fix.\r\nMy attempt was related to this code I found here: https://rosettacode.org/wiki/Ray-casting_algorithm#Go\r\n```\r\nfor p.y == a.y || p.y == b.y {\r\n        p.y = math.Nextafter(p.y, math.Inf(1))\r\n}\r\n```\r\nI am not very familiar with the algorithm though.\r\n\r\nPS, Thanks for the code. Tile38 looks really interesting."},"comment":{"url":"https://api.github.com/repos/tidwall/poly/issues/comments/264727650","html_url":"https://github.com/tidwall/poly/pull/1#issuecomment-264727650","issue_url":"https://api.github.com/repos/tidwall/poly/issues/1","id":264727650,"user":{"login":"drewlesueur","id":115536,"avatar_url":"https://avatars.githubusercontent.com/u/115536?v=3","gravatar_id":"","url":"https://api.github.com/users/drewlesueur","html_url":"https://github.com/drewlesueur","followers_url":"https://api.github.com/users/drewlesueur/followers","following_url":"https://api.github.com/users/drewlesueur/following{/other_user}","gists_url":"https://api.github.com/users/drewlesueur/gists{/gist_id}","starred_url":"https://api.github.com/users/drewlesueur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewlesueur/subscriptions","organizations_url":"https://api.github.com/users/drewlesueur/orgs","repos_url":"https://api.github.com/users/drewlesueur/repos","events_url":"https://api.github.com/users/drewlesueur/events{/privacy}","received_events_url":"https://api.github.com/users/drewlesueur/received_events","type":"User","site_admin":false},"created_at":"2016-12-04T20:13:05Z","updated_at":"2016-12-04T20:13:05Z","body":"Thank you!\r\nThis also fixes my real-world test on my side."}}
{"actor":{"display_login":"drewlesueur"}}