LoopKit / Loop

An automated insulin delivery app for iOS, built on LoopKit
https://loopdocs.org
Other
1.48k stars 1.29k forks source link

Too low prediction after override #2213

Open smlcngl opened 3 weeks ago

smlcngl commented 3 weeks ago

The Bug:

I encountered an issue where the Loop app v3.4.1(4) provided an incorrect low blood glucose prediction after I added and then removed an override setting. Here's what happened: I added an override setting %10 to adjust my insulin sensitivity and target range. Shortly after, I removed the override and returned to my usual settings. Following the removal, the app predicted a significant drop (-400 mg) in blood glucose, far lower than expected based on my usual settings and recent insulin doses. This low prediction seemed to persist for 4 hours (still ongoing). I believe this may be a bug related to how the app recalculates predictions after override settings are removed.

Screenshots:

image

To Reproduce Steps to reproduce the behavior:

  1. Activate an override
  2. deactive Override

Expected behavior I would expect loop to turn normal settings after override is turned off.

Screenshots image image

Phone

Loop Version

CGM

Pump

Additional context n/a

marionbarker commented 3 weeks ago

If you enter carbs or insulin with an extreme override, it can cause this type of problem.

https://loopkit.github.io/loopdocs/operation/features/overrides/#avoid-extreme-insulin-needs-setting

we can confirm what happened from the critical log export. That is quite a large file. Let me know if you want it analyzed. You can send me a direct message on zulipchat.