nightscout / nightscout/AndroidAPS

Proposed change: max carbs absorption limit in preferences

Open
#3,976 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Kotlin
Stars
1.2k
Forks
6.4k
Avg merge
2d 7h
Merged PRs (30d)
19

Description

AndroidAPS 3.3-dev: Lates dev builds
Flavor: fullrelease

Observation:

I have been struggling with AAPS's carbs absorption for a long time. For me, carbs decay much faster than AAPS expects. In generally, this suggests IC/ISF profile settings may not be optimal.

No matter what I try:

  • Either I have correct IC/ISF values, but carbs absorption in AAPS takes too long.
  • Or carbs absorption in AAPS is ok, but IC or ISF values are not correct.

In both cases I end up with too much insulin and/or hypo's far too often.
In general, I solve this by either underestimating carbs intake or using latest option to enter negative carbs.

Tried with higher carbs absorption settings in preferences. Maximum value for min_5m_carbsimpact is currently limited to 12 mg/dL/5 min. A value of approximately 16 mg/dL/5 min proves to works much better for me.

Proposed change:
Proposing to change the max value in setting min_5m_carbsimpact from current max 12 to 24 mg/dl/5min.

Before doing a PR for this change, I would appreciate feedback on this proposal.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the AndroidAPS preference definition for min_5m_carbsimpact and inspect how its maximum value is enforced. Confirm the preference accepts a maximum of 24 mg/dL/5 min, then run the relevant preference or Android tests if available and verify the setting can be selected in the fullrelease build.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.