{"action":"created","issue":{"url":"https://api.github.com/repos/well-typed/binary-serialise-cbor/issues/67","repository_url":"https://api.github.com/repos/well-typed/binary-serialise-cbor","labels_url":"https://api.github.com/repos/well-typed/binary-serialise-cbor/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/well-typed/binary-serialise-cbor/issues/67/comments","events_url":"https://api.github.com/repos/well-typed/binary-serialise-cbor/issues/67/events","html_url":"https://github.com/well-typed/binary-serialise-cbor/issues/67","id":155750138,"number":67,"title":"decode . encode != id","user":{"login":"Mathnerd314","id":322214,"avatar_url":"https://avatars.githubusercontent.com/u/322214?v=3","gravatar_id":"","url":"https://api.github.com/users/Mathnerd314","html_url":"https://github.com/Mathnerd314","followers_url":"https://api.github.com/users/Mathnerd314/followers","following_url":"https://api.github.com/users/Mathnerd314/following{/other_user}","gists_url":"https://api.github.com/users/Mathnerd314/gists{/gist_id}","starred_url":"https://api.github.com/users/Mathnerd314/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mathnerd314/subscriptions","organizations_url":"https://api.github.com/users/Mathnerd314/orgs","repos_url":"https://api.github.com/users/Mathnerd314/repos","events_url":"https://api.github.com/users/Mathnerd314/events{/privacy}","received_events_url":"https://api.github.com/users/Mathnerd314/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-19T14:26:24Z","updated_at":"2016-05-19T17:36:15Z","closed_at":null,"body":"I was running the [serial-bench](https://github.com/fpco/serial-bench) tests with CBOR commit ab0f19334a6626bfc5d86319a32a444a4b5eda56, and this turned up:\r\n```\r\n  test/Spec.hs:22: \r\n  1) cbor/cbor\r\n       Falsifiable (after 27 tests and 4 shrinks): \r\n       expected: Just [SomeData 53169 70 55.3817683321392]\r\n        but got: Just [SomeData (-12367) 70 55.3817683321392]\r\n       [ArbSomeData {toSomeData = SomeData 53169 70 55.3817683321392}]\r\n```"},"comment":{"url":"https://api.github.com/repos/well-typed/binary-serialise-cbor/issues/comments/220397381","html_url":"https://github.com/well-typed/binary-serialise-cbor/issues/67#issuecomment-220397381","issue_url":"https://api.github.com/repos/well-typed/binary-serialise-cbor/issues/67","id":220397381,"user":{"login":"Shimuuar","id":100394,"avatar_url":"https://avatars.githubusercontent.com/u/100394?v=3","gravatar_id":"","url":"https://api.github.com/users/Shimuuar","html_url":"https://github.com/Shimuuar","followers_url":"https://api.github.com/users/Shimuuar/followers","following_url":"https://api.github.com/users/Shimuuar/following{/other_user}","gists_url":"https://api.github.com/users/Shimuuar/gists{/gist_id}","starred_url":"https://api.github.com/users/Shimuuar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shimuuar/subscriptions","organizations_url":"https://api.github.com/users/Shimuuar/orgs","repos_url":"https://api.github.com/users/Shimuuar/repos","events_url":"https://api.github.com/users/Shimuuar/events{/privacy}","received_events_url":"https://api.github.com/users/Shimuuar/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T17:36:15Z","updated_at":"2016-05-19T17:36:15Z","body":"I couldn't reproduce issue. But here is observation `fromIntegral (53169::Word16) == -12367::Int16`. "}}