You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting at https://github.com/openaps/openaps-js/blob/master/bin/determine-basal.js#L8 we determine the average delta over the last 3, 2, or 1 available CGM data points. In cases where CGM data is missing, this results in an overestimate of the (absolute value of the) average delta, which can cause OpenAPS to overreact until it gets more CGM data.
It would be better to calculate the average delta using the elapsed CGM system time between the two data points under comparison, instead of naively assuming each data point represents 5 minutes.
The text was updated successfully, but these errors were encountered:
Starting at https://github.com/openaps/openaps-js/blob/master/bin/determine-basal.js#L8 we determine the average delta over the last 3, 2, or 1 available CGM data points. In cases where CGM data is missing, this results in an overestimate of the (absolute value of the) average delta, which can cause OpenAPS to overreact until it gets more CGM data.
It would be better to calculate the average delta using the elapsed CGM system time between the two data points under comparison, instead of naively assuming each data point represents 5 minutes.
The text was updated successfully, but these errors were encountered: