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

Minimum Safety Threshold update #260

Merged
merged 4 commits into from
Jun 7, 2024

Conversation

MikePlante1
Copy link
Contributor

@MikePlante1 MikePlante1 commented Jun 1, 2024

  • Changes default of minimum safety threshold in Trio to 60 from 65 to match standard oref.
    • Standard oref sets threshold to 20 + ½ TargetGlucose. Since 80 mg/dL is the lowest oref will use as a target, 60 mg/dL is the lowest oref will set the safety threshold to.
    • Fixes typo in Trio-oref that defaulted minimum threshold to 0.6, even though it was still raised to 60 later.
  • Changes name of setting from Threshold Setting (mg/dL) to Minimum Safety Threshold (mg/dL).
  • Updates tooltip to improve clarity.
  • Resets translations for setting name and tooltip
tooltip

- Changes default of minimum safety threshold to `60` from `65` to match standard oref.
- Changes name of setting from `Threshold Setting (mg/dL)` to `Minimum Safety Threshold (mg/dL)`.
- Updates tooltip to improve clarity.
JeremyStorring
JeremyStorring previously approved these changes Jun 1, 2024
trio-oref/lib/profile/index.js Show resolved Hide resolved
@pheltzel
Copy link

pheltzel commented Jun 1, 2024

LGTM!

@bjornoleh
Copy link
Contributor

Minor suggestion for improvement (?), as it may not be clear what the “If you use mmol” part actually means:

Must be set between 60-120 mg/dL. If you use mmol/L, multiply by 18

-> Must be set between 60-120 mg/dL. To convert from mmol/L to mg/dL, please multiply by 18

"If you use mmol/L," -> "To convert from mmol/L,"

Co-Authored-By: bjornoleh <63544115+bjornoleh@users.noreply.github.com>
@MikePlante1
Copy link
Contributor Author

-> Must be set between 60-120 mg/dL. To convert from mmol/L to mg/dL, please multiply by 18

Thanks. Just pushed that update.

@MikePlante1 MikePlante1 changed the title Threshold typo Minimum Safety Threshold update Jun 2, 2024
Copy link
Contributor

@dnzxy dnzxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bjornoleh
Copy link
Contributor

Merging with two approving reviews

@bjornoleh bjornoleh merged commit e6d67ac into nightscout:dev Jun 7, 2024
1 check passed
@dnzxy dnzxy mentioned this pull request Jun 7, 2024
mountrcg added a commit to mountrcg/Trio that referenced this pull request Jun 15, 2024
mountrcg pushed a commit to mountrcg/Trio that referenced this pull request Aug 1, 2024
@MikePlante1 MikePlante1 deleted the threshold_typo branch August 14, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants