Loop icon indicating copy to clipboard operation
Loop copied to clipboard

Provide manual bolus calculation breakdown

Open motinis opened this issue 2 years ago • 5 comments

~~This reflects a change to how Loop recommends bolusing carb entries. Instead of including the entire correction, this just covers the carbs themselves.~~

~~This ensures that corrections are not applied "too quickly" - for example, when adding a meal when already high, or when reducing the carbs in an existing meal (in which case insulin should not be added).~~

This provides a breakdown of the recommendation bolus to Carbs and Correction, to enable users to better decide how much bolus to manually give.

See this discussion in zulipchat~

motinis avatar Dec 28 '23 11:12 motinis

Added support to MockCarb store for glucose predictions for carb entries (basically copied over from CarbStore) and updated the test which now verifies the correct behavior.

motinis avatar Dec 29 '23 08:12 motinis

~~Added a feature flag to control the behavior (off by default)~~

motinis avatar Dec 30 '23 22:12 motinis

~~To be updated based on feedback~~

Updated based on received feedback

motinis avatar Dec 31 '23 12:12 motinis

@ps2 - would appreciate if you could take a look. Note this is dependent on LoopKit PR 520 - you can see screenshots of the feature in action in the 3 messages here in zulipchat

motinis avatar Jan 29 '24 08:01 motinis

Will open new PR

motinis avatar Mar 27 '24 19:03 motinis