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

TDD vastly incorrect #1073

Open
mxsrm opened this issue Jan 26, 2025 · 4 comments
Open

TDD vastly incorrect #1073

mxsrm opened this issue Jan 26, 2025 · 4 comments

Comments

@mxsrm
Copy link

mxsrm commented Jan 26, 2025

The Insulin today (17.6u), TDD compared to day before etc are nowhere near the realistic values, see screenshots attached (too high in the ballpark of factor 10 shortly after midnight). Some values are added that do not belong to today would be my guess.

Image
Image
Image

Commit: 3a46a7a
CGM: G7
Pump: DanaRS
iPhone 16 Pro @ iOS 18.2.1

log.txt

@mxsrm
Copy link
Author

mxsrm commented Jan 26, 2025

So, roughly 11 hours later "insulin today" has normalized (16.4 in app vs 17.0 on pump, that is a small difference that is acceptable).

Image
Image

However the other statistics (Time with negative insulin, Insulin compared to yesterday/average) are still vastly incorrect:

Image

log.txt

@mxsrm
Copy link
Author

mxsrm commented Jan 26, 2025

To clarify, I report this mainly in case those numbers are used somewhere else for calculations, which could be dangerous.

@mxsrm
Copy link
Author

mxsrm commented Jan 26, 2025

This bug is also still present at the HEAD@ce872485 of Dana branch (since I use a DanaRS I can not really test the normal dev or main branches).

Image

@Jon-b-m
Copy link
Member

Jon-b-m commented Jan 26, 2025

There was a typo bug which is resolved in dev branch. The insulin compared to yesterday is not TDD but the 24h past insulin at the same timestamp compared to yesterday's timestamp.

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

No branches or pull requests

2 participants