Commit d323b66
Darin Krauss
[LOOP-26] Upload loop dosing decision data to Tidepool backend (#484)
- https://tidepool.atlassian.net/browse/LOOP-26
- Make bolusUnits optional in AutomaticDoseRecommendation
- Unify DosingDecisionStore in LoopKit from Loop
- Remove unnecessary Codable support for various Errors
- Return StoredGlucoseSamples after adding via DeviceDataManager
- Update StoredDosingDecision properties
- Refactor how errors and warnings are captured in StoredDosingDecision
- Add more explicit LoopError cases
- Add LoopWarning
- Use explicit LoopError or PumpManagerError where possible
- Add reason for various dosing decisions
- Explicit creation of dosing decision when cancelling temp basal
- Update LoopDataManager.update to return error rather than throw
- Update LoopDataManager.updatePredictedGlucoseAndRecommendedDose to return error rather than throw
- Inject updatable dosing decision into LoopDataManager loop
- Capture all errors during LoopDataManager loop rather than just first
- Update tests1 parent 74d93c7 commit d323b66
File tree
35 files changed
+1008
-2420
lines changed- DoseMathTests
- Loop.xcodeproj
- LoopCore
- LoopTests
- Extensions
- Managers
- Mock Stores
- Models
- ViewModels
- Loop
- Extensions
- Managers
- Models
- Stores
- View Models
- Views
35 files changed
+1008
-2420
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
| 513 | + | |
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
565 | | - | |
| 565 | + | |
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| |||
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
665 | | - | |
| 665 | + | |
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
702 | | - | |
| 702 | + | |
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
| |||
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
723 | | - | |
| 723 | + | |
724 | 724 | | |
725 | 725 | | |
726 | 726 | | |
| |||
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
748 | | - | |
| 748 | + | |
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
| |||
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
788 | | - | |
| 788 | + | |
789 | 789 | | |
790 | 790 | | |
791 | 791 | | |
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
825 | | - | |
| 825 | + | |
826 | 826 | | |
827 | 827 | | |
828 | 828 | | |
| |||
Large diffs are not rendered by default.
This file was deleted.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Lines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 14 | + | |
| 15 | + | |
23 | 16 | | |
24 | 17 | | |
25 | 18 | | |
| |||
This file was deleted.
0 commit comments