2 files changed
+2
-2
lines changed- Common/Extensions/GlucoseRangeSchedule.swift-9
- DoseMathTests/Base.lproj/Localizable.strings-26
- DoseMathTests/DoseMathTests.swift-1.5k
- DoseMathTests/Fixtures/far_future_high_bg_forecast.json-16
- DoseMathTests/Fixtures/far_future_high_bg_forecast_after_6_hours.json-24
- DoseMathTests/Fixtures/read_selected_basal_profile.json-44
- DoseMathTests/Fixtures/recommend_temp_basal_correct_low_at_min.json-7
- DoseMathTests/Fixtures/recommend_temp_basal_dropping_then_rising.json-7
- DoseMathTests/Fixtures/recommend_temp_basal_flat_and_high.json-4
- DoseMathTests/Fixtures/recommend_temp_basal_high_and_falling.json-7
- DoseMathTests/Fixtures/recommend_temp_basal_high_and_rising.json-7
- DoseMathTests/Fixtures/recommend_temp_basal_in_range_and_rising.json-7
- DoseMathTests/Fixtures/recommend_temp_basal_no_change_glucose.json-4
- DoseMathTests/Fixtures/recommend_temp_basal_start_high_end_in_range.json-7
- DoseMathTests/Fixtures/recommend_temp_basal_start_high_end_low.json-7
- DoseMathTests/Fixtures/recommend_temp_basal_start_low_end_high.json-7
- DoseMathTests/Fixtures/recommend_temp_basal_start_low_end_in_range.json-7
- DoseMathTests/Fixtures/recommend_temp_basal_start_very_low_end_high.json-7
- DoseMathTests/Fixtures/recommend_temp_basal_very_low_end_in_range.json-7
- DoseMathTests/Fixtures/recommended_temp_start_low_end_just_above_range.json-43
- DoseMathTests/Info.plist-24
- DoseMathTests/ar.lproj/Localizable.strings-27
- DoseMathTests/da.lproj/Localizable.strings-33
- DoseMathTests/de.lproj/Localizable.strings-33
- DoseMathTests/es.lproj/Localizable.strings-33
- DoseMathTests/fi.lproj/Localizable.strings-30
- DoseMathTests/fr.lproj/Localizable.strings-33
- DoseMathTests/he.lproj/Localizable.strings-27
- DoseMathTests/it.lproj/Localizable.strings-33
- DoseMathTests/ja.lproj/Localizable.strings-27
- DoseMathTests/nb.lproj/Localizable.strings-33
- DoseMathTests/nl.lproj/Localizable.strings-33
- DoseMathTests/pl.lproj/Localizable.strings-33
- DoseMathTests/pt-BR.lproj/Localizable.strings-27
- DoseMathTests/ro.lproj/Localizable.strings-33
- DoseMathTests/ru.lproj/Localizable.strings-33
- DoseMathTests/sk.lproj/Localizable.strings-27
- DoseMathTests/sv.lproj/Localizable.strings-30
- DoseMathTests/tr.lproj/Localizable.strings-33
- DoseMathTests/vi.lproj/Localizable.strings-27
- DoseMathTests/zh-Hans.lproj/Localizable.strings-27
- Loop.xcodeproj/project.pbxproj+26-300
- Loop/Managers/DoseMath.swift-547
- Loop/Managers/LoopDataManager.swift+18-9
- Loop/Models/RetrospectiveCorrection/IntegralRetrospectiveCorrection.swift-231
- Loop/Models/RetrospectiveCorrection/RetrospectiveCorrection.swift-41
- Loop/Models/RetrospectiveCorrection/StandardRetrospectiveCorrection.swift-72
- LoopTests/Fixtures/live_capture/live_capture_carb_entries.json+6
- LoopTests/Fixtures/live_capture/live_capture_doses.json+793
- LoopTests/Fixtures/live_capture/live_capture_historic_glucose.json+854
- LoopTests/Fixtures/live_capture/live_capture_predicted_glucose.json+322
- LoopTests/Managers/Alerts/AlertManagerTests.swift+2
- LoopTests/Managers/LoopDataManagerDosingTests.swift+47-11
- LoopTests/Managers/LoopDataManagerTests.swift+61
- LoopTests/Mock Stores/MockCarbStore.swift+45-5
- LoopTests/Mock Stores/MockDoseStore.swift+42-21
- LoopTests/Mock Stores/MockGlucoseStore.swift+55-18
- LoopKit.xcodeproj/project.pbxproj+104
- LoopKit/CarbKit/CarbEntry.swift+1
- LoopKit/CarbKit/CarbMath.swift+34-26
- LoopKit/CarbKit/CarbStore.swift+45-13
- LoopKit/CarbKit/StoredCarbEntry.swift+2-2
- LoopKit/DailyQuantitySchedule.swift+10-1
- LoopKit/DailyValueSchedule.swift+9
- LoopKit/DoseMath.swift+578
- LoopKit/GlucoseEffect.swift+27
- LoopKit/GlucoseKit/GlucoseMath.swift+22-7
- LoopKit/GlucoseKit/GlucoseStore.swift+2-5
- LoopKit/GlucoseKit/StoredGlucoseSample.swift+30-18
- LoopKit/GlucoseRangeSchedule.swift+8
- LoopKit/InsulinKit/DoseEntry.swift+9-3
- LoopKit/InsulinKit/DoseStore.swift+4-4
- LoopKit/InsulinKit/InsulinDeliveryStore.swift+3-3
- LoopKit/InsulinKit/InsulinMath.swift+331-29
- LoopKit/LoopMath.swift+5-4
- LoopKit/RetrospectiveCorrection/IntegralRetrospectiveCorrection.swift+226
- LoopKit/RetrospectiveCorrection/RetrospectiveCorrection.swift+40
- LoopKit/RetrospectiveCorrection/StandardRetrospectiveCorrection.swift+71
- LoopKit/SampleValue.swift+20-4
- LoopKitTests/DoseEntryTests.swift+1-4
- LoopKitTests/DoseMathTests.swift+1.5k
- LoopKitTests/DosingDecisionStoreTests.swift-2
- LoopKitTests/Fixtures/DoseMathTests/far_future_high_bg_forecast.json+16
- LoopKitTests/Fixtures/DoseMathTests/far_future_high_bg_forecast_after_6_hours.json+24
- LoopKitTests/Fixtures/DoseMathTests/read_selected_basal_profile.json+44
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_correct_low_at_min.json+7
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_dropping_then_rising.json+7
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_flat_and_high.json+4
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_high_and_falling.json+7
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_high_and_rising.json+7
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_in_range_and_rising.json+7
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_no_change_glucose.json+4
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_start_high_end_in_range.json+7
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_start_high_end_low.json+7
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_start_low_end_high.json+7
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_start_low_end_in_range.json+7
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_start_very_low_end_high.json+7
- LoopKitTests/Fixtures/DoseMathTests/recommend_temp_basal_very_low_end_in_range.json+7
- LoopKitTests/Fixtures/DoseMathTests/recommended_temp_start_low_end_just_above_range.json+43
- LoopKitTests/GlucoseMathTests.swift+7-7
- LoopKitTests/LoopKitTests.swift+3-1
- LoopKitTests/PumpManagerStatusTests.swift+2-7
- LoopKitUI/Charts/COBChart.swift+1
- LoopKitUI/Charts/CarbEffectChart.swift+1
- LoopKitUI/Charts/DoseChart.swift+1
- LoopKitUI/Charts/IOBChart.swift+1
- LoopKitUI/Charts/PredictedGlucoseChart.swift+1
- LoopKitUI/Extensions/ChartAxisValuesStaticGenerator.swift+1
- LoopKitUI/Views/ChartPointsContextFillLayer.swift+2-1
- LoopKitUI/Views/ChartPointsScatterDownTrianglesLayer.swift+2-1
- LoopKitUI/Views/ChartPointsTouchHighlightLayerViewCache.swift+1-1
- MockKitUI/Views/InsulinStatusView.swift-1
- Package.swift+1-1
0 commit comments