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

remove +ve momentum from bolus calculation #372

Merged
merged 2 commits into from
Feb 19, 2017

Conversation

thebookins
Copy link
Contributor

This PR is a attempt to address #370. The recommendBolus function calculates a bolus based on both a glucose prediction with momentum, and one without, and returns the smaller bolus of the two.

Note that currently the retrospective effect is not used in the bolus calculation without momentum. We will test over the next few days. Any comments welcome.

@ps2 ps2 merged commit 3ba50da into LoopKit:dev Feb 19, 2017
@thebookins thebookins deleted the wip/bolus-without-momentum branch March 12, 2017 09:20
@ps2 ps2 mentioned this pull request May 14, 2017
ps2 pushed a commit that referenced this pull request Mar 17, 2021
- https://tidepool.atlassian.net/browse/LOOP-2546
- https://tidepool.atlassian.net/browse/LOOP-3143
- https://tidepool.atlassian.net/browse/LOOP-3144
- https://tidepool.atlassian.net/browse/LOOP-3145
- Refactor AppDelegate into new LoopAppManager class
- Refactor onboarding into new OnboardingManager class
- Refactor BluetoothStateManager to support deferred authorization and separate state
- Update root view controller dependent classes to use provider
- Update LaunchScreen and Main root view controller to display system background only
- Refactor and remove onboarding related from StatusTableViewController
- Defer StatusTableViewController creation until after onboarding
- Support multiple onboarding plugins
- Use OSLog in PluginManager for debugging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants