Skip to content

Commit e41b710

Browse files
committed
Add top-to-bottom algorithm prediction test
1 parent 01bb425 commit e41b710

10 files changed

+2242
-63
lines changed

Loop.xcodeproj/project.pbxproj

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@
394394
C110888D2A3913C600BA4898 /* BuildDetails.swift in Sources */ = {isa = PBXBuildFile; fileRef = C110888C2A3913C600BA4898 /* BuildDetails.swift */; };
395395
C11613492983096D00777E7C /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C11613472983096D00777E7C /* InfoPlist.strings */; };
396396
C116134C2983096D00777E7C /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = C116134A2983096D00777E7C /* Localizable.strings */; };
397+
C117B7952A743C0E00FDD015 /* SwiftCharts in Frameworks */ = {isa = PBXBuildFile; productRef = C1E3DC4628595FAA00CA19FF /* SwiftCharts */; };
397398
C11B9D5B286778A800500CF8 /* SwiftCharts in Frameworks */ = {isa = PBXBuildFile; productRef = C11B9D5A286778A800500CF8 /* SwiftCharts */; };
398399
C11B9D5E286778D000500CF8 /* LoopKitUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C11B9D5D286778D000500CF8 /* LoopKitUI.framework */; };
399400
C11B9D62286779C000500CF8 /* MockKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C11B9D60286779C000500CF8 /* MockKit.framework */; };
@@ -403,6 +404,10 @@
403404
C11BD0552523CFED00236B08 /* SimpleBolusViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = C11BD0542523CFED00236B08 /* SimpleBolusViewModel.swift */; };
404405
C1201E2C23ECDBD0002DA84A /* WatchContextRequestUserInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1201E2B23ECDBD0002DA84A /* WatchContextRequestUserInfo.swift */; };
405406
C1201E2D23ECDF3D002DA84A /* WatchContextRequestUserInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1201E2B23ECDBD0002DA84A /* WatchContextRequestUserInfo.swift */; };
407+
C13072BA2A76AF31009A7C58 /* live_capture_predicted_glucose.json in Resources */ = {isa = PBXBuildFile; fileRef = C13072B92A76AF31009A7C58 /* live_capture_predicted_glucose.json */; };
408+
C13072BE2A76AF97009A7C58 /* live_capture_doses.json in Resources */ = {isa = PBXBuildFile; fileRef = C13072BD2A76AF97009A7C58 /* live_capture_doses.json */; };
409+
C13072C02A76B041009A7C58 /* live_capture_carb_entries.json in Resources */ = {isa = PBXBuildFile; fileRef = C13072BF2A76B041009A7C58 /* live_capture_carb_entries.json */; };
410+
C13072C42A76B0B1009A7C58 /* live_capture_historic_glucose.json in Resources */ = {isa = PBXBuildFile; fileRef = C13072C32A76B0B1009A7C58 /* live_capture_historic_glucose.json */; };
406411
C13255D6223E7BE2008AF50C /* BolusProgressTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = C1F8B1DB223862D500DD66CF /* BolusProgressTableViewCell.xib */; };
407412
C13DA2B024F6C7690098BB29 /* UIViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C13DA2AF24F6C7690098BB29 /* UIViewController.swift */; };
408413
C148CEE724FD91BD00711B3B /* DeliveryUncertaintyAlertManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = C148CEE624FD91BD00711B3B /* DeliveryUncertaintyAlertManager.swift */; };
@@ -1394,6 +1399,10 @@
13941399
C12CB9B423106A6100F84978 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Intents.strings; sourceTree = "<group>"; };
13951400
C12CB9B623106A6200F84978 /* nb */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nb; path = nb.lproj/Intents.strings; sourceTree = "<group>"; };
13961401
C12CB9B823106A6300F84978 /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/Intents.strings; sourceTree = "<group>"; };
1402+
C13072B92A76AF31009A7C58 /* live_capture_predicted_glucose.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = live_capture_predicted_glucose.json; sourceTree = "<group>"; };
1403+
C13072BD2A76AF97009A7C58 /* live_capture_doses.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = live_capture_doses.json; sourceTree = "<group>"; };
1404+
C13072BF2A76B041009A7C58 /* live_capture_carb_entries.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = live_capture_carb_entries.json; sourceTree = "<group>"; };
1405+
C13072C32A76B0B1009A7C58 /* live_capture_historic_glucose.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = live_capture_historic_glucose.json; sourceTree = "<group>"; };
13971406
C13DA2AF24F6C7690098BB29 /* UIViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIViewController.swift; sourceTree = "<group>"; };
13981407
C148CEE624FD91BD00711B3B /* DeliveryUncertaintyAlertManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeliveryUncertaintyAlertManager.swift; sourceTree = "<group>"; };
13991408
C14952142995822A0095AA84 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/InfoPlist.strings; sourceTree = "<group>"; };
@@ -1755,6 +1764,7 @@
17551764
isa = PBXFrameworksBuildPhase;
17561765
buildActionMask = 2147483647;
17571766
files = (
1767+
C117B7952A743C0E00FDD015 /* SwiftCharts in Frameworks */,
17581768
);
17591769
runOnlyForDeploymentPostprocessing = 0;
17601770
};
@@ -1822,7 +1832,6 @@
18221832
isa = PBXGroup;
18231833
children = (
18241834
1DA7A84024476E98008257F0 /* Alerts */,
1825-
E950CA9429002E4B00B5B692 /* LoopDataManager */,
18261835
C16575722538AFF6004AE16E /* CGMStalenessMonitorTests.swift */,
18271836
A91E4C2224F86F1000BE9213 /* CriticalEventLogExportManagerTests.swift */,
18281837
C16B983F26B4898800256B05 /* DoseEnactorTests.swift */,
@@ -2711,6 +2720,17 @@
27112720
path = LoopCore;
27122721
sourceTree = "<group>";
27132722
};
2723+
C13072B82A76AF0A009A7C58 /* live_capture */ = {
2724+
isa = PBXGroup;
2725+
children = (
2726+
C13072B92A76AF31009A7C58 /* live_capture_predicted_glucose.json */,
2727+
C13072BD2A76AF97009A7C58 /* live_capture_doses.json */,
2728+
C13072BF2A76B041009A7C58 /* live_capture_carb_entries.json */,
2729+
C13072C32A76B0B1009A7C58 /* live_capture_historic_glucose.json */,
2730+
);
2731+
path = live_capture;
2732+
sourceTree = "<group>";
2733+
};
27142734
C16DA84022E8E104008624C2 /* Plugins */ = {
27152735
isa = PBXGroup;
27162736
children = (
@@ -2817,13 +2837,6 @@
28172837
path = high_and_stable;
28182838
sourceTree = "<group>";
28192839
};
2820-
E950CA9429002E4B00B5B692 /* LoopDataManager */ = {
2821-
isa = PBXGroup;
2822-
children = (
2823-
);
2824-
path = LoopDataManager;
2825-
sourceTree = "<group>";
2826-
};
28272840
E95D37FF24EADE68005E2F50 /* Store Protocols */ = {
28282841
isa = PBXGroup;
28292842
children = (
@@ -2874,6 +2887,7 @@
28742887
E9C58A7624DB510500487A17 /* Fixtures */ = {
28752888
isa = PBXGroup;
28762889
children = (
2890+
C13072B82A76AF0A009A7C58 /* live_capture */,
28772891
E9B355312937068A0076AB04 /* meal_detection */,
28782892
E90909EC24E35B3400F963D2 /* high_and_falling */,
28792893
E90909E124E352C300F963D2 /* low_with_low_treatment */,
@@ -3363,7 +3377,9 @@
33633377
buildActionMask = 2147483647;
33643378
files = (
33653379
E93E86CE24E2E02200FF40C8 /* high_and_stable_momentum_effect.json in Resources */,
3380+
C13072BA2A76AF31009A7C58 /* live_capture_predicted_glucose.json in Resources */,
33663381
E93E865424DB6CBA00FF40C8 /* retrospective_output.json in Resources */,
3382+
C13072BE2A76AF97009A7C58 /* live_capture_doses.json in Resources */,
33673383
E9C58A7F24DB529A00487A17 /* counteraction_effect_falling_glucose.json in Resources */,
33683384
E93E865624DB731900FF40C8 /* predicted_glucose_without_retrospective.json in Resources */,
33693385
E9B3553D293706CB0076AB04 /* long_interval_counteraction_effect.json in Resources */,
@@ -3376,6 +3392,7 @@
33763392
E90909D224E34AC500F963D2 /* high_and_rising_with_cob_insulin_effect.json in Resources */,
33773393
E90909F224E35B4D00F963D2 /* high_and_falling_counteraction_effect.json in Resources */,
33783394
E90909EE24E35B4000F963D2 /* high_and_falling_predicted_glucose.json in Resources */,
3395+
C13072C02A76B041009A7C58 /* live_capture_carb_entries.json in Resources */,
33793396
E90909DD24E34F1600F963D2 /* low_and_falling_carb_effect.json in Resources */,
33803397
E90909E924E3530200F963D2 /* low_with_low_treatment_predicted_glucose.json in Resources */,
33813398
E90909D124E34AC500F963D2 /* high_and_rising_with_cob_momentum_effect.json in Resources */,
@@ -3401,6 +3418,7 @@
34013418
E93E86C324E1FE6100FF40C8 /* flat_and_stable_counteraction_effect.json in Resources */,
34023419
E9C58A7E24DB529A00487A17 /* dynamic_glucose_effect_partially_observed.json in Resources */,
34033420
E90909F324E35B4D00F963D2 /* high_and_falling_carb_effect.json in Resources */,
3421+
C13072C42A76B0B1009A7C58 /* live_capture_historic_glucose.json in Resources */,
34043422
E93E86CA24E2E02200FF40C8 /* high_and_stable_insulin_effect.json in Resources */,
34053423
E93E86BB24E1FDC400FF40C8 /* flat_and_stable_momentum_effect.json in Resources */,
34063424
E93E86CB24E2E02200FF40C8 /* high_and_stable_carb_effect.json in Resources */,
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"startDate": "2023-07-29T18:17:07Z",
4+
"quantity": 50
5+
}
6+
]

0 commit comments

Comments
 (0)