{"action":"created","issue":{"url":"https://api.github.com/repos/bewest/decoding-carelink/issues/193","repository_url":"https://api.github.com/repos/bewest/decoding-carelink","labels_url":"https://api.github.com/repos/bewest/decoding-carelink/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/bewest/decoding-carelink/issues/193/comments","events_url":"https://api.github.com/repos/bewest/decoding-carelink/issues/193/events","html_url":"https://github.com/bewest/decoding-carelink/pull/193","id":160525435,"number":193,"title":"Correctly handle basal profiles that start with a rate of 0 at 00:00","user":{"login":"ecc1","id":1545157,"avatar_url":"https://avatars.githubusercontent.com/u/1545157?v=3","gravatar_id":"","url":"https://api.github.com/users/ecc1","html_url":"https://github.com/ecc1","followers_url":"https://api.github.com/users/ecc1/followers","following_url":"https://api.github.com/users/ecc1/following{/other_user}","gists_url":"https://api.github.com/users/ecc1/gists{/gist_id}","starred_url":"https://api.github.com/users/ecc1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecc1/subscriptions","organizations_url":"https://api.github.com/users/ecc1/orgs","repos_url":"https://api.github.com/users/ecc1/repos","events_url":"https://api.github.com/users/ecc1/events{/privacy}","received_events_url":"https://api.github.com/users/ecc1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-15T21:14:06Z","updated_at":"2016-06-16T00:19:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bewest/decoding-carelink/pulls/193","html_url":"https://github.com/bewest/decoding-carelink/pull/193","diff_url":"https://github.com/bewest/decoding-carelink/pull/193.diff","patch_url":"https://github.com/bewest/decoding-carelink/pull/193.patch"},"body":"If the basal profile starts with a rate of 0 at midnight, ReadProfile will return an empty schedule even though later periods are non-zero.  This patch fixes that."},"comment":{"url":"https://api.github.com/repos/bewest/decoding-carelink/issues/comments/226356754","html_url":"https://github.com/bewest/decoding-carelink/pull/193#issuecomment-226356754","issue_url":"https://api.github.com/repos/bewest/decoding-carelink/issues/193","id":226356754,"user":{"login":"ecc1","id":1545157,"avatar_url":"https://avatars.githubusercontent.com/u/1545157?v=3","gravatar_id":"","url":"https://api.github.com/users/ecc1","html_url":"https://github.com/ecc1","followers_url":"https://api.github.com/users/ecc1/followers","following_url":"https://api.github.com/users/ecc1/following{/other_user}","gists_url":"https://api.github.com/users/ecc1/gists{/gist_id}","starred_url":"https://api.github.com/users/ecc1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecc1/subscriptions","organizations_url":"https://api.github.com/users/ecc1/orgs","repos_url":"https://api.github.com/users/ecc1/repos","events_url":"https://api.github.com/users/ecc1/events{/privacy}","received_events_url":"https://api.github.com/users/ecc1/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T00:19:27Z","updated_at":"2016-06-16T00:19:27Z","body":"> Do you consider a rate of 0 at midnight to be valid? While I agree that decocare\n> should return a non-empty schedule, isn't this the kind of thing that should\n> generate an error at higher levels and result in refusal to loop?\n\nMaybe a warning, but if someone were very sensitive to insulin, it\nmight be plausible to have a period of 0 basal at some point in the\nday.\n\n--\nEric Cooper             e c c @ c m u . e d u\n"}}
{"actor":{"display_login":"ecc1"}}