Skip to content

Commit c1e5330

Browse files
committed
Fix isf schedule to match previous, and fix tests
1 parent e41b710 commit c1e5330

File tree

3 files changed

+71
-68
lines changed

3 files changed

+71
-68
lines changed

LoopTests/Fixtures/live_capture/live_capture_predicted_glucose.json

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -12,311 +12,311 @@
1212
{
1313
"quantityUnit" : "mg\/dL",
1414
"startDate" : "2023-07-29T19:30:00Z",
15-
"quantity" : 177.65020176872684
15+
"quantity" : 177.56455527893289
1616
},
1717
{
1818
"quantityUnit" : "mg\/dL",
1919
"startDate" : "2023-07-29T19:35:00Z",
20-
"quantity" : 177.94580229441291
20+
"quantity" : 177.67338252385397
2121
},
2222
{
2323
"quantityUnit" : "mg\/dL",
2424
"startDate" : "2023-07-29T19:40:00Z",
25-
"quantity" : 175.46611293843657
25+
"quantity" : 174.91272423228034
2626
},
2727
{
2828
"quantityUnit" : "mg\/dL",
2929
"startDate" : "2023-07-29T19:45:00Z",
30-
"quantity" : 172.59722791126055
30+
"quantity" : 171.75695070238604
3131
},
3232
{
3333
"quantityUnit" : "mg\/dL",
3434
"startDate" : "2023-07-29T19:50:00Z",
35-
"quantity" : 169.87495105555067
35+
"quantity" : 168.76244616110549
3636
},
3737
{
3838
"quantityUnit" : "mg\/dL",
3939
"startDate" : "2023-07-29T19:55:00Z",
40-
"quantity" : 167.32206948698089
40+
"quantity" : 165.95427643567874
4141
},
4242
{
4343
"quantityUnit" : "mg\/dL",
4444
"startDate" : "2023-07-29T20:00:00Z",
45-
"quantity" : 164.95802828894384
45+
"quantity" : 163.35383111783804
4646
},
4747
{
4848
"quantityUnit" : "mg\/dL",
4949
"startDate" : "2023-07-29T20:05:00Z",
50-
"quantity" : 162.799237889301
50+
"quantity" : 160.97916167823055
5151
},
5252
{
5353
"quantityUnit" : "mg\/dL",
5454
"startDate" : "2023-07-29T20:10:00Z",
55-
"quantity" : 160.85935776247501
55+
"quantity" : 158.84529353872236
5656
},
5757
{
5858
"quantityUnit" : "mg\/dL",
5959
"startDate" : "2023-07-29T20:15:00Z",
60-
"quantity" : 159.14955811070476
60+
"quantity" : 156.96451392177406
6161
},
6262
{
6363
"quantityUnit" : "mg\/dL",
6464
"startDate" : "2023-07-29T20:20:00Z",
65-
"quantity" : 157.67876106975845
65+
"quantity" : 155.34663717673348
6666
},
6767
{
6868
"quantityUnit" : "mg\/dL",
6969
"startDate" : "2023-07-29T20:25:00Z",
70-
"quantity" : 156.45386288277368
70+
"quantity" : 153.99924917105037
7171
},
7272
{
7373
"quantityUnit" : "mg\/dL",
7474
"startDate" : "2023-07-29T20:30:00Z",
75-
"quantity" : 155.47993839055547
75+
"quantity" : 152.92793222961055
7676
},
7777
{
7878
"quantityUnit" : "mg\/dL",
7979
"startDate" : "2023-07-29T20:35:00Z",
80-
"quantity" : 154.76042909743759
80+
"quantity" : 152.13647200718029
8181
},
8282
{
8383
"quantityUnit" : "mg\/dL",
8484
"startDate" : "2023-07-29T20:40:00Z",
85-
"quantity" : 154.29731598814382
85+
"quantity" : 151.62704758695727
8686
},
8787
{
8888
"quantityUnit" : "mg\/dL",
8989
"startDate" : "2023-07-29T20:45:00Z",
90-
"quantity" : 154.05608025922115
90+
"quantity" : 151.36168828514261
9191
},
9292
{
9393
"quantityUnit" : "mg\/dL",
9494
"startDate" : "2023-07-29T20:50:00Z",
95-
"quantity" : 153.87872253327541
95+
"quantity" : 151.16659478660213
9696
},
9797
{
9898
"quantityUnit" : "mg\/dL",
9999
"startDate" : "2023-07-29T20:55:00Z",
100-
"quantity" : 153.74477419409126
100+
"quantity" : 151.01925161349905
101101
},
102102
{
103103
"quantityUnit" : "mg\/dL",
104104
"startDate" : "2023-07-29T21:00:00Z",
105-
"quantity" : 153.65183422706659
105+
"quantity" : 150.9170176497727
106106
},
107107
{
108108
"quantityUnit" : "mg\/dL",
109109
"startDate" : "2023-07-29T21:05:00Z",
110-
"quantity" : 153.59671237426855
110+
"quantity" : 150.85638361169495
111111
},
112112
{
113113
"quantityUnit" : "mg\/dL",
114114
"startDate" : "2023-07-29T21:10:00Z",
115-
"quantity" : 153.57553108615807
115+
"quantity" : 150.83308419477353
116116
},
117117
{
118118
"quantityUnit" : "mg\/dL",
119119
"startDate" : "2023-07-29T21:15:00Z",
120-
"quantity" : 153.58221248644404
120+
"quantity" : 150.84043373508726
121121
},
122122
{
123123
"quantityUnit" : "mg\/dL",
124124
"startDate" : "2023-07-29T21:20:00Z",
125-
"quantity" : 153.60736142719529
125+
"quantity" : 150.86809756991411
126126
},
127127
{
128128
"quantityUnit" : "mg\/dL",
129129
"startDate" : "2023-07-29T21:25:00Z",
130-
"quantity" : 153.64251644837177
130+
"quantity" : 150.9067680932084
131131
},
132132
{
133133
"quantityUnit" : "mg\/dL",
134134
"startDate" : "2023-07-29T21:30:00Z",
135-
"quantity" : 153.6805897321145
135+
"quantity" : 150.94864870532584
136136
},
137137
{
138138
"quantityUnit" : "mg\/dL",
139139
"startDate" : "2023-07-29T21:35:00Z",
140-
"quantity" : 153.71382876489778
140+
"quantity" : 150.98521164138711
141141
},
142142
{
143143
"quantityUnit" : "mg\/dL",
144144
"startDate" : "2023-07-29T21:40:00Z",
145-
"quantity" : 153.73532014905877
145+
"quantity" : 151.00885216396446
146146
},
147147
{
148148
"quantityUnit" : "mg\/dL",
149149
"startDate" : "2023-07-29T21:45:00Z",
150-
"quantity" : 153.73944380707744
150+
"quantity" : 151.01338818778473
151151
},
152152
{
153153
"quantityUnit" : "mg\/dL",
154154
"startDate" : "2023-07-29T21:50:00Z",
155-
"quantity" : 153.71948579563409
155+
"quantity" : 150.99143437519743
156156
},
157157
{
158158
"quantityUnit" : "mg\/dL",
159159
"startDate" : "2023-07-29T21:55:00Z",
160-
"quantity" : 153.66633596110259
160+
"quantity" : 150.93296955721272
161161
},
162162
{
163163
"quantityUnit" : "mg\/dL",
164164
"startDate" : "2023-07-29T22:00:00Z",
165-
"quantity" : 153.57131359166951
165+
"quantity" : 150.82844495083614
166166
},
167167
{
168168
"quantityUnit" : "mg\/dL",
169169
"startDate" : "2023-07-29T22:05:00Z",
170-
"quantity" : 153.42733862575696
170+
"quantity" : 150.67007248833207
171171
},
172172
{
173173
"quantityUnit" : "mg\/dL",
174174
"startDate" : "2023-07-29T22:10:00Z",
175-
"quantity" : 153.22562081288501
175+
"quantity" : 150.44818289417267
176176
},
177177
{
178178
"quantityUnit" : "mg\/dL",
179179
"startDate" : "2023-07-29T22:15:00Z",
180-
"quantity" : 152.95757302315255
180+
"quantity" : 150.15333032546724
181181
},
182182
{
183183
"quantityUnit" : "mg\/dL",
184184
"startDate" : "2023-07-29T22:20:00Z",
185-
"quantity" : 152.6168486074574
185+
"quantity" : 149.77853346820271
186186
},
187187
{
188188
"quantityUnit" : "mg\/dL",
189189
"startDate" : "2023-07-29T22:25:00Z",
190-
"quantity" : 152.19791624412059
190+
"quantity" : 149.31770786853204
191191
},
192192
{
193193
"quantityUnit" : "mg\/dL",
194194
"startDate" : "2023-07-29T22:30:00Z",
195-
"quantity" : 151.69512603552343
195+
"quantity" : 148.76463863907512
196196
},
197197
{
198198
"quantityUnit" : "mg\/dL",
199199
"startDate" : "2023-07-29T22:35:00Z",
200-
"quantity" : 151.10190276047783
200+
"quantity" : 148.11209303652518
201201
},
202202
{
203203
"quantityUnit" : "mg\/dL",
204204
"startDate" : "2023-07-29T22:40:00Z",
205-
"quantity" : 150.41252429050209
205+
"quantity" : 147.3537767195518
206206
},
207207
{
208208
"quantityUnit" : "mg\/dL",
209209
"startDate" : "2023-07-29T22:45:00Z",
210-
"quantity" : 149.62228184545992
210+
"quantity" : 146.48451003000551
211211
},
212212
{
213213
"quantityUnit" : "mg\/dL",
214214
"startDate" : "2023-07-29T22:50:00Z",
215-
"quantity" : 148.72654511478126
215+
"quantity" : 145.49919962625873
216216
},
217217
{
218218
"quantityUnit" : "mg\/dL",
219219
"startDate" : "2023-07-29T22:55:00Z",
220-
"quantity" : 147.72075310438126
220+
"quantity" : 144.39282841481932
221221
},
222222
{
223223
"quantityUnit" : "mg\/dL",
224224
"startDate" : "2023-07-29T23:00:00Z",
225-
"quantity" : 146.63562181392635
225+
"quantity" : 143.1991839953188
226226
},
227227
{
228228
"quantityUnit" : "mg\/dL",
229229
"startDate" : "2023-07-29T23:05:00Z",
230-
"quantity" : 145.62427893410708
230+
"quantity" : 142.08670682751759
231231
},
232232
{
233233
"quantityUnit" : "mg\/dL",
234234
"startDate" : "2023-07-29T23:10:00Z",
235-
"quantity" : 144.70139300297419
235+
"quantity" : 141.07153230327131
236236
},
237237
{
238238
"quantityUnit" : "mg\/dL",
239239
"startDate" : "2023-07-29T23:15:00Z",
240-
"quantity" : 143.86276464047646
240+
"quantity" : 140.14904110452417
241241
},
242242
{
243243
"quantityUnit" : "mg\/dL",
244244
"startDate" : "2023-07-29T23:20:00Z",
245-
"quantity" : 143.10429998676349
245+
"quantity" : 139.31472998543964
246246
},
247247
{
248248
"quantityUnit" : "mg\/dL",
249249
"startDate" : "2023-07-29T23:25:00Z",
250-
"quantity" : 142.42201473268764
250+
"quantity" : 138.56421620595611
251251
},
252252
{
253253
"quantityUnit" : "mg\/dL",
254254
"startDate" : "2023-07-29T23:30:00Z",
255-
"quantity" : 141.81203730584602
255+
"quantity" : 137.8932410364304
256256
},
257257
{
258258
"quantityUnit" : "mg\/dL",
259259
"startDate" : "2023-07-29T23:35:00Z",
260-
"quantity" : 141.27061129418698
260+
"quantity" : 137.29767242360586
261261
},
262262
{
263263
"quantityUnit" : "mg\/dL",
264264
"startDate" : "2023-07-29T23:40:00Z",
265-
"quantity" : 140.79409718279939
265+
"quantity" : 136.77350690107906
266266
},
267267
{
268268
"quantityUnit" : "mg\/dL",
269269
"startDate" : "2023-07-29T23:45:00Z",
270-
"quantity" : 140.37897347352472
270+
"quantity" : 136.3168708208772
271271
},
272272
{
273273
"quantityUnit" : "mg\/dL",
274274
"startDate" : "2023-07-29T23:50:00Z",
275-
"quantity" : 140.02183725149743
275+
"quantity" : 135.92402097664686
276276
},
277277
{
278278
"quantityUnit" : "mg\/dL",
279279
"startDate" : "2023-07-29T23:55:00Z",
280-
"quantity" : 139.71940425754278
280+
"quantity" : 135.59134468329685
281281
},
282282
{
283283
"quantityUnit" : "mg\/dL",
284284
"startDate" : "2023-07-30T00:00:00Z",
285-
"quantity" : 139.46850852060183
285+
"quantity" : 135.31535937266145
286286
},
287287
{
288288
"quantityUnit" : "mg\/dL",
289289
"startDate" : "2023-07-30T00:05:00Z",
290-
"quantity" : 139.26610159988408
290+
"quantity" : 135.09271175987229
291291
},
292292
{
293293
"quantityUnit" : "mg\/dL",
294294
"startDate" : "2023-07-30T00:10:00Z",
295-
"quantity" : 139.10925148234227
295+
"quantity" : 134.92017663057632
296296
},
297297
{
298298
"quantityUnit" : "mg\/dL",
299299
"startDate" : "2023-07-30T00:15:00Z",
300-
"quantity" : 138.99514117722615
300+
"quantity" : 134.79465529494851
301301
},
302302
{
303303
"quantityUnit" : "mg\/dL",
304304
"startDate" : "2023-07-30T00:20:00Z",
305-
"quantity" : 138.92106704593706
305+
"quantity" : 134.71317375053073
306306
},
307307
{
308308
"quantityUnit" : "mg\/dL",
309309
"startDate" : "2023-07-30T00:25:00Z",
310-
"quantity" : 138.88443690211088
310+
"quantity" : 134.67288059232183
311311
},
312312
{
313313
"quantityUnit" : "mg\/dL",
314314
"startDate" : "2023-07-30T00:30:00Z",
315-
"quantity" : 138.87759728271371
315+
"quantity" : 134.66535701098488
316316
},
317317
{
318318
"quantityUnit" : "mg\/dL",
319319
"startDate" : "2023-07-30T01:20:54Z",
320-
"quantity" : 138.87759728271371
320+
"quantity" : 134.66535701098488
321321
}
322322
]

0 commit comments

Comments
 (0)