nightscout / nightscout/AndroidAPS
Replace average and exponential smoothing with UKF In V4
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 6.4k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 19
Description
Having three separate smoothing algorithms in V4 isn't helpful to users and creates a complex, difficult to understand challenge in relation to how the different options work and what they do, as the explanations don't fit within the space in the config builder.
The data here (https://github.com/tim2000s/Smoothing-Investigations) highlights that UKF is much more effective than exponential for many reasons, so instead of leaving exponential in place, don't release it as part of the v4 release and replace it with UKF.
Additionally take the Average smoothing option away as it is technically not a smoothing algorithm, it is a retrospective adjustment to historic data and simply changes the delta value between now and the previous values rather than smoothing the current value to a safer one.
Instead offer:
No Smoothing
Advanced Smoothing ( The UKF smoothing options, and make it default for G7/One+/Stelo)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the V4 config builder and its existing smoothing options, then review the linked Smoothing-Investigations material and current UKF settings. Done means V4 offers only No Smoothing and Advanced Smoothing, removes Average and exponential from the release configuration, and uses Advanced Smoothing by default for G7, One+, and Stelo.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- data, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100