freeaps icon indicating copy to clipboard operation
freeaps copied to clipboard

ISF calculation and results in autosense.json

Open mountrcg opened this issue 3 years ago • 0 comments

Facts:

  • Autosense calculated Sensitivity of 1.28
  • I had autotune activated. Its calculation resulted in 44mg/dl/U E38B69D9-E94C-4596-8466-1A2DD1430F7C (... it did run at 1am in the morning, when I analysed I deactivated autotune and deleted results, and re-ran it again for the screenshot)
  • scheduled ISF from pump at 6 am was 40 mg/dl/U
  • scheduled ISF from pump at 4 am was 44 mg/dl/U

Oref calculated an adjusted ISF: A43E65A9-385E-4172-89F5-3299E26C8E06_1_105_c ... using the scheduled ISF as basis. Also the suggestion included that calculation: EDBBEBC8-DE5A-4DF2-8BE1-7382A70353C7_1_105_c So that was used to adjust the therapy.

However autosens.json showed a calculation based on the scheduled ISF from 04:43 am that was also on 44 (same value as the autotune result), resulting in ISF of 34: 0E2B519A-4B5F-474C-AD9B-89C8E4715531_1_105_c

Two issues come to mind:

  1. shouldn't oref use the autotuned ISF instead of the scheduled one
  2. shouldn't autosens.json show the current parameters instead of old ones

As I am not sure which value to look at in FAX to know the actual ISF beeing applied I have included the ISF from oref suggestion (2nd picture, as this is the calculations truth) into suggestion.json and showing it on HomeScreen as I noticed above sketched discrepancies.

mountrcg avatar Nov 17 '21 06:11 mountrcg