Skip to content

Commit

Permalink
Add top-to-bottom algorithm prediction test
Browse files Browse the repository at this point in the history
  • Loading branch information
ps2 committed Jul 31, 2023
1 parent 01bb425 commit e41b710
Show file tree
Hide file tree
Showing 10 changed files with 2,242 additions and 63 deletions.
34 changes: 26 additions & 8 deletions Loop.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@
C110888D2A3913C600BA4898 /* BuildDetails.swift in Sources */ = {isa = PBXBuildFile; fileRef = C110888C2A3913C600BA4898 /* BuildDetails.swift */; };
C11613492983096D00777E7C /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C11613472983096D00777E7C /* InfoPlist.strings */; };
C116134C2983096D00777E7C /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = C116134A2983096D00777E7C /* Localizable.strings */; };
C117B7952A743C0E00FDD015 /* SwiftCharts in Frameworks */ = {isa = PBXBuildFile; productRef = C1E3DC4628595FAA00CA19FF /* SwiftCharts */; };
C11B9D5B286778A800500CF8 /* SwiftCharts in Frameworks */ = {isa = PBXBuildFile; productRef = C11B9D5A286778A800500CF8 /* SwiftCharts */; };
C11B9D5E286778D000500CF8 /* LoopKitUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C11B9D5D286778D000500CF8 /* LoopKitUI.framework */; };
C11B9D62286779C000500CF8 /* MockKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C11B9D60286779C000500CF8 /* MockKit.framework */; };
Expand All @@ -403,6 +404,10 @@
C11BD0552523CFED00236B08 /* SimpleBolusViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = C11BD0542523CFED00236B08 /* SimpleBolusViewModel.swift */; };
C1201E2C23ECDBD0002DA84A /* WatchContextRequestUserInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1201E2B23ECDBD0002DA84A /* WatchContextRequestUserInfo.swift */; };
C1201E2D23ECDF3D002DA84A /* WatchContextRequestUserInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1201E2B23ECDBD0002DA84A /* WatchContextRequestUserInfo.swift */; };
C13072BA2A76AF31009A7C58 /* live_capture_predicted_glucose.json in Resources */ = {isa = PBXBuildFile; fileRef = C13072B92A76AF31009A7C58 /* live_capture_predicted_glucose.json */; };
C13072BE2A76AF97009A7C58 /* live_capture_doses.json in Resources */ = {isa = PBXBuildFile; fileRef = C13072BD2A76AF97009A7C58 /* live_capture_doses.json */; };
C13072C02A76B041009A7C58 /* live_capture_carb_entries.json in Resources */ = {isa = PBXBuildFile; fileRef = C13072BF2A76B041009A7C58 /* live_capture_carb_entries.json */; };
C13072C42A76B0B1009A7C58 /* live_capture_historic_glucose.json in Resources */ = {isa = PBXBuildFile; fileRef = C13072C32A76B0B1009A7C58 /* live_capture_historic_glucose.json */; };
C13255D6223E7BE2008AF50C /* BolusProgressTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = C1F8B1DB223862D500DD66CF /* BolusProgressTableViewCell.xib */; };
C13DA2B024F6C7690098BB29 /* UIViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C13DA2AF24F6C7690098BB29 /* UIViewController.swift */; };
C148CEE724FD91BD00711B3B /* DeliveryUncertaintyAlertManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = C148CEE624FD91BD00711B3B /* DeliveryUncertaintyAlertManager.swift */; };
Expand Down Expand Up @@ -1394,6 +1399,10 @@
C12CB9B423106A6100F84978 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Intents.strings; sourceTree = "<group>"; };
C12CB9B623106A6200F84978 /* nb */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nb; path = nb.lproj/Intents.strings; sourceTree = "<group>"; };
C12CB9B823106A6300F84978 /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/Intents.strings; sourceTree = "<group>"; };
C13072B92A76AF31009A7C58 /* live_capture_predicted_glucose.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = live_capture_predicted_glucose.json; sourceTree = "<group>"; };
C13072BD2A76AF97009A7C58 /* live_capture_doses.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = live_capture_doses.json; sourceTree = "<group>"; };
C13072BF2A76B041009A7C58 /* live_capture_carb_entries.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = live_capture_carb_entries.json; sourceTree = "<group>"; };
C13072C32A76B0B1009A7C58 /* live_capture_historic_glucose.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = live_capture_historic_glucose.json; sourceTree = "<group>"; };
C13DA2AF24F6C7690098BB29 /* UIViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIViewController.swift; sourceTree = "<group>"; };
C148CEE624FD91BD00711B3B /* DeliveryUncertaintyAlertManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeliveryUncertaintyAlertManager.swift; sourceTree = "<group>"; };
C14952142995822A0095AA84 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/InfoPlist.strings; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1755,6 +1764,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C117B7952A743C0E00FDD015 /* SwiftCharts in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -1822,7 +1832,6 @@
isa = PBXGroup;
children = (
1DA7A84024476E98008257F0 /* Alerts */,
E950CA9429002E4B00B5B692 /* LoopDataManager */,
C16575722538AFF6004AE16E /* CGMStalenessMonitorTests.swift */,
A91E4C2224F86F1000BE9213 /* CriticalEventLogExportManagerTests.swift */,
C16B983F26B4898800256B05 /* DoseEnactorTests.swift */,
Expand Down Expand Up @@ -2711,6 +2720,17 @@
path = LoopCore;
sourceTree = "<group>";
};
C13072B82A76AF0A009A7C58 /* live_capture */ = {
isa = PBXGroup;
children = (
C13072B92A76AF31009A7C58 /* live_capture_predicted_glucose.json */,
C13072BD2A76AF97009A7C58 /* live_capture_doses.json */,
C13072BF2A76B041009A7C58 /* live_capture_carb_entries.json */,
C13072C32A76B0B1009A7C58 /* live_capture_historic_glucose.json */,
);
path = live_capture;
sourceTree = "<group>";
};
C16DA84022E8E104008624C2 /* Plugins */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -2817,13 +2837,6 @@
path = high_and_stable;
sourceTree = "<group>";
};
E950CA9429002E4B00B5B692 /* LoopDataManager */ = {
isa = PBXGroup;
children = (
);
path = LoopDataManager;
sourceTree = "<group>";
};
E95D37FF24EADE68005E2F50 /* Store Protocols */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -2874,6 +2887,7 @@
E9C58A7624DB510500487A17 /* Fixtures */ = {
isa = PBXGroup;
children = (
C13072B82A76AF0A009A7C58 /* live_capture */,
E9B355312937068A0076AB04 /* meal_detection */,
E90909EC24E35B3400F963D2 /* high_and_falling */,
E90909E124E352C300F963D2 /* low_with_low_treatment */,
Expand Down Expand Up @@ -3363,7 +3377,9 @@
buildActionMask = 2147483647;
files = (
E93E86CE24E2E02200FF40C8 /* high_and_stable_momentum_effect.json in Resources */,
C13072BA2A76AF31009A7C58 /* live_capture_predicted_glucose.json in Resources */,
E93E865424DB6CBA00FF40C8 /* retrospective_output.json in Resources */,
C13072BE2A76AF97009A7C58 /* live_capture_doses.json in Resources */,
E9C58A7F24DB529A00487A17 /* counteraction_effect_falling_glucose.json in Resources */,
E93E865624DB731900FF40C8 /* predicted_glucose_without_retrospective.json in Resources */,
E9B3553D293706CB0076AB04 /* long_interval_counteraction_effect.json in Resources */,
Expand All @@ -3376,6 +3392,7 @@
E90909D224E34AC500F963D2 /* high_and_rising_with_cob_insulin_effect.json in Resources */,
E90909F224E35B4D00F963D2 /* high_and_falling_counteraction_effect.json in Resources */,
E90909EE24E35B4000F963D2 /* high_and_falling_predicted_glucose.json in Resources */,
C13072C02A76B041009A7C58 /* live_capture_carb_entries.json in Resources */,
E90909DD24E34F1600F963D2 /* low_and_falling_carb_effect.json in Resources */,
E90909E924E3530200F963D2 /* low_with_low_treatment_predicted_glucose.json in Resources */,
E90909D124E34AC500F963D2 /* high_and_rising_with_cob_momentum_effect.json in Resources */,
Expand All @@ -3401,6 +3418,7 @@
E93E86C324E1FE6100FF40C8 /* flat_and_stable_counteraction_effect.json in Resources */,
E9C58A7E24DB529A00487A17 /* dynamic_glucose_effect_partially_observed.json in Resources */,
E90909F324E35B4D00F963D2 /* high_and_falling_carb_effect.json in Resources */,
C13072C42A76B0B1009A7C58 /* live_capture_historic_glucose.json in Resources */,
E93E86CA24E2E02200FF40C8 /* high_and_stable_insulin_effect.json in Resources */,
E93E86BB24E1FDC400FF40C8 /* flat_and_stable_momentum_effect.json in Resources */,
E93E86CB24E2E02200FF40C8 /* high_and_stable_carb_effect.json in Resources */,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"startDate": "2023-07-29T18:17:07Z",
"quantity": 50
}
]
Loading

0 comments on commit e41b710

Please sign in to comment.