{"action":"created","issue":{"url":"https://api.github.com/repos/openaps/oref0/issues/709","repository_url":"https://api.github.com/repos/openaps/oref0","labels_url":"https://api.github.com/repos/openaps/oref0/issues/709/labels{/name}","comments_url":"https://api.github.com/repos/openaps/oref0/issues/709/comments","events_url":"https://api.github.com/repos/openaps/oref0/issues/709/events","html_url":"https://github.com/openaps/oref0/issues/709","id":264687326,"number":709,"title":"Bolus wizard record parsing and upload","user":{"login":"scottleibrand","id":6982790,"avatar_url":"https://avatars1.githubusercontent.com/u/6982790?v=4","gravatar_id":"","url":"https://api.github.com/users/scottleibrand","html_url":"https://github.com/scottleibrand","followers_url":"https://api.github.com/users/scottleibrand/followers","following_url":"https://api.github.com/users/scottleibrand/following{/other_user}","gists_url":"https://api.github.com/users/scottleibrand/gists{/gist_id}","starred_url":"https://api.github.com/users/scottleibrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottleibrand/subscriptions","organizations_url":"https://api.github.com/users/scottleibrand/orgs","repos_url":"https://api.github.com/users/scottleibrand/repos","events_url":"https://api.github.com/users/scottleibrand/events{/privacy}","received_events_url":"https://api.github.com/users/scottleibrand/received_events","type":"User","site_admin":false},"labels":[{"id":275176708,"url":"https://api.github.com/repos/openaps/oref0/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2017-10-11T18:23:20Z","updated_at":"2017-11-07T00:34:42Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Further work needs to be done (preferably by someone who actually uses the MDT Bolus Wizard) to figure out where OpenAPS' parsing of of bolus wizard records is not behaving as intended, why, and how we might fix it (without breaking anything else).\r\n\r\nRecent problem reports include https://gitter.im/nightscout/intend-to-bolus?at=59de4834614889d475a0c357 from @bdr1177, who only saw the carb portion and not the bolus portion of 0.6U that was delivered via the bolus wizard for 26 carbs.\r\n\r\nAlso, Petra and Erik Bängtsson provided a very detailed report, which I will post as a comment to this issue.\r\n\r\nI think the next step is for someone to get a test rig and test pump set up, posting to a test NS instance, and try to reliably reproduce these issues, so they can begin digging into the actual pumphistory.json contents, compare that to the parsing and uploading code, and figure out where the gaps are.  We'll likely identify two different classes of issues: one (hopefully rare) class involves parsing of pumphistory, where for example bolus wizard records with only carbs and no bolus are incorrectly used by OpenAPS, or (possibly) that complete bolus wizard records are completely ignored.  The second (more common) class of issues is with NS uploads, where records that are properly recognized and used by OpenAPS do not show up in NS."},"comment":{"url":"https://api.github.com/repos/openaps/oref0/issues/comments/342335524","html_url":"https://github.com/openaps/oref0/issues/709#issuecomment-342335524","issue_url":"https://api.github.com/repos/openaps/oref0/issues/709","id":342335524,"user":{"login":"PieterGit","id":6500826,"avatar_url":"https://avatars0.githubusercontent.com/u/6500826?v=4","gravatar_id":"","url":"https://api.github.com/users/PieterGit","html_url":"https://github.com/PieterGit","followers_url":"https://api.github.com/users/PieterGit/followers","following_url":"https://api.github.com/users/PieterGit/following{/other_user}","gists_url":"https://api.github.com/users/PieterGit/gists{/gist_id}","starred_url":"https://api.github.com/users/PieterGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PieterGit/subscriptions","organizations_url":"https://api.github.com/users/PieterGit/orgs","repos_url":"https://api.github.com/users/PieterGit/repos","events_url":"https://api.github.com/users/PieterGit/events{/privacy}","received_events_url":"https://api.github.com/users/PieterGit/received_events","type":"User","site_admin":false},"created_at":"2017-11-07T00:34:42Z","updated_at":"2017-11-07T00:34:42Z","author_association":"CONTRIBUTOR","body":"Found a partial solution to the COB=0 issue (other than the 1 second difference Scott fixed). See \r\nhttps://github.com/openaps/oref0/issues/777 for discussion and PR 780 for a suggested (partial) fix. Please help test that fix."}}
{"actor":{"display_login":"PieterGit"}}