AndroidAPS records an automatic SMB micro-bolus as eventType Correction Bolus with type SMB, not as its own eventType. bolus_stats() grouped by eventType alone, so every SMB was silently counted as a manual correction. Verified against production data: 100% of Correction Bolus treatments over 90 days were actually type=SMB. Also adds basal_stats(), computing delivered basal directly from Temp Basal treatments (rate x duration) without needing the pump profile. Verified against real 90-day production data: Basal 2041E, Meal Bolus 1711E, SMB 1432E (57.6 E/day total, clinically plausible). Closes#20.
AndroidAPS records an automatic SMB micro-bolus as eventType Correction Bolus with type SMB, not as its own eventType. bolus_stats() grouped by eventType alone, so every SMB was silently counted as a manual correction. Verified against production data: 100% of Correction Bolus treatments over 90 days were actually type=SMB. Also adds basal_stats(), computing delivered basal directly from Temp Basal treatments (rate x duration) without needing the pump profile. Verified against real 90-day production data: Basal 2041E, Meal Bolus 1711E, SMB 1432E (57.6 E/day total, clinically plausible). Closes #20.
AndroidAPS records an automatic SMB micro-bolus as eventType "Correction
Bolus" with type "SMB", not as its own eventType. bolus_stats() was
grouping by eventType alone, so every SMB was silently counted as a manual
correction bolus. Verified against production data: 100% of "Correction
Bolus" treatments over 90 days were actually type=SMB.
Also adds basal_stats(), computing delivered basal directly from Temp
Basal treatments (rate x duration) without needing the pump profile.
Closes gitea #20.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
AndroidAPS records an automatic SMB micro-bolus as eventType Correction Bolus with type SMB, not as its own eventType. bolus_stats() grouped by eventType alone, so every SMB was silently counted as a manual correction. Verified against production data: 100% of Correction Bolus treatments over 90 days were actually type=SMB. Also adds basal_stats(), computing delivered basal directly from Temp Basal treatments (rate x duration) without needing the pump profile. Verified against real 90-day production data: Basal 2041E, Meal Bolus 1711E, SMB 1432E (57.6 E/day total, clinically plausible). Closes #20.