Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Additional Calculator Safeguard #732

Open
macconnellk opened this issue Jun 6, 2024 · 1 comment
Open

Feature Request: Additional Calculator Safeguard #732

macconnellk opened this issue Jun 6, 2024 · 1 comment

Comments

@macconnellk
Copy link

macconnellk commented Jun 6, 2024

The following scenario still results in large insulin recommendations for me despite improvements to the calculator in v4.

  1. Eat a large meal (e.g. 150+ carbs) and bolus initial recommendation.
  2. Several hours later SMBs begin delivering extra insulin due to COB that remains.
  3. Enter a small snack in the calculator
  4. The calculator recommends a bolus to cover all the remaining COB, bypassing the SMBs, and often this causes a low..

Additional safeguard request: Calculate insulin for COB, the latest carb entry or safety threshold and always recommend the minimum of the three.

Discussion: I have implemented this approach myself in prior versions successfully. I was hopeful the newest iteration of the calculator would make it unnecessary. Unfortunately, I ran I to the same issue again today. I realize this may be an issue with settings causing mismatch between COB and insulin required. Still the slower SMB delivery of additional insulin helps mitigate issues during times that settings are changing or off. In this approach, once any carbs are on board, new carbs entries smaller than COB are always covered and remaining COB is still handled via SMBs. There may need to be some logic to ensure insulin greater than needed for max_cob isn’t recommended.

@Merkaffe
Copy link

Merkaffe commented Sep 7, 2024

If you make a PR I can look at it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants