Merge pull request #1868 from Philoul/Autotune/AddtitionalUnitTests

Add Fix Autotune Unit tests with additionnal tests for categorized uam as basal
This commit is contained in:
Milos Kozak 2022-06-30 14:02:36 +02:00 committed by GitHub
commit b83ee4711b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 26558 additions and 141 deletions

View file

@ -97,12 +97,6 @@ def allCommitted = { ->
return stringBuilder.toString().isEmpty() return stringBuilder.toString().isEmpty()
} }
tasks.matching { it instanceof Test }.all {
testLogging.events = ["failed", "skipped", "started"]
// testLogging.events = ["failed", "skipped", "started", "standard_out"] use to display stdout in travis
testLogging.exceptionFormat = "full"
}
android { android {
namespace 'info.nightscout.androidaps' namespace 'info.nightscout.androidaps'

View file

@ -2,31 +2,31 @@ package info.nightscout.androidaps.plugins.general.autotune
import info.nightscout.androidaps.Constants import info.nightscout.androidaps.Constants
import info.nightscout.androidaps.R import info.nightscout.androidaps.R
import info.nightscout.androidaps.data.* import info.nightscout.androidaps.data.IobTotal
import info.nightscout.androidaps.data.LocalInsulin
import info.nightscout.androidaps.database.AppRepository import info.nightscout.androidaps.database.AppRepository
import info.nightscout.androidaps.database.embedments.InterfaceIDs import info.nightscout.androidaps.database.embedments.InterfaceIDs
import info.nightscout.androidaps.interfaces.ActivePlugin
import info.nightscout.androidaps.interfaces.ProfileFunction
import info.nightscout.androidaps.database.entities.* import info.nightscout.androidaps.database.entities.*
import info.nightscout.androidaps.extensions.durationInMinutes import info.nightscout.androidaps.extensions.durationInMinutes
import info.nightscout.androidaps.extensions.iobCalc import info.nightscout.androidaps.extensions.iobCalc
import info.nightscout.androidaps.extensions.toJson import info.nightscout.androidaps.extensions.toJson
import info.nightscout.androidaps.extensions.toTemporaryBasal import info.nightscout.androidaps.extensions.toTemporaryBasal
import info.nightscout.androidaps.interfaces.ActivePlugin
import info.nightscout.androidaps.interfaces.Profile import info.nightscout.androidaps.interfaces.Profile
import info.nightscout.androidaps.interfaces.ProfileFunction
import info.nightscout.androidaps.plugins.general.autotune.data.ATProfile import info.nightscout.androidaps.plugins.general.autotune.data.ATProfile
import info.nightscout.androidaps.utils.DateUtil import info.nightscout.androidaps.utils.DateUtil
import info.nightscout.androidaps.utils.Round import info.nightscout.androidaps.utils.Round
import info.nightscout.androidaps.utils.T import info.nightscout.androidaps.utils.T
import info.nightscout.shared.logging.AAPSLogger import info.nightscout.shared.logging.AAPSLogger
import info.nightscout.shared.logging.LTag
import info.nightscout.shared.sharedPreferences.SP import info.nightscout.shared.sharedPreferences.SP
import org.json.JSONArray import org.json.JSONArray
import org.json.JSONObject import org.json.JSONObject
import org.slf4j.LoggerFactory
import java.util.* import java.util.*
import javax.inject.Inject import javax.inject.Inject
import javax.inject.Singleton import javax.inject.Singleton
import kotlin.math.ceil import kotlin.math.ceil
import kotlin.math.roundToInt
@Singleton @Singleton
open class AutotuneIob @Inject constructor( open class AutotuneIob @Inject constructor(
@ -59,24 +59,24 @@ open class AutotuneIob @Inject constructor(
initializeTreatmentData(from - range(), to) initializeTreatmentData(from - range(), to)
initializeTempBasalData(from - range(), to, tunedProfile) initializeTempBasalData(from - range(), to, tunedProfile)
initializeExtendedBolusData(from - range(), to, tunedProfile) initializeExtendedBolusData(from - range(), to, tunedProfile)
Collections.sort(tempBasals) { o1: TemporaryBasal, o2: TemporaryBasal -> (o2.timestamp - o1.timestamp).toInt() } tempBasals.sortWith { o1: TemporaryBasal, o2: TemporaryBasal -> (o2.timestamp - o1.timestamp).toInt() }
// Without Neutral TBR, Autotune Web will ignore iob for periods without TBR running // Without Neutral TBR, Autotune Web will ignore iob for periods without TBR running
addNeutralTempBasal(from - range(), to, tunedProfile) addNeutralTempBasal(from - range(), to, tunedProfile)
Collections.sort(nsTreatments) { o1: NsTreatment, o2: NsTreatment -> (o2.date - o1.date).toInt() } nsTreatments.sortWith { o1: NsTreatment, o2: NsTreatment -> (o2.date - o1.date).toInt() }
Collections.sort(boluses) { o1: Bolus, o2: Bolus -> (o2.timestamp - o1.timestamp).toInt() } this.boluses.sortWith { o1: Bolus, o2: Bolus -> (o2.timestamp - o1.timestamp).toInt() }
log.debug("D/AutotunePlugin: Nb Treatments: " + nsTreatments.size + " Nb meals: " + meals.size) aapsLogger.debug(LTag.AUTOTUNE, "Nb Treatments: " + nsTreatments.size + " Nb meals: " + meals.size)
} }
private fun initializeBgreadings(from: Long, to: Long) { private fun initializeBgreadings(from: Long, to: Long) {
glucose = repository.compatGetBgReadingsDataFromTime(from, to, false).blockingGet(); glucose = repository.compatGetBgReadingsDataFromTime(from, to, false).blockingGet()
} }
//nsTreatment is used only for export data, meals is used in AutotunePrep //nsTreatment is used only for export data, meals is used in AutotunePrep
private fun initializeTreatmentData(from: Long, to: Long) { private fun initializeTreatmentData(from: Long, to: Long) {
val oldestBgDate = if (glucose.size > 0) glucose[glucose.size - 1].timestamp else from val oldestBgDate = if (glucose.isNotEmpty()) glucose[glucose.size - 1].timestamp else from
log.debug("AutotunePlugin Check BG date: BG Size: " + glucose.size + " OldestBG: " + dateUtil.dateAndTimeAndSecondsString(oldestBgDate) + " to: " + dateUtil.dateAndTimeAndSecondsString(to)) aapsLogger.debug(LTag.AUTOTUNE, "Check BG date: BG Size: " + glucose.size + " OldestBG: " + dateUtil.dateAndTimeAndSecondsString(oldestBgDate) + " to: " + dateUtil.dateAndTimeAndSecondsString(to))
val tmpCarbs = repository.getCarbsDataFromTimeToTimeExpanded(from, to, false).blockingGet() val tmpCarbs = repository.getCarbsDataFromTimeToTimeExpanded(from, to, false).blockingGet()
log.debug("AutotunePlugin Nb treatments after query: " + tmpCarbs.size) aapsLogger.debug(LTag.AUTOTUNE, "Nb treatments after query: " + tmpCarbs.size)
meals.clear() meals.clear()
boluses.clear() boluses.clear()
var nbCarbs = 0 var nbCarbs = 0
@ -217,7 +217,7 @@ open class AutotuneIob @Inject constructor(
tempBasals.add(newtb) tempBasals.add(newtb)
nsTreatments.add(NsTreatment(newtb)) nsTreatments.add(NsTreatment(newtb))
splittedTimestamp += durationFilled splittedTimestamp += durationFilled
splittedDuration = splittedDuration - durationFilled splittedDuration -= durationFilled
val profile = profileFunction.getProfile(newtb.timestamp) ?:continue val profile = profileFunction.getProfile(newtb.timestamp) ?:continue
boluses.addAll(convertToBoluses(newtb, profile, tunedProfile.profile)) // required for correct iob calculation with oref0 algo boluses.addAll(convertToBoluses(newtb, profile, tunedProfile.profile)) // required for correct iob calculation with oref0 algo
} }
@ -377,8 +377,4 @@ open class AutotuneIob @Inject constructor(
private fun log(message: String) { private fun log(message: String) {
autotuneFS.atLog("[iob] $message") autotuneFS.atLog("[iob] $message")
} }
companion object {
private val log = LoggerFactory.getLogger(AutotunePlugin::class.java)
}
} }

View file

@ -10,6 +10,8 @@ import info.nightscout.androidaps.utils.DateUtil
import info.nightscout.androidaps.utils.MidnightTime import info.nightscout.androidaps.utils.MidnightTime
import info.nightscout.androidaps.utils.Round import info.nightscout.androidaps.utils.Round
import info.nightscout.androidaps.utils.T import info.nightscout.androidaps.utils.T
import info.nightscout.shared.logging.AAPSLogger
import info.nightscout.shared.logging.LTag
import info.nightscout.shared.sharedPreferences.SP import info.nightscout.shared.sharedPreferences.SP
import java.util.* import java.util.*
import javax.inject.Inject import javax.inject.Inject
@ -17,6 +19,7 @@ import javax.inject.Singleton
@Singleton @Singleton
class AutotunePrep @Inject constructor( class AutotunePrep @Inject constructor(
private val aapsLogger: AAPSLogger,
private val sp: SP, private val sp: SP,
private val dateUtil: DateUtil, private val dateUtil: DateUtil,
private val autotuneFS: AutotuneFS, private val autotuneFS: AutotuneFS,
@ -146,6 +149,7 @@ class AutotunePrep @Inject constructor(
} }
} }
if (glucose.size == 0 || glucoseData.size == 0 ) { if (glucose.size == 0 || glucoseData.size == 0 ) {
//aapsLogger.debug(LTag.AUTOTUNE, "No BG value received")
if (verbose) if (verbose)
log("No BG value received") log("No BG value received")
return null return null
@ -159,11 +163,13 @@ class AutotunePrep @Inject constructor(
//val boluses = 0 //val boluses = 0
//val maxCarbs = 0 //val maxCarbs = 0
if (treatments.size == 0) { if (treatments.size == 0) {
//aapsLogger.debug(LTag.AUTOTUNE, "No Carbs entries")
if (verbose) if (verbose)
log("No Carbs entries") log("No Carbs entries")
//return null //return null
} }
if (autotuneIob.boluses.size == 0) { if (autotuneIob.boluses.size == 0) {
//aapsLogger.debug(LTag.AUTOTUNE, "No treatment received")
if (verbose) if (verbose)
log("No treatment received") log("No treatment received")
return null return null
@ -253,6 +259,7 @@ class AutotunePrep @Inject constructor(
} }
avgDelta = (bg - bucketedData[i + 4].value) / 4 avgDelta = (bg - bucketedData[i + 4].value) / 4
} else { } else {
//aapsLogger.debug(LTag.AUTOTUNE, "Could not find glucose data")
if (verbose) if (verbose)
log("Could not find glucose data") log("Could not find glucose data")
} }
@ -320,8 +327,9 @@ class AutotunePrep @Inject constructor(
crInitialIOB = iob.iob crInitialIOB = iob.iob
crInitialBG = glucoseDatum.value crInitialBG = glucoseDatum.value
crInitialCarbTime = glucoseDatum.date crInitialCarbTime = glucoseDatum.date
//aapsLogger.debug(LTag.AUTOTUNE, "CRInitialIOB: $crInitialIOB CRInitialBG: $crInitialBG CRInitialCarbTime: ${dateUtil.toISOString(crInitialCarbTime)}")
if (verbose) if (verbose)
log("CRInitialIOB: " + crInitialIOB + " CRInitialBG: " + crInitialBG + " CRInitialCarbTime: " + dateUtil.toISOString(crInitialCarbTime)) log("CRInitialIOB: $crInitialIOB CRInitialBG: $crInitialBG CRInitialCarbTime: ${dateUtil.toISOString(crInitialCarbTime)}")
} }
// keep calculatingCR as long as we have COB or enough IOB // keep calculatingCR as long as we have COB or enough IOB
if (mealCOB > 0 && i > 1) { if (mealCOB > 0 && i > 1) {
@ -333,8 +341,9 @@ class AutotunePrep @Inject constructor(
val crEndIOB = iob.iob val crEndIOB = iob.iob
val crEndBG = glucoseDatum.value val crEndBG = glucoseDatum.value
val crEndTime = glucoseDatum.date val crEndTime = glucoseDatum.date
//aapsLogger.debug(LTag.AUTOTUNE, "CREndIOB: $crEndIOB CREndBG: $crEndBG CREndTime: ${dateUtil.toISOString(crEndTime)}")
if (verbose) if (verbose)
log("CREndIOB: " + crEndIOB + " CREndBG: " + crEndBG + " CREndTime: " + dateUtil.toISOString(crEndTime)) log("CREndIOB: $crEndIOB CREndBG: $crEndBG CREndTime: ${dateUtil.toISOString(crEndTime)}")
val crDatum = CRDatum(dateUtil) val crDatum = CRDatum(dateUtil)
crDatum.crInitialBG = crInitialBG crDatum.crInitialBG = crInitialBG
crDatum.crInitialIOB = crInitialIOB crDatum.crInitialIOB = crInitialIOB
@ -349,6 +358,7 @@ class AutotunePrep @Inject constructor(
//log.debug(CREndTime - CRInitialCarbTime, CRElapsedMinutes); //log.debug(CREndTime - CRInitialCarbTime, CRElapsedMinutes);
if (CRElapsedMinutes < 60 || i == 1 && mealCOB > 0) { if (CRElapsedMinutes < 60 || i == 1 && mealCOB > 0) {
//aapsLogger.debug(LTag.AUTOTUNE, "Ignoring $CRElapsedMinutes m CR period.")
if (verbose) if (verbose)
log("Ignoring $CRElapsedMinutes m CR period.") log("Ignoring $CRElapsedMinutes m CR period.")
} else { } else {
@ -378,8 +388,9 @@ class AutotunePrep @Inject constructor(
//log.debug(type); //log.debug(type);
if (type != "csf") { if (type != "csf") {
glucoseDatum.mealAbsorption = "start" glucoseDatum.mealAbsorption = "start"
//aapsLogger.debug(LTag.AUTOTUNE, "${glucoseDatum.mealAbsorption} carb absorption")
if (verbose) if (verbose)
log(glucoseDatum.mealAbsorption + " carb absorption") log("${glucoseDatum.mealAbsorption} carb absorption")
} }
type = "csf" type = "csf"
glucoseDatum.mealCarbs = mealCarbs.toInt() glucoseDatum.mealCarbs = mealCarbs.toInt()
@ -389,8 +400,9 @@ class AutotunePrep @Inject constructor(
// check previous "type" value, and if it was csf, set a mealAbsorption end flag // check previous "type" value, and if it was csf, set a mealAbsorption end flag
if (type == "csf") { if (type == "csf") {
csfGlucoseData[csfGlucoseData.size - 1].mealAbsorption = "end" csfGlucoseData[csfGlucoseData.size - 1].mealAbsorption = "end"
//aapsLogger.debug(LTag.AUTOTUNE, "${csfGlucoseData[csfGlucoseData.size - 1].mealAbsorption} carb absorption")
if (verbose) if (verbose)
log(csfGlucoseData[csfGlucoseData.size - 1].mealAbsorption + " carb absorption") log("${csfGlucoseData[csfGlucoseData.size - 1].mealAbsorption} carb absorption")
} }
if (iob.iob > 2 * currentBasal || deviation > 6 || uam) { if (iob.iob > 2 * currentBasal || deviation > 6 || uam) {
uam = if (deviation > 0) { uam = if (deviation > 0) {
@ -400,6 +412,7 @@ class AutotunePrep @Inject constructor(
} }
if (type != "uam") { if (type != "uam") {
glucoseDatum.uamAbsorption = "start" glucoseDatum.uamAbsorption = "start"
//aapsLogger.debug(LTag.AUTOTUNE, "${glucoseDatum.uamAbsorption} unannnounced meal absorption")
if (verbose) if (verbose)
log(glucoseDatum.uamAbsorption + " unannnounced meal absorption") log(glucoseDatum.uamAbsorption + " unannnounced meal absorption")
} }
@ -407,6 +420,7 @@ class AutotunePrep @Inject constructor(
uamGlucoseData.add(glucoseDatum) uamGlucoseData.add(glucoseDatum)
} else { } else {
if (type == "uam") { if (type == "uam") {
//aapsLogger.debug(LTag.AUTOTUNE, "end unannounced meal absorption")
if (verbose) if (verbose)
log("end unannounced meal absorption") log("end unannounced meal absorption")
} }
@ -433,8 +447,10 @@ class AutotunePrep @Inject constructor(
} }
} }
// debug line to print out all the things // debug line to print out all the things
//aapsLogger.debug(LTag.AUTOTUNE, "${(if (absorbing) 1 else 0)} mealCOB: ${Round.roundTo(mealCOB, 0.1)} mealCarbs: ${Math.round(mealCarbs)} basalBGI: ${Round.roundTo(basalBGI, 0.1)} BGI: ${Round.roundTo(BGI, 0.1)} IOB: ${iob.iob} Activity: ${iob.activity} at ${dateUtil.timeStringWithSeconds(BGTime)} dev: $deviation avgDelta: $avgDelta $type")
if (verbose) if (verbose)
log((if (absorbing) 1 else 0).toString() + " mealCOB: " + Round.roundTo(mealCOB, 0.1) + " mealCarbs: " + Math.round(mealCarbs) + " basalBGI: " + Round.roundTo(basalBGI, 0.1) + " BGI: " + Round.roundTo(BGI, 0.1) + " IOB: " + iob.iob+ " Activity: " + iob.activity + " at " + dateUtil.timeStringWithSeconds(BGTime) + " dev: " + deviation + " avgDelta: " + avgDelta + " " + type) log("${(if (absorbing) 1 else 0)} mealCOB: ${Round.roundTo(mealCOB, 0.1)} mealCarbs: ${Math.round(mealCarbs)} basalBGI: ${Round.roundTo(basalBGI, 0.1)} BGI: ${Round
.roundTo(BGI, 0.1)} IOB: ${iob.iob} Activity: ${iob.activity} at ${dateUtil.timeStringWithSeconds(BGTime)} dev: $deviation avgDelta: $avgDelta $type")
} }
//**************************************************************************************************************************************** //****************************************************************************************************************************************
@ -449,16 +465,20 @@ class AutotunePrep @Inject constructor(
val UAMLength = uamGlucoseData.size val UAMLength = uamGlucoseData.size
var basalLength = basalGlucoseData.size var basalLength = basalGlucoseData.size
if (sp.getBoolean(R.string.key_autotune_categorize_uam_as_basal, false)) { if (sp.getBoolean(R.string.key_autotune_categorize_uam_as_basal, false)) {
//aapsLogger.debug(LTag.AUTOTUNE, "Categorizing all UAM data as basal.")
if (verbose) if (verbose)
log("Categorizing all UAM data as basal.") log("Categorizing all UAM data as basal.")
basalGlucoseData.addAll(uamGlucoseData) basalGlucoseData.addAll(uamGlucoseData)
} else if (CSFLength > 12) { } else if (CSFLength > 12) {
//aapsLogger.debug(LTag.AUTOTUNE, "Found at least 1h of carb: assuming meals were announced, and categorizing UAM data as basal.")
if (verbose) if (verbose)
log("Found at least 1h of carb: assuming meals were announced, and categorizing UAM data as basal.") log("Found at least 1h of carb: assuming meals were announced, and categorizing UAM data as basal.")
basalGlucoseData.addAll(uamGlucoseData) basalGlucoseData.addAll(uamGlucoseData)
} else { } else {
if (2 * basalLength < UAMLength) { if (2 * basalLength < UAMLength) {
//log.debug(basalGlucoseData, UAMGlucoseData); //log.debug(basalGlucoseData, UAMGlucoseData);
//aapsLogger.debug(LTag.AUTOTUNE, "Warning: too many deviations categorized as UnAnnounced Meals")
//aapsLogger.debug(LTag.AUTOTUNE, "Adding $UAMLength UAM deviations to $basalLength basal ones")
if (verbose) { if (verbose) {
log("Warning: too many deviations categorized as UnAnnounced Meals") log("Warning: too many deviations categorized as UnAnnounced Meals")
log("Adding $UAMLength UAM deviations to $basalLength basal ones") log("Adding $UAMLength UAM deviations to $basalLength basal ones")
@ -473,10 +493,12 @@ class AutotunePrep @Inject constructor(
} }
//log.debug(newBasalGlucose); //log.debug(newBasalGlucose);
basalGlucoseData = newBasalGlucose basalGlucoseData = newBasalGlucose
//aapsLogger.debug(LTag.AUTOTUNE, "and selecting the lowest 50%, leaving ${basalGlucoseData.size} basal+UAM ones")
if (verbose) if (verbose)
log("and selecting the lowest 50%, leaving " + basalGlucoseData.size + " basal+UAM ones") log("and selecting the lowest 50%, leaving ${basalGlucoseData.size} basal+UAM ones")
} }
if (2 * ISFLength < UAMLength) { if (2 * ISFLength < UAMLength) {
//aapsLogger.debug(LTag.AUTOTUNE, "Adding $UAMLength UAM deviations to $ISFLength ISF ones")
if (verbose) if (verbose)
log("Adding $UAMLength UAM deviations to $ISFLength ISF ones") log("Adding $UAMLength UAM deviations to $ISFLength ISF ones")
isfGlucoseData.addAll(uamGlucoseData) isfGlucoseData.addAll(uamGlucoseData)
@ -488,14 +510,17 @@ class AutotunePrep @Inject constructor(
} }
//console.error(newISFGlucose); //console.error(newISFGlucose);
isfGlucoseData = newISFGlucose isfGlucoseData = newISFGlucose
//aapsLogger.debug(LTag.AUTOTUNE, "and selecting the lowest 50%, leaving ${isfGlucoseData.size} ISF+UAM ones")
if (verbose) if (verbose)
log("and selecting the lowest 50%, leaving " + isfGlucoseData.size + " ISF+UAM ones") log("and selecting the lowest 50%, leaving ${isfGlucoseData.size} ISF+UAM ones")
//log.error(ISFGlucoseData.length, UAMLength); //log.error(ISFGlucoseData.length, UAMLength);
} }
} }
basalLength = basalGlucoseData.size basalLength = basalGlucoseData.size
ISFLength = isfGlucoseData.size ISFLength = isfGlucoseData.size
if (4 * basalLength + ISFLength < CSFLength && ISFLength < 10) { if (4 * basalLength + ISFLength < CSFLength && ISFLength < 10) {
//aapsLogger.debug(LTag.AUTOTUNE, "Warning: too many deviations categorized as meals")
//aapsLogger.debug(LTag.AUTOTUNE, "Adding $CSFLength CSF deviations to $ISFLength ISF ones")
if (verbose) { if (verbose) {
log("Warning: too many deviations categorized as meals") log("Warning: too many deviations categorized as meals")
//log.debug("Adding",CSFLength,"CSF deviations to",basalLength,"basal ones"); //log.debug("Adding",CSFLength,"CSF deviations to",basalLength,"basal ones");
@ -507,8 +532,9 @@ class AutotunePrep @Inject constructor(
} }
// categorize.js Lines 437-444 // categorize.js Lines 437-444
//aapsLogger.debug(LTag.AUTOTUNE, "CRData: ${crData.size} CSFGlucoseData: ${csfGlucoseData.size} ISFGlucoseData: ${isfGlucoseData.size} BasalGlucoseData: ${basalGlucoseData.size}")
if (verbose) if (verbose)
log("CRData: " + crData.size + " CSFGlucoseData: " + csfGlucoseData.size + " ISFGlucoseData: " + isfGlucoseData.size + " BasalGlucoseData: " + basalGlucoseData.size) log("CRData: ${crData.size} CSFGlucoseData: ${csfGlucoseData.size} ISFGlucoseData: ${isfGlucoseData.size} BasalGlucoseData: ${basalGlucoseData.size}")
return PreppedGlucose(autotuneIob.startBG, crData, csfGlucoseData, isfGlucoseData, basalGlucoseData, dateUtil) return PreppedGlucose(autotuneIob.startBG, crData, csfGlucoseData, isfGlucoseData, basalGlucoseData, dateUtil)
} }
@ -516,6 +542,7 @@ class AutotunePrep @Inject constructor(
//dosed.js full //dosed.js full
private fun dosed(start: Long, end: Long, treatments: List<Bolus>): Double { private fun dosed(start: Long, end: Long, treatments: List<Bolus>): Double {
var insulinDosed = 0.0 var insulinDosed = 0.0
//aapsLogger.debug(LTag.AUTOTUNE, "No treatments to process.")
if (treatments.size == 0) { if (treatments.size == 0) {
log("No treatments to process.") log("No treatments to process.")
return 0.0 return 0.0

View file

@ -23,6 +23,7 @@ import org.mockito.ArgumentMatchers.anyInt
import org.mockito.ArgumentMatchers.anyString import org.mockito.ArgumentMatchers.anyString
import org.mockito.Mock import org.mockito.Mock
import org.mockito.Mockito import org.mockito.Mockito
import org.mockito.Mockito.`when`
import org.mockito.invocation.InvocationOnMock import org.mockito.invocation.InvocationOnMock
@Suppress("SpellCheckingInspection") @Suppress("SpellCheckingInspection")
@ -52,7 +53,8 @@ open class TestBaseWithProfile : TestBase() {
validProfileJSON = "{\"dia\":\"5\",\"carbratio\":[{\"time\":\"00:00\",\"value\":\"30\"}],\"carbs_hr\":\"20\",\"delay\":\"20\",\"sens\":[{\"time\":\"00:00\",\"value\":\"3\"}," + validProfileJSON = "{\"dia\":\"5\",\"carbratio\":[{\"time\":\"00:00\",\"value\":\"30\"}],\"carbs_hr\":\"20\",\"delay\":\"20\",\"sens\":[{\"time\":\"00:00\",\"value\":\"3\"}," +
"{\"time\":\"2:00\",\"value\":\"3.4\"}],\"timezone\":\"UTC\",\"basal\":[{\"time\":\"00:00\",\"value\":\"1\"}],\"target_low\":[{\"time\":\"00:00\",\"value\":\"4.5\"}]," + "{\"time\":\"2:00\",\"value\":\"3.4\"}],\"timezone\":\"UTC\",\"basal\":[{\"time\":\"00:00\",\"value\":\"1\"}],\"target_low\":[{\"time\":\"00:00\",\"value\":\"4.5\"}]," +
"\"target_high\":[{\"time\":\"00:00\",\"value\":\"7\"}],\"startDate\":\"1970-01-01T00:00:00.000Z\",\"units\":\"mmol\"}" "\"target_high\":[{\"time\":\"00:00\",\"value\":\"7\"}],\"startDate\":\"1970-01-01T00:00:00.000Z\",\"units\":\"mmol\"}"
dateUtil = DateUtil(context) dateUtil = Mockito.spy(DateUtil(context))
`when`(dateUtil.now()).thenReturn(1656358822000)
validProfile = ProfileSealed.Pure(pureProfileFromJson(JSONObject(validProfileJSON), dateUtil)!!) validProfile = ProfileSealed.Pure(pureProfileFromJson(JSONObject(validProfileJSON), dateUtil)!!)
effectiveProfileSwitch = EffectiveProfileSwitch( effectiveProfileSwitch = EffectiveProfileSwitch(
timestamp = dateUtil.now(), timestamp = dateUtil.now(),

View file

@ -25,14 +25,15 @@ import java.io.File
import java.util.* import java.util.*
class AutotuneCoreTest : TestBaseWithProfile() { class AutotuneCoreTest : TestBaseWithProfile() {
@Mock lateinit var sp: SP @Mock lateinit var sp: SP
@Mock lateinit var autotuneFS: AutotuneFS @Mock lateinit var autotuneFS: AutotuneFS
@Mock lateinit var injector: HasAndroidInjector @Mock lateinit var injector: HasAndroidInjector
@Mock lateinit var activePlugin: ActivePlugin @Mock lateinit var activePlugin: ActivePlugin
lateinit var autotuneCore: AutotuneCore private lateinit var autotuneCore: AutotuneCore
var min5mCarbImpact = 0.0 private var min5mCarbImpact = 0.0
var autotuneMin = 0.0 private var autotuneMin = 0.0
var autotuneMax = 0.0 private var autotuneMax = 0.0
@Before @Before
fun initData() { fun initData() {
@ -40,34 +41,58 @@ class AutotuneCoreTest : TestBaseWithProfile() {
TimeZone.setDefault(TimeZone.getTimeZone("GMT+2")) TimeZone.setDefault(TimeZone.getTimeZone("GMT+2"))
} }
@Suppress("SpellCheckingInspection")
@Test @Test
fun autotuneCoreTest() { // Test if load from file of OpenAPS categorisation is Ok fun autotuneCoreTest1() { // Test if AutotuneCore with input files of OpenAPS categorisation gives correct output profile
val prepjson = File("src/test/res/autotune/test1/autotune.2022-05-21.json").readText() val prepJson = File("src/test/res/autotune/test1/autotune.2022-05-21.json").readText()
val inputProfileJson = File("src/test/res/autotune/test1/profile.pump.json").readText() val inputProfileJson = File("src/test/res/autotune/test1/profile.pump.json").readText()
val inputProfile = atProfileFromOapsJson(JSONObject(inputProfileJson), dateUtil)!! val inputProfile = atProfileFromOapsJson(JSONObject(inputProfileJson), dateUtil)!!
val prep = PreppedGlucose(JSONObject(prepjson), dateUtil) val prep = PreppedGlucose(JSONObject(prepJson), dateUtil)
`when`(sp.getDouble(R.string.key_openapsama_autosens_max, 1.2)).thenReturn(autotuneMax) `when`(sp.getDouble(R.string.key_openapsama_autosens_max, 1.2)).thenReturn(autotuneMax)
`when`(sp.getDouble(R.string.key_openapsama_autosens_min, 0.7)).thenReturn(autotuneMin) `when`(sp.getDouble(R.string.key_openapsama_autosens_min, 0.7)).thenReturn(autotuneMin)
`when`(sp.getDouble(R.string.key_openapsama_min_5m_carbimpact, 3.0)).thenReturn(min5mCarbImpact) `when`(sp.getDouble(R.string.key_openapsama_min_5m_carbimpact, 3.0)).thenReturn(min5mCarbImpact)
val OapsOutputProfileJson = File("src/test/res/autotune/test1/aapsorefprofile.json").readText() val oapsOutputProfileJson = File("src/test/res/autotune/test1/aapsorefprofile.json").readText()
val OapsOutputProfile = atProfileFromOapsJson(JSONObject(OapsOutputProfileJson),dateUtil) val oapsOutputProfile = atProfileFromOapsJson(JSONObject(oapsOutputProfileJson), dateUtil)
val outProfile = autotuneCore.tuneAllTheThings(prep, inputProfile, inputProfile) val outProfile = autotuneCore.tuneAllTheThings(prep, inputProfile, inputProfile)
OapsOutputProfile?.let { oapsOutputProfile?.let {
Assert.assertEquals(OapsOutputProfile.isf, outProfile.isf, 0.0) Assert.assertEquals(oapsOutputProfile.isf, outProfile.isf, 0.0)
Assert.assertEquals(OapsOutputProfile.ic, outProfile.ic, 0.0) Assert.assertEquals(oapsOutputProfile.ic, outProfile.ic, 0.0)
for (i in 0..23) for (i in 0..23)
Assert.assertEquals(OapsOutputProfile.basal[i], outProfile.basal[i], 0.0) Assert.assertEquals(oapsOutputProfile.basal[i], outProfile.basal[i], 0.0)
} }
?: Assert.fail() ?: Assert.fail()
} }
@Suppress("SpellCheckingInspection")
@Test
fun autotuneCoreTest4() { // Test if limiting modification with Min Max Autosens parameter works (18h on basal and on ISF value)
val prepJson = File("src/test/res/autotune/test4/autotune.2022-05-30.json").readText()
val inputProfileJson = File("src/test/res/autotune/test4/profile.2022-05-30.json").readText()
val inputProfile = atProfileFromOapsJson(JSONObject(inputProfileJson), dateUtil)!!
val pumpProfileJson = File("src/test/res/autotune/test4/profile.pump.json").readText()
val pumpProfile = atProfileFromOapsJson(JSONObject(pumpProfileJson), dateUtil)!!
val prep = PreppedGlucose(JSONObject(prepJson), dateUtil)
`when`(sp.getDouble(R.string.key_openapsama_autosens_max, 1.2)).thenReturn(autotuneMax)
`when`(sp.getDouble(R.string.key_openapsama_autosens_min, 0.7)).thenReturn(autotuneMin)
`when`(sp.getDouble(R.string.key_openapsama_min_5m_carbimpact, 3.0)).thenReturn(min5mCarbImpact)
val oapsOutputProfileJson = File("src/test/res/autotune/test4/newprofile.2022-05-30.json").readText()
val oapsOutputProfile = atProfileFromOapsJson(JSONObject(oapsOutputProfileJson), dateUtil)
val outProfile = autotuneCore.tuneAllTheThings(prep, inputProfile, pumpProfile)
oapsOutputProfile?.let {
Assert.assertEquals(oapsOutputProfile.isf, outProfile.isf, 0.0)
Assert.assertEquals(oapsOutputProfile.ic, outProfile.ic, 0.0)
for (i in 0..23)
Assert.assertEquals(oapsOutputProfile.basal[i], outProfile.basal[i], 0.0)
}
?: Assert.fail()
}
/** /**
* OpenAPS profile for Autotune only have one ISF value and one IC value * OpenAPS profile for Autotune only have one ISF value and one IC value
*/ */
fun atProfileFromOapsJson(jsonObject: JSONObject, dateUtil: DateUtil, defaultUnits: String? = null): ATProfile? { @Suppress("SpellCheckingInspection")
private fun atProfileFromOapsJson(jsonObject: JSONObject, dateUtil: DateUtil, defaultUnits: String? = null): ATProfile? {
try { try {
min5mCarbImpact = JsonHelper.safeGetDoubleAllowNull(jsonObject, "min_5m_carbimpact") ?: return null min5mCarbImpact = JsonHelper.safeGetDoubleAllowNull(jsonObject, "min_5m_carbimpact") ?: return null
autotuneMin = JsonHelper.safeGetDoubleAllowNull(jsonObject, "autosens_min") ?: return null autotuneMin = JsonHelper.safeGetDoubleAllowNull(jsonObject, "autosens_min") ?: return null
@ -88,7 +113,7 @@ class AutotuneCoreTest : TestBaseWithProfile() {
val value = jsonObject.getDouble("carb_ratio") val value = jsonObject.getDouble("carb_ratio")
it.add(0, Block((T.hours(24).secs()) * 1000L, value)) it.add(0, Block((T.hours(24).secs()) * 1000L, value))
} }
val basalBlocks = blockFromJsonArray(jsonObject.getJSONArray("basalprofile"), dateUtil) val basalBlocks = blockFromJsonArray(jsonObject.getJSONArray("basalprofile"))
?: return null ?: return null
val targetBlocks = ArrayList<TargetBlock>(1).also { val targetBlocks = ArrayList<TargetBlock>(1).also {
it.add(0, TargetBlock((T.hours(24).secs()) * 1000L, 100.0, 100.0)) it.add(0, TargetBlock((T.hours(24).secs()) * 1000L, 100.0, 100.0))
@ -110,8 +135,7 @@ class AutotuneCoreTest : TestBaseWithProfile() {
} }
} }
private fun blockFromJsonArray(jsonArray: JSONArray?): List<Block>? {
fun blockFromJsonArray(jsonArray: JSONArray?, dateUtil: DateUtil): List<Block>? {
val size = jsonArray?.length() ?: return null val size = jsonArray?.length() ?: return null
val ret = ArrayList<Block>(size) val ret = ArrayList<Block>(size)
try { try {

View file

@ -13,6 +13,7 @@ import info.nightscout.androidaps.database.data.TargetBlock
import info.nightscout.androidaps.database.entities.Bolus import info.nightscout.androidaps.database.entities.Bolus
import info.nightscout.androidaps.database.entities.Carbs import info.nightscout.androidaps.database.entities.Carbs
import info.nightscout.androidaps.database.entities.GlucoseValue import info.nightscout.androidaps.database.entities.GlucoseValue
import info.nightscout.androidaps.extensions.shiftBlock
import info.nightscout.androidaps.interfaces.* import info.nightscout.androidaps.interfaces.*
import info.nightscout.androidaps.plugins.general.autotune.data.* import info.nightscout.androidaps.plugins.general.autotune.data.*
import info.nightscout.androidaps.utils.DateUtil import info.nightscout.androidaps.utils.DateUtil
@ -29,45 +30,44 @@ import org.mockito.Mock
import org.mockito.Mockito.`when` import org.mockito.Mockito.`when`
import java.io.File import java.io.File
import java.util.* import java.util.*
import kotlin.collections.ArrayList
class AutotunePrepTest : TestBaseWithProfile() { class AutotunePrepTest : TestBaseWithProfile() {
@Mock lateinit var sp: SP @Mock lateinit var sp: SP
@Mock lateinit var autotuneFS: AutotuneFS @Mock lateinit var autotuneFS: AutotuneFS
@Mock lateinit var injector: HasAndroidInjector @Mock lateinit var injector: HasAndroidInjector
@Mock lateinit var activePlugin: ActivePlugin @Mock lateinit var activePlugin: ActivePlugin
@Mock lateinit var repository: AppRepository @Mock lateinit var repository: AppRepository
lateinit var autotunePrep: AutotunePrep private lateinit var autotunePrep: AutotunePrep
lateinit var autotuneIob: TestAutotuneIob private lateinit var autotuneIob: TestAutotuneIob
lateinit var inputProfile: ATProfile private var ts = 0
var min5mCarbImpact = 0.0 private var min5mCarbImpact = 0.0
var autotuneMin = 0.0 private var autotuneMin = 0.0
var autotuneMax = 0.0 private var autotuneMax = 0.0
var startDayTime = 0L private var startDayTime = 0L
@Before @Before
fun initData() { fun initData() {
TimeZone.setDefault(TimeZone.getTimeZone("GMT+2")) ts = T.msecs(TimeZone.getDefault().getOffset(System.currentTimeMillis()).toLong()).hours().toInt() - 2
val inputProfileJson = File("src/test/res/autotune/test1/profile.pump.json").readText()
inputProfile = atProfileFromOapsJson(JSONObject(inputProfileJson), dateUtil)!!
val inputIobJson = File("src/test/res/autotune/test1/oaps-iobCalc.2022-05-21.json").readText() //json files build with iob/activity calculated by OAPS
val iobOapsCalcul = buildIobOaps(JSONArray(inputIobJson))
autotuneIob = TestAutotuneIob(aapsLogger, repository, profileFunction, sp, dateUtil, activePlugin, autotuneFS, iobOapsCalcul)
autotunePrep = AutotunePrep(sp, dateUtil, autotuneFS, autotuneIob)
} }
@Test @Test
fun autotunePrepTest() { // Test if load from file of OpenAPS categorisation is Ok fun autotunePrepTest1() { // Test if categorisation with standard treatments with carbs is Ok
val prepjson = File("src/test/res/autotune/test1/autotune.2022-05-21.json").readText() val inputIobJson = File("src/test/res/autotune/test1/oaps-iobCalc.2022-05-21.json").readText() //json files build with iob/activity calculated by OAPS
val oapsPreppedGlucose = PreppedGlucose(JSONObject(prepjson), dateUtil) //prep data calculated by OpenAPS autotune val iobOapsCalculation = buildIobOaps(JSONArray(inputIobJson))
autotuneIob = TestAutotuneIob(aapsLogger, repository, profileFunction, sp, dateUtil, activePlugin, autotuneFS, iobOapsCalculation)
autotunePrep = AutotunePrep(aapsLogger, sp, dateUtil, autotuneFS, autotuneIob)
val inputProfileJson = File("src/test/res/autotune/test1/profile.pump.json").readText()
val inputProfile = atProfileFromOapsJson(JSONObject(inputProfileJson), dateUtil)!!
val prepJson = File("src/test/res/autotune/test1/autotune.2022-05-21.json").readText()
val oapsPreppedGlucose = PreppedGlucose(JSONObject(prepJson), dateUtil) //prep data calculated by OpenAPS autotune
val oapsEntriesJson = File("src/test/res/autotune/test1/aaps-entries.2022-05-21.json").readText() val oapsEntriesJson = File("src/test/res/autotune/test1/aaps-entries.2022-05-21.json").readText()
autotuneIob.glucose = buildGlucose(JSONArray(oapsEntriesJson)) autotuneIob.glucose = buildGlucose(JSONArray(oapsEntriesJson))
val oapsTreatmentsJson = File("src/test/res/autotune/test1/aaps-treatments.2022-05-21.json").readText() val oapsTreatmentsJson = File("src/test/res/autotune/test1/aaps-treatments.2022-05-21.json").readText()
autotuneIob.meals = buildMeals(JSONArray(oapsTreatmentsJson)) //Only meals is used in unit test, Insulin only used for iob calculation autotuneIob.meals = buildMeals(JSONArray(oapsTreatmentsJson)) //Only meals is used in unit test, Insulin only used for iob calculation
autotuneIob.boluses = buildBoluses(oapsPreppedGlucose) //Values from oapsPrepData because linked to iob calculation method for TBR autotuneIob.boluses = buildBoluses(oapsPreppedGlucose) //Values from oapsPrepData because linked to iob calculation method for TBR
`when`(sp.getDouble(R.string.key_openapsama_min_5m_carbimpact, 3.0)).thenReturn(min5mCarbImpact) `when`(sp.getDouble(R.string.key_openapsama_min_5m_carbimpact, 3.0)).thenReturn(min5mCarbImpact)
`when`(sp.getBoolean(R.string.key_autotune_categorize_uam_as_basal, false)).thenReturn(false)
val aapsPreppedGlucose = autotunePrep.categorizeBGDatums(inputProfile, inputProfile.localInsulin, false) val aapsPreppedGlucose = autotunePrep.categorizeBGDatums(inputProfile, inputProfile.localInsulin, false)
try { try {
aapsPreppedGlucose?.let { // compare all categorization calculated by aaps plugin (aapsPreppedGlucose) with categorization calculated by OpenAPS (oapsPreppedGlucose) aapsPreppedGlucose?.let { // compare all categorization calculated by aaps plugin (aapsPreppedGlucose) with categorization calculated by OpenAPS (oapsPreppedGlucose)
@ -75,8 +75,12 @@ class AutotunePrepTest : TestBaseWithProfile() {
Assert.assertTrue(oapsPreppedGlucose.crData[i].equals(aapsPreppedGlucose.crData[i])) Assert.assertTrue(oapsPreppedGlucose.crData[i].equals(aapsPreppedGlucose.crData[i]))
for (i in aapsPreppedGlucose.csfGlucoseData.indices) for (i in aapsPreppedGlucose.csfGlucoseData.indices)
Assert.assertTrue(oapsPreppedGlucose.csfGlucoseData[i].equals(aapsPreppedGlucose.csfGlucoseData[i])) Assert.assertTrue(oapsPreppedGlucose.csfGlucoseData[i].equals(aapsPreppedGlucose.csfGlucoseData[i]))
oapsPreppedGlucose.isfGlucoseData = oapsPreppedGlucose.isfGlucoseData.sortedBy { it.date }
aapsPreppedGlucose.isfGlucoseData = aapsPreppedGlucose.isfGlucoseData.sortedBy { it.date }
for (i in aapsPreppedGlucose.isfGlucoseData.indices) for (i in aapsPreppedGlucose.isfGlucoseData.indices)
Assert.assertTrue(oapsPreppedGlucose.isfGlucoseData[i].equals(aapsPreppedGlucose.isfGlucoseData[i])) Assert.assertTrue(oapsPreppedGlucose.isfGlucoseData[i].equals(aapsPreppedGlucose.isfGlucoseData[i]))
oapsPreppedGlucose.basalGlucoseData = oapsPreppedGlucose.basalGlucoseData.sortedBy { it.date }
aapsPreppedGlucose.basalGlucoseData = aapsPreppedGlucose.basalGlucoseData.sortedBy { it.date }
for (i in aapsPreppedGlucose.basalGlucoseData.indices) for (i in aapsPreppedGlucose.basalGlucoseData.indices)
Assert.assertTrue(oapsPreppedGlucose.basalGlucoseData[i].equals(aapsPreppedGlucose.basalGlucoseData[i])) Assert.assertTrue(oapsPreppedGlucose.basalGlucoseData[i].equals(aapsPreppedGlucose.basalGlucoseData[i]))
} }
@ -86,12 +90,89 @@ class AutotunePrepTest : TestBaseWithProfile() {
} }
} }
@Test
fun autotunePrepTest2() { // Test if categorisation without carbs (full UAM) and categorize UAM as basal false is Ok
val inputIobJson = File("src/test/res/autotune/test2/oaps-iobCalc.2022-05-21.json").readText() //json files build with iob/activity calculated by OAPS
val iobOapsCalculation = buildIobOaps(JSONArray(inputIobJson))
autotuneIob = TestAutotuneIob(aapsLogger, repository, profileFunction, sp, dateUtil, activePlugin, autotuneFS, iobOapsCalculation)
autotunePrep = AutotunePrep(aapsLogger, sp, dateUtil, autotuneFS, autotuneIob)
val inputProfileJson = File("src/test/res/autotune/test2/profile.pump.json").readText()
val inputProfile = atProfileFromOapsJson(JSONObject(inputProfileJson), dateUtil)!!
val prepJson = File("src/test/res/autotune/test2/autotune.2022-05-21.json").readText()
val oapsPreppedGlucose = PreppedGlucose(JSONObject(prepJson), dateUtil) //prep data calculated by OpenAPS autotune
val oapsEntriesJson = File("src/test/res/autotune/test2/aaps-entries.2022-05-21.json").readText()
autotuneIob.glucose = buildGlucose(JSONArray(oapsEntriesJson))
val oapsTreatmentsJson = File("src/test/res/autotune/test2/aaps-treatments.2022-05-21.json").readText()
autotuneIob.meals = buildMeals(JSONArray(oapsTreatmentsJson)) //Only meals is used in unit test, Insulin only used for iob calculation
autotuneIob.boluses = buildBoluses(oapsPreppedGlucose) //Values from oapsPrepData because linked to iob calculation method for TBR
`when`(sp.getDouble(R.string.key_openapsama_min_5m_carbimpact, 3.0)).thenReturn(min5mCarbImpact)
`when`(sp.getBoolean(R.string.key_autotune_categorize_uam_as_basal, false)).thenReturn(false) // CategorizeUAM as Basal = False
val aapsPreppedGlucose = autotunePrep.categorizeBGDatums(inputProfile, inputProfile.localInsulin, false)
try {
aapsPreppedGlucose?.let { // compare all categorization calculated by aaps plugin (aapsPreppedGlucose) with categorization calculated by OpenAPS (oapsPreppedGlucose)
for (i in aapsPreppedGlucose.crData.indices)
Assert.assertTrue(oapsPreppedGlucose.crData[i].equals(aapsPreppedGlucose.crData[i]))
for (i in aapsPreppedGlucose.csfGlucoseData.indices)
Assert.assertTrue(oapsPreppedGlucose.csfGlucoseData[i].equals(aapsPreppedGlucose.csfGlucoseData[i]))
oapsPreppedGlucose.isfGlucoseData = oapsPreppedGlucose.isfGlucoseData.sortedBy { it.date }
aapsPreppedGlucose.isfGlucoseData = aapsPreppedGlucose.isfGlucoseData.sortedBy { it.date }
for (i in aapsPreppedGlucose.isfGlucoseData.indices)
Assert.assertTrue(oapsPreppedGlucose.isfGlucoseData[i].equals(aapsPreppedGlucose.isfGlucoseData[i]))
oapsPreppedGlucose.basalGlucoseData = oapsPreppedGlucose.basalGlucoseData.sortedBy { it.date }
aapsPreppedGlucose.basalGlucoseData = aapsPreppedGlucose.basalGlucoseData.sortedBy { it.date }
for (i in aapsPreppedGlucose.basalGlucoseData.indices)
Assert.assertTrue(oapsPreppedGlucose.basalGlucoseData[i].equals(aapsPreppedGlucose.basalGlucoseData[i]))
}
?: Assert.fail()
} catch (e: Exception) {
Assert.fail()
}
}
@Test
fun autotunePrepTest3() { // Test if categorisation without carbs (full UAM) and categorize UAM as basal true is Ok
val inputIobJson = File("src/test/res/autotune/test3/oaps-iobCalc.2022-05-21.json").readText() //json files build with iob/activity calculated by OAPS
val iobOapsCalculation = buildIobOaps(JSONArray(inputIobJson))
autotuneIob = TestAutotuneIob(aapsLogger, repository, profileFunction, sp, dateUtil, activePlugin, autotuneFS, iobOapsCalculation)
autotunePrep = AutotunePrep(aapsLogger, sp, dateUtil, autotuneFS, autotuneIob)
val inputProfileJson = File("src/test/res/autotune/test3/profile.pump.json").readText()
val inputProfile = atProfileFromOapsJson(JSONObject(inputProfileJson), dateUtil)!!
val prepJson = File("src/test/res/autotune/test3/autotune.2022-05-21.json").readText()
val oapsPreppedGlucose = PreppedGlucose(JSONObject(prepJson), dateUtil) //prep data calculated by OpenAPS autotune
val oapsEntriesJson = File("src/test/res/autotune/test3/aaps-entries.2022-05-21.json").readText()
autotuneIob.glucose = buildGlucose(JSONArray(oapsEntriesJson))
val oapsTreatmentsJson = File("src/test/res/autotune/test3/aaps-treatments.2022-05-21.json").readText()
autotuneIob.meals = buildMeals(JSONArray(oapsTreatmentsJson)) //Only meals is used in unit test, Insulin only used for iob calculation
autotuneIob.boluses = buildBoluses(oapsPreppedGlucose) //Values from oapsPrepData because linked to iob calculation method for TBR
`when`(sp.getDouble(R.string.key_openapsama_min_5m_carbimpact, 3.0)).thenReturn(min5mCarbImpact)
`when`(sp.getBoolean(R.string.key_autotune_categorize_uam_as_basal, false)).thenReturn(true) // CategorizeUAM as Basal = True
val aapsPreppedGlucose = autotunePrep.categorizeBGDatums(inputProfile, inputProfile.localInsulin, false)
try {
aapsPreppedGlucose?.let { // compare all categorization calculated by aaps plugin (aapsPreppedGlucose) with categorization calculated by OpenAPS (oapsPreppedGlucose)
for (i in aapsPreppedGlucose.crData.indices)
Assert.assertTrue(oapsPreppedGlucose.crData[i].equals(aapsPreppedGlucose.crData[i]))
for (i in aapsPreppedGlucose.csfGlucoseData.indices)
Assert.assertTrue(oapsPreppedGlucose.csfGlucoseData[i].equals(aapsPreppedGlucose.csfGlucoseData[i]))
oapsPreppedGlucose.isfGlucoseData = oapsPreppedGlucose.isfGlucoseData.sortedBy { it.date }
aapsPreppedGlucose.isfGlucoseData = aapsPreppedGlucose.isfGlucoseData.sortedBy { it.date }
for (i in aapsPreppedGlucose.isfGlucoseData.indices)
Assert.assertTrue(oapsPreppedGlucose.isfGlucoseData[i].equals(aapsPreppedGlucose.isfGlucoseData[i]))
oapsPreppedGlucose.basalGlucoseData = oapsPreppedGlucose.basalGlucoseData.sortedBy { it.date }
aapsPreppedGlucose.basalGlucoseData = aapsPreppedGlucose.basalGlucoseData.sortedBy { it.date }
for (i in aapsPreppedGlucose.basalGlucoseData.indices)
Assert.assertTrue(oapsPreppedGlucose.basalGlucoseData[i].equals(aapsPreppedGlucose.basalGlucoseData[i]))
}
?: Assert.fail()
} catch (e: Exception) {
Assert.fail()
}
}
/** /*************************************************************************************************************************************************************************************
* OpenAPS profile for Autotune only have one ISF value and one IC value * OpenAPS profile for Autotune only have one ISF value and one IC value
*/ */
fun atProfileFromOapsJson(jsonObject: JSONObject, dateUtil: DateUtil, defaultUnits: String? = null): ATProfile? { @Suppress("SpellCheckingInspection")
private fun atProfileFromOapsJson(jsonObject: JSONObject, dateUtil: DateUtil, defaultUnits: String? = null): ATProfile? {
try { try {
min5mCarbImpact = JsonHelper.safeGetDoubleAllowNull(jsonObject, "min_5m_carbimpact") ?: return null min5mCarbImpact = JsonHelper.safeGetDoubleAllowNull(jsonObject, "min_5m_carbimpact") ?: return null
autotuneMin = JsonHelper.safeGetDoubleAllowNull(jsonObject, "autosens_min") ?: return null autotuneMin = JsonHelper.safeGetDoubleAllowNull(jsonObject, "autosens_min") ?: return null
@ -112,7 +193,7 @@ class AutotunePrepTest : TestBaseWithProfile() {
val value = jsonObject.getDouble("carb_ratio") val value = jsonObject.getDouble("carb_ratio")
it.add(0, Block((T.hours(24).secs()) * 1000L, value)) it.add(0, Block((T.hours(24).secs()) * 1000L, value))
} }
val basalBlocks = blockFromJsonArray(jsonObject.getJSONArray("basalprofile"), dateUtil) val basalBlocks = blockFromJsonArray(jsonObject.getJSONArray("basalprofile"))
?: return null ?: return null
val targetBlocks = ArrayList<TargetBlock>(1).also { val targetBlocks = ArrayList<TargetBlock>(1).also {
it.add(0, TargetBlock((T.hours(24).secs()) * 1000L, 100.0, 100.0)) it.add(0, TargetBlock((T.hours(24).secs()) * 1000L, 100.0, 100.0))
@ -120,7 +201,7 @@ class AutotunePrepTest : TestBaseWithProfile() {
val pure = PureProfile( val pure = PureProfile(
jsonObject = jsonObject, jsonObject = jsonObject,
basalBlocks = basalBlocks, basalBlocks = basalBlocks.shiftBlock(1.0,ts),
isfBlocks = isfBlocks, isfBlocks = isfBlocks,
icBlocks = icBlocks, icBlocks = icBlocks,
targetBlocks = targetBlocks, targetBlocks = targetBlocks,
@ -134,8 +215,7 @@ class AutotunePrepTest : TestBaseWithProfile() {
} }
} }
private fun blockFromJsonArray(jsonArray: JSONArray?): List<Block>? {
fun blockFromJsonArray(jsonArray: JSONArray?, dateUtil: DateUtil): List<Block>? {
val size = jsonArray?.length() ?: return null val size = jsonArray?.length() ?: return null
val ret = ArrayList<Block>(size) val ret = ArrayList<Block>(size)
try { try {
@ -159,9 +239,8 @@ class AutotunePrepTest : TestBaseWithProfile() {
return ret return ret
} }
fun buildBoluses(preppedGlucose: PreppedGlucose): ArrayList<Bolus> { //if categorization is correct then I return for dose function the crInsulin calculated in Oaps private fun buildBoluses(preppedGlucose: PreppedGlucose): ArrayList<Bolus> { //if categorization is correct then I return for dose function the crInsulin calculated in Oaps
val boluses: ArrayList<Bolus> = ArrayList() val boluses: ArrayList<Bolus> = ArrayList()
try {
for (i in preppedGlucose.crData.indices) { for (i in preppedGlucose.crData.indices) {
boluses.add( boluses.add(
Bolus( Bolus(
@ -171,13 +250,19 @@ class AutotunePrepTest : TestBaseWithProfile() {
) )
) )
} }
} catch (e: Exception) { } if (boluses.size == 0) //Add at least one insulin treatment for tests to avoid return null in categorization
boluses.add(
Bolus(
timestamp = startDayTime,
amount = 1.0,
type = Bolus.Type.NORMAL
)
)
return boluses return boluses
} }
fun buildMeals(jsonArray: JSONArray): ArrayList<Carbs> { private fun buildMeals(jsonArray: JSONArray): ArrayList<Carbs> {
val list: ArrayList<Carbs> = ArrayList() val list: ArrayList<Carbs> = ArrayList()
try {
for (index in 0 until jsonArray.length()) { for (index in 0 until jsonArray.length()) {
val json = jsonArray.getJSONObject(index) val json = jsonArray.getJSONObject(index)
val value = JsonHelper.safeGetDouble(json, "carbs", 0.0) val value = JsonHelper.safeGetDouble(json, "carbs", 0.0)
@ -186,26 +271,23 @@ class AutotunePrepTest : TestBaseWithProfile() {
list.add(Carbs(timestamp = timestamp, amount = value, duration = 0)) list.add(Carbs(timestamp = timestamp, amount = value, duration = 0))
} }
} }
} catch (e: Exception) { }
return list return list
} }
fun buildGlucose(jsonArray: JSONArray): List<GlucoseValue> { private fun buildGlucose(jsonArray: JSONArray): List<GlucoseValue> {
val list: ArrayList<GlucoseValue> = ArrayList() val list: ArrayList<GlucoseValue> = ArrayList()
try {
for (index in 0 until jsonArray.length()) { for (index in 0 until jsonArray.length()) {
val json = jsonArray.getJSONObject(index) val json = jsonArray.getJSONObject(index)
val value = JsonHelper.safeGetDouble(json, "sgv") val value = JsonHelper.safeGetDouble(json, "sgv")
val timestamp = JsonHelper.safeGetLong(json, "date") val timestamp = JsonHelper.safeGetLong(json, "date")
list.add(GlucoseValue(raw = value, noise = 0.0, value = value, timestamp = timestamp, sourceSensor = GlucoseValue.SourceSensor.UNKNOWN, trendArrow = GlucoseValue.TrendArrow.FLAT)) list.add(GlucoseValue(raw = value, noise = 0.0, value = value, timestamp = timestamp, sourceSensor = GlucoseValue.SourceSensor.UNKNOWN, trendArrow = GlucoseValue.TrendArrow.FLAT))
} }
} catch (e: Exception) { }
if (list.size > 0) if (list.size > 0)
startDayTime = list[list.size - 1].timestamp startDayTime = list[list.size - 1].timestamp
return list return list
} }
fun buildIobOaps(jsonArray: JSONArray): ArrayList<IobTotal> { //if categorization is correct then I return for dose function the crInsulin calculated in Oaps private fun buildIobOaps(jsonArray: JSONArray): ArrayList<IobTotal> { //if categorization is correct then I return for dose function the crInsulin calculated in Oaps
val list: ArrayList<IobTotal> = ArrayList() val list: ArrayList<IobTotal> = ArrayList()
for (index in 0 until jsonArray.length()) { for (index in 0 until jsonArray.length()) {
val json = jsonArray.getJSONObject(index) val json = jsonArray.getJSONObject(index)
@ -228,7 +310,7 @@ class AutotunePrepTest : TestBaseWithProfile() {
val dateUtil: DateUtil, val dateUtil: DateUtil,
val activePlugin: ActivePlugin, val activePlugin: ActivePlugin,
autotuneFS: AutotuneFS, autotuneFS: AutotuneFS,
val iobOapsCalcul: ArrayList<IobTotal> private val iobOapsCalculation: ArrayList<IobTotal>
) : AutotuneIob( ) : AutotuneIob(
aapsLogger, aapsLogger,
repository, repository,
@ -238,9 +320,10 @@ class AutotunePrepTest : TestBaseWithProfile() {
activePlugin, activePlugin,
autotuneFS autotuneFS
) { ) {
override fun getIOB(time: Long, localInsulin: LocalInsulin): IobTotal { override fun getIOB(time: Long, localInsulin: LocalInsulin): IobTotal {
var bolusIob = IobTotal(time) val bolusIob = IobTotal(time)
iobOapsCalcul.forEach { iobOapsCalculation.forEach {
if (it.time == time) if (it.time == time)
return it return it
} }

View file

@ -1,35 +1,48 @@
package info.nightscout.androidaps.plugins.general.autotune package info.nightscout.androidaps.plugins.general.autotune
import android.content.Context import info.nightscout.androidaps.TestBaseWithProfile
import info.nightscout.androidaps.TestBase import info.nightscout.androidaps.plugins.general.autotune.data.BGDatum
import info.nightscout.androidaps.plugins.general.autotune.data.* import info.nightscout.androidaps.plugins.general.autotune.data.CRDatum
import info.nightscout.androidaps.utils.DateUtil import info.nightscout.androidaps.plugins.general.autotune.data.PreppedGlucose
import org.json.JSONObject import org.json.JSONObject
import org.junit.Assert import org.junit.Assert
import org.junit.Before import org.junit.Before
import org.junit.Test import org.junit.Test
import org.mockito.Mock
import java.io.File import java.io.File
class PreppedGlucoseTest : TestBase() { class PreppedGlucoseTest : TestBaseWithProfile() {
@Mock lateinit var context: Context
lateinit var dateUtil: DateUtil private lateinit var prep1: PreppedGlucose
lateinit var prep1: PreppedGlucose private lateinit var prepJson1: String
lateinit var prepjson1: String
@Before @Before
fun initData() { fun initData() {
dateUtil = DateUtil(context) prepJson1 = File("src/test/res/autotune/test1/autotune.2022-05-21.json").readText()
prepjson1 = File("src/test/res/autotune/test1/autotune.2022-05-21.json").readText() prep1 = PreppedGlucose(JSONObject(prepJson1), dateUtil)
prep1 = PreppedGlucose(JSONObject(prepjson1), dateUtil)
} }
@Test @Test
fun preppedGlucoseLoadTest() { // Test if load from file of OpenAPS categorisation is Ok fun preppedGlucoseLoadTest() { // Test if load from file of OpenAPS categorisation is Ok
val crData0 = CRDatum(JSONObject("{\"CRInitialIOB\":13.594,\"CRInitialBG\":123,\"CRInitialCarbTime\":\"2022-05-21T07:54:09.000Z\",\"CREndIOB\":-0.155,\"CREndBG\":98,\"CREndTime\":\"2022-05-21T11:19:08.000Z\",\"CRCarbs\":70,\"CRInsulin\":-2.13}"), dateUtil) val crData0 =
val csfDataEnd = BGDatum(JSONObject("{\"device\":\"AndroidAPS-DexcomG6\",\"date\":1653176050000,\"dateString\":\"2022-05-21T23:34:10.000Z\",\"isValid\":true,\"sgv\":127,\"direction\":\"Flat\",\"type\":\"sgv\",\"_id\":\"6289771371a363000480abc1\",\"glucose\":127,\"avgDelta\":\"2.50\",\"BGI\":-2.93,\"deviation\":\"5.43\",\"mealCarbs\":0,\"mealAbsorption\":\"end\"}"), dateUtil) CRDatum(
val isfData0 = BGDatum(JSONObject("{\"device\":\"AndroidAPS-DexcomG6\",\"date\":1653108249000,\"dateString\":\"2022-05-21T04:44:09.000Z\",\"isValid\":true,\"sgv\":123,\"direction\":\"FortyFiveDown\",\"type\":\"sgv\",\"_id\":\"62886e2919e2e60004989bba\",\"glucose\":123,\"avgDelta\":\"-7.50\",\"BGI\":-7.59,\"deviation\":\"0.09\"}"), dateUtil) JSONObject("{\"CRInitialIOB\":13.594,\"CRInitialBG\":123,\"CRInitialCarbTime\":\"2022-05-21T07:54:09.000Z\",\"CREndIOB\":-0.155,\"CREndBG\":98,\"CREndTime\":\"2022-05-21T11:19:08.000Z\",\"CRCarbs\":70,\"CRInsulin\":-2.13}"),
val basalDataEnd = BGDatum(JSONObject("{\"device\":\"AndroidAPS-DexcomG6\",\"date\":1653180549000,\"dateString\":\"2022-05-22T00:49:09.000Z\",\"isValid\":true,\"sgv\":121,\"direction\":\"FortyFiveDown\",\"type\":\"sgv\",\"_id\":\"628988a3da46aa0004d1e0f5\",\"glucose\":121,\"avgDelta\":\"-5.25\",\"BGI\":-3.32,\"deviation\":\"-1.93\"}"), dateUtil) dateUtil
)
val csfDataEnd =
BGDatum(
JSONObject("{\"device\":\"AndroidAPS-DexcomG6\",\"date\":1653176050000,\"dateString\":\"2022-05-21T23:34:10.000Z\",\"isValid\":true,\"sgv\":127,\"direction\":\"Flat\",\"type\":\"sgv\",\"_id\":\"6289771371a363000480abc1\",\"glucose\":127,\"avgDelta\":\"2.50\",\"BGI\":-2.93,\"deviation\":\"5.43\",\"mealCarbs\":0,\"mealAbsorption\":\"end\"}"),
dateUtil
)
val isfData0 =
BGDatum(
JSONObject("{\"device\":\"AndroidAPS-DexcomG6\",\"date\":1653108249000,\"dateString\":\"2022-05-21T04:44:09.000Z\",\"isValid\":true,\"sgv\":123,\"direction\":\"FortyFiveDown\",\"type\":\"sgv\",\"_id\":\"62886e2919e2e60004989bba\",\"glucose\":123,\"avgDelta\":\"-7.50\",\"BGI\":-7.59,\"deviation\":\"0.09\"}"),
dateUtil
)
val basalDataEnd =
BGDatum(
JSONObject("{\"device\":\"AndroidAPS-DexcomG6\",\"date\":1653180549000,\"dateString\":\"2022-05-22T00:49:09.000Z\",\"isValid\":true,\"sgv\":121,\"direction\":\"FortyFiveDown\",\"type\":\"sgv\",\"_id\":\"628988a3da46aa0004d1e0f5\",\"glucose\":121,\"avgDelta\":\"-5.25\",\"BGI\":-3.32,\"deviation\":\"-1.93\"}"),
dateUtil
)
Assert.assertEquals(3, prep1.crData.size) Assert.assertEquals(3, prep1.crData.size)
Assert.assertTrue(crData0.equals(prep1.crData[0])) Assert.assertTrue(crData0.equals(prep1.crData[0]))
Assert.assertTrue(csfDataEnd.equals(prep1.csfGlucoseData[prep1.csfGlucoseData.size - 1])) Assert.assertTrue(csfDataEnd.equals(prep1.csfGlucoseData[prep1.csfGlucoseData.size - 1]))

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,53 @@
Parameter | Pump | Autotune | Days Missing
---------------------------------------------------------
ISF [mg/dL/U] | 86.200 | 82.222 |
Carb Ratio[g/U]| 5.750 | 5.750 |
Basals [U/hr] | - | |
00:00 | 0.966 | 1.009 | 0
00:30 | | |
01:00 | 0.977 | 0.984 | 0
01:30 | | |
02:00 | 0.971 | 0.988 | 0
02:30 | | |
03:00 | 1.111 | 1.158 | 0
03:30 | | |
04:00 | 0.974 | 1.028 | 0
04:30 | | |
05:00 | 0.923 | 0.933 | 0
05:30 | | |
06:00 | 0.823 | 0.824 | 0
06:30 | | |
07:00 | 0.855 | 0.849 | 0
07:30 | | |
08:00 | 0.902 | 0.909 | 0
08:30 | | |
09:00 | 0.934 | 0.954 | 0
09:30 | | |
10:00 | 0.938 | 0.961 | 0
10:30 | | |
11:00 | 0.903 | 0.926 | 0
11:30 | | |
12:00 | 0.882 | 0.885 | 0
12:30 | | |
13:00 | 0.874 | 0.876 | 1
13:30 | | |
14:00 | 0.866 | 0.869 | 1
14:30 | | |
15:00 | 0.848 | 0.881 | 0
15:30 | | |
16:00 | 0.758 | 0.798 | 0
16:30 | | |
17:00 | 0.650 | 0.683 | 0
17:30 | | |
18:00 | 0.648 | 0.634 | 0
18:30 | | |
19:00 | 0.738 | 0.725 | 0
19:30 | | |
20:00 | 0.847 | 0.838 | 0
20:30 | | |
21:00 | 0.861 | 0.881 | 0
21:30 | | |
22:00 | 0.863 | 0.910 | 0
22:30 | | |
23:00 | 0.843 | 0.910 | 0
23:30 | | |

View file

@ -0,0 +1,147 @@
{
"name": "Tuned Dyn2",
"min_5m_carbimpact": 8,
"dia": 6,
"curve": "ultra-rapid",
"useCustomPeakTime": true,
"insulinPeakTime": 45,
"basalprofile": [
{
"start": "00:00:00",
"minutes": 0,
"rate": 0.966
},
{
"start": "01:00:00",
"minutes": 60,
"rate": 0.977
},
{
"start": "02:00:00",
"minutes": 120,
"rate": 0.971
},
{
"start": "03:00:00",
"minutes": 180,
"rate": 1.111
},
{
"start": "04:00:00",
"minutes": 240,
"rate": 0.974
},
{
"start": "05:00:00",
"minutes": 300,
"rate": 0.923
},
{
"start": "06:00:00",
"minutes": 360,
"rate": 0.823
},
{
"start": "07:00:00",
"minutes": 420,
"rate": 0.855
},
{
"start": "08:00:00",
"minutes": 480,
"rate": 0.902
},
{
"start": "09:00:00",
"minutes": 540,
"rate": 0.934
},
{
"start": "10:00:00",
"minutes": 600,
"rate": 0.938
},
{
"start": "11:00:00",
"minutes": 660,
"rate": 0.903
},
{
"start": "12:00:00",
"minutes": 720,
"rate": 0.882
},
{
"start": "13:00:00",
"minutes": 780,
"rate": 0.874
},
{
"start": "14:00:00",
"minutes": 840,
"rate": 0.866
},
{
"start": "15:00:00",
"minutes": 900,
"rate": 0.848
},
{
"start": "16:00:00",
"minutes": 960,
"rate": 0.758
},
{
"start": "17:00:00",
"minutes": 1020,
"rate": 0.65
},
{
"start": "18:00:00",
"minutes": 1080,
"rate": 0.648
},
{
"start": "19:00:00",
"minutes": 1140,
"rate": 0.738
},
{
"start": "20:00:00",
"minutes": 1200,
"rate": 0.847
},
{
"start": "21:00:00",
"minutes": 1260,
"rate": 0.861
},
{
"start": "22:00:00",
"minutes": 1320,
"rate": 0.863
},
{
"start": "23:00:00",
"minutes": 1380,
"rate": 0.843
}
],
"isfProfile": {
"sensitivities": [
{
"i": 0,
"start": "00:00:00",
"sensitivity": 86.2,
"offset": 0,
"x": 0,
"endoffset": 1440
}
]
},
"carb_ratio": 5.75,
"autosens_max": 1.3,
"autosens_min": 0.7,
"units": "mg/dl",
"timezone": "Europe/Paris"
}

View file

@ -0,0 +1,175 @@
{
"autosens_max": 1.3,
"autosens_min": 0.7,
"basalprofile": [
{
"i": 0,
"minutes": 0,
"rate": 1.009,
"start": "00:00:00"
},
{
"i": 1,
"minutes": 60,
"rate": 0.984,
"start": "01:00:00"
},
{
"i": 2,
"minutes": 120,
"rate": 0.988,
"start": "02:00:00"
},
{
"i": 3,
"minutes": 180,
"rate": 1.158,
"start": "03:00:00"
},
{
"i": 4,
"minutes": 240,
"rate": 1.028,
"start": "04:00:00"
},
{
"i": 5,
"minutes": 300,
"rate": 0.933,
"start": "05:00:00"
},
{
"i": 6,
"minutes": 360,
"rate": 0.824,
"start": "06:00:00"
},
{
"i": 7,
"minutes": 420,
"rate": 0.849,
"start": "07:00:00"
},
{
"i": 8,
"minutes": 480,
"rate": 0.909,
"start": "08:00:00"
},
{
"i": 9,
"minutes": 540,
"rate": 0.954,
"start": "09:00:00"
},
{
"i": 10,
"minutes": 600,
"rate": 0.961,
"start": "10:00:00"
},
{
"i": 11,
"minutes": 660,
"rate": 0.926,
"start": "11:00:00"
},
{
"i": 12,
"minutes": 720,
"rate": 0.885,
"start": "12:00:00"
},
{
"i": 13,
"minutes": 780,
"rate": 0.876,
"start": "13:00:00",
"untuned": 1
},
{
"i": 14,
"minutes": 840,
"rate": 0.869,
"start": "14:00:00",
"untuned": 1
},
{
"i": 15,
"minutes": 900,
"rate": 0.881,
"start": "15:00:00"
},
{
"i": 16,
"minutes": 960,
"rate": 0.798,
"start": "16:00:00"
},
{
"i": 17,
"minutes": 1020,
"rate": 0.683,
"start": "17:00:00"
},
{
"i": 18,
"minutes": 1080,
"rate": 0.634,
"start": "18:00:00"
},
{
"i": 19,
"minutes": 1140,
"rate": 0.725,
"start": "19:00:00"
},
{
"i": 20,
"minutes": 1200,
"rate": 0.838,
"start": "20:00:00"
},
{
"i": 21,
"minutes": 1260,
"rate": 0.881,
"start": "21:00:00"
},
{
"i": 22,
"minutes": 1320,
"rate": 0.91,
"start": "22:00:00"
},
{
"i": 23,
"minutes": 1380,
"rate": 0.91,
"start": "23:00:00"
}
],
"carb_ratio": 5.75,
"csf": 14.991,
"curve": "ultra-rapid",
"dia": 6,
"insulinPeakTime": 45,
"isfProfile": {
"sensitivities": [
{
"endoffset": 1440,
"i": 0,
"offset": 0,
"sensitivity": 82.222,
"start": "00:00:00",
"x": 0
}
]
},
"min_5m_carbimpact": 8,
"name": "Tuned Dyn2",
"sens": 82.222,
"timezone": "Europe/Paris",
"units": "mg/dl",
"useCustomPeakTime": true
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,420 @@
Autotune disk usage:
160K .
Overall disk used/avail:
Filesystem Size Used Avail Use% Mounted on
rootfs 930G 431G 500G 47% /
Grabbing AAPS treatments.json and entries/sgv.json for date range...
oref0-autotune-prep ns-treatments.2022-05-21.json profile.json ns-entries.2022-05-21.json profile.pump.json > autotune.2022-05-21.json
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -16.9 IOB: 5.249 Activity: 0.0391 at 04:24:08 dev: 26.10 avgDelta: 9.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -18.9 IOB: 5.292 Activity: 0.0438 at 04:29:08 dev: 27.88 avgDelta: 9.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -20.3 IOB: 4.964 Activity: 0.047 at 04:34:09 dev: 24.01 avgDelta: 3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -21.1 IOB: 4.674 Activity: 0.0489 at 04:39:08 dev: 17.83 avgDelta: -3.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -21.5 IOB: 4.377 Activity: 0.0498 at 04:44:08 dev: 11.21 avgDelta: -10.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -21.5 IOB: 4.077 Activity: 0.0498 at 04:49:08 dev: 7.96 avgDelta: -13.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -21.2 IOB: 3.73 Activity: 0.0491 at 04:54:08 dev: 7.16 avgDelta: -14.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -20.5 IOB: 3.389 Activity: 0.0476 at 04:59:08 dev: 6.77 avgDelta: -13.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -19.7 IOB: 3.055 Activity: 0.0457 at 05:04:09 dev: 6.95 avgDelta: -12.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -18.8 IOB: 2.782 Activity: 0.0436 at 05:09:08 dev: 6.54 avgDelta: -12.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -17.7 IOB: 2.47 Activity: 0.0411 at 05:14:08 dev: 5.71 avgDelta: -12.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -16.6 IOB: 2.22 Activity: 0.0386 at 05:19:09 dev: 5.14 avgDelta: -11.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -15.4 IOB: 1.935 Activity: 0.0358 at 05:24:08 dev: 4.93 avgDelta: -10.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -14.3 IOB: 1.711 Activity: 0.0332 at 05:29:08 dev: 6.06 avgDelta: -8.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -13.1 IOB: 1.452 Activity: 0.0304 at 05:34:09 dev: 7.35 avgDelta: -5.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -12.1 IOB: 1.927 Activity: 0.028 at 05:39:09 dev: 8.32 avgDelta: -3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -11.6 IOB: 1.84 Activity: 0.027 at 05:44:08 dev: 8.64 avgDelta: -3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -11.1 IOB: 1.658 Activity: 0.0258 at 05:49:09 dev: 7.12 avgDelta: -4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -10.6 IOB: 1.482 Activity: 0.0245 at 05:54:08 dev: 5.31 avgDelta: -5.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -9.9 IOB: 1.264 Activity: 0.0229 at 05:59:09 dev: 4.62 avgDelta: -5.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -9.1 IOB: 1.104 Activity: 0.0212 at 06:04:08 dev: 5.14 avgDelta: -4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -8.4 IOB: 0.952 Activity: 0.0194 at 06:09:09 dev: 7.36 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -7.8 IOB: 1.619 Activity: 0.0181 at 06:14:09 dev: 9.30 avgDelta: 1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -7.9 IOB: 1.678 Activity: 0.0184 at 06:19:09 dev: 10.68 avgDelta: 2.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -8.1 IOB: 1.775 Activity: 0.0187 at 06:24:08 dev: 9.81 avgDelta: 1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -8.2 IOB: 1.581 Activity: 0.019 at 06:29:08 dev: 6.44 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -8.1 IOB: 1.437 Activity: 0.0188 at 06:34:08 dev: 2.35 avgDelta: -5.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -7.9 IOB: 1.294 Activity: 0.0183 at 06:39:08 dev: -0.36 avgDelta: -8.25 uam
end unannounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -7.6 IOB: 1.153 Activity: 0.0176 at 06:44:09 dev: 0.09 avgDelta: -7.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -7.2 IOB: 1.017 Activity: 0.0167 at 06:49:08 dev: 3.20 avgDelta: -4.00 ISF
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -6.7 IOB: 0.887 Activity: 0.0156 at 06:54:08 dev: 6.22 avgDelta: -0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -6.3 IOB: 1.011 Activity: 0.0147 at 06:59:08 dev: 7.59 avgDelta: 1.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -6.1 IOB: 0.889 Activity: 0.0141 at 07:04:08 dev: 6.58 avgDelta: 0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -5.7 IOB: 0.771 Activity: 0.0133 at 07:09:08 dev: 2.98 avgDelta: -2.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -5.3 IOB: 0.656 Activity: 0.0124 at 07:14:09 dev: 0.09 avgDelta: -5.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -4.9 IOB: 0.547 Activity: 0.0114 at 07:19:08 dev: -1.84 avgDelta: -6.75 uam
end unannounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -4.4 IOB: 0.392 Activity: 0.0103 at 07:24:09 dev: -2.31 avgDelta: -6.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -3.9 IOB: 0.294 Activity: 0.0091 at 07:29:09 dev: -1.08 avgDelta: -5.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -3.5 IOB: 0.2 Activity: 0.008 at 07:34:09 dev: 0.45 avgDelta: -3.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.8 IOB: 0.065 Activity: 0.0066 at 07:39:09 dev: 2.34 avgDelta: -0.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.4 IOB: 0.034 Activity: 0.0055 at 07:44:09 dev: 3.37 avgDelta: 1.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.1 IOB: 0.549 Activity: 0.0048 at 07:49:08 dev: 3.57 avgDelta: 1.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.3 IOB: 0.674 Activity: 0.0053 at 07:54:09 dev: 3.53 avgDelta: 1.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.5 IOB: 0.597 Activity: 0.0057 at 07:59:09 dev: 2.71 avgDelta: 0.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -2.5 IOB: 0.468 Activity: 0.0058 at 08:04:09 dev: 1.50 avgDelta: -1.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -2.5 IOB: 0.389 Activity: 0.0057 at 08:09:09 dev: 0.21 avgDelta: -2.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -2.3 IOB: 0.262 Activity: 0.0053 at 08:14:09 dev: -0.47 avgDelta: -2.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -2.1 IOB: 0.186 Activity: 0.0048 at 08:19:09 dev: -0.93 avgDelta: -3.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -1.8 IOB: 0.064 Activity: 0.0041 at 08:24:09 dev: -1.48 avgDelta: -3.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -1.5 IOB: -0.005 Activity: 0.0034 at 08:29:09 dev: -2.03 avgDelta: -3.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -1.1 IOB: -0.12 Activity: 0.0026 at 08:34:09 dev: -2.13 avgDelta: -3.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -0.8 IOB: -0.181 Activity: 0.0018 at 08:39:09 dev: -2.47 avgDelta: -3.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -0.3 IOB: -0.287 Activity: 0.0008 at 08:44:09 dev: -2.41 avgDelta: -2.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 0.0 IOB: -0.34 Activity: 0 at 08:49:09 dev: -2.50 avgDelta: -2.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 0.4 IOB: -0.436 Activity: -0.001 at 08:54:09 dev: -2.68 avgDelta: -2.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 0.8 IOB: -0.48 Activity: -0.0018 at 08:59:09 dev: -2.28 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 1.1 IOB: -0.519 Activity: -0.0026 at 09:04:09 dev: -1.12 avgDelta: 0.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 1.5 IOB: -0.554 Activity: -0.0034 at 09:09:09 dev: 0.00 avgDelta: 1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 1.8 IOB: -0.585 Activity: -0.0041 at 09:14:09 dev: 0.00 avgDelta: 2.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 2.1 IOB: -0.662 Activity: -0.0049 at 09:19:09 dev: 0.39 avgDelta: 2.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 2.4 IOB: -0.687 Activity: -0.0055 at 09:24:08 dev: -0.37 avgDelta: 2.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 2.6 IOB: -0.708 Activity: -0.0061 at 09:29:09 dev: -0.13 avgDelta: 2.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 2.8 IOB: -0.726 Activity: -0.0066 at 09:34:09 dev: 0.41 avgDelta: 3.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 3.1 IOB: -0.351 Activity: -0.0071 at 09:39:08 dev: 1.19 avgDelta: 4.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 2.8 IOB: -0.218 Activity: -0.0064 at 09:44:09 dev: 2.99 avgDelta: 5.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 2.4 IOB: -0.088 Activity: -0.0055 at 09:49:09 dev: 4.63 avgDelta: 7.00 basal
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -1.0 IOB: 13.594 Activity: 0.0023 at 09:54:09 dev: 8.74 avgDelta: 7.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -14.3 IOB: 13.552 Activity: 0.0331 at 09:59:09 dev: 23.02 avgDelta: 8.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -24.7 IOB: 13.224 Activity: 0.0573 at 10:04:09 dev: 33.70 avgDelta: 9.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -32.8 IOB: 12.838 Activity: 0.076 at 10:09:08 dev: 40.76 avgDelta: 8.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -38.8 IOB: 12.322 Activity: 0.09 at 10:14:09 dev: 45.04 avgDelta: 6.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -43.1 IOB: 11.794 Activity: 0.1001 at 10:19:09 dev: 46.89 avgDelta: 3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -46.0 IOB: 11.177 Activity: 0.1068 at 10:24:09 dev: 47.03 avgDelta: 1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -47.8 IOB: 10.58 Activity: 0.111 at 10:29:09 dev: 45.84 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -48.7 IOB: 9.919 Activity: 0.1129 at 10:34:09 dev: 43.66 avgDelta: -5.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -48.7 IOB: 9.254 Activity: 0.1129 at 10:39:09 dev: 41.41 avgDelta: -7.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -48.0 IOB: 8.643 Activity: 0.1114 at 10:44:09 dev: 39.51 avgDelta: -8.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -46.9 IOB: 7.992 Activity: 0.1088 at 10:49:09 dev: 39.39 avgDelta: -7.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -45.4 IOB: 7.406 Activity: 0.1053 at 10:54:08 dev: 40.13 avgDelta: -5.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -43.6 IOB: 7.111 Activity: 0.1012 at 10:59:09 dev: 41.37 avgDelta: -2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -41.9 IOB: 6.515 Activity: 0.0971 at 11:04:09 dev: 42.35 avgDelta: 0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -40.0 IOB: 5.99 Activity: 0.0927 at 11:09:09 dev: 42.70 avgDelta: 2.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -37.8 IOB: 5.439 Activity: 0.0878 at 11:14:08 dev: 42.09 avgDelta: 4.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -35.7 IOB: 4.962 Activity: 0.0828 at 11:19:09 dev: 39.69 avgDelta: 4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -33.4 IOB: 4.462 Activity: 0.0775 at 11:24:08 dev: 35.65 avgDelta: 2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -31.2 IOB: 4.036 Activity: 0.0724 at 11:29:09 dev: 31.45 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -29.0 IOB: 3.638 Activity: 0.0672 at 11:34:09 dev: 27.46 avgDelta: -1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -26.8 IOB: 3.214 Activity: 0.0621 at 11:39:08 dev: 25.02 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -24.6 IOB: 2.866 Activity: 0.0571 at 11:44:09 dev: 23.61 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -22.5 IOB: 2.494 Activity: 0.0522 at 11:49:09 dev: 21.75 avgDelta: -0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -20.5 IOB: 2.193 Activity: 0.0476 at 11:54:09 dev: 20.52 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -18.6 IOB: 1.867 Activity: 0.0431 at 11:59:09 dev: 18.83 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -16.7 IOB: 1.563 Activity: 0.0388 at 12:04:09 dev: 16.97 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -15.0 IOB: 1.329 Activity: 0.0347 at 12:09:08 dev: 14.46 avgDelta: -0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -13.3 IOB: 1.115 Activity: 0.0309 at 12:14:09 dev: 11.32 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -11.7 IOB: 0.87 Activity: 0.0272 at 12:19:09 dev: 7.97 avgDelta: -3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -10.3 IOB: 0.692 Activity: 0.0239 at 12:24:09 dev: 5.80 avgDelta: -4.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -8.9 IOB: 0.482 Activity: 0.0206 at 12:29:08 dev: 4.88 avgDelta: -4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -7.6 IOB: 0.287 Activity: 0.0176 at 12:34:09 dev: 4.09 avgDelta: -3.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -6.4 IOB: 0.156 Activity: 0.0148 at 12:39:08 dev: 3.88 avgDelta: -2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -5.3 IOB: 0.038 Activity: 0.0122 at 12:44:08 dev: 3.26 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -4.3 IOB: -0.067 Activity: 0.0099 at 12:49:09 dev: 2.27 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -3.4 IOB: -0.161 Activity: 0.0078 at 12:54:08 dev: 1.36 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -2.6 IOB: -0.195 Activity: 0.006 at 12:59:08 dev: 0.09 avgDelta: -2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -1.9 IOB: -0.271 Activity: 0.0044 at 13:04:09 dev: -1.10 avgDelta: -3.00 uam
end unannounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -1.3 IOB: -0.339 Activity: 0.0029 at 13:09:09 dev: -1.00 avgDelta: -2.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -0.7 IOB: -0.4 Activity: 0.0015 at 13:14:09 dev: 0.90 avgDelta: 0.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -0.3 IOB: -0.155 Activity: 0.0007 at 13:19:08 dev: 3.80 avgDelta: 3.50 basal
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -1.9 IOB: 8.11 Activity: 0.0045 at 13:24:09 dev: 8.94 avgDelta: 7.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -9.6 IOB: 7.992 Activity: 0.0222 at 13:29:09 dev: 18.57 avgDelta: 9.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -15.5 IOB: 7.745 Activity: 0.0359 at 13:34:09 dev: 23.47 avgDelta: 8.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -20.0 IOB: 7.488 Activity: 0.0465 at 13:39:09 dev: 24.04 avgDelta: 4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -23.3 IOB: 7.136 Activity: 0.0541 at 13:44:09 dev: 21.32 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -25.7 IOB: 6.8 Activity: 0.0596 at 13:49:09 dev: 17.94 avgDelta: -7.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -27.3 IOB: 6.441 Activity: 0.0633 at 13:54:09 dev: 0.00 avgDelta: -10.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -28.1 IOB: 6.022 Activity: 0.0651 at 13:59:09 dev: 0.00 avgDelta: -9.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -28.3 IOB: 5.644 Activity: 0.0657 at 14:04:09 dev: 0.00 avgDelta: -6.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -28.1 IOB: 5.216 Activity: 0.0653 at 14:09:09 dev: 0.00 avgDelta: -2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -27.8 IOB: 4.962 Activity: 0.0644 at 14:14:09 dev: 0.00 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -27.0 IOB: 4.544 Activity: 0.0627 at 14:19:09 dev: 0.00 avgDelta: 0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -26.1 IOB: 4.185 Activity: 0.0606 at 14:24:09 dev: 0.00 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -25.0 IOB: 3.839 Activity: 0.058 at 14:29:09 dev: 0.00 avgDelta: -1.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -23.7 IOB: 3.456 Activity: 0.055 at 14:34:09 dev: 0.00 avgDelta: -2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -22.4 IOB: 3.139 Activity: 0.0519 at 14:39:09 dev: 0.00 avgDelta: -2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -20.9 IOB: 2.788 Activity: 0.0486 at 14:44:09 dev: 0.00 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -19.5 IOB: 2.503 Activity: 0.0453 at 14:49:10 dev: 0.00 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -18.0 IOB: 2.186 Activity: 0.0418 at 14:54:09 dev: 0.00 avgDelta: 2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -17.5 IOB: 3.17 Activity: 0.0407 at 14:59:09 dev: 22.04 avgDelta: 4.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -17.8 IOB: 3.956 Activity: 0.0413 at 15:04:09 dev: 23.80 avgDelta: 6.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.1 IOB: 3.648 Activity: 0.042 at 15:09:09 dev: 23.85 avgDelta: 5.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.5 IOB: 4.126 Activity: 0.043 at 15:14:09 dev: 22.28 avgDelta: 3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.8 IOB: 3.81 Activity: 0.0437 at 15:19:10 dev: 20.58 avgDelta: 1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.8 IOB: 3.541 Activity: 0.0437 at 15:24:10 dev: 19.08 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.6 IOB: 3.272 Activity: 0.0431 at 15:29:09 dev: 19.33 avgDelta: 0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.4 IOB: 3.588 Activity: 0.0428 at 15:34:09 dev: 21.20 avgDelta: 2.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.6 IOB: 3.875 Activity: 0.0431 at 15:39:09 dev: 23.83 avgDelta: 5.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.7 IOB: 3.608 Activity: 0.0434 at 15:44:08 dev: 25.46 avgDelta: 6.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -19.1 IOB: 4.271 Activity: 0.0442 at 15:49:09 dev: 26.05 avgDelta: 7.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -19.5 IOB: 3.996 Activity: 0.0452 at 15:54:09 dev: 25.98 avgDelta: 6.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -19.9 IOB: 4.298 Activity: 0.0462 at 15:59:08 dev: 26.16 avgDelta: 6.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -20.2 IOB: 4.015 Activity: 0.0468 at 16:04:09 dev: 26.67 avgDelta: 6.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -20.7 IOB: 4.538 Activity: 0.0481 at 16:09:09 dev: 27.98 avgDelta: 7.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -21.1 IOB: 4.245 Activity: 0.0489 at 16:14:09 dev: 28.33 avgDelta: 7.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -21.6 IOB: 4.729 Activity: 0.05 at 16:19:09 dev: 28.30 avgDelta: 6.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -21.9 IOB: 4.426 Activity: 0.0508 at 16:24:09 dev: 28.64 avgDelta: 6.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -22.0 IOB: 4.353 Activity: 0.051 at 16:29:09 dev: 28.73 avgDelta: 6.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -21.9 IOB: 4.049 Activity: 0.0507 at 16:34:10 dev: 28.10 avgDelta: 6.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -21.5 IOB: 3.747 Activity: 0.0498 at 16:39:09 dev: 25.96 avgDelta: 4.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -20.8 IOB: 3.402 Activity: 0.0483 at 16:44:09 dev: 22.32 avgDelta: 1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -20.0 IOB: 3.115 Activity: 0.0464 at 16:49:10 dev: 19.00 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -19.0 IOB: 2.788 Activity: 0.0441 at 16:54:09 dev: 17.01 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -18.0 IOB: 2.524 Activity: 0.0417 at 16:59:09 dev: 15.97 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -16.9 IOB: 2.271 Activity: 0.0391 at 17:04:09 dev: 16.10 avgDelta: -0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -15.7 IOB: 2.033 Activity: 0.0365 at 17:09:10 dev: 15.48 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -14.6 IOB: 1.807 Activity: 0.0338 at 17:14:10 dev: 14.57 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -13.4 IOB: 1.594 Activity: 0.0312 at 17:19:09 dev: 13.70 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -12.3 IOB: 1.395 Activity: 0.0286 at 17:24:10 dev: 12.58 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -11.3 IOB: 1.258 Activity: 0.0262 at 17:29:09 dev: 11.54 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -10.2 IOB: 1.034 Activity: 0.0236 at 17:34:09 dev: 10.17 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -9.3 IOB: 0.971 Activity: 0.0215 at 17:39:09 dev: 9.02 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -8.5 IOB: 1.008 Activity: 0.0197 at 17:44:09 dev: 7.74 avgDelta: -0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -7.9 IOB: 0.963 Activity: 0.0183 at 17:49:09 dev: 6.89 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -7.4 IOB: 1.046 Activity: 0.0171 at 17:54:10 dev: 7.12 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -6.9 IOB: 0.912 Activity: 0.0161 at 17:59:09 dev: 6.94 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -6.7 IOB: 1.254 Activity: 0.0156 at 18:04:09 dev: 6.97 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -6.6 IOB: 1.176 Activity: 0.0154 at 18:09:09 dev: 6.64 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -6.4 IOB: 1.051 Activity: 0.0149 at 18:14:10 dev: 5.67 avgDelta: -0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -6.1 IOB: 0.928 Activity: 0.0142 at 18:19:09 dev: 5.12 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -6.0 IOB: 1.008 Activity: 0.0138 at 18:24:09 dev: 4.45 avgDelta: -1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -5.7 IOB: 0.89 Activity: 0.0133 at 18:29:09 dev: 3.48 avgDelta: -2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -5.5 IOB: 0.775 Activity: 0.0127 at 18:34:09 dev: 2.47 avgDelta: -3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -5.1 IOB: 0.664 Activity: 0.0118 at 18:39:09 dev: 1.59 avgDelta: -3.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -4.7 IOB: 0.606 Activity: 0.011 at 18:44:09 dev: 1.74 avgDelta: -3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -4.5 IOB: 0.703 Activity: 0.0105 at 18:49:09 dev: 3.03 avgDelta: -1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -4.3 IOB: 0.702 Activity: 0.0101 at 18:54:09 dev: 4.10 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -4.3 IOB: 0.902 Activity: 0.0101 at 18:59:09 dev: 4.35 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -4.3 IOB: 0.801 Activity: 0.0101 at 19:04:09 dev: 2.10 avgDelta: -2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -4.2 IOB: 0.701 Activity: 0.0098 at 19:09:09 dev: -1.03 avgDelta: -5.25 uam
end unannounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -4.0 IOB: 0.603 Activity: 0.0094 at 19:14:09 dev: -4.95 avgDelta: -9.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -3.8 IOB: 0.508 Activity: 0.0088 at 19:19:09 dev: -8.21 avgDelta: -12.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -3.5 IOB: 0.415 Activity: 0.0081 at 19:24:09 dev: -9.76 avgDelta: -13.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -3.2 IOB: 0.327 Activity: 0.0074 at 19:29:09 dev: -8.06 avgDelta: -11.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -2.8 IOB: 0.242 Activity: 0.0066 at 19:34:09 dev: -3.91 avgDelta: -6.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -2.5 IOB: 0.161 Activity: 0.0058 at 19:39:09 dev: 2.00 avgDelta: -0.50 ISF
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -2.2 IOB: 0.134 Activity: 0.005 at 19:44:09 dev: 7.16 avgDelta: 5.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -2.1 IOB: 0.4 Activity: 0.0048 at 19:49:09 dev: 9.57 avgDelta: 7.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -2.1 IOB: 0.475 Activity: 0.0049 at 19:54:09 dev: 8.86 avgDelta: 6.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -2.2 IOB: 0.401 Activity: 0.005 at 19:59:10 dev: 5.91 avgDelta: 3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.1 IOB: 0.327 Activity: 0.0048 at 20:04:10 dev: 2.82 avgDelta: 0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -1.9 IOB: 0.203 Activity: 0.0044 at 20:09:09 dev: -0.35 avgDelta: -2.25 uam
end unannounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -1.7 IOB: 0.132 Activity: 0.004 at 20:14:09 dev: -1.78 avgDelta: -3.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -1.5 IOB: 0.064 Activity: 0.0034 at 20:19:09 dev: -2.28 avgDelta: -3.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -1.2 IOB: -0.002 Activity: 0.0028 at 20:24:09 dev: -1.54 avgDelta: -2.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.9 IOB: -0.064 Activity: 0.0022 at 20:29:10 dev: -1.05 avgDelta: -2.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.7 IOB: -0.073 Activity: 0.0016 at 20:34:09 dev: -0.81 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.5 IOB: -0.08 Activity: 0.0011 at 20:39:09 dev: -1.03 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.3 IOB: -0.085 Activity: 0.0007 at 20:44:09 dev: -1.45 avgDelta: -1.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.2 IOB: -0.087 Activity: 0.0004 at 20:49:09 dev: -1.33 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.0 IOB: -0.088 Activity: 0.0001 at 20:54:09 dev: -1.21 avgDelta: -1.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: 0.0 IOB: -0.088 Activity: -0.0001 at 20:59:09 dev: -0.79 avgDelta: -0.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.2 IOB: -0.137 Activity: -0.0004 at 21:04:09 dev: -0.92 avgDelta: -0.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.3 IOB: -0.184 Activity: -0.0007 at 21:09:10 dev: -0.80 avgDelta: -0.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.4 IOB: -0.18 Activity: -0.001 at 21:14:09 dev: -0.68 avgDelta: -0.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.5 IOB: -0.175 Activity: -0.0012 at 21:19:09 dev: -1.02 avgDelta: -0.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.6 IOB: -0.168 Activity: -0.0014 at 21:24:09 dev: -1.35 avgDelta: -0.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.7 IOB: -0.211 Activity: -0.0015 at 21:29:10 dev: -1.65 avgDelta: -1.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.7 IOB: -0.203 Activity: -0.0017 at 21:34:09 dev: -1.98 avgDelta: -1.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.9 IOB: -0.243 Activity: -0.002 at 21:39:10 dev: -2.36 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.0 IOB: -0.282 Activity: -0.0023 at 21:44:10 dev: -2.49 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.1 IOB: -0.32 Activity: -0.0026 at 21:49:09 dev: -2.62 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.3 IOB: -0.357 Activity: -0.0029 at 21:54:10 dev: -2.25 avgDelta: -1.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.4 IOB: -0.391 Activity: -0.0032 at 21:59:10 dev: -1.38 avgDelta: 0.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.5 IOB: -0.375 Activity: -0.0035 at 22:04:09 dev: -0.01 avgDelta: 1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.6 IOB: -0.357 Activity: -0.0036 at 22:09:09 dev: 1.45 avgDelta: 3.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.5 IOB: -0.149 Activity: -0.0035 at 22:14:09 dev: 3.49 avgDelta: 5.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.3 IOB: -0.132 Activity: -0.0031 at 22:19:10 dev: 5.91 avgDelta: 7.25 basal
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -6.5 IOB: 9.296 Activity: 0.015 at 22:24:09 dev: 15.96 avgDelta: 9.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -14.3 IOB: 9.123 Activity: 0.0332 at 22:29:10 dev: 25.06 avgDelta: 10.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -20.4 IOB: 8.96 Activity: 0.0474 at 22:34:09 dev: 29.43 avgDelta: 9.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -25.2 IOB: 8.644 Activity: 0.0584 at 22:39:10 dev: 29.92 avgDelta: 4.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -28.6 IOB: 8.282 Activity: 0.0664 at 22:44:10 dev: 27.37 avgDelta: -1.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -30.9 IOB: 7.835 Activity: 0.0718 at 22:49:09 dev: 24.70 avgDelta: -6.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -32.5 IOB: 7.416 Activity: 0.0753 at 22:54:10 dev: 23.70 avgDelta: -8.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -33.3 IOB: 6.984 Activity: 0.0772 at 22:59:09 dev: 24.52 avgDelta: -8.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -33.5 IOB: 6.547 Activity: 0.0776 at 23:04:09 dev: 26.70 avgDelta: -6.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -33.1 IOB: 6.061 Activity: 0.0769 at 23:09:10 dev: 28.39 avgDelta: -4.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -32.5 IOB: 5.68 Activity: 0.0754 at 23:14:10 dev: 29.50 avgDelta: -3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -31.6 IOB: 5.458 Activity: 0.0734 at 23:19:09 dev: 30.14 avgDelta: -1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -30.7 IOB: 5.046 Activity: 0.0712 at 23:24:10 dev: 29.94 avgDelta: -0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -29.7 IOB: 4.925 Activity: 0.069 at 23:29:09 dev: 29.49 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -28.6 IOB: 4.487 Activity: 0.0663 at 23:34:09 dev: 29.08 avgDelta: 0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -27.3 IOB: 4.113 Activity: 0.0633 at 23:39:10 dev: 28.28 avgDelta: 1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -25.8 IOB: 3.706 Activity: 0.0599 at 23:44:09 dev: 27.57 avgDelta: 1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -24.4 IOB: 3.363 Activity: 0.0566 at 23:49:09 dev: 26.64 avgDelta: 2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -22.8 IOB: 3.039 Activity: 0.053 at 23:54:09 dev: 25.34 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -21.3 IOB: 2.733 Activity: 0.0494 at 23:59:10 dev: 23.79 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -19.7 IOB: 2.395 Activity: 0.0457 at 00:04:10 dev: 22.20 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -18.1 IOB: 2.126 Activity: 0.0421 at 00:09:10 dev: 20.65 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -16.6 IOB: 1.824 Activity: 0.0385 at 00:14:10 dev: 18.59 avgDelta: 2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -15.1 IOB: 1.64 Activity: 0.0351 at 00:19:09 dev: 17.13 avgDelta: 2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -13.8 IOB: 1.473 Activity: 0.0319 at 00:24:09 dev: 15.50 avgDelta: 1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -12.4 IOB: 1.273 Activity: 0.0288 at 00:29:10 dev: 14.16 avgDelta: 1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -11.2 IOB: 1.136 Activity: 0.026 at 00:34:10 dev: 12.71 avgDelta: 1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -10.1 IOB: 1.011 Activity: 0.0235 at 00:39:09 dev: 10.13 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -9.1 IOB: 0.852 Activity: 0.021 at 00:44:10 dev: 7.30 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -8.2 IOB: 0.752 Activity: 0.0189 at 00:49:10 dev: 4.65 avgDelta: -3.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -7.3 IOB: 0.662 Activity: 0.0169 at 00:54:10 dev: 3.28 avgDelta: -4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -6.4 IOB: 0.534 Activity: 0.0149 at 00:59:09 dev: 3.42 avgDelta: -3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -5.7 IOB: 0.463 Activity: 0.0132 at 01:04:09 dev: 4.69 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -5.0 IOB: 0.352 Activity: 0.0115 at 01:09:10 dev: 5.96 avgDelta: 1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.3 IOB: 0.298 Activity: 0.0101 at 01:14:10 dev: 6.60 avgDelta: 2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.8 IOB: 0.25 Activity: 0.0089 at 01:19:09 dev: 6.84 avgDelta: 3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.4 IOB: 0.329 Activity: 0.0079 at 01:24:10 dev: 6.40 avgDelta: 3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.2 IOB: 0.34 Activity: 0.0074 at 01:29:10 dev: 5.69 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -2.9 IOB: 0.304 Activity: 0.0068 at 01:34:10 dev: 5.43 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -2.7 IOB: 0.272 Activity: 0.0062 at 01:39:10 dev: 5.67 avgDelta: 3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -2.6 IOB: 0.512 Activity: 0.006 at 01:44:10 dev: 6.59 avgDelta: 4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -2.6 IOB: 0.581 Activity: 0.0061 at 01:49:10 dev: 7.38 avgDelta: 4.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.2 IOB: 1.238 Activity: 0.0075 at 01:54:10 dev: 7.98 avgDelta: 4.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.8 IOB: 1.147 Activity: 0.0088 at 01:59:10 dev: 7.54 avgDelta: 3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.2 IOB: 1.151 Activity: 0.0098 at 02:04:10 dev: 6.72 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.5 IOB: 1.05 Activity: 0.0104 at 02:09:09 dev: 5.98 avgDelta: 1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.6 IOB: 0.947 Activity: 0.0107 at 02:14:09 dev: 4.86 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.6 IOB: 0.844 Activity: 0.0106 at 02:19:10 dev: 3.82 avgDelta: -0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.5 IOB: 0.741 Activity: 0.0104 at 02:24:10 dev: 2.73 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.3 IOB: 0.59 Activity: 0.0099 at 02:29:10 dev: 2.52 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.0 IOB: 0.542 Activity: 0.0093 at 02:34:09 dev: 3.01 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.8 IOB: 0.497 Activity: 0.0087 at 02:39:09 dev: 3.50 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.5 IOB: 0.456 Activity: 0.0081 at 02:44:10 dev: 1.74 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.3 IOB: 0.516 Activity: 0.0077 at 02:49:09 dev: -1.93 avgDelta: -5.25 uam
end unannounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.1 IOB: 0.429 Activity: 0.0072 at 02:54:09 dev: -6.40 avgDelta: -9.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -2.8 IOB: 0.294 Activity: 0.0066 at 02:59:10 dev: -8.66 avgDelta: -11.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: -2.5 IOB: 0.163 Activity: 0.0058 at 03:04:10 dev: -8.25 avgDelta: -10.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: -2.1 IOB: 0.037 Activity: 0.0049 at 03:09:10 dev: -6.39 avgDelta: -8.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: -1.7 IOB: -0.085 Activity: 0.0039 at 03:14:10 dev: -4.32 avgDelta: -6.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: -1.3 IOB: -0.153 Activity: 0.0029 at 03:19:09 dev: -3.75 avgDelta: -5.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: -0.8 IOB: -0.265 Activity: 0.0018 at 03:24:10 dev: -3.72 avgDelta: -4.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: -0.3 IOB: -0.371 Activity: 0.0007 at 03:29:09 dev: -3.45 avgDelta: -3.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: 0.2 IOB: -0.471 Activity: -0.0005 at 03:34:09 dev: -2.22 avgDelta: -2.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: 0.7 IOB: -0.566 Activity: -0.0016 at 03:39:10 dev: -0.94 avgDelta: -0.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: 1.1 IOB: -0.606 Activity: -0.0026 at 03:44:10 dev: 0.00 avgDelta: 1.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: 1.6 IOB: -0.64 Activity: -0.0036 at 03:49:10 dev: 0.45 avgDelta: 2.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: 1.9 IOB: -0.67 Activity: -0.0044 at 03:54:10 dev: -0.15 avgDelta: 1.75 basal
Warning: too many deviations categorized as UnAnnounced Meals
Adding 203 UAM deviations to 54 basal ones
and selecting the lowest 50%, leaving 128 basal+UAM ones
Adding 203 UAM deviations to 26 ISF ones
and selecting the lowest 50%, leaving 114 ISF+UAM ones
oref0-autotune-core autotune.2022-05-21.json profile.json profile.pump.json > newprofile.2022-05-21.json
CRTotalCarbs: 0 CRTotalInsulin: 0 totalCR: NaN
Hour 0 total deviations: 11.35 mg/dL
Hour 0 basal adjustment needed: 0.03 U/hr
Hour 1 total deviations: 47.03 mg/dL
Hour 1 basal adjustment needed: 0.11 U/hr
Hour 2 total deviations: 26.23 mg/dL
Hour 2 basal adjustment needed: 0.06 U/hr
Hour 3 total deviations: -18.1 mg/dL
Hour 3 basal adjustment needed: -0.04 U/hr
Hour 4 total deviations: 0 mg/dL
Hour 4 basal adjustment needed: 0 U/hr
Hour 5 total deviations: 38.31 mg/dL
Hour 5 basal adjustment needed: 0.09 U/hr
Hour 6 total deviations: 19.79 mg/dL
Hour 6 basal adjustment needed: 0.05 U/hr
Hour 7 total deviations: 7.81 mg/dL
Hour 7 basal adjustment needed: 0.02 U/hr
Hour 8 total deviations: -16.5 mg/dL
Hour 8 basal adjustment needed: -0.04 U/hr
Hour 9 total deviations: 7.99 mg/dL
Hour 9 basal adjustment needed: 0.02 U/hr
Hour 10 total deviations: 0 mg/dL
Hour 10 basal adjustment needed: 0 U/hr
Hour 11 total deviations: 0 mg/dL
Hour 11 basal adjustment needed: 0 U/hr
Hour 12 total deviations: 25.63 mg/dL
Hour 12 basal adjustment needed: 0.06 U/hr
Hour 13 total deviations: 2.6 mg/dL
Hour 13 basal adjustment needed: 0.01 U/hr
Hour 14 total deviations: 0 mg/dL
Hour 14 basal adjustment needed: 0 U/hr
Hour 15 total deviations: 0 mg/dL
Hour 15 basal adjustment needed: 0 U/hr
Hour 16 total deviations: 0 mg/dL
Hour 16 basal adjustment needed: 0 U/hr
Hour 17 total deviations: 0 mg/dL
Hour 17 basal adjustment needed: 0 U/hr
Hour 18 total deviations: 42.64 mg/dL
Hour 18 basal adjustment needed: 0.1 U/hr
Hour 19 total deviations: 6.98 mg/dL
Hour 19 basal adjustment needed: 0.02 U/hr
Hour 20 total deviations: -9.02 mg/dL
Hour 20 basal adjustment needed: -0.02 U/hr
Hour 21 total deviations: -19.5 mg/dL
Hour 21 basal adjustment needed: -0.05 U/hr
Hour 22 total deviations: 10.84 mg/dL
Hour 22 basal adjustment needed: 0.03 U/hr
Hour 23 total deviations: 0 mg/dL
Hour 23 basal adjustment needed: 0 U/hr
Adjusting hour 13 basal from 0.874 to 0.876 based on hour 12 = 0.885 and hour 15 = 0.881
Adjusting hour 14 basal from 0.866 to 0.869 based on hour 12 = 0.885 and hour 15 = 0.881
[ { start: '00:00:00', minutes: 0, rate: 1.009, i: 0 },
{ start: '01:00:00', minutes: 60, rate: 0.984, i: 1 },
{ start: '02:00:00', minutes: 120, rate: 0.988, i: 2 },
{ start: '03:00:00', minutes: 180, rate: 1.158, i: 3 },
{ start: '04:00:00', minutes: 240, rate: 1.028, i: 4 },
{ start: '05:00:00', minutes: 300, rate: 0.933, i: 5 },
{ start: '06:00:00', minutes: 360, rate: 0.824, i: 6 },
{ start: '07:00:00', minutes: 420, rate: 0.849, i: 7 },
{ start: '08:00:00', minutes: 480, rate: 0.909, i: 8 },
{ start: '09:00:00', minutes: 540, rate: 0.954, i: 9 },
{ start: '10:00:00', minutes: 600, rate: 0.961, i: 10 },
{ start: '11:00:00', minutes: 660, rate: 0.926, i: 11 },
{ start: '12:00:00', minutes: 720, rate: 0.885, i: 12 },
{ start: '13:00:00', minutes: 780, rate: 0.876, i: 13, untuned: 1 },
{ start: '14:00:00', minutes: 840, rate: 0.869, i: 14, untuned: 1 },
{ start: '15:00:00', minutes: 900, rate: 0.881, i: 15 },
{ start: '16:00:00', minutes: 960, rate: 0.798, i: 16 },
{ start: '17:00:00', minutes: 1020, rate: 0.683, i: 17 },
{ start: '18:00:00', minutes: 1080, rate: 0.634, i: 18 },
{ start: '19:00:00', minutes: 1140, rate: 0.725, i: 19 },
{ start: '20:00:00', minutes: 1200, rate: 0.838, i: 20 },
{ start: '21:00:00', minutes: 1260, rate: 0.881, i: 21 },
{ start: '22:00:00', minutes: 1320, rate: 0.91, i: 22 },
{ start: '23:00:00', minutes: 1380, rate: 0.91, i: 23 } ]
totalMealCarbs: 0 totalDeviations: 0 oldCSF 14.991 fullNewCSF: 14.991304347826087 newCSF: 14.991
oldCR: 5.75 fullNewCR: NaN newCR: NaN
Limiting adjusted ISF of 43.19 to 66.31 (which is pump ISF of 86.2 / 1.3 )
p50deviation: 3.2 p50BGI -4.96 p50ratios: 0.501 Old ISF: 86.2 fullNewISF: 43.186 adjustedISF: 66.308 newISF: 82.222 newDIA: 6 newPeak: 45
Autotune pump profile recommendations:
---------------------------------------------------------
Recommendations Log File: /home/titi/aaps/autotune/aapsorefautotune_recommendations.log
Parameter | Pump | Autotune | Days Missing
---------------------------------------------------------
ISF [mg/dL/U] | 86.200 | 82.222 |
Carb Ratio[g/U]| 5.750 | 5.750 |
00:00 | 0.966 | 1.009 | 0
01:00 | 0.977 | 0.984 | 0
02:00 | 0.971 | 0.988 | 0
03:00 | 1.111 | 1.158 | 0
04:00 | 0.974 | 1.028 | 0
05:00 | 0.923 | 0.933 | 0
06:00 | 0.823 | 0.824 | 0
07:00 | 0.855 | 0.849 | 0
08:00 | 0.902 | 0.909 | 0
09:00 | 0.934 | 0.954 | 0
10:00 | 0.938 | 0.961 | 0
11:00 | 0.903 | 0.926 | 0
12:00 | 0.882 | 0.885 | 0
13:00 | 0.874 | 0.876 | 1
14:00 | 0.866 | 0.869 | 1
15:00 | 0.848 | 0.881 | 0
16:00 | 0.758 | 0.798 | 0
17:00 | 0.650 | 0.683 | 0
18:00 | 0.648 | 0.634 | 0
19:00 | 0.738 | 0.725 | 0
20:00 | 0.847 | 0.838 | 0
21:00 | 0.861 | 0.881 | 0
22:00 | 0.863 | 0.910 | 0
23:00 | 0.843 | 0.910 | 0

View file

@ -0,0 +1,175 @@
{
"autosens_max": 1.3,
"autosens_min": 0.7,
"basalprofile": [
{
"i": 0,
"minutes": 0,
"rate": 1.009,
"start": "00:00:00"
},
{
"i": 1,
"minutes": 60,
"rate": 0.984,
"start": "01:00:00"
},
{
"i": 2,
"minutes": 120,
"rate": 0.988,
"start": "02:00:00"
},
{
"i": 3,
"minutes": 180,
"rate": 1.158,
"start": "03:00:00"
},
{
"i": 4,
"minutes": 240,
"rate": 1.028,
"start": "04:00:00"
},
{
"i": 5,
"minutes": 300,
"rate": 0.933,
"start": "05:00:00"
},
{
"i": 6,
"minutes": 360,
"rate": 0.824,
"start": "06:00:00"
},
{
"i": 7,
"minutes": 420,
"rate": 0.849,
"start": "07:00:00"
},
{
"i": 8,
"minutes": 480,
"rate": 0.909,
"start": "08:00:00"
},
{
"i": 9,
"minutes": 540,
"rate": 0.954,
"start": "09:00:00"
},
{
"i": 10,
"minutes": 600,
"rate": 0.961,
"start": "10:00:00"
},
{
"i": 11,
"minutes": 660,
"rate": 0.926,
"start": "11:00:00"
},
{
"i": 12,
"minutes": 720,
"rate": 0.885,
"start": "12:00:00"
},
{
"i": 13,
"minutes": 780,
"rate": 0.876,
"start": "13:00:00",
"untuned": 1
},
{
"i": 14,
"minutes": 840,
"rate": 0.869,
"start": "14:00:00",
"untuned": 1
},
{
"i": 15,
"minutes": 900,
"rate": 0.881,
"start": "15:00:00"
},
{
"i": 16,
"minutes": 960,
"rate": 0.798,
"start": "16:00:00"
},
{
"i": 17,
"minutes": 1020,
"rate": 0.683,
"start": "17:00:00"
},
{
"i": 18,
"minutes": 1080,
"rate": 0.634,
"start": "18:00:00"
},
{
"i": 19,
"minutes": 1140,
"rate": 0.725,
"start": "19:00:00"
},
{
"i": 20,
"minutes": 1200,
"rate": 0.838,
"start": "20:00:00"
},
{
"i": 21,
"minutes": 1260,
"rate": 0.881,
"start": "21:00:00"
},
{
"i": 22,
"minutes": 1320,
"rate": 0.91,
"start": "22:00:00"
},
{
"i": 23,
"minutes": 1380,
"rate": 0.91,
"start": "23:00:00"
}
],
"carb_ratio": 5.75,
"csf": 14.991,
"curve": "ultra-rapid",
"dia": 6,
"insulinPeakTime": 45,
"isfProfile": {
"sensitivities": [
{
"endoffset": 1440,
"i": 0,
"offset": 0,
"sensitivity": 82.222,
"start": "00:00:00",
"x": 0
}
]
},
"min_5m_carbimpact": 8,
"name": "Tuned Dyn2",
"sens": 82.222,
"timezone": "Europe/Paris",
"units": "mg/dl",
"useCustomPeakTime": true
}

View file

@ -0,0 +1,286 @@
[
{ "iob": 5.249, "activity": 0.0391, "date": 1653099848000},
{ "iob": 5.292, "activity": 0.0438, "date": 1653100148000},
{ "iob": 4.964, "activity": 0.047, "date": 1653100449000},
{ "iob": 4.674, "activity": 0.0489, "date": 1653100748000},
{ "iob": 4.377, "activity": 0.0498, "date": 1653101048000},
{ "iob": 4.077, "activity": 0.0498, "date": 1653101348000},
{ "iob": 3.73, "activity": 0.0491, "date": 1653101648000},
{ "iob": 3.389, "activity": 0.0476, "date": 1653101948000},
{ "iob": 3.055, "activity": 0.0457, "date": 1653102249000},
{ "iob": 2.782, "activity": 0.0436, "date": 1653102548000},
{ "iob": 2.47, "activity": 0.0411, "date": 1653102848000},
{ "iob": 2.22, "activity": 0.0386, "date": 1653103149000},
{ "iob": 1.935, "activity": 0.0358, "date": 1653103448000},
{ "iob": 1.711, "activity": 0.0332, "date": 1653103748000},
{ "iob": 1.452, "activity": 0.0304, "date": 1653104049000},
{ "iob": 1.927, "activity": 0.028, "date": 1653104349000},
{ "iob": 1.84, "activity": 0.027, "date": 1653104648000},
{ "iob": 1.658, "activity": 0.0258, "date": 1653104949000},
{ "iob": 1.482, "activity": 0.0245, "date": 1653105248000},
{ "iob": 1.264, "activity": 0.0229, "date": 1653105549000},
{ "iob": 1.104, "activity": 0.0212, "date": 1653105848000},
{ "iob": 0.952, "activity": 0.0194, "date": 1653106149000},
{ "iob": 1.619, "activity": 0.0181, "date": 1653106449000},
{ "iob": 1.678, "activity": 0.0184, "date": 1653106749000},
{ "iob": 1.775, "activity": 0.0187, "date": 1653107048000},
{ "iob": 1.581, "activity": 0.019, "date": 1653107348000},
{ "iob": 1.437, "activity": 0.0188, "date": 1653107648000},
{ "iob": 1.294, "activity": 0.0183, "date": 1653107948000},
{ "iob": 1.153, "activity": 0.0176, "date": 1653108249000},
{ "iob": 1.017, "activity": 0.0167, "date": 1653108548000},
{ "iob": 0.887, "activity": 0.0156, "date": 1653108848000},
{ "iob": 1.011, "activity": 0.0147, "date": 1653109148000},
{ "iob": 0.889, "activity": 0.0141, "date": 1653109448000},
{ "iob": 0.771, "activity": 0.0133, "date": 1653109748000},
{ "iob": 0.656, "activity": 0.0124, "date": 1653110049000},
{ "iob": 0.547, "activity": 0.0114, "date": 1653110348000},
{ "iob": 0.392, "activity": 0.0103, "date": 1653110649000},
{ "iob": 0.294, "activity": 0.0091, "date": 1653110949000},
{ "iob": 0.2, "activity": 0.008, "date": 1653111249000},
{ "iob": 0.065, "activity": 0.0066, "date": 1653111549000},
{ "iob": 0.034, "activity": 0.0055, "date": 1653111849000},
{ "iob": 0.549, "activity": 0.0048, "date": 1653112148000},
{ "iob": 0.674, "activity": 0.0053, "date": 1653112449000},
{ "iob": 0.597, "activity": 0.0057, "date": 1653112749000},
{ "iob": 0.468, "activity": 0.0058, "date": 1653113049000},
{ "iob": 0.389, "activity": 0.0057, "date": 1653113349000},
{ "iob": 0.262, "activity": 0.0053, "date": 1653113649000},
{ "iob": 0.186, "activity": 0.0048, "date": 1653113949000},
{ "iob": 0.064, "activity": 0.0041, "date": 1653114249000},
{ "iob": -0.005, "activity": 0.0034, "date": 1653114549000},
{ "iob": -0.12, "activity": 0.0026, "date": 1653114849000},
{ "iob": -0.181, "activity": 0.0018, "date": 1653115149000},
{ "iob": -0.287, "activity": 0.0008, "date": 1653115449000},
{ "iob": -0.34, "activity": 0, "date": 1653115749000},
{ "iob": -0.436, "activity": -0.001, "date": 1653116049000},
{ "iob": -0.48, "activity": -0.0018, "date": 1653116349000},
{ "iob": -0.519, "activity": -0.0026, "date": 1653116649000},
{ "iob": -0.554, "activity": -0.0034, "date": 1653116949000},
{ "iob": -0.585, "activity": -0.0041, "date": 1653117249000},
{ "iob": -0.662, "activity": -0.0049, "date": 1653117549000},
{ "iob": -0.687, "activity": -0.0055, "date": 1653117848000},
{ "iob": -0.708, "activity": -0.0061, "date": 1653118149000},
{ "iob": -0.726, "activity": -0.0066, "date": 1653118449000},
{ "iob": -0.351, "activity": -0.0071, "date": 1653118748000},
{ "iob": -0.218, "activity": -0.0064, "date": 1653119049000},
{ "iob": -0.088, "activity": -0.0055, "date": 1653119349000},
{ "iob": 13.594, "activity": 0.0023, "date": 1653119649000},
{ "iob": 13.552, "activity": 0.0331, "date": 1653119949000},
{ "iob": 13.224, "activity": 0.0573, "date": 1653120249000},
{ "iob": 12.838, "activity": 0.076, "date": 1653120548000},
{ "iob": 12.322, "activity": 0.09, "date": 1653120849000},
{ "iob": 11.794, "activity": 0.1001, "date": 1653121149000},
{ "iob": 11.177, "activity": 0.1068, "date": 1653121449000},
{ "iob": 10.58, "activity": 0.111, "date": 1653121749000},
{ "iob": 9.919, "activity": 0.1129, "date": 1653122049000},
{ "iob": 9.254, "activity": 0.1129, "date": 1653122349000},
{ "iob": 8.643, "activity": 0.1114, "date": 1653122649000},
{ "iob": 7.992, "activity": 0.1088, "date": 1653122949000},
{ "iob": 7.406, "activity": 0.1053, "date": 1653123248000},
{ "iob": 7.111, "activity": 0.1012, "date": 1653123549000},
{ "iob": 6.515, "activity": 0.0971, "date": 1653123849000},
{ "iob": 5.99, "activity": 0.0927, "date": 1653124149000},
{ "iob": 5.439, "activity": 0.0878, "date": 1653124448000},
{ "iob": 4.962, "activity": 0.0828, "date": 1653124749000},
{ "iob": 4.462, "activity": 0.0775, "date": 1653125048000},
{ "iob": 4.036, "activity": 0.0724, "date": 1653125349000},
{ "iob": 3.638, "activity": 0.0672, "date": 1653125649000},
{ "iob": 3.214, "activity": 0.0621, "date": 1653125948000},
{ "iob": 2.866, "activity": 0.0571, "date": 1653126249000},
{ "iob": 2.494, "activity": 0.0522, "date": 1653126549000},
{ "iob": 2.193, "activity": 0.0476, "date": 1653126849000},
{ "iob": 1.867, "activity": 0.0431, "date": 1653127149000},
{ "iob": 1.563, "activity": 0.0388, "date": 1653127449000},
{ "iob": 1.329, "activity": 0.0347, "date": 1653127748000},
{ "iob": 1.115, "activity": 0.0309, "date": 1653128049000},
{ "iob": 0.87, "activity": 0.0272, "date": 1653128349000},
{ "iob": 0.692, "activity": 0.0239, "date": 1653128649000},
{ "iob": 0.482, "activity": 0.0206, "date": 1653128948000},
{ "iob": 0.287, "activity": 0.0176, "date": 1653129249000},
{ "iob": 0.156, "activity": 0.0148, "date": 1653129548000},
{ "iob": 0.038, "activity": 0.0122, "date": 1653129848000},
{ "iob": -0.067, "activity": 0.0099, "date": 1653130149000},
{ "iob": -0.161, "activity": 0.0078, "date": 1653130448000},
{ "iob": -0.195, "activity": 0.006, "date": 1653130748000},
{ "iob": -0.271, "activity": 0.0044, "date": 1653131049000},
{ "iob": -0.339, "activity": 0.0029, "date": 1653131349000},
{ "iob": -0.4, "activity": 0.0015, "date": 1653131649000},
{ "iob": -0.155, "activity": 0.0007, "date": 1653131948000},
{ "iob": 8.11, "activity": 0.0045, "date": 1653132249000},
{ "iob": 7.992, "activity": 0.0222, "date": 1653132549000},
{ "iob": 7.745, "activity": 0.0359, "date": 1653132849000},
{ "iob": 7.488, "activity": 0.0465, "date": 1653133149000},
{ "iob": 7.136, "activity": 0.0541, "date": 1653133449000},
{ "iob": 6.8, "activity": 0.0596, "date": 1653133749000},
{ "iob": 6.441, "activity": 0.0633, "date": 1653134049000},
{ "iob": 6.022, "activity": 0.0651, "date": 1653134349000},
{ "iob": 5.644, "activity": 0.0657, "date": 1653134649000},
{ "iob": 5.216, "activity": 0.0653, "date": 1653134949000},
{ "iob": 4.962, "activity": 0.0644, "date": 1653135249000},
{ "iob": 4.544, "activity": 0.0627, "date": 1653135549000},
{ "iob": 4.185, "activity": 0.0606, "date": 1653135849000},
{ "iob": 3.839, "activity": 0.058, "date": 1653136149000},
{ "iob": 3.456, "activity": 0.055, "date": 1653136449000},
{ "iob": 3.139, "activity": 0.0519, "date": 1653136749000},
{ "iob": 2.788, "activity": 0.0486, "date": 1653137049000},
{ "iob": 2.503, "activity": 0.0453, "date": 1653137350000},
{ "iob": 2.186, "activity": 0.0418, "date": 1653137649000},
{ "iob": 3.17, "activity": 0.0407, "date": 1653137949000},
{ "iob": 3.956, "activity": 0.0413, "date": 1653138249000},
{ "iob": 3.648, "activity": 0.042, "date": 1653138549000},
{ "iob": 4.126, "activity": 0.043, "date": 1653138849000},
{ "iob": 3.81, "activity": 0.0437, "date": 1653139150000},
{ "iob": 3.541, "activity": 0.0437, "date": 1653139450000},
{ "iob": 3.272, "activity": 0.0431, "date": 1653139749000},
{ "iob": 3.588, "activity": 0.0428, "date": 1653140049000},
{ "iob": 3.875, "activity": 0.0431, "date": 1653140349000},
{ "iob": 3.608, "activity": 0.0434, "date": 1653140648000},
{ "iob": 4.271, "activity": 0.0442, "date": 1653140949000},
{ "iob": 3.996, "activity": 0.0452, "date": 1653141249000},
{ "iob": 4.298, "activity": 0.0462, "date": 1653141548000},
{ "iob": 4.015, "activity": 0.0468, "date": 1653141849000},
{ "iob": 4.538, "activity": 0.0481, "date": 1653142149000},
{ "iob": 4.245, "activity": 0.0489, "date": 1653142449000},
{ "iob": 4.729, "activity": 0.05, "date": 1653142749000},
{ "iob": 4.426, "activity": 0.0508, "date": 1653143049000},
{ "iob": 4.353, "activity": 0.051, "date": 1653143349000},
{ "iob": 4.049, "activity": 0.0507, "date": 1653143650000},
{ "iob": 3.747, "activity": 0.0498, "date": 1653143949000},
{ "iob": 3.402, "activity": 0.0483, "date": 1653144249000},
{ "iob": 3.115, "activity": 0.0464, "date": 1653144550000},
{ "iob": 2.788, "activity": 0.0441, "date": 1653144849000},
{ "iob": 2.524, "activity": 0.0417, "date": 1653145149000},
{ "iob": 2.271, "activity": 0.0391, "date": 1653145449000},
{ "iob": 2.033, "activity": 0.0365, "date": 1653145750000},
{ "iob": 1.807, "activity": 0.0338, "date": 1653146050000},
{ "iob": 1.594, "activity": 0.0312, "date": 1653146349000},
{ "iob": 1.395, "activity": 0.0286, "date": 1653146650000},
{ "iob": 1.258, "activity": 0.0262, "date": 1653146949000},
{ "iob": 1.034, "activity": 0.0236, "date": 1653147249000},
{ "iob": 0.971, "activity": 0.0215, "date": 1653147549000},
{ "iob": 1.008, "activity": 0.0197, "date": 1653147849000},
{ "iob": 0.963, "activity": 0.0183, "date": 1653148149000},
{ "iob": 1.046, "activity": 0.0171, "date": 1653148450000},
{ "iob": 0.912, "activity": 0.0161, "date": 1653148749000},
{ "iob": 1.254, "activity": 0.0156, "date": 1653149049000},
{ "iob": 1.176, "activity": 0.0154, "date": 1653149349000},
{ "iob": 1.051, "activity": 0.0149, "date": 1653149650000},
{ "iob": 0.928, "activity": 0.0142, "date": 1653149949000},
{ "iob": 1.008, "activity": 0.0138, "date": 1653150249000},
{ "iob": 0.89, "activity": 0.0133, "date": 1653150549000},
{ "iob": 0.775, "activity": 0.0127, "date": 1653150849000},
{ "iob": 0.664, "activity": 0.0118, "date": 1653151149000},
{ "iob": 0.606, "activity": 0.011, "date": 1653151449000},
{ "iob": 0.703, "activity": 0.0105, "date": 1653151749000},
{ "iob": 0.702, "activity": 0.0101, "date": 1653152049000},
{ "iob": 0.902, "activity": 0.0101, "date": 1653152349000},
{ "iob": 0.801, "activity": 0.0101, "date": 1653152649000},
{ "iob": 0.701, "activity": 0.0098, "date": 1653152949000},
{ "iob": 0.603, "activity": 0.0094, "date": 1653153249000},
{ "iob": 0.508, "activity": 0.0088, "date": 1653153549000},
{ "iob": 0.415, "activity": 0.0081, "date": 1653153849000},
{ "iob": 0.327, "activity": 0.0074, "date": 1653154149000},
{ "iob": 0.242, "activity": 0.0066, "date": 1653154449000},
{ "iob": 0.161, "activity": 0.0058, "date": 1653154749000},
{ "iob": 0.134, "activity": 0.005, "date": 1653155049000},
{ "iob": 0.4, "activity": 0.0048, "date": 1653155349000},
{ "iob": 0.475, "activity": 0.0049, "date": 1653155649000},
{ "iob": 0.401, "activity": 0.005, "date": 1653155950000},
{ "iob": 0.327, "activity": 0.0048, "date": 1653156250000},
{ "iob": 0.203, "activity": 0.0044, "date": 1653156549000},
{ "iob": 0.132, "activity": 0.004, "date": 1653156849000},
{ "iob": 0.064, "activity": 0.0034, "date": 1653157149000},
{ "iob": -0.002, "activity": 0.0028, "date": 1653157449000},
{ "iob": -0.064, "activity": 0.0022, "date": 1653157750000},
{ "iob": -0.073, "activity": 0.0016, "date": 1653158049000},
{ "iob": -0.08, "activity": 0.0011, "date": 1653158349000},
{ "iob": -0.085, "activity": 0.0007, "date": 1653158649000},
{ "iob": -0.087, "activity": 0.0004, "date": 1653158949000},
{ "iob": -0.088, "activity": 0.0001, "date": 1653159249000},
{ "iob": -0.088, "activity": -0.0001, "date": 1653159549000},
{ "iob": -0.137, "activity": -0.0004, "date": 1653159849000},
{ "iob": -0.184, "activity": -0.0007, "date": 1653160150000},
{ "iob": -0.18, "activity": -0.001, "date": 1653160449000},
{ "iob": -0.175, "activity": -0.0012, "date": 1653160749000},
{ "iob": -0.168, "activity": -0.0014, "date": 1653161049000},
{ "iob": -0.211, "activity": -0.0015, "date": 1653161350000},
{ "iob": -0.203, "activity": -0.0017, "date": 1653161649000},
{ "iob": -0.243, "activity": -0.002, "date": 1653161950000},
{ "iob": -0.282, "activity": -0.0023, "date": 1653162250000},
{ "iob": -0.32, "activity": -0.0026, "date": 1653162549000},
{ "iob": -0.357, "activity": -0.0029, "date": 1653162850000},
{ "iob": -0.391, "activity": -0.0032, "date": 1653163150000},
{ "iob": -0.375, "activity": -0.0035, "date": 1653163449000},
{ "iob": -0.357, "activity": -0.0036, "date": 1653163749000},
{ "iob": -0.149, "activity": -0.0035, "date": 1653164049000},
{ "iob": -0.132, "activity": -0.0031, "date": 1653164350000},
{ "iob": 9.296, "activity": 0.015, "date": 1653164649000},
{ "iob": 9.123, "activity": 0.0332, "date": 1653164950000},
{ "iob": 8.96, "activity": 0.0474, "date": 1653165249000},
{ "iob": 8.644, "activity": 0.0584, "date": 1653165550000},
{ "iob": 8.282, "activity": 0.0664, "date": 1653165850000},
{ "iob": 7.835, "activity": 0.0718, "date": 1653166149000},
{ "iob": 7.416, "activity": 0.0753, "date": 1653166450000},
{ "iob": 6.984, "activity": 0.0772, "date": 1653166749000},
{ "iob": 6.547, "activity": 0.0776, "date": 1653167049000},
{ "iob": 6.061, "activity": 0.0769, "date": 1653167350000},
{ "iob": 5.68, "activity": 0.0754, "date": 1653167650000},
{ "iob": 5.458, "activity": 0.0734, "date": 1653167949000},
{ "iob": 5.046, "activity": 0.0712, "date": 1653168250000},
{ "iob": 4.925, "activity": 0.069, "date": 1653168549000},
{ "iob": 4.487, "activity": 0.0663, "date": 1653168849000},
{ "iob": 4.113, "activity": 0.0633, "date": 1653169150000},
{ "iob": 3.706, "activity": 0.0599, "date": 1653169449000},
{ "iob": 3.363, "activity": 0.0566, "date": 1653169749000},
{ "iob": 3.039, "activity": 0.053, "date": 1653170049000},
{ "iob": 2.733, "activity": 0.0494, "date": 1653170350000},
{ "iob": 2.395, "activity": 0.0457, "date": 1653170650000},
{ "iob": 2.126, "activity": 0.0421, "date": 1653170950000},
{ "iob": 1.824, "activity": 0.0385, "date": 1653171250000},
{ "iob": 1.64, "activity": 0.0351, "date": 1653171549000},
{ "iob": 1.473, "activity": 0.0319, "date": 1653171849000},
{ "iob": 1.273, "activity": 0.0288, "date": 1653172150000},
{ "iob": 1.136, "activity": 0.026, "date": 1653172450000},
{ "iob": 1.011, "activity": 0.0235, "date": 1653172749000},
{ "iob": 0.852, "activity": 0.021, "date": 1653173050000},
{ "iob": 0.752, "activity": 0.0189, "date": 1653173350000},
{ "iob": 0.662, "activity": 0.0169, "date": 1653173650000},
{ "iob": 0.534, "activity": 0.0149, "date": 1653173949000},
{ "iob": 0.463, "activity": 0.0132, "date": 1653174249000},
{ "iob": 0.352, "activity": 0.0115, "date": 1653174550000},
{ "iob": 0.298, "activity": 0.0101, "date": 1653174850000},
{ "iob": 0.25, "activity": 0.0089, "date": 1653175149000},
{ "iob": 0.329, "activity": 0.0079, "date": 1653175450000},
{ "iob": 0.34, "activity": 0.0074, "date": 1653175750000},
{ "iob": 0.304, "activity": 0.0068, "date": 1653176050000},
{ "iob": 0.272, "activity": 0.0062, "date": 1653176350000},
{ "iob": 0.512, "activity": 0.006, "date": 1653176650000},
{ "iob": 0.581, "activity": 0.0061, "date": 1653176950000},
{ "iob": 1.238, "activity": 0.0075, "date": 1653177250000},
{ "iob": 1.147, "activity": 0.0088, "date": 1653177550000},
{ "iob": 1.151, "activity": 0.0098, "date": 1653177850000},
{ "iob": 1.05, "activity": 0.0104, "date": 1653178149000},
{ "iob": 0.947, "activity": 0.0107, "date": 1653178449000},
{ "iob": 0.844, "activity": 0.0106, "date": 1653178750000},
{ "iob": 0.741, "activity": 0.0104, "date": 1653179050000},
{ "iob": 0.59, "activity": 0.0099, "date": 1653179350000},
{ "iob": 0.542, "activity": 0.0093, "date": 1653179649000},
{ "iob": 0.497, "activity": 0.0087, "date": 1653179949000},
{ "iob": 0.456, "activity": 0.0081, "date": 1653180250000},
{ "iob": 0.516, "activity": 0.0077, "date": 1653180549000},
{ "iob": 0.429, "activity": 0.0072, "date": 1653180849000},
{ "iob": 0.294, "activity": 0.0066, "date": 1653181150000},
{ "iob": 0.163, "activity": 0.0058, "date": 1653181450000},
{ "iob": 0.037, "activity": 0.0049, "date": 1653181750000},
{ "iob": -0.085, "activity": 0.0039, "date": 1653182050000},
{ "iob": -0.153, "activity": 0.0029, "date": 1653182349000},
{ "iob": -0.265, "activity": 0.0018, "date": 1653182650000},
{ "iob": -0.371, "activity": 0.0007, "date": 1653182949000},
{ "iob": -0.471, "activity": -0.0005, "date": 1653183249000},
{ "iob": -0.566, "activity": -0.0016, "date": 1653183550000},
{ "iob": -0.606, "activity": -0.0026, "date": 1653183850000},
{ "iob": -0.64, "activity": -0.0036, "date": 1653184150000},
{ "iob": -0.67, "activity": -0.0044, "date": 1653184450000}
]

View file

@ -0,0 +1,147 @@
{
"name": "Tuned Dyn2",
"min_5m_carbimpact": 8,
"dia": 6,
"curve": "ultra-rapid",
"useCustomPeakTime": true,
"insulinPeakTime": 45,
"basalprofile": [
{
"start": "00:00:00",
"minutes": 0,
"rate": 0.966
},
{
"start": "01:00:00",
"minutes": 60,
"rate": 0.977
},
{
"start": "02:00:00",
"minutes": 120,
"rate": 0.971
},
{
"start": "03:00:00",
"minutes": 180,
"rate": 1.111
},
{
"start": "04:00:00",
"minutes": 240,
"rate": 0.974
},
{
"start": "05:00:00",
"minutes": 300,
"rate": 0.923
},
{
"start": "06:00:00",
"minutes": 360,
"rate": 0.823
},
{
"start": "07:00:00",
"minutes": 420,
"rate": 0.855
},
{
"start": "08:00:00",
"minutes": 480,
"rate": 0.902
},
{
"start": "09:00:00",
"minutes": 540,
"rate": 0.934
},
{
"start": "10:00:00",
"minutes": 600,
"rate": 0.938
},
{
"start": "11:00:00",
"minutes": 660,
"rate": 0.903
},
{
"start": "12:00:00",
"minutes": 720,
"rate": 0.882
},
{
"start": "13:00:00",
"minutes": 780,
"rate": 0.874
},
{
"start": "14:00:00",
"minutes": 840,
"rate": 0.866
},
{
"start": "15:00:00",
"minutes": 900,
"rate": 0.848
},
{
"start": "16:00:00",
"minutes": 960,
"rate": 0.758
},
{
"start": "17:00:00",
"minutes": 1020,
"rate": 0.65
},
{
"start": "18:00:00",
"minutes": 1080,
"rate": 0.648
},
{
"start": "19:00:00",
"minutes": 1140,
"rate": 0.738
},
{
"start": "20:00:00",
"minutes": 1200,
"rate": 0.847
},
{
"start": "21:00:00",
"minutes": 1260,
"rate": 0.861
},
{
"start": "22:00:00",
"minutes": 1320,
"rate": 0.863
},
{
"start": "23:00:00",
"minutes": 1380,
"rate": 0.843
}
],
"isfProfile": {
"sensitivities": [
{
"i": 0,
"start": "00:00:00",
"sensitivity": 86.2,
"offset": 0,
"x": 0,
"endoffset": 1440
}
]
},
"carb_ratio": 5.75,
"autosens_max": 1.3,
"autosens_min": 0.7,
"units": "mg/dl",
"timezone": "Europe/Paris"
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,53 @@
Parameter | Pump | Autotune | Days Missing
---------------------------------------------------------
ISF [mg/dL/U] | 86.200 | 93.589 |
Carb Ratio[g/U]| 5.750 | 5.750 |
Basals [U/hr] | - | |
00:00 | 0.966 | 1.039 | 0
00:30 | | |
01:00 | 0.977 | 1.091 | 0
01:30 | | |
02:00 | 0.971 | 1.118 | 0
02:30 | | |
03:00 | 1.111 | 1.321 | 0
03:30 | | |
04:00 | 0.974 | 1.091 | 0
04:30 | | |
05:00 | 0.923 | 0.965 | 0
05:30 | | |
06:00 | 0.823 | 0.848 | 0
06:30 | | |
07:00 | 0.855 | 1.112 | 0
07:30 | | |
08:00 | 0.902 | 1.173 | 0
08:30 | | |
09:00 | 0.934 | 1.214 | 0
09:30 | | |
10:00 | 0.938 | 1.219 | 0
10:30 | | |
11:00 | 0.903 | 1.070 | 0
11:30 | | |
12:00 | 0.882 | 1.147 | 0
12:30 | | |
13:00 | 0.874 | 1.136 | 0
13:30 | | |
14:00 | 0.866 | 1.126 | 0
14:30 | | |
15:00 | 0.848 | 1.102 | 0
15:30 | | |
16:00 | 0.758 | 0.928 | 0
16:30 | | |
17:00 | 0.650 | 0.710 | 0
17:30 | | |
18:00 | 0.648 | 0.654 | 0
18:30 | | |
19:00 | 0.738 | 0.878 | 0
19:30 | | |
20:00 | 0.847 | 1.101 | 0
20:30 | | |
21:00 | 0.861 | 1.119 | 0
21:30 | | |
22:00 | 0.863 | 1.122 | 0
22:30 | | |
23:00 | 0.843 | 1.047 | 0
23:30 | | |

View file

@ -0,0 +1,147 @@
{
"name": "Tuned Dyn2",
"min_5m_carbimpact": 8,
"dia": 6,
"curve": "ultra-rapid",
"useCustomPeakTime": true,
"insulinPeakTime": 45,
"basalprofile": [
{
"start": "00:00:00",
"minutes": 0,
"rate": 0.966
},
{
"start": "01:00:00",
"minutes": 60,
"rate": 0.977
},
{
"start": "02:00:00",
"minutes": 120,
"rate": 0.971
},
{
"start": "03:00:00",
"minutes": 180,
"rate": 1.111
},
{
"start": "04:00:00",
"minutes": 240,
"rate": 0.974
},
{
"start": "05:00:00",
"minutes": 300,
"rate": 0.923
},
{
"start": "06:00:00",
"minutes": 360,
"rate": 0.823
},
{
"start": "07:00:00",
"minutes": 420,
"rate": 0.855
},
{
"start": "08:00:00",
"minutes": 480,
"rate": 0.902
},
{
"start": "09:00:00",
"minutes": 540,
"rate": 0.934
},
{
"start": "10:00:00",
"minutes": 600,
"rate": 0.938
},
{
"start": "11:00:00",
"minutes": 660,
"rate": 0.903
},
{
"start": "12:00:00",
"minutes": 720,
"rate": 0.882
},
{
"start": "13:00:00",
"minutes": 780,
"rate": 0.874
},
{
"start": "14:00:00",
"minutes": 840,
"rate": 0.866
},
{
"start": "15:00:00",
"minutes": 900,
"rate": 0.848
},
{
"start": "16:00:00",
"minutes": 960,
"rate": 0.758
},
{
"start": "17:00:00",
"minutes": 1020,
"rate": 0.65
},
{
"start": "18:00:00",
"minutes": 1080,
"rate": 0.648
},
{
"start": "19:00:00",
"minutes": 1140,
"rate": 0.738
},
{
"start": "20:00:00",
"minutes": 1200,
"rate": 0.847
},
{
"start": "21:00:00",
"minutes": 1260,
"rate": 0.861
},
{
"start": "22:00:00",
"minutes": 1320,
"rate": 0.863
},
{
"start": "23:00:00",
"minutes": 1380,
"rate": 0.843
}
],
"isfProfile": {
"sensitivities": [
{
"i": 0,
"start": "00:00:00",
"sensitivity": 86.2,
"offset": 0,
"x": 0,
"endoffset": 1440
}
]
},
"carb_ratio": 5.75,
"autosens_max": 1.3,
"autosens_min": 0.7,
"units": "mg/dl",
"timezone": "Europe/Paris"
}

View file

@ -0,0 +1,173 @@
{
"autosens_max": 1.3,
"autosens_min": 0.7,
"basalprofile": [
{
"i": 0,
"minutes": 0,
"rate": 1.039,
"start": "00:00:00"
},
{
"i": 1,
"minutes": 60,
"rate": 1.091,
"start": "01:00:00"
},
{
"i": 2,
"minutes": 120,
"rate": 1.118,
"start": "02:00:00"
},
{
"i": 3,
"minutes": 180,
"rate": 1.321,
"start": "03:00:00"
},
{
"i": 4,
"minutes": 240,
"rate": 1.091,
"start": "04:00:00"
},
{
"i": 5,
"minutes": 300,
"rate": 0.965,
"start": "05:00:00"
},
{
"i": 6,
"minutes": 360,
"rate": 0.848,
"start": "06:00:00"
},
{
"i": 7,
"minutes": 420,
"rate": 1.112,
"start": "07:00:00"
},
{
"i": 8,
"minutes": 480,
"rate": 1.173,
"start": "08:00:00"
},
{
"i": 9,
"minutes": 540,
"rate": 1.214,
"start": "09:00:00"
},
{
"i": 10,
"minutes": 600,
"rate": 1.219,
"start": "10:00:00"
},
{
"i": 11,
"minutes": 660,
"rate": 1.07,
"start": "11:00:00"
},
{
"i": 12,
"minutes": 720,
"rate": 1.147,
"start": "12:00:00"
},
{
"i": 13,
"minutes": 780,
"rate": 1.136,
"start": "13:00:00"
},
{
"i": 14,
"minutes": 840,
"rate": 1.126,
"start": "14:00:00"
},
{
"i": 15,
"minutes": 900,
"rate": 1.102,
"start": "15:00:00"
},
{
"i": 16,
"minutes": 960,
"rate": 0.928,
"start": "16:00:00"
},
{
"i": 17,
"minutes": 1020,
"rate": 0.71,
"start": "17:00:00"
},
{
"i": 18,
"minutes": 1080,
"rate": 0.654,
"start": "18:00:00"
},
{
"i": 19,
"minutes": 1140,
"rate": 0.878,
"start": "19:00:00"
},
{
"i": 20,
"minutes": 1200,
"rate": 1.101,
"start": "20:00:00"
},
{
"i": 21,
"minutes": 1260,
"rate": 1.119,
"start": "21:00:00"
},
{
"i": 22,
"minutes": 1320,
"rate": 1.122,
"start": "22:00:00"
},
{
"i": 23,
"minutes": 1380,
"rate": 1.047,
"start": "23:00:00"
}
],
"carb_ratio": 5.75,
"csf": 14.991,
"curve": "ultra-rapid",
"dia": 6,
"insulinPeakTime": 45,
"isfProfile": {
"sensitivities": [
{
"endoffset": 1440,
"i": 0,
"offset": 0,
"sensitivity": 93.589,
"start": "00:00:00",
"x": 0
}
]
},
"min_5m_carbimpact": 8,
"name": "Tuned Dyn2",
"sens": 93.589,
"timezone": "Europe/Paris",
"units": "mg/dl",
"useCustomPeakTime": true
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,425 @@
Autotune disk usage:
160K .
Overall disk used/avail:
Filesystem Size Used Avail Use% Mounted on
rootfs 930G 431G 500G 47% /
Grabbing AAPS treatments.json and entries/sgv.json for date range...
oref0-autotune-prep --categorize_uam_as_basal ns-treatments.2022-05-21.json profile.json ns-entries.2022-05-21.json profile.pump.json > autotune.2022-05-21.json
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -16.9 IOB: 5.249 Activity: 0.0391 at 04:24:08 dev: 26.10 avgDelta: 9.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -18.9 IOB: 5.292 Activity: 0.0438 at 04:29:08 dev: 27.88 avgDelta: 9.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -20.3 IOB: 4.964 Activity: 0.047 at 04:34:09 dev: 24.01 avgDelta: 3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -21.1 IOB: 4.674 Activity: 0.0489 at 04:39:08 dev: 17.83 avgDelta: -3.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -21.5 IOB: 4.377 Activity: 0.0498 at 04:44:08 dev: 11.21 avgDelta: -10.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -21.5 IOB: 4.077 Activity: 0.0498 at 04:49:08 dev: 7.96 avgDelta: -13.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -21.2 IOB: 3.73 Activity: 0.0491 at 04:54:08 dev: 7.16 avgDelta: -14.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -20.5 IOB: 3.389 Activity: 0.0476 at 04:59:08 dev: 6.77 avgDelta: -13.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -19.7 IOB: 3.055 Activity: 0.0457 at 05:04:09 dev: 6.95 avgDelta: -12.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -18.8 IOB: 2.782 Activity: 0.0436 at 05:09:08 dev: 6.54 avgDelta: -12.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -17.7 IOB: 2.47 Activity: 0.0411 at 05:14:08 dev: 5.71 avgDelta: -12.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -16.6 IOB: 2.22 Activity: 0.0386 at 05:19:09 dev: 5.14 avgDelta: -11.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -15.4 IOB: 1.935 Activity: 0.0358 at 05:24:08 dev: 4.93 avgDelta: -10.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -14.3 IOB: 1.711 Activity: 0.0332 at 05:29:08 dev: 6.06 avgDelta: -8.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -13.1 IOB: 1.452 Activity: 0.0304 at 05:34:09 dev: 7.35 avgDelta: -5.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -12.1 IOB: 1.927 Activity: 0.028 at 05:39:09 dev: 8.32 avgDelta: -3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -11.6 IOB: 1.84 Activity: 0.027 at 05:44:08 dev: 8.64 avgDelta: -3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -11.1 IOB: 1.658 Activity: 0.0258 at 05:49:09 dev: 7.12 avgDelta: -4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -10.6 IOB: 1.482 Activity: 0.0245 at 05:54:08 dev: 5.31 avgDelta: -5.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.6 BGI: -9.9 IOB: 1.264 Activity: 0.0229 at 05:59:09 dev: 4.62 avgDelta: -5.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -9.1 IOB: 1.104 Activity: 0.0212 at 06:04:08 dev: 5.14 avgDelta: -4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -8.4 IOB: 0.952 Activity: 0.0194 at 06:09:09 dev: 7.36 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -7.8 IOB: 1.619 Activity: 0.0181 at 06:14:09 dev: 9.30 avgDelta: 1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -7.9 IOB: 1.678 Activity: 0.0184 at 06:19:09 dev: 10.68 avgDelta: 2.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -8.1 IOB: 1.775 Activity: 0.0187 at 06:24:08 dev: 9.81 avgDelta: 1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -8.2 IOB: 1.581 Activity: 0.019 at 06:29:08 dev: 6.44 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -8.1 IOB: 1.437 Activity: 0.0188 at 06:34:08 dev: 2.35 avgDelta: -5.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -7.9 IOB: 1.294 Activity: 0.0183 at 06:39:08 dev: -0.36 avgDelta: -8.25 uam
end unannounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -7.6 IOB: 1.153 Activity: 0.0176 at 06:44:09 dev: 0.09 avgDelta: -7.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -7.2 IOB: 1.017 Activity: 0.0167 at 06:49:08 dev: 3.20 avgDelta: -4.00 ISF
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -6.7 IOB: 0.887 Activity: 0.0156 at 06:54:08 dev: 6.22 avgDelta: -0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -6.3 IOB: 1.011 Activity: 0.0147 at 06:59:08 dev: 7.59 avgDelta: 1.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -6.1 IOB: 0.889 Activity: 0.0141 at 07:04:08 dev: 6.58 avgDelta: 0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -5.7 IOB: 0.771 Activity: 0.0133 at 07:09:08 dev: 2.98 avgDelta: -2.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -5.3 IOB: 0.656 Activity: 0.0124 at 07:14:09 dev: 0.09 avgDelta: -5.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -4.9 IOB: 0.547 Activity: 0.0114 at 07:19:08 dev: -1.84 avgDelta: -6.75 uam
end unannounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -4.4 IOB: 0.392 Activity: 0.0103 at 07:24:09 dev: -2.31 avgDelta: -6.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -3.9 IOB: 0.294 Activity: 0.0091 at 07:29:09 dev: -1.08 avgDelta: -5.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -3.5 IOB: 0.2 Activity: 0.008 at 07:34:09 dev: 0.45 avgDelta: -3.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.8 IOB: 0.065 Activity: 0.0066 at 07:39:09 dev: 2.34 avgDelta: -0.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.4 IOB: 0.034 Activity: 0.0055 at 07:44:09 dev: 3.37 avgDelta: 1.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.1 IOB: 0.549 Activity: 0.0048 at 07:49:08 dev: 3.57 avgDelta: 1.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.3 IOB: 0.674 Activity: 0.0053 at 07:54:09 dev: 3.53 avgDelta: 1.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.5 IOB: 0.597 Activity: 0.0057 at 07:59:09 dev: 2.71 avgDelta: 0.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -2.5 IOB: 0.468 Activity: 0.0058 at 08:04:09 dev: 1.50 avgDelta: -1.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -2.5 IOB: 0.389 Activity: 0.0057 at 08:09:09 dev: 0.21 avgDelta: -2.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -2.3 IOB: 0.262 Activity: 0.0053 at 08:14:09 dev: -0.47 avgDelta: -2.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -2.1 IOB: 0.186 Activity: 0.0048 at 08:19:09 dev: -0.93 avgDelta: -3.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -1.8 IOB: 0.064 Activity: 0.0041 at 08:24:09 dev: -1.48 avgDelta: -3.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -1.5 IOB: -0.005 Activity: 0.0034 at 08:29:09 dev: -2.03 avgDelta: -3.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -1.1 IOB: -0.12 Activity: 0.0026 at 08:34:09 dev: -2.13 avgDelta: -3.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -0.8 IOB: -0.181 Activity: 0.0018 at 08:39:09 dev: -2.47 avgDelta: -3.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -0.3 IOB: -0.287 Activity: 0.0008 at 08:44:09 dev: -2.41 avgDelta: -2.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 0.0 IOB: -0.34 Activity: 0 at 08:49:09 dev: -2.50 avgDelta: -2.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 0.4 IOB: -0.436 Activity: -0.001 at 08:54:09 dev: -2.68 avgDelta: -2.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 0.8 IOB: -0.48 Activity: -0.0018 at 08:59:09 dev: -2.28 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 1.1 IOB: -0.519 Activity: -0.0026 at 09:04:09 dev: -1.12 avgDelta: 0.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 1.5 IOB: -0.554 Activity: -0.0034 at 09:09:09 dev: 0.00 avgDelta: 1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 1.8 IOB: -0.585 Activity: -0.0041 at 09:14:09 dev: 0.00 avgDelta: 2.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 2.1 IOB: -0.662 Activity: -0.0049 at 09:19:09 dev: 0.39 avgDelta: 2.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 2.4 IOB: -0.687 Activity: -0.0055 at 09:24:08 dev: -0.37 avgDelta: 2.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 2.6 IOB: -0.708 Activity: -0.0061 at 09:29:09 dev: -0.13 avgDelta: 2.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 2.8 IOB: -0.726 Activity: -0.0066 at 09:34:09 dev: 0.41 avgDelta: 3.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 3.1 IOB: -0.351 Activity: -0.0071 at 09:39:08 dev: 1.19 avgDelta: 4.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 2.8 IOB: -0.218 Activity: -0.0064 at 09:44:09 dev: 2.99 avgDelta: 5.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: 2.4 IOB: -0.088 Activity: -0.0055 at 09:49:09 dev: 4.63 avgDelta: 7.00 basal
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -1.0 IOB: 13.594 Activity: 0.0023 at 09:54:09 dev: 8.74 avgDelta: 7.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -14.3 IOB: 13.552 Activity: 0.0331 at 09:59:09 dev: 23.02 avgDelta: 8.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -24.7 IOB: 13.224 Activity: 0.0573 at 10:04:09 dev: 33.70 avgDelta: 9.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -32.8 IOB: 12.838 Activity: 0.076 at 10:09:08 dev: 40.76 avgDelta: 8.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -38.8 IOB: 12.322 Activity: 0.09 at 10:14:09 dev: 45.04 avgDelta: 6.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -43.1 IOB: 11.794 Activity: 0.1001 at 10:19:09 dev: 46.89 avgDelta: 3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -46.0 IOB: 11.177 Activity: 0.1068 at 10:24:09 dev: 47.03 avgDelta: 1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -47.8 IOB: 10.58 Activity: 0.111 at 10:29:09 dev: 45.84 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -48.7 IOB: 9.919 Activity: 0.1129 at 10:34:09 dev: 43.66 avgDelta: -5.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -48.7 IOB: 9.254 Activity: 0.1129 at 10:39:09 dev: 41.41 avgDelta: -7.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -48.0 IOB: 8.643 Activity: 0.1114 at 10:44:09 dev: 39.51 avgDelta: -8.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -46.9 IOB: 7.992 Activity: 0.1088 at 10:49:09 dev: 39.39 avgDelta: -7.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -45.4 IOB: 7.406 Activity: 0.1053 at 10:54:08 dev: 40.13 avgDelta: -5.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.7 BGI: -43.6 IOB: 7.111 Activity: 0.1012 at 10:59:09 dev: 41.37 avgDelta: -2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -41.9 IOB: 6.515 Activity: 0.0971 at 11:04:09 dev: 42.35 avgDelta: 0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -40.0 IOB: 5.99 Activity: 0.0927 at 11:09:09 dev: 42.70 avgDelta: 2.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -37.8 IOB: 5.439 Activity: 0.0878 at 11:14:08 dev: 42.09 avgDelta: 4.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -35.7 IOB: 4.962 Activity: 0.0828 at 11:19:09 dev: 39.69 avgDelta: 4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -33.4 IOB: 4.462 Activity: 0.0775 at 11:24:08 dev: 35.65 avgDelta: 2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -31.2 IOB: 4.036 Activity: 0.0724 at 11:29:09 dev: 31.45 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -29.0 IOB: 3.638 Activity: 0.0672 at 11:34:09 dev: 27.46 avgDelta: -1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -26.8 IOB: 3.214 Activity: 0.0621 at 11:39:08 dev: 25.02 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -24.6 IOB: 2.866 Activity: 0.0571 at 11:44:09 dev: 23.61 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -22.5 IOB: 2.494 Activity: 0.0522 at 11:49:09 dev: 21.75 avgDelta: -0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -20.5 IOB: 2.193 Activity: 0.0476 at 11:54:09 dev: 20.52 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: -18.6 IOB: 1.867 Activity: 0.0431 at 11:59:09 dev: 18.83 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -16.7 IOB: 1.563 Activity: 0.0388 at 12:04:09 dev: 16.97 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -15.0 IOB: 1.329 Activity: 0.0347 at 12:09:08 dev: 14.46 avgDelta: -0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -13.3 IOB: 1.115 Activity: 0.0309 at 12:14:09 dev: 11.32 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -11.7 IOB: 0.87 Activity: 0.0272 at 12:19:09 dev: 7.97 avgDelta: -3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -10.3 IOB: 0.692 Activity: 0.0239 at 12:24:09 dev: 5.80 avgDelta: -4.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -8.9 IOB: 0.482 Activity: 0.0206 at 12:29:08 dev: 4.88 avgDelta: -4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -7.6 IOB: 0.287 Activity: 0.0176 at 12:34:09 dev: 4.09 avgDelta: -3.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -6.4 IOB: 0.156 Activity: 0.0148 at 12:39:08 dev: 3.88 avgDelta: -2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -5.3 IOB: 0.038 Activity: 0.0122 at 12:44:08 dev: 3.26 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -4.3 IOB: -0.067 Activity: 0.0099 at 12:49:09 dev: 2.27 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -3.4 IOB: -0.161 Activity: 0.0078 at 12:54:08 dev: 1.36 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -2.6 IOB: -0.195 Activity: 0.006 at 12:59:08 dev: 0.09 avgDelta: -2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -1.9 IOB: -0.271 Activity: 0.0044 at 13:04:09 dev: -1.10 avgDelta: -3.00 uam
end unannounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -1.3 IOB: -0.339 Activity: 0.0029 at 13:09:09 dev: -1.00 avgDelta: -2.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -0.7 IOB: -0.4 Activity: 0.0015 at 13:14:09 dev: 0.90 avgDelta: 0.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -0.3 IOB: -0.155 Activity: 0.0007 at 13:19:08 dev: 3.80 avgDelta: 3.50 basal
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -1.9 IOB: 8.11 Activity: 0.0045 at 13:24:09 dev: 8.94 avgDelta: 7.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -9.6 IOB: 7.992 Activity: 0.0222 at 13:29:09 dev: 18.57 avgDelta: 9.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -15.5 IOB: 7.745 Activity: 0.0359 at 13:34:09 dev: 23.47 avgDelta: 8.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -20.0 IOB: 7.488 Activity: 0.0465 at 13:39:09 dev: 24.04 avgDelta: 4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -23.3 IOB: 7.136 Activity: 0.0541 at 13:44:09 dev: 21.32 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -25.7 IOB: 6.8 Activity: 0.0596 at 13:49:09 dev: 17.94 avgDelta: -7.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -27.3 IOB: 6.441 Activity: 0.0633 at 13:54:09 dev: 0.00 avgDelta: -10.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.3 BGI: -28.1 IOB: 6.022 Activity: 0.0651 at 13:59:09 dev: 0.00 avgDelta: -9.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -28.3 IOB: 5.644 Activity: 0.0657 at 14:04:09 dev: 0.00 avgDelta: -6.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -28.1 IOB: 5.216 Activity: 0.0653 at 14:09:09 dev: 0.00 avgDelta: -2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -27.8 IOB: 4.962 Activity: 0.0644 at 14:14:09 dev: 0.00 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -27.0 IOB: 4.544 Activity: 0.0627 at 14:19:09 dev: 0.00 avgDelta: 0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -26.1 IOB: 4.185 Activity: 0.0606 at 14:24:09 dev: 0.00 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -25.0 IOB: 3.839 Activity: 0.058 at 14:29:09 dev: 0.00 avgDelta: -1.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -23.7 IOB: 3.456 Activity: 0.055 at 14:34:09 dev: 0.00 avgDelta: -2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -22.4 IOB: 3.139 Activity: 0.0519 at 14:39:09 dev: 0.00 avgDelta: -2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -20.9 IOB: 2.788 Activity: 0.0486 at 14:44:09 dev: 0.00 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -19.5 IOB: 2.503 Activity: 0.0453 at 14:49:10 dev: 0.00 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -18.0 IOB: 2.186 Activity: 0.0418 at 14:54:09 dev: 0.00 avgDelta: 2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -17.5 IOB: 3.17 Activity: 0.0407 at 14:59:09 dev: 22.04 avgDelta: 4.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -17.8 IOB: 3.956 Activity: 0.0413 at 15:04:09 dev: 23.80 avgDelta: 6.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.1 IOB: 3.648 Activity: 0.042 at 15:09:09 dev: 23.85 avgDelta: 5.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.5 IOB: 4.126 Activity: 0.043 at 15:14:09 dev: 22.28 avgDelta: 3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.8 IOB: 3.81 Activity: 0.0437 at 15:19:10 dev: 20.58 avgDelta: 1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.8 IOB: 3.541 Activity: 0.0437 at 15:24:10 dev: 19.08 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.6 IOB: 3.272 Activity: 0.0431 at 15:29:09 dev: 19.33 avgDelta: 0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.4 IOB: 3.588 Activity: 0.0428 at 15:34:09 dev: 21.20 avgDelta: 2.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.6 IOB: 3.875 Activity: 0.0431 at 15:39:09 dev: 23.83 avgDelta: 5.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -18.7 IOB: 3.608 Activity: 0.0434 at 15:44:08 dev: 25.46 avgDelta: 6.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -19.1 IOB: 4.271 Activity: 0.0442 at 15:49:09 dev: 26.05 avgDelta: 7.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -19.5 IOB: 3.996 Activity: 0.0452 at 15:54:09 dev: 25.98 avgDelta: 6.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -19.9 IOB: 4.298 Activity: 0.0462 at 15:59:08 dev: 26.16 avgDelta: 6.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -20.2 IOB: 4.015 Activity: 0.0468 at 16:04:09 dev: 26.67 avgDelta: 6.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -20.7 IOB: 4.538 Activity: 0.0481 at 16:09:09 dev: 27.98 avgDelta: 7.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -21.1 IOB: 4.245 Activity: 0.0489 at 16:14:09 dev: 28.33 avgDelta: 7.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -21.6 IOB: 4.729 Activity: 0.05 at 16:19:09 dev: 28.30 avgDelta: 6.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -21.9 IOB: 4.426 Activity: 0.0508 at 16:24:09 dev: 28.64 avgDelta: 6.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -22.0 IOB: 4.353 Activity: 0.051 at 16:29:09 dev: 28.73 avgDelta: 6.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -21.9 IOB: 4.049 Activity: 0.0507 at 16:34:10 dev: 28.10 avgDelta: 6.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -21.5 IOB: 3.747 Activity: 0.0498 at 16:39:09 dev: 25.96 avgDelta: 4.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -20.8 IOB: 3.402 Activity: 0.0483 at 16:44:09 dev: 22.32 avgDelta: 1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -20.0 IOB: 3.115 Activity: 0.0464 at 16:49:10 dev: 19.00 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -19.0 IOB: 2.788 Activity: 0.0441 at 16:54:09 dev: 17.01 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -18.0 IOB: 2.524 Activity: 0.0417 at 16:59:09 dev: 15.97 avgDelta: -2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -16.9 IOB: 2.271 Activity: 0.0391 at 17:04:09 dev: 16.10 avgDelta: -0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -15.7 IOB: 2.033 Activity: 0.0365 at 17:09:10 dev: 15.48 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -14.6 IOB: 1.807 Activity: 0.0338 at 17:14:10 dev: 14.57 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -13.4 IOB: 1.594 Activity: 0.0312 at 17:19:09 dev: 13.70 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -12.3 IOB: 1.395 Activity: 0.0286 at 17:24:10 dev: 12.58 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -11.3 IOB: 1.258 Activity: 0.0262 at 17:29:09 dev: 11.54 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -10.2 IOB: 1.034 Activity: 0.0236 at 17:34:09 dev: 10.17 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -9.3 IOB: 0.971 Activity: 0.0215 at 17:39:09 dev: 9.02 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -8.5 IOB: 1.008 Activity: 0.0197 at 17:44:09 dev: 7.74 avgDelta: -0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -7.9 IOB: 0.963 Activity: 0.0183 at 17:49:09 dev: 6.89 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -7.4 IOB: 1.046 Activity: 0.0171 at 17:54:10 dev: 7.12 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -6.9 IOB: 0.912 Activity: 0.0161 at 17:59:09 dev: 6.94 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -6.7 IOB: 1.254 Activity: 0.0156 at 18:04:09 dev: 6.97 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -6.6 IOB: 1.176 Activity: 0.0154 at 18:09:09 dev: 6.64 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -6.4 IOB: 1.051 Activity: 0.0149 at 18:14:10 dev: 5.67 avgDelta: -0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -6.1 IOB: 0.928 Activity: 0.0142 at 18:19:09 dev: 5.12 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -6.0 IOB: 1.008 Activity: 0.0138 at 18:24:09 dev: 4.45 avgDelta: -1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -5.7 IOB: 0.89 Activity: 0.0133 at 18:29:09 dev: 3.48 avgDelta: -2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -5.5 IOB: 0.775 Activity: 0.0127 at 18:34:09 dev: 2.47 avgDelta: -3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -5.1 IOB: 0.664 Activity: 0.0118 at 18:39:09 dev: 1.59 avgDelta: -3.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -4.7 IOB: 0.606 Activity: 0.011 at 18:44:09 dev: 1.74 avgDelta: -3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -4.5 IOB: 0.703 Activity: 0.0105 at 18:49:09 dev: 3.03 avgDelta: -1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -4.3 IOB: 0.702 Activity: 0.0101 at 18:54:09 dev: 4.10 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 4.7 BGI: -4.3 IOB: 0.902 Activity: 0.0101 at 18:59:09 dev: 4.35 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -4.3 IOB: 0.801 Activity: 0.0101 at 19:04:09 dev: 2.10 avgDelta: -2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -4.2 IOB: 0.701 Activity: 0.0098 at 19:09:09 dev: -1.03 avgDelta: -5.25 uam
end unannounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -4.0 IOB: 0.603 Activity: 0.0094 at 19:14:09 dev: -4.95 avgDelta: -9.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -3.8 IOB: 0.508 Activity: 0.0088 at 19:19:09 dev: -8.21 avgDelta: -12.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -3.5 IOB: 0.415 Activity: 0.0081 at 19:24:09 dev: -9.76 avgDelta: -13.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -3.2 IOB: 0.327 Activity: 0.0074 at 19:29:09 dev: -8.06 avgDelta: -11.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -2.8 IOB: 0.242 Activity: 0.0066 at 19:34:09 dev: -3.91 avgDelta: -6.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -2.5 IOB: 0.161 Activity: 0.0058 at 19:39:09 dev: 2.00 avgDelta: -0.50 ISF
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -2.2 IOB: 0.134 Activity: 0.005 at 19:44:09 dev: 7.16 avgDelta: 5.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -2.1 IOB: 0.4 Activity: 0.0048 at 19:49:09 dev: 9.57 avgDelta: 7.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -2.1 IOB: 0.475 Activity: 0.0049 at 19:54:09 dev: 8.86 avgDelta: 6.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.3 BGI: -2.2 IOB: 0.401 Activity: 0.005 at 19:59:10 dev: 5.91 avgDelta: 3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.1 IOB: 0.327 Activity: 0.0048 at 20:04:10 dev: 2.82 avgDelta: 0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -1.9 IOB: 0.203 Activity: 0.0044 at 20:09:09 dev: -0.35 avgDelta: -2.25 uam
end unannounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -1.7 IOB: 0.132 Activity: 0.004 at 20:14:09 dev: -1.78 avgDelta: -3.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -1.5 IOB: 0.064 Activity: 0.0034 at 20:19:09 dev: -2.28 avgDelta: -3.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -1.2 IOB: -0.002 Activity: 0.0028 at 20:24:09 dev: -1.54 avgDelta: -2.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.9 IOB: -0.064 Activity: 0.0022 at 20:29:10 dev: -1.05 avgDelta: -2.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.7 IOB: -0.073 Activity: 0.0016 at 20:34:09 dev: -0.81 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.5 IOB: -0.08 Activity: 0.0011 at 20:39:09 dev: -1.03 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.3 IOB: -0.085 Activity: 0.0007 at 20:44:09 dev: -1.45 avgDelta: -1.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.2 IOB: -0.087 Activity: 0.0004 at 20:49:09 dev: -1.33 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.0 IOB: -0.088 Activity: 0.0001 at 20:54:09 dev: -1.21 avgDelta: -1.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: 0.0 IOB: -0.088 Activity: -0.0001 at 20:59:09 dev: -0.79 avgDelta: -0.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.2 IOB: -0.137 Activity: -0.0004 at 21:04:09 dev: -0.92 avgDelta: -0.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.3 IOB: -0.184 Activity: -0.0007 at 21:09:10 dev: -0.80 avgDelta: -0.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.4 IOB: -0.18 Activity: -0.001 at 21:14:09 dev: -0.68 avgDelta: -0.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.5 IOB: -0.175 Activity: -0.0012 at 21:19:09 dev: -1.02 avgDelta: -0.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.6 IOB: -0.168 Activity: -0.0014 at 21:24:09 dev: -1.35 avgDelta: -0.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.7 IOB: -0.211 Activity: -0.0015 at 21:29:10 dev: -1.65 avgDelta: -1.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.7 IOB: -0.203 Activity: -0.0017 at 21:34:09 dev: -1.98 avgDelta: -1.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 0.9 IOB: -0.243 Activity: -0.002 at 21:39:10 dev: -2.36 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.0 IOB: -0.282 Activity: -0.0023 at 21:44:10 dev: -2.49 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.1 IOB: -0.32 Activity: -0.0026 at 21:49:09 dev: -2.62 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.3 IOB: -0.357 Activity: -0.0029 at 21:54:10 dev: -2.25 avgDelta: -1.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.4 IOB: -0.391 Activity: -0.0032 at 21:59:10 dev: -1.38 avgDelta: 0.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.5 IOB: -0.375 Activity: -0.0035 at 22:04:09 dev: -0.01 avgDelta: 1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.6 IOB: -0.357 Activity: -0.0036 at 22:09:09 dev: 1.45 avgDelta: 3.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.5 IOB: -0.149 Activity: -0.0035 at 22:14:09 dev: 3.49 avgDelta: 5.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: 1.3 IOB: -0.132 Activity: -0.0031 at 22:19:10 dev: 5.91 avgDelta: 7.25 basal
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -6.5 IOB: 9.296 Activity: 0.015 at 22:24:09 dev: 15.96 avgDelta: 9.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -14.3 IOB: 9.123 Activity: 0.0332 at 22:29:10 dev: 25.06 avgDelta: 10.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -20.4 IOB: 8.96 Activity: 0.0474 at 22:34:09 dev: 29.43 avgDelta: 9.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -25.2 IOB: 8.644 Activity: 0.0584 at 22:39:10 dev: 29.92 avgDelta: 4.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -28.6 IOB: 8.282 Activity: 0.0664 at 22:44:10 dev: 27.37 avgDelta: -1.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -30.9 IOB: 7.835 Activity: 0.0718 at 22:49:09 dev: 24.70 avgDelta: -6.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -32.5 IOB: 7.416 Activity: 0.0753 at 22:54:10 dev: 23.70 avgDelta: -8.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.2 BGI: -33.3 IOB: 6.984 Activity: 0.0772 at 22:59:09 dev: 24.52 avgDelta: -8.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -33.5 IOB: 6.547 Activity: 0.0776 at 23:04:09 dev: 26.70 avgDelta: -6.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -33.1 IOB: 6.061 Activity: 0.0769 at 23:09:10 dev: 28.39 avgDelta: -4.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -32.5 IOB: 5.68 Activity: 0.0754 at 23:14:10 dev: 29.50 avgDelta: -3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -31.6 IOB: 5.458 Activity: 0.0734 at 23:19:09 dev: 30.14 avgDelta: -1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -30.7 IOB: 5.046 Activity: 0.0712 at 23:24:10 dev: 29.94 avgDelta: -0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -29.7 IOB: 4.925 Activity: 0.069 at 23:29:09 dev: 29.49 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -28.6 IOB: 4.487 Activity: 0.0663 at 23:34:09 dev: 29.08 avgDelta: 0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -27.3 IOB: 4.113 Activity: 0.0633 at 23:39:10 dev: 28.28 avgDelta: 1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -25.8 IOB: 3.706 Activity: 0.0599 at 23:44:09 dev: 27.57 avgDelta: 1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -24.4 IOB: 3.363 Activity: 0.0566 at 23:49:09 dev: 26.64 avgDelta: 2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -22.8 IOB: 3.039 Activity: 0.053 at 23:54:09 dev: 25.34 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -21.3 IOB: 2.733 Activity: 0.0494 at 23:59:10 dev: 23.79 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -19.7 IOB: 2.395 Activity: 0.0457 at 00:04:10 dev: 22.20 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -18.1 IOB: 2.126 Activity: 0.0421 at 00:09:10 dev: 20.65 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -16.6 IOB: 1.824 Activity: 0.0385 at 00:14:10 dev: 18.59 avgDelta: 2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -15.1 IOB: 1.64 Activity: 0.0351 at 00:19:09 dev: 17.13 avgDelta: 2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -13.8 IOB: 1.473 Activity: 0.0319 at 00:24:09 dev: 15.50 avgDelta: 1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -12.4 IOB: 1.273 Activity: 0.0288 at 00:29:10 dev: 14.16 avgDelta: 1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -11.2 IOB: 1.136 Activity: 0.026 at 00:34:10 dev: 12.71 avgDelta: 1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -10.1 IOB: 1.011 Activity: 0.0235 at 00:39:09 dev: 10.13 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -9.1 IOB: 0.852 Activity: 0.021 at 00:44:10 dev: 7.30 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -8.2 IOB: 0.752 Activity: 0.0189 at 00:49:10 dev: 4.65 avgDelta: -3.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -7.3 IOB: 0.662 Activity: 0.0169 at 00:54:10 dev: 3.28 avgDelta: -4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.9 BGI: -6.4 IOB: 0.534 Activity: 0.0149 at 00:59:09 dev: 3.42 avgDelta: -3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -5.7 IOB: 0.463 Activity: 0.0132 at 01:04:09 dev: 4.69 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -5.0 IOB: 0.352 Activity: 0.0115 at 01:09:10 dev: 5.96 avgDelta: 1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.3 IOB: 0.298 Activity: 0.0101 at 01:14:10 dev: 6.60 avgDelta: 2.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.8 IOB: 0.25 Activity: 0.0089 at 01:19:09 dev: 6.84 avgDelta: 3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.4 IOB: 0.329 Activity: 0.0079 at 01:24:10 dev: 6.40 avgDelta: 3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.2 IOB: 0.34 Activity: 0.0074 at 01:29:10 dev: 5.69 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -2.9 IOB: 0.304 Activity: 0.0068 at 01:34:10 dev: 5.43 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -2.7 IOB: 0.272 Activity: 0.0062 at 01:39:10 dev: 5.67 avgDelta: 3.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -2.6 IOB: 0.512 Activity: 0.006 at 01:44:10 dev: 6.59 avgDelta: 4.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -2.6 IOB: 0.581 Activity: 0.0061 at 01:49:10 dev: 7.38 avgDelta: 4.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.2 IOB: 1.238 Activity: 0.0075 at 01:54:10 dev: 7.98 avgDelta: 4.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.8 IOB: 1.147 Activity: 0.0088 at 01:59:10 dev: 7.54 avgDelta: 3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.2 IOB: 1.151 Activity: 0.0098 at 02:04:10 dev: 6.72 avgDelta: 2.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.5 IOB: 1.05 Activity: 0.0104 at 02:09:09 dev: 5.98 avgDelta: 1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.6 IOB: 0.947 Activity: 0.0107 at 02:14:09 dev: 4.86 avgDelta: 0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.6 IOB: 0.844 Activity: 0.0106 at 02:19:10 dev: 3.82 avgDelta: -0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.5 IOB: 0.741 Activity: 0.0104 at 02:24:10 dev: 2.73 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.3 IOB: 0.59 Activity: 0.0099 at 02:29:10 dev: 2.52 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -4.0 IOB: 0.542 Activity: 0.0093 at 02:34:09 dev: 3.01 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.8 IOB: 0.497 Activity: 0.0087 at 02:39:09 dev: 3.50 avgDelta: -0.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.5 IOB: 0.456 Activity: 0.0081 at 02:44:10 dev: 1.74 avgDelta: -1.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.3 IOB: 0.516 Activity: 0.0077 at 02:49:09 dev: -1.93 avgDelta: -5.25 uam
end unannounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -3.1 IOB: 0.429 Activity: 0.0072 at 02:54:09 dev: -6.40 avgDelta: -9.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 7.0 BGI: -2.8 IOB: 0.294 Activity: 0.0066 at 02:59:10 dev: -8.66 avgDelta: -11.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: -2.5 IOB: 0.163 Activity: 0.0058 at 03:04:10 dev: -8.25 avgDelta: -10.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: -2.1 IOB: 0.037 Activity: 0.0049 at 03:09:10 dev: -6.39 avgDelta: -8.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: -1.7 IOB: -0.085 Activity: 0.0039 at 03:14:10 dev: -4.32 avgDelta: -6.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: -1.3 IOB: -0.153 Activity: 0.0029 at 03:19:09 dev: -3.75 avgDelta: -5.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: -0.8 IOB: -0.265 Activity: 0.0018 at 03:24:10 dev: -3.72 avgDelta: -4.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: -0.3 IOB: -0.371 Activity: 0.0007 at 03:29:09 dev: -3.45 avgDelta: -3.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: 0.2 IOB: -0.471 Activity: -0.0005 at 03:34:09 dev: -2.22 avgDelta: -2.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: 0.7 IOB: -0.566 Activity: -0.0016 at 03:39:10 dev: -0.94 avgDelta: -0.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: 1.1 IOB: -0.606 Activity: -0.0026 at 03:44:10 dev: 0.00 avgDelta: 1.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: 1.6 IOB: -0.64 Activity: -0.0036 at 03:49:10 dev: 0.45 avgDelta: 2.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 8.0 BGI: 1.9 IOB: -0.67 Activity: -0.0044 at 03:54:10 dev: -0.15 avgDelta: 1.75 basal
--categorize-uam-as-basal=true set: categorizing all UAM data as basal.
oref0-autotune-core autotune.2022-05-21.json profile.json profile.pump.json > newprofile.2022-05-21.json
CRTotalCarbs: 0 CRTotalInsulin: 0 totalCR: NaN
Hour 0 total deviations: 149.72 mg/dL
Hour 0 basal adjustment needed: 0.35 U/hr
Hour 1 total deviations: 76.77 mg/dL
Hour 1 basal adjustment needed: 0.18 U/hr
Hour 2 total deviations: 32.95 mg/dL
Hour 2 basal adjustment needed: 0.08 U/hr
Hour 3 total deviations: -18.1 mg/dL
Hour 3 basal adjustment needed: -0.04 U/hr
Hour 4 total deviations: 128.92 mg/dL
Hour 4 basal adjustment needed: 0.3 U/hr
Hour 5 total deviations: 76.69 mg/dL
Hour 5 basal adjustment needed: 0.18 U/hr
Hour 6 total deviations: 64.53 mg/dL
Hour 6 basal adjustment needed: 0.15 U/hr
Hour 7 total deviations: 7.81 mg/dL
Hour 7 basal adjustment needed: 0.02 U/hr
Hour 8 total deviations: -16.5 mg/dL
Hour 8 basal adjustment needed: -0.04 U/hr
Hour 9 total deviations: 39.75 mg/dL
Hour 9 basal adjustment needed: 0.09 U/hr
Hour 10 total deviations: 504.73 mg/dL
Hour 10 basal adjustment needed: 1.17 U/hr
Hour 11 total deviations: 371.12 mg/dL
Hour 11 basal adjustment needed: 0.86 U/hr
Hour 12 total deviations: 76.35 mg/dL
Hour 12 basal adjustment needed: 0.18 U/hr
Hour 13 total deviations: 116.88 mg/dL
Hour 13 basal adjustment needed: 0.27 U/hr
Hour 14 total deviations: 22.04 mg/dL
Hour 14 basal adjustment needed: 0.05 U/hr
Hour 15 total deviations: 277.6 mg/dL
Hour 15 basal adjustment needed: 0.64 U/hr
Hour 16 total deviations: 297.01 mg/dL
Hour 16 basal adjustment needed: 0.69 U/hr
Hour 17 total deviations: 131.85 mg/dL
Hour 17 basal adjustment needed: 0.31 U/hr
Hour 18 total deviations: 49.61 mg/dL
Hour 18 basal adjustment needed: 0.12 U/hr
Hour 19 total deviations: 32.57 mg/dL
Hour 19 basal adjustment needed: 0.08 U/hr
Hour 20 total deviations: -9.02 mg/dL
Hour 20 basal adjustment needed: -0.02 U/hr
Hour 21 total deviations: -19.5 mg/dL
Hour 21 basal adjustment needed: -0.05 U/hr
Hour 22 total deviations: 211.5 mg/dL
Hour 22 basal adjustment needed: 0.49 U/hr
Hour 23 total deviations: 334.86 mg/dL
Hour 23 basal adjustment needed: 0.78 U/hr
Limiting hour 7 basal to 1.11 (which is 1.3 * pump basal of 0.855 )
Limiting hour 8 basal to 1.17 (which is 1.3 * pump basal of 0.902 )
Limiting hour 9 basal to 1.21 (which is 1.3 * pump basal of 0.934 )
Limiting hour 10 basal to 1.22 (which is 1.3 * pump basal of 0.938 )
Limiting hour 12 basal to 1.15 (which is 1.3 * pump basal of 0.882 )
Limiting hour 13 basal to 1.14 (which is 1.3 * pump basal of 0.874 )
Limiting hour 14 basal to 1.13 (which is 1.3 * pump basal of 0.866 )
Limiting hour 15 basal to 1.10 (which is 1.3 * pump basal of 0.848 )
Limiting hour 20 basal to 1.10 (which is 1.3 * pump basal of 0.847 )
Limiting hour 21 basal to 1.12 (which is 1.3 * pump basal of 0.861 )
Limiting hour 22 basal to 1.12 (which is 1.3 * pump basal of 0.863 )
[ { start: '00:00:00', minutes: 0, rate: 1.039, i: 0 },
{ start: '01:00:00', minutes: 60, rate: 1.091, i: 1 },
{ start: '02:00:00', minutes: 120, rate: 1.118, i: 2 },
{ start: '03:00:00', minutes: 180, rate: 1.321, i: 3 },
{ start: '04:00:00', minutes: 240, rate: 1.091, i: 4 },
{ start: '05:00:00', minutes: 300, rate: 0.965, i: 5 },
{ start: '06:00:00', minutes: 360, rate: 0.848, i: 6 },
{ start: '07:00:00', minutes: 420, rate: 1.112, i: 7 },
{ start: '08:00:00', minutes: 480, rate: 1.173, i: 8 },
{ start: '09:00:00', minutes: 540, rate: 1.214, i: 9 },
{ start: '10:00:00', minutes: 600, rate: 1.219, i: 10 },
{ start: '11:00:00', minutes: 660, rate: 1.07, i: 11 },
{ start: '12:00:00', minutes: 720, rate: 1.147, i: 12 },
{ start: '13:00:00', minutes: 780, rate: 1.136, i: 13 },
{ start: '14:00:00', minutes: 840, rate: 1.126, i: 14 },
{ start: '15:00:00', minutes: 900, rate: 1.102, i: 15 },
{ start: '16:00:00', minutes: 960, rate: 0.928, i: 16 },
{ start: '17:00:00', minutes: 1020, rate: 0.71, i: 17 },
{ start: '18:00:00', minutes: 1080, rate: 0.654, i: 18 },
{ start: '19:00:00', minutes: 1140, rate: 0.878, i: 19 },
{ start: '20:00:00', minutes: 1200, rate: 1.101, i: 20 },
{ start: '21:00:00', minutes: 1260, rate: 1.119, i: 21 },
{ start: '22:00:00', minutes: 1320, rate: 1.122, i: 22 },
{ start: '23:00:00', minutes: 1380, rate: 1.047, i: 23 } ]
totalMealCarbs: 0 totalDeviations: 0 oldCSF 14.991 fullNewCSF: 14.991304347826087 newCSF: 14.991
oldCR: 5.75 fullNewCR: NaN newCR: NaN
Limiting adjusted ISF of 124.90 to 123.14 (which is pump ISF of 86.2 / 0.7 )
p50deviation: -0.93 p50BGI -2.5 p50ratios: 1.449 Old ISF: 86.2 fullNewISF: 124.904 adjustedISF: 123.143 newISF: 93.589 newDIA: 6 newPeak: 45
Autotune pump profile recommendations:
---------------------------------------------------------
Recommendations Log File: /home/titi/aaps/autotune/aapsorefautotune_recommendations.log
Parameter | Pump | Autotune | Days Missing
---------------------------------------------------------
ISF [mg/dL/U] | 86.200 | 93.589 |
Carb Ratio[g/U]| 5.750 | 5.750 |
00:00 | 0.966 | 1.039 | 0
01:00 | 0.977 | 1.091 | 0
02:00 | 0.971 | 1.118 | 0
03:00 | 1.111 | 1.321 | 0
04:00 | 0.974 | 1.091 | 0
05:00 | 0.923 | 0.965 | 0
06:00 | 0.823 | 0.848 | 0
07:00 | 0.855 | 1.112 | 0
08:00 | 0.902 | 1.173 | 0
09:00 | 0.934 | 1.214 | 0
10:00 | 0.938 | 1.219 | 0
11:00 | 0.903 | 1.070 | 0
12:00 | 0.882 | 1.147 | 0
13:00 | 0.874 | 1.136 | 0
14:00 | 0.866 | 1.126 | 0
15:00 | 0.848 | 1.102 | 0
16:00 | 0.758 | 0.928 | 0
17:00 | 0.650 | 0.710 | 0
18:00 | 0.648 | 0.654 | 0
19:00 | 0.738 | 0.878 | 0
20:00 | 0.847 | 1.101 | 0
21:00 | 0.861 | 1.119 | 0
22:00 | 0.863 | 1.122 | 0
23:00 | 0.843 | 1.047 | 0

View file

@ -0,0 +1,173 @@
{
"autosens_max": 1.3,
"autosens_min": 0.7,
"basalprofile": [
{
"i": 0,
"minutes": 0,
"rate": 1.039,
"start": "00:00:00"
},
{
"i": 1,
"minutes": 60,
"rate": 1.091,
"start": "01:00:00"
},
{
"i": 2,
"minutes": 120,
"rate": 1.118,
"start": "02:00:00"
},
{
"i": 3,
"minutes": 180,
"rate": 1.321,
"start": "03:00:00"
},
{
"i": 4,
"minutes": 240,
"rate": 1.091,
"start": "04:00:00"
},
{
"i": 5,
"minutes": 300,
"rate": 0.965,
"start": "05:00:00"
},
{
"i": 6,
"minutes": 360,
"rate": 0.848,
"start": "06:00:00"
},
{
"i": 7,
"minutes": 420,
"rate": 1.112,
"start": "07:00:00"
},
{
"i": 8,
"minutes": 480,
"rate": 1.173,
"start": "08:00:00"
},
{
"i": 9,
"minutes": 540,
"rate": 1.214,
"start": "09:00:00"
},
{
"i": 10,
"minutes": 600,
"rate": 1.219,
"start": "10:00:00"
},
{
"i": 11,
"minutes": 660,
"rate": 1.07,
"start": "11:00:00"
},
{
"i": 12,
"minutes": 720,
"rate": 1.147,
"start": "12:00:00"
},
{
"i": 13,
"minutes": 780,
"rate": 1.136,
"start": "13:00:00"
},
{
"i": 14,
"minutes": 840,
"rate": 1.126,
"start": "14:00:00"
},
{
"i": 15,
"minutes": 900,
"rate": 1.102,
"start": "15:00:00"
},
{
"i": 16,
"minutes": 960,
"rate": 0.928,
"start": "16:00:00"
},
{
"i": 17,
"minutes": 1020,
"rate": 0.71,
"start": "17:00:00"
},
{
"i": 18,
"minutes": 1080,
"rate": 0.654,
"start": "18:00:00"
},
{
"i": 19,
"minutes": 1140,
"rate": 0.878,
"start": "19:00:00"
},
{
"i": 20,
"minutes": 1200,
"rate": 1.101,
"start": "20:00:00"
},
{
"i": 21,
"minutes": 1260,
"rate": 1.119,
"start": "21:00:00"
},
{
"i": 22,
"minutes": 1320,
"rate": 1.122,
"start": "22:00:00"
},
{
"i": 23,
"minutes": 1380,
"rate": 1.047,
"start": "23:00:00"
}
],
"carb_ratio": 5.75,
"csf": 14.991,
"curve": "ultra-rapid",
"dia": 6,
"insulinPeakTime": 45,
"isfProfile": {
"sensitivities": [
{
"endoffset": 1440,
"i": 0,
"offset": 0,
"sensitivity": 93.589,
"start": "00:00:00",
"x": 0
}
]
},
"min_5m_carbimpact": 8,
"name": "Tuned Dyn2",
"sens": 93.589,
"timezone": "Europe/Paris",
"units": "mg/dl",
"useCustomPeakTime": true
}

View file

@ -0,0 +1,286 @@
[
{ "iob": 5.249, "activity": 0.0391, "date": 1653099848000},
{ "iob": 5.292, "activity": 0.0438, "date": 1653100148000},
{ "iob": 4.964, "activity": 0.047, "date": 1653100449000},
{ "iob": 4.674, "activity": 0.0489, "date": 1653100748000},
{ "iob": 4.377, "activity": 0.0498, "date": 1653101048000},
{ "iob": 4.077, "activity": 0.0498, "date": 1653101348000},
{ "iob": 3.73, "activity": 0.0491, "date": 1653101648000},
{ "iob": 3.389, "activity": 0.0476, "date": 1653101948000},
{ "iob": 3.055, "activity": 0.0457, "date": 1653102249000},
{ "iob": 2.782, "activity": 0.0436, "date": 1653102548000},
{ "iob": 2.47, "activity": 0.0411, "date": 1653102848000},
{ "iob": 2.22, "activity": 0.0386, "date": 1653103149000},
{ "iob": 1.935, "activity": 0.0358, "date": 1653103448000},
{ "iob": 1.711, "activity": 0.0332, "date": 1653103748000},
{ "iob": 1.452, "activity": 0.0304, "date": 1653104049000},
{ "iob": 1.927, "activity": 0.028, "date": 1653104349000},
{ "iob": 1.84, "activity": 0.027, "date": 1653104648000},
{ "iob": 1.658, "activity": 0.0258, "date": 1653104949000},
{ "iob": 1.482, "activity": 0.0245, "date": 1653105248000},
{ "iob": 1.264, "activity": 0.0229, "date": 1653105549000},
{ "iob": 1.104, "activity": 0.0212, "date": 1653105848000},
{ "iob": 0.952, "activity": 0.0194, "date": 1653106149000},
{ "iob": 1.619, "activity": 0.0181, "date": 1653106449000},
{ "iob": 1.678, "activity": 0.0184, "date": 1653106749000},
{ "iob": 1.775, "activity": 0.0187, "date": 1653107048000},
{ "iob": 1.581, "activity": 0.019, "date": 1653107348000},
{ "iob": 1.437, "activity": 0.0188, "date": 1653107648000},
{ "iob": 1.294, "activity": 0.0183, "date": 1653107948000},
{ "iob": 1.153, "activity": 0.0176, "date": 1653108249000},
{ "iob": 1.017, "activity": 0.0167, "date": 1653108548000},
{ "iob": 0.887, "activity": 0.0156, "date": 1653108848000},
{ "iob": 1.011, "activity": 0.0147, "date": 1653109148000},
{ "iob": 0.889, "activity": 0.0141, "date": 1653109448000},
{ "iob": 0.771, "activity": 0.0133, "date": 1653109748000},
{ "iob": 0.656, "activity": 0.0124, "date": 1653110049000},
{ "iob": 0.547, "activity": 0.0114, "date": 1653110348000},
{ "iob": 0.392, "activity": 0.0103, "date": 1653110649000},
{ "iob": 0.294, "activity": 0.0091, "date": 1653110949000},
{ "iob": 0.2, "activity": 0.008, "date": 1653111249000},
{ "iob": 0.065, "activity": 0.0066, "date": 1653111549000},
{ "iob": 0.034, "activity": 0.0055, "date": 1653111849000},
{ "iob": 0.549, "activity": 0.0048, "date": 1653112148000},
{ "iob": 0.674, "activity": 0.0053, "date": 1653112449000},
{ "iob": 0.597, "activity": 0.0057, "date": 1653112749000},
{ "iob": 0.468, "activity": 0.0058, "date": 1653113049000},
{ "iob": 0.389, "activity": 0.0057, "date": 1653113349000},
{ "iob": 0.262, "activity": 0.0053, "date": 1653113649000},
{ "iob": 0.186, "activity": 0.0048, "date": 1653113949000},
{ "iob": 0.064, "activity": 0.0041, "date": 1653114249000},
{ "iob": -0.005, "activity": 0.0034, "date": 1653114549000},
{ "iob": -0.12, "activity": 0.0026, "date": 1653114849000},
{ "iob": -0.181, "activity": 0.0018, "date": 1653115149000},
{ "iob": -0.287, "activity": 0.0008, "date": 1653115449000},
{ "iob": -0.34, "activity": 0, "date": 1653115749000},
{ "iob": -0.436, "activity": -0.001, "date": 1653116049000},
{ "iob": -0.48, "activity": -0.0018, "date": 1653116349000},
{ "iob": -0.519, "activity": -0.0026, "date": 1653116649000},
{ "iob": -0.554, "activity": -0.0034, "date": 1653116949000},
{ "iob": -0.585, "activity": -0.0041, "date": 1653117249000},
{ "iob": -0.662, "activity": -0.0049, "date": 1653117549000},
{ "iob": -0.687, "activity": -0.0055, "date": 1653117848000},
{ "iob": -0.708, "activity": -0.0061, "date": 1653118149000},
{ "iob": -0.726, "activity": -0.0066, "date": 1653118449000},
{ "iob": -0.351, "activity": -0.0071, "date": 1653118748000},
{ "iob": -0.218, "activity": -0.0064, "date": 1653119049000},
{ "iob": -0.088, "activity": -0.0055, "date": 1653119349000},
{ "iob": 13.594, "activity": 0.0023, "date": 1653119649000},
{ "iob": 13.552, "activity": 0.0331, "date": 1653119949000},
{ "iob": 13.224, "activity": 0.0573, "date": 1653120249000},
{ "iob": 12.838, "activity": 0.076, "date": 1653120548000},
{ "iob": 12.322, "activity": 0.09, "date": 1653120849000},
{ "iob": 11.794, "activity": 0.1001, "date": 1653121149000},
{ "iob": 11.177, "activity": 0.1068, "date": 1653121449000},
{ "iob": 10.58, "activity": 0.111, "date": 1653121749000},
{ "iob": 9.919, "activity": 0.1129, "date": 1653122049000},
{ "iob": 9.254, "activity": 0.1129, "date": 1653122349000},
{ "iob": 8.643, "activity": 0.1114, "date": 1653122649000},
{ "iob": 7.992, "activity": 0.1088, "date": 1653122949000},
{ "iob": 7.406, "activity": 0.1053, "date": 1653123248000},
{ "iob": 7.111, "activity": 0.1012, "date": 1653123549000},
{ "iob": 6.515, "activity": 0.0971, "date": 1653123849000},
{ "iob": 5.99, "activity": 0.0927, "date": 1653124149000},
{ "iob": 5.439, "activity": 0.0878, "date": 1653124448000},
{ "iob": 4.962, "activity": 0.0828, "date": 1653124749000},
{ "iob": 4.462, "activity": 0.0775, "date": 1653125048000},
{ "iob": 4.036, "activity": 0.0724, "date": 1653125349000},
{ "iob": 3.638, "activity": 0.0672, "date": 1653125649000},
{ "iob": 3.214, "activity": 0.0621, "date": 1653125948000},
{ "iob": 2.866, "activity": 0.0571, "date": 1653126249000},
{ "iob": 2.494, "activity": 0.0522, "date": 1653126549000},
{ "iob": 2.193, "activity": 0.0476, "date": 1653126849000},
{ "iob": 1.867, "activity": 0.0431, "date": 1653127149000},
{ "iob": 1.563, "activity": 0.0388, "date": 1653127449000},
{ "iob": 1.329, "activity": 0.0347, "date": 1653127748000},
{ "iob": 1.115, "activity": 0.0309, "date": 1653128049000},
{ "iob": 0.87, "activity": 0.0272, "date": 1653128349000},
{ "iob": 0.692, "activity": 0.0239, "date": 1653128649000},
{ "iob": 0.482, "activity": 0.0206, "date": 1653128948000},
{ "iob": 0.287, "activity": 0.0176, "date": 1653129249000},
{ "iob": 0.156, "activity": 0.0148, "date": 1653129548000},
{ "iob": 0.038, "activity": 0.0122, "date": 1653129848000},
{ "iob": -0.067, "activity": 0.0099, "date": 1653130149000},
{ "iob": -0.161, "activity": 0.0078, "date": 1653130448000},
{ "iob": -0.195, "activity": 0.006, "date": 1653130748000},
{ "iob": -0.271, "activity": 0.0044, "date": 1653131049000},
{ "iob": -0.339, "activity": 0.0029, "date": 1653131349000},
{ "iob": -0.4, "activity": 0.0015, "date": 1653131649000},
{ "iob": -0.155, "activity": 0.0007, "date": 1653131948000},
{ "iob": 8.11, "activity": 0.0045, "date": 1653132249000},
{ "iob": 7.992, "activity": 0.0222, "date": 1653132549000},
{ "iob": 7.745, "activity": 0.0359, "date": 1653132849000},
{ "iob": 7.488, "activity": 0.0465, "date": 1653133149000},
{ "iob": 7.136, "activity": 0.0541, "date": 1653133449000},
{ "iob": 6.8, "activity": 0.0596, "date": 1653133749000},
{ "iob": 6.441, "activity": 0.0633, "date": 1653134049000},
{ "iob": 6.022, "activity": 0.0651, "date": 1653134349000},
{ "iob": 5.644, "activity": 0.0657, "date": 1653134649000},
{ "iob": 5.216, "activity": 0.0653, "date": 1653134949000},
{ "iob": 4.962, "activity": 0.0644, "date": 1653135249000},
{ "iob": 4.544, "activity": 0.0627, "date": 1653135549000},
{ "iob": 4.185, "activity": 0.0606, "date": 1653135849000},
{ "iob": 3.839, "activity": 0.058, "date": 1653136149000},
{ "iob": 3.456, "activity": 0.055, "date": 1653136449000},
{ "iob": 3.139, "activity": 0.0519, "date": 1653136749000},
{ "iob": 2.788, "activity": 0.0486, "date": 1653137049000},
{ "iob": 2.503, "activity": 0.0453, "date": 1653137350000},
{ "iob": 2.186, "activity": 0.0418, "date": 1653137649000},
{ "iob": 3.17, "activity": 0.0407, "date": 1653137949000},
{ "iob": 3.956, "activity": 0.0413, "date": 1653138249000},
{ "iob": 3.648, "activity": 0.042, "date": 1653138549000},
{ "iob": 4.126, "activity": 0.043, "date": 1653138849000},
{ "iob": 3.81, "activity": 0.0437, "date": 1653139150000},
{ "iob": 3.541, "activity": 0.0437, "date": 1653139450000},
{ "iob": 3.272, "activity": 0.0431, "date": 1653139749000},
{ "iob": 3.588, "activity": 0.0428, "date": 1653140049000},
{ "iob": 3.875, "activity": 0.0431, "date": 1653140349000},
{ "iob": 3.608, "activity": 0.0434, "date": 1653140648000},
{ "iob": 4.271, "activity": 0.0442, "date": 1653140949000},
{ "iob": 3.996, "activity": 0.0452, "date": 1653141249000},
{ "iob": 4.298, "activity": 0.0462, "date": 1653141548000},
{ "iob": 4.015, "activity": 0.0468, "date": 1653141849000},
{ "iob": 4.538, "activity": 0.0481, "date": 1653142149000},
{ "iob": 4.245, "activity": 0.0489, "date": 1653142449000},
{ "iob": 4.729, "activity": 0.05, "date": 1653142749000},
{ "iob": 4.426, "activity": 0.0508, "date": 1653143049000},
{ "iob": 4.353, "activity": 0.051, "date": 1653143349000},
{ "iob": 4.049, "activity": 0.0507, "date": 1653143650000},
{ "iob": 3.747, "activity": 0.0498, "date": 1653143949000},
{ "iob": 3.402, "activity": 0.0483, "date": 1653144249000},
{ "iob": 3.115, "activity": 0.0464, "date": 1653144550000},
{ "iob": 2.788, "activity": 0.0441, "date": 1653144849000},
{ "iob": 2.524, "activity": 0.0417, "date": 1653145149000},
{ "iob": 2.271, "activity": 0.0391, "date": 1653145449000},
{ "iob": 2.033, "activity": 0.0365, "date": 1653145750000},
{ "iob": 1.807, "activity": 0.0338, "date": 1653146050000},
{ "iob": 1.594, "activity": 0.0312, "date": 1653146349000},
{ "iob": 1.395, "activity": 0.0286, "date": 1653146650000},
{ "iob": 1.258, "activity": 0.0262, "date": 1653146949000},
{ "iob": 1.034, "activity": 0.0236, "date": 1653147249000},
{ "iob": 0.971, "activity": 0.0215, "date": 1653147549000},
{ "iob": 1.008, "activity": 0.0197, "date": 1653147849000},
{ "iob": 0.963, "activity": 0.0183, "date": 1653148149000},
{ "iob": 1.046, "activity": 0.0171, "date": 1653148450000},
{ "iob": 0.912, "activity": 0.0161, "date": 1653148749000},
{ "iob": 1.254, "activity": 0.0156, "date": 1653149049000},
{ "iob": 1.176, "activity": 0.0154, "date": 1653149349000},
{ "iob": 1.051, "activity": 0.0149, "date": 1653149650000},
{ "iob": 0.928, "activity": 0.0142, "date": 1653149949000},
{ "iob": 1.008, "activity": 0.0138, "date": 1653150249000},
{ "iob": 0.89, "activity": 0.0133, "date": 1653150549000},
{ "iob": 0.775, "activity": 0.0127, "date": 1653150849000},
{ "iob": 0.664, "activity": 0.0118, "date": 1653151149000},
{ "iob": 0.606, "activity": 0.011, "date": 1653151449000},
{ "iob": 0.703, "activity": 0.0105, "date": 1653151749000},
{ "iob": 0.702, "activity": 0.0101, "date": 1653152049000},
{ "iob": 0.902, "activity": 0.0101, "date": 1653152349000},
{ "iob": 0.801, "activity": 0.0101, "date": 1653152649000},
{ "iob": 0.701, "activity": 0.0098, "date": 1653152949000},
{ "iob": 0.603, "activity": 0.0094, "date": 1653153249000},
{ "iob": 0.508, "activity": 0.0088, "date": 1653153549000},
{ "iob": 0.415, "activity": 0.0081, "date": 1653153849000},
{ "iob": 0.327, "activity": 0.0074, "date": 1653154149000},
{ "iob": 0.242, "activity": 0.0066, "date": 1653154449000},
{ "iob": 0.161, "activity": 0.0058, "date": 1653154749000},
{ "iob": 0.134, "activity": 0.005, "date": 1653155049000},
{ "iob": 0.4, "activity": 0.0048, "date": 1653155349000},
{ "iob": 0.475, "activity": 0.0049, "date": 1653155649000},
{ "iob": 0.401, "activity": 0.005, "date": 1653155950000},
{ "iob": 0.327, "activity": 0.0048, "date": 1653156250000},
{ "iob": 0.203, "activity": 0.0044, "date": 1653156549000},
{ "iob": 0.132, "activity": 0.004, "date": 1653156849000},
{ "iob": 0.064, "activity": 0.0034, "date": 1653157149000},
{ "iob": -0.002, "activity": 0.0028, "date": 1653157449000},
{ "iob": -0.064, "activity": 0.0022, "date": 1653157750000},
{ "iob": -0.073, "activity": 0.0016, "date": 1653158049000},
{ "iob": -0.08, "activity": 0.0011, "date": 1653158349000},
{ "iob": -0.085, "activity": 0.0007, "date": 1653158649000},
{ "iob": -0.087, "activity": 0.0004, "date": 1653158949000},
{ "iob": -0.088, "activity": 0.0001, "date": 1653159249000},
{ "iob": -0.088, "activity": -0.0001, "date": 1653159549000},
{ "iob": -0.137, "activity": -0.0004, "date": 1653159849000},
{ "iob": -0.184, "activity": -0.0007, "date": 1653160150000},
{ "iob": -0.18, "activity": -0.001, "date": 1653160449000},
{ "iob": -0.175, "activity": -0.0012, "date": 1653160749000},
{ "iob": -0.168, "activity": -0.0014, "date": 1653161049000},
{ "iob": -0.211, "activity": -0.0015, "date": 1653161350000},
{ "iob": -0.203, "activity": -0.0017, "date": 1653161649000},
{ "iob": -0.243, "activity": -0.002, "date": 1653161950000},
{ "iob": -0.282, "activity": -0.0023, "date": 1653162250000},
{ "iob": -0.32, "activity": -0.0026, "date": 1653162549000},
{ "iob": -0.357, "activity": -0.0029, "date": 1653162850000},
{ "iob": -0.391, "activity": -0.0032, "date": 1653163150000},
{ "iob": -0.375, "activity": -0.0035, "date": 1653163449000},
{ "iob": -0.357, "activity": -0.0036, "date": 1653163749000},
{ "iob": -0.149, "activity": -0.0035, "date": 1653164049000},
{ "iob": -0.132, "activity": -0.0031, "date": 1653164350000},
{ "iob": 9.296, "activity": 0.015, "date": 1653164649000},
{ "iob": 9.123, "activity": 0.0332, "date": 1653164950000},
{ "iob": 8.96, "activity": 0.0474, "date": 1653165249000},
{ "iob": 8.644, "activity": 0.0584, "date": 1653165550000},
{ "iob": 8.282, "activity": 0.0664, "date": 1653165850000},
{ "iob": 7.835, "activity": 0.0718, "date": 1653166149000},
{ "iob": 7.416, "activity": 0.0753, "date": 1653166450000},
{ "iob": 6.984, "activity": 0.0772, "date": 1653166749000},
{ "iob": 6.547, "activity": 0.0776, "date": 1653167049000},
{ "iob": 6.061, "activity": 0.0769, "date": 1653167350000},
{ "iob": 5.68, "activity": 0.0754, "date": 1653167650000},
{ "iob": 5.458, "activity": 0.0734, "date": 1653167949000},
{ "iob": 5.046, "activity": 0.0712, "date": 1653168250000},
{ "iob": 4.925, "activity": 0.069, "date": 1653168549000},
{ "iob": 4.487, "activity": 0.0663, "date": 1653168849000},
{ "iob": 4.113, "activity": 0.0633, "date": 1653169150000},
{ "iob": 3.706, "activity": 0.0599, "date": 1653169449000},
{ "iob": 3.363, "activity": 0.0566, "date": 1653169749000},
{ "iob": 3.039, "activity": 0.053, "date": 1653170049000},
{ "iob": 2.733, "activity": 0.0494, "date": 1653170350000},
{ "iob": 2.395, "activity": 0.0457, "date": 1653170650000},
{ "iob": 2.126, "activity": 0.0421, "date": 1653170950000},
{ "iob": 1.824, "activity": 0.0385, "date": 1653171250000},
{ "iob": 1.64, "activity": 0.0351, "date": 1653171549000},
{ "iob": 1.473, "activity": 0.0319, "date": 1653171849000},
{ "iob": 1.273, "activity": 0.0288, "date": 1653172150000},
{ "iob": 1.136, "activity": 0.026, "date": 1653172450000},
{ "iob": 1.011, "activity": 0.0235, "date": 1653172749000},
{ "iob": 0.852, "activity": 0.021, "date": 1653173050000},
{ "iob": 0.752, "activity": 0.0189, "date": 1653173350000},
{ "iob": 0.662, "activity": 0.0169, "date": 1653173650000},
{ "iob": 0.534, "activity": 0.0149, "date": 1653173949000},
{ "iob": 0.463, "activity": 0.0132, "date": 1653174249000},
{ "iob": 0.352, "activity": 0.0115, "date": 1653174550000},
{ "iob": 0.298, "activity": 0.0101, "date": 1653174850000},
{ "iob": 0.25, "activity": 0.0089, "date": 1653175149000},
{ "iob": 0.329, "activity": 0.0079, "date": 1653175450000},
{ "iob": 0.34, "activity": 0.0074, "date": 1653175750000},
{ "iob": 0.304, "activity": 0.0068, "date": 1653176050000},
{ "iob": 0.272, "activity": 0.0062, "date": 1653176350000},
{ "iob": 0.512, "activity": 0.006, "date": 1653176650000},
{ "iob": 0.581, "activity": 0.0061, "date": 1653176950000},
{ "iob": 1.238, "activity": 0.0075, "date": 1653177250000},
{ "iob": 1.147, "activity": 0.0088, "date": 1653177550000},
{ "iob": 1.151, "activity": 0.0098, "date": 1653177850000},
{ "iob": 1.05, "activity": 0.0104, "date": 1653178149000},
{ "iob": 0.947, "activity": 0.0107, "date": 1653178449000},
{ "iob": 0.844, "activity": 0.0106, "date": 1653178750000},
{ "iob": 0.741, "activity": 0.0104, "date": 1653179050000},
{ "iob": 0.59, "activity": 0.0099, "date": 1653179350000},
{ "iob": 0.542, "activity": 0.0093, "date": 1653179649000},
{ "iob": 0.497, "activity": 0.0087, "date": 1653179949000},
{ "iob": 0.456, "activity": 0.0081, "date": 1653180250000},
{ "iob": 0.516, "activity": 0.0077, "date": 1653180549000},
{ "iob": 0.429, "activity": 0.0072, "date": 1653180849000},
{ "iob": 0.294, "activity": 0.0066, "date": 1653181150000},
{ "iob": 0.163, "activity": 0.0058, "date": 1653181450000},
{ "iob": 0.037, "activity": 0.0049, "date": 1653181750000},
{ "iob": -0.085, "activity": 0.0039, "date": 1653182050000},
{ "iob": -0.153, "activity": 0.0029, "date": 1653182349000},
{ "iob": -0.265, "activity": 0.0018, "date": 1653182650000},
{ "iob": -0.371, "activity": 0.0007, "date": 1653182949000},
{ "iob": -0.471, "activity": -0.0005, "date": 1653183249000},
{ "iob": -0.566, "activity": -0.0016, "date": 1653183550000},
{ "iob": -0.606, "activity": -0.0026, "date": 1653183850000},
{ "iob": -0.64, "activity": -0.0036, "date": 1653184150000},
{ "iob": -0.67, "activity": -0.0044, "date": 1653184450000}
]

View file

@ -0,0 +1,147 @@
{
"name": "Tuned Dyn2",
"min_5m_carbimpact": 8,
"dia": 6,
"curve": "ultra-rapid",
"useCustomPeakTime": true,
"insulinPeakTime": 45,
"basalprofile": [
{
"start": "00:00:00",
"minutes": 0,
"rate": 0.966
},
{
"start": "01:00:00",
"minutes": 60,
"rate": 0.977
},
{
"start": "02:00:00",
"minutes": 120,
"rate": 0.971
},
{
"start": "03:00:00",
"minutes": 180,
"rate": 1.111
},
{
"start": "04:00:00",
"minutes": 240,
"rate": 0.974
},
{
"start": "05:00:00",
"minutes": 300,
"rate": 0.923
},
{
"start": "06:00:00",
"minutes": 360,
"rate": 0.823
},
{
"start": "07:00:00",
"minutes": 420,
"rate": 0.855
},
{
"start": "08:00:00",
"minutes": 480,
"rate": 0.902
},
{
"start": "09:00:00",
"minutes": 540,
"rate": 0.934
},
{
"start": "10:00:00",
"minutes": 600,
"rate": 0.938
},
{
"start": "11:00:00",
"minutes": 660,
"rate": 0.903
},
{
"start": "12:00:00",
"minutes": 720,
"rate": 0.882
},
{
"start": "13:00:00",
"minutes": 780,
"rate": 0.874
},
{
"start": "14:00:00",
"minutes": 840,
"rate": 0.866
},
{
"start": "15:00:00",
"minutes": 900,
"rate": 0.848
},
{
"start": "16:00:00",
"minutes": 960,
"rate": 0.758
},
{
"start": "17:00:00",
"minutes": 1020,
"rate": 0.65
},
{
"start": "18:00:00",
"minutes": 1080,
"rate": 0.648
},
{
"start": "19:00:00",
"minutes": 1140,
"rate": 0.738
},
{
"start": "20:00:00",
"minutes": 1200,
"rate": 0.847
},
{
"start": "21:00:00",
"minutes": 1260,
"rate": 0.861
},
{
"start": "22:00:00",
"minutes": 1320,
"rate": 0.863
},
{
"start": "23:00:00",
"minutes": 1380,
"rate": 0.843
}
],
"isfProfile": {
"sensitivities": [
{
"i": 0,
"start": "00:00:00",
"sensitivity": 86.2,
"offset": 0,
"x": 0,
"endoffset": 1440
}
]
},
"carb_ratio": 5.75,
"autosens_max": 1.3,
"autosens_min": 0.7,
"units": "mg/dl",
"timezone": "Europe/Paris"
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,454 @@
Compressing old json and log files to save space...
gzip: ns-*.json: No such file or directory
gzip: autotune*.json: No such file or directory
Autotune disk usage:
8.0K .
Overall disk used/avail:
Filesystem Size Used Avail Use% Mounted on
rootfs 930G 432G 499G 47% /
Grabbing NIGHTSCOUT treatments.json and entries/sgv.json for date range...
Query: https://xxxxxxxxxxxx.com entries/sgv.json find%5Bdate%5D%5B%24gte%5D=1653444000000&find%5Bdate%5D%5B%24lte%5D=1653530400000&count=1500
-rw-r--r-- 1 titi titi 82011 Jun 25 19:53 ns-entries.2022-05-25.json
Query: https://xxxxxxxxxxxx.com treatments.json find%5Bcreated_at%5D%5B%24gte%5D=2022-05-24T06:00+02:00&find%5Bcreated_at%5D%5B%24lte%5D=2022-05-26T18:00+02:00
-rw-r--r-- 1 titi titi 216847 Jun 25 19:53 ns-treatments.2022-05-25.json
Log information from 2022-05-25 to 2022-05-29 removed for unit test
Query: https://xxxxxxxxxxxx.com entries/sgv.json find%5Bdate%5D%5B%24gte%5D=1653876000000&find%5Bdate%5D%5B%24lte%5D=1653962400000&count=1500
-rw-r--r-- 1 titi titi 75423 Jun 25 19:53 ns-entries.2022-05-30.json
Query: https://xxxxxxxxxxxx.com treatments.json find%5Bcreated_at%5D%5B%24gte%5D=2022-05-29T06:00+02:00&find%5Bcreated_at%5D%5B%24lte%5D=2022-05-31T18:00+02:00
-rw-r--r-- 1 titi titi 229319 Jun 25 19:53 ns-treatments.2022-05-30.json
oref0-autotune-prep ns-treatments.2022-05-30.json profile.json ns-entries.2022-05-30.json profile.pump.json > autotune.2022-05-30.json
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 6.5 IOB: -1.341 Activity: -0.0157 at 04:24:21 dev: -4.27 avgDelta: 2.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 6.6 IOB: -1.362 Activity: -0.0158 at 04:29:21 dev: -4.81 avgDelta: 1.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 6.6 IOB: -1.333 Activity: -0.0158 at 04:34:21 dev: -4.56 avgDelta: 2.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 6.6 IOB: -1.304 Activity: -0.0158 at 04:39:21 dev: -3.81 avgDelta: 2.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 6.5 IOB: -1.275 Activity: -0.0157 at 04:44:21 dev: -2.77 avgDelta: 3.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 6.3 IOB: -0.888 Activity: -0.0151 at 04:49:21 dev: -1.77 avgDelta: 4.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 5.8 IOB: -0.715 Activity: -0.0139 at 04:54:21 dev: -0.77 avgDelta: 5.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.5 BGI: 5.1 IOB: -0.279 Activity: -0.0123 at 04:59:21 dev: 0.39 avgDelta: 5.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: 4.2 IOB: -0.073 Activity: -0.0102 at 05:04:21 dev: 1.52 avgDelta: 5.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: 3.3 IOB: 0.233 Activity: -0.008 at 05:09:21 dev: 2.43 avgDelta: 5.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: 2.4 IOB: 0.367 Activity: -0.0058 at 05:14:21 dev: 3.34 avgDelta: 5.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: 1.4 IOB: 1.021 Activity: -0.0033 at 05:19:21 dev: 3.63 avgDelta: 5.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: 0.2 IOB: 0.98 Activity: -0.0004 at 05:24:22 dev: 4.08 avgDelta: 4.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.8 IOB: 0.926 Activity: 0.0018 at 05:29:21 dev: 3.75 avgDelta: 3.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -1.6 IOB: 1.122 Activity: 0.0039 at 05:34:21 dev: 3.12 avgDelta: 1.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.3 IOB: 1.048 Activity: 0.0056 at 05:39:21 dev: 2.32 avgDelta: 0.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -2.8 IOB: 0.917 Activity: 0.0067 at 05:44:21 dev: 1.53 avgDelta: -1.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -3.1 IOB: 0.832 Activity: 0.0074 at 05:49:21 dev: 1.32 avgDelta: -1.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -3.1 IOB: 0.695 Activity: 0.0076 at 05:54:21 dev: 0.65 avgDelta: -2.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -3.1 IOB: 0.606 Activity: 0.0076 at 05:59:21 dev: 0.90 avgDelta: -2.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -3.1 IOB: 0.518 Activity: 0.0074 at 06:04:21 dev: 0.57 avgDelta: -2.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -3.0 IOB: 0.482 Activity: 0.0071 at 06:09:21 dev: 0.70 avgDelta: -2.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -2.8 IOB: 0.447 Activity: 0.0068 at 06:14:21 dev: 1.07 avgDelta: -1.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -2.8 IOB: 0.584 Activity: 0.0067 at 06:19:21 dev: 1.78 avgDelta: -1.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -2.8 IOB: 0.67 Activity: 0.0068 at 06:24:21 dev: 2.32 avgDelta: -0.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -3.0 IOB: 0.685 Activity: 0.0072 at 06:29:21 dev: 2.24 avgDelta: -0.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -3.0 IOB: 0.649 Activity: 0.0073 at 06:34:21 dev: 2.53 avgDelta: -0.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -3.0 IOB: 0.563 Activity: 0.0072 at 06:39:21 dev: 2.24 avgDelta: -0.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -3.0 IOB: 0.737 Activity: 0.0073 at 06:44:21 dev: 2.53 avgDelta: -0.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -3.1 IOB: 0.65 Activity: 0.0075 at 06:49:21 dev: 2.61 avgDelta: -0.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -3.1 IOB: 0.562 Activity: 0.0074 at 06:54:21 dev: 2.07 avgDelta: -1.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: -3.0 IOB: 0.476 Activity: 0.0071 at 06:59:21 dev: 1.20 avgDelta: -1.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -2.8 IOB: 0.441 Activity: 0.0068 at 07:04:21 dev: 0.32 avgDelta: -2.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -2.7 IOB: 0.358 Activity: 0.0064 at 07:09:21 dev: -0.09 avgDelta: -2.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -2.5 IOB: 0.277 Activity: 0.0059 at 07:14:21 dev: -0.05 avgDelta: -2.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -2.2 IOB: 0.199 Activity: 0.0053 at 07:19:21 dev: 0.70 avgDelta: -1.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -2.0 IOB: 0.274 Activity: 0.0048 at 07:24:21 dev: 1.49 avgDelta: -0.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -2.0 IOB: 0.35 Activity: 0.0048 at 07:29:21 dev: 2.49 avgDelta: 0.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -1.9 IOB: 0.327 Activity: 0.0046 at 07:34:22 dev: 2.16 avgDelta: 0.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -1.8 IOB: 0.254 Activity: 0.0044 at 07:39:21 dev: 1.58 avgDelta: -0.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -1.7 IOB: 0.183 Activity: 0.004 at 07:44:21 dev: 0.66 avgDelta: -1.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -1.5 IOB: 0.114 Activity: 0.0036 at 07:49:21 dev: -0.26 avgDelta: -1.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -1.3 IOB: 0.048 Activity: 0.003 at 07:54:21 dev: -0.50 avgDelta: -1.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -1.1 IOB: 0.034 Activity: 0.0026 at 07:59:21 dev: -0.92 avgDelta: -2.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.1 BGI: -0.8 IOB: -0.028 Activity: 0.002 at 08:04:21 dev: -0.92 avgDelta: -1.75 basal
CRInitialIOB: -0.087 CRInitialBG: 92 CRInitialCarbTime: 2022-05-30T06:09:21.000Z
start carb absorption
0 mealCOB: 74.5 mealCarbs: 75 basalBGI: 6.1 BGI: -0.6 IOB: -0.087 Activity: 0.0015 at 08:09:21 dev: 0.12 avgDelta: -0.50 csf
0 mealCOB: 74.0 mealCarbs: 75 basalBGI: 6.1 BGI: -0.4 IOB: -0.093 Activity: 0.001 at 08:14:21 dev: 2.67 avgDelta: 2.25 csf
0 mealCOB: 73.5 mealCarbs: 75 basalBGI: 6.1 BGI: -0.2 IOB: -0.147 Activity: 0.0005 at 08:19:21 dev: 7.21 avgDelta: 7.00 csf
1 mealCOB: 72.1 mealCarbs: 75 basalBGI: 6.1 BGI: -12.7 IOB: 16.05 Activity: 0.0305 at 08:24:21 dev: 24.66 avgDelta: 12.00 csf
1 mealCOB: 69.5 mealCarbs: 75 basalBGI: 6.1 BGI: -25.4 IOB: 15.767 Activity: 0.0611 at 08:29:21 dev: 41.61 avgDelta: 16.25 csf
1 mealCOB: 66.3 mealCarbs: 75 basalBGI: 6.1 BGI: -35.2 IOB: 15.3 Activity: 0.0848 at 08:34:21 dev: 53.20 avgDelta: 18.00 csf
1 mealCOB: 62.7 mealCarbs: 75 basalBGI: 6.1 BGI: -42.7 IOB: 14.779 Activity: 0.1028 at 08:39:21 dev: 59.42 avgDelta: 16.75 csf
1 mealCOB: 59.0 mealCarbs: 75 basalBGI: 6.1 BGI: -48.1 IOB: 14.131 Activity: 0.1158 at 08:44:21 dev: 62.07 avgDelta: 14.00 csf
1 mealCOB: 55.2 mealCarbs: 75 basalBGI: 6.1 BGI: -51.8 IOB: 13.477 Activity: 0.1249 at 08:49:21 dev: 62.09 avgDelta: 10.25 csf
1 mealCOB: 51.5 mealCarbs: 75 basalBGI: 6.1 BGI: -54.2 IOB: 12.739 Activity: 0.1305 at 08:54:21 dev: 61.17 avgDelta: 7.00 csf
1 mealCOB: 47.9 mealCarbs: 75 basalBGI: 6.1 BGI: -55.4 IOB: 12.027 Activity: 0.1335 at 08:59:21 dev: 59.91 avgDelta: 4.50 csf
1 mealCOB: 44.4 mealCarbs: 75 basalBGI: 6.1 BGI: -55.7 IOB: 11.307 Activity: 0.1342 at 09:04:20 dev: 58.20 avgDelta: 2.50 csf
1 mealCOB: 41.0 mealCarbs: 75 basalBGI: 6.1 BGI: -55.3 IOB: 10.538 Activity: 0.1331 at 09:09:22 dev: 56.25 avgDelta: 1.00 csf
1 mealCOB: 37.7 mealCarbs: 75 basalBGI: 6.1 BGI: -54.2 IOB: 9.828 Activity: 0.1306 at 09:14:21 dev: 54.21 avgDelta: 0.00 csf
1 mealCOB: 34.5 mealCarbs: 75 basalBGI: 6.1 BGI: -52.6 IOB: 9.085 Activity: 0.1268 at 09:19:22 dev: 52.38 avgDelta: -0.25 csf
1 mealCOB: 31.4 mealCarbs: 75 basalBGI: 6.1 BGI: -50.8 IOB: 8.411 Activity: 0.1223 at 09:24:21 dev: 51.01 avgDelta: 0.25 csf
1 mealCOB: 28.4 mealCarbs: 75 basalBGI: 6.1 BGI: -48.6 IOB: 7.764 Activity: 0.117 at 09:29:21 dev: 50.06 avgDelta: 1.50 csf
1 mealCOB: 25.4 mealCarbs: 75 basalBGI: 6.1 BGI: -46.2 IOB: 7.193 Activity: 0.1114 at 09:34:21 dev: 49.24 avgDelta: 3.00 csf
1 mealCOB: 22.6 mealCarbs: 75 basalBGI: 6.1 BGI: -43.9 IOB: 6.65 Activity: 0.1057 at 09:39:21 dev: 47.62 avgDelta: 3.75 csf
1 mealCOB: 19.8 mealCarbs: 75 basalBGI: 6.1 BGI: -41.5 IOB: 6.136 Activity: 0.0999 at 09:44:22 dev: 44.97 avgDelta: 3.50 csf
1 mealCOB: 17.3 mealCarbs: 75 basalBGI: 6.1 BGI: -39.1 IOB: 5.651 Activity: 0.0941 at 09:49:21 dev: 41.81 avgDelta: 2.75 csf
1 mealCOB: 15.0 mealCarbs: 75 basalBGI: 6.1 BGI: -36.7 IOB: 5.194 Activity: 0.0884 at 09:54:22 dev: 38.19 avgDelta: 1.50 csf
1 mealCOB: 13.0 mealCarbs: 75 basalBGI: 6.1 BGI: -33.2 IOB: 4.302 Activity: 0.08 at 09:59:21 dev: 33.21 avgDelta: 0.00 csf
1 mealCOB: 11.2 mealCarbs: 75 basalBGI: 6.1 BGI: -30.7 IOB: 3.868 Activity: 0.0739 at 10:04:21 dev: 29.42 avgDelta: -1.25 csf
1 mealCOB: 9.7 mealCarbs: 75 basalBGI: 6.1 BGI: -28.2 IOB: 3.413 Activity: 0.068 at 10:09:21 dev: 25.72 avgDelta: -2.50 csf
1 mealCOB: 8.3 mealCarbs: 75 basalBGI: 6.1 BGI: -25.9 IOB: 3.037 Activity: 0.0623 at 10:14:21 dev: 22.86 avgDelta: -3.00 csf
1 mealCOB: 7.0 mealCarbs: 75 basalBGI: 6.1 BGI: -23.6 IOB: 2.64 Activity: 0.0568 at 10:19:21 dev: 20.83 avgDelta: -2.75 csf
1 mealCOB: 5.8 mealCarbs: 75 basalBGI: 6.1 BGI: -21.4 IOB: 2.319 Activity: 0.0516 at 10:24:22 dev: 19.42 avgDelta: -2.00 csf
1 mealCOB: 4.8 mealCarbs: 75 basalBGI: 6.1 BGI: -19.5 IOB: 2.193 Activity: 0.0469 at 10:29:21 dev: 17.72 avgDelta: -1.75 csf
1 mealCOB: 3.8 mealCarbs: 75 basalBGI: 6.1 BGI: -17.7 IOB: 1.919 Activity: 0.0427 at 10:34:21 dev: 15.72 avgDelta: -2.00 csf
1 mealCOB: 3.0 mealCarbs: 75 basalBGI: 6.1 BGI: -16.0 IOB: 1.666 Activity: 0.0386 at 10:39:21 dev: 13.77 avgDelta: -2.25 csf
1 mealCOB: 2.3 mealCarbs: 75 basalBGI: 6.1 BGI: -14.5 IOB: 1.483 Activity: 0.0349 at 10:44:21 dev: 11.99 avgDelta: -2.50 csf
1 mealCOB: 1.6 mealCarbs: 75 basalBGI: 6.1 BGI: -13.3 IOB: 1.606 Activity: 0.032 at 10:49:21 dev: 11.03 avgDelta: -2.25 csf
1 mealCOB: 1.0 mealCarbs: 75 basalBGI: 6.1 BGI: -12.2 IOB: 1.452 Activity: 0.0294 at 10:54:21 dev: 9.70 avgDelta: -2.50 csf
1 mealCOB: 0.5 mealCarbs: 75 basalBGI: 6.1 BGI: -11.2 IOB: 1.311 Activity: 0.027 at 10:59:21 dev: 7.71 avgDelta: -3.50 csf
1 mealCOB: 0.0 mealCarbs: 75 basalBGI: 6.0 BGI: -10.3 IOB: 1.182 Activity: 0.0248 at 11:04:21 dev: 5.29 avgDelta: -5.00 csf
1 mealCOB: 0.0 mealCarbs: 75 basalBGI: 6.0 BGI: -9.4 IOB: 1.013 Activity: 0.0226 at 11:09:21 dev: 2.63 avgDelta: -6.75 csf
1 mealCOB: 0.0 mealCarbs: 75 basalBGI: 6.0 BGI: -8.5 IOB: 0.856 Activity: 0.0204 at 11:14:21 dev: 0.22 avgDelta: -8.25 csf
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: -7.6 IOB: 0.709 Activity: 0.0183 at 11:19:21 dev: -1.65 avgDelta: -9.25 csf
end carb absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: -6.8 IOB: 0.572 Activity: 0.0163 at 11:24:21 dev: -2.48 avgDelta: -9.25 ISF
CREndIOB: 0.396 CREndBG: 131 CREndTime: 2022-05-30T09:29:21.000Z
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: -5.9 IOB: 0.396 Activity: 0.0143 at 11:29:21 dev: -2.81 avgDelta: -8.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: -5.2 IOB: 0.278 Activity: 0.0125 at 11:34:21 dev: -2.56 avgDelta: -7.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: -4.4 IOB: 0.17 Activity: 0.0107 at 11:39:21 dev: -2.31 avgDelta: -6.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: -3.6 IOB: 0.022 Activity: 0.0088 at 11:44:21 dev: -2.85 avgDelta: -6.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: -3.0 IOB: -0.068 Activity: 0.0072 at 11:49:21 dev: -3.01 avgDelta: -6.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: -2.3 IOB: -0.15 Activity: 0.0056 at 11:54:21 dev: -3.43 avgDelta: -5.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: -1.7 IOB: -0.274 Activity: 0.004 at 11:59:21 dev: -3.34 avgDelta: -5.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: -1.1 IOB: -0.29 Activity: 0.0027 at 12:04:21 dev: -3.38 avgDelta: -4.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: -0.6 IOB: -0.301 Activity: 0.0015 at 12:09:22 dev: -3.38 avgDelta: -4.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: -0.2 IOB: -0.356 Activity: 0.0005 at 12:14:21 dev: -3.54 avgDelta: -3.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: 0.2 IOB: -0.356 Activity: -0.0004 at 12:19:21 dev: -3.92 avgDelta: -3.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: 0.5 IOB: -0.402 Activity: -0.0011 at 12:24:22 dev: -3.46 avgDelta: -3.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: 0.8 IOB: -0.445 Activity: -0.0019 at 12:29:21 dev: -3.54 avgDelta: -2.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: 1.0 IOB: -0.435 Activity: -0.0024 at 12:34:21 dev: -3.00 avgDelta: -2.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 6.0 BGI: 1.3 IOB: -0.47 Activity: -0.0031 at 12:39:22 dev: -2.79 avgDelta: -1.50 basal
CRInitialIOB: -0.454 CRInitialBG: 77 CRInitialCarbTime: 2022-05-30T10:44:21.000Z
start carb absorption
0 mealCOB: 49.5 mealCarbs: 50 basalBGI: 6.0 BGI: 1.4 IOB: -0.454 Activity: -0.0035 at 12:44:21 dev: -2.70 avgDelta: -1.25 csf
0 mealCOB: 49.0 mealCarbs: 50 basalBGI: 6.0 BGI: 1.7 IOB: -0.484 Activity: -0.004 at 12:49:22 dev: -2.66 avgDelta: -1.00 csf
0 mealCOB: 48.5 mealCarbs: 50 basalBGI: 6.0 BGI: 1.8 IOB: -0.464 Activity: -0.0043 at 12:54:22 dev: -2.28 avgDelta: -0.50 csf
0 mealCOB: 48.1 mealCarbs: 50 basalBGI: 6.0 BGI: 1.9 IOB: -0.442 Activity: -0.0045 at 12:59:21 dev: -1.12 avgDelta: 0.75 csf
0 mealCOB: 47.6 mealCarbs: 50 basalBGI: 5.9 BGI: 1.9 IOB: -0.469 Activity: -0.0047 at 13:04:22 dev: 0.80 avgDelta: 2.75 csf
0 mealCOB: 47.1 mealCarbs: 50 basalBGI: 5.9 BGI: 2.0 IOB: -0.445 Activity: -0.0048 at 13:09:22 dev: 4.51 avgDelta: 6.50 csf
0 mealCOB: 46.5 mealCarbs: 50 basalBGI: 5.9 BGI: 1.7 IOB: 0.287 Activity: -0.004 at 13:14:21 dev: 9.59 avgDelta: 11.25 csf
1 mealCOB: 45.6 mealCarbs: 50 basalBGI: 5.9 BGI: 1.0 IOB: 0.453 Activity: -0.0024 at 13:19:21 dev: 15.25 avgDelta: 16.25 csf
1 mealCOB: 44.3 mealCarbs: 50 basalBGI: 5.9 BGI: -0.5 IOB: 1.958 Activity: 0.0011 at 13:24:21 dev: 21.46 avgDelta: 21.00 csf
1 mealCOB: 42.8 mealCarbs: 50 basalBGI: 5.9 BGI: -2.2 IOB: 1.892 Activity: 0.0053 at 13:29:21 dev: 25.45 avgDelta: 23.25 csf
1 mealCOB: 41.1 mealCarbs: 50 basalBGI: 5.9 BGI: -3.9 IOB: 2.367 Activity: 0.0093 at 13:34:22 dev: 27.11 avgDelta: 23.25 csf
1 mealCOB: 39.5 mealCarbs: 50 basalBGI: 5.9 BGI: -5.3 IOB: 2.261 Activity: 0.0127 at 13:39:21 dev: 26.27 avgDelta: 21.00 csf
1 mealCOB: 37.6 mealCarbs: 50 basalBGI: 5.9 BGI: -14.2 IOB: 12.271 Activity: 0.0343 at 13:44:21 dev: 31.24 avgDelta: 17.00 csf
1 mealCOB: 35.5 mealCarbs: 50 basalBGI: 5.9 BGI: -23.0 IOB: 11.995 Activity: 0.0554 at 13:49:21 dev: 35.74 avgDelta: 12.75 csf
1 mealCOB: 33.2 mealCarbs: 50 basalBGI: 5.9 BGI: -29.7 IOB: 11.576 Activity: 0.0716 at 13:54:22 dev: 38.22 avgDelta: 8.50 csf
1 mealCOB: 30.7 mealCarbs: 50 basalBGI: 5.9 BGI: -34.7 IOB: 11.136 Activity: 0.0836 at 13:59:21 dev: 39.95 avgDelta: 5.25 csf
1 mealCOB: 28.3 mealCarbs: 50 basalBGI: 5.9 BGI: -38.3 IOB: 10.645 Activity: 0.0922 at 14:04:21 dev: 41.02 avgDelta: 2.75 csf
1 mealCOB: 25.8 mealCarbs: 50 basalBGI: 5.9 BGI: -40.6 IOB: 10.069 Activity: 0.0979 at 14:09:22 dev: 41.14 avgDelta: 0.50 csf
1 mealCOB: 23.3 mealCarbs: 50 basalBGI: 5.9 BGI: -42.0 IOB: 9.52 Activity: 0.1013 at 14:14:22 dev: 40.30 avgDelta: -1.75 csf
1 mealCOB: 21.0 mealCarbs: 50 basalBGI: 5.9 BGI: -42.7 IOB: 9.009 Activity: 0.1028 at 14:19:22 dev: 37.92 avgDelta: -4.75 csf
1 mealCOB: 18.9 mealCarbs: 50 basalBGI: 5.9 BGI: -42.6 IOB: 8.445 Activity: 0.1027 at 14:24:22 dev: 35.63 avgDelta: -7.00 csf
1 mealCOB: 16.9 mealCarbs: 50 basalBGI: 5.9 BGI: -42.1 IOB: 7.834 Activity: 0.1014 at 14:29:22 dev: 33.34 avgDelta: -8.75 csf
1 mealCOB: 15.0 mealCarbs: 50 basalBGI: 5.9 BGI: -41.1 IOB: 7.283 Activity: 0.099 at 14:34:22 dev: 31.34 avgDelta: -9.75 csf
1 mealCOB: 13.1 mealCarbs: 50 basalBGI: 5.9 BGI: -39.7 IOB: 6.696 Activity: 0.0957 at 14:39:22 dev: 30.47 avgDelta: -9.25 csf
1 mealCOB: 11.4 mealCarbs: 50 basalBGI: 5.9 BGI: -38.2 IOB: 6.176 Activity: 0.092 at 14:44:21 dev: 29.44 avgDelta: -8.75 csf
1 mealCOB: 9.6 mealCarbs: 50 basalBGI: 5.9 BGI: -36.4 IOB: 5.676 Activity: 0.0877 at 14:49:22 dev: 28.65 avgDelta: -7.75 csf
1 mealCOB: 8.0 mealCarbs: 50 basalBGI: 5.9 BGI: -34.4 IOB: 5.152 Activity: 0.0829 at 14:54:22 dev: 27.66 avgDelta: -6.75 csf
1 mealCOB: 6.4 mealCarbs: 50 basalBGI: 5.9 BGI: -32.4 IOB: 4.65 Activity: 0.0781 at 14:59:21 dev: 26.17 avgDelta: -6.25 csf
1 mealCOB: 4.9 mealCarbs: 50 basalBGI: 5.9 BGI: -30.4 IOB: 4.222 Activity: 0.0732 at 15:04:22 dev: 24.38 avgDelta: -6.00 csf
1 mealCOB: 3.5 mealCarbs: 50 basalBGI: 5.9 BGI: -28.3 IOB: 3.769 Activity: 0.0682 at 15:09:22 dev: 22.31 avgDelta: -6.00 csf
1 mealCOB: 2.3 mealCarbs: 50 basalBGI: 5.9 BGI: -26.2 IOB: 3.39 Activity: 0.0632 at 15:14:21 dev: 20.23 avgDelta: -6.00 csf
1 mealCOB: 1.2 mealCarbs: 50 basalBGI: 5.9 BGI: -24.2 IOB: 2.987 Activity: 0.0583 at 15:19:22 dev: 18.45 avgDelta: -5.75 csf
1 mealCOB: 0.2 mealCarbs: 50 basalBGI: 5.9 BGI: -22.2 IOB: 2.657 Activity: 0.0535 at 15:24:22 dev: 16.46 avgDelta: -5.75 csf
1 mealCOB: 0.0 mealCarbs: 50 basalBGI: 5.9 BGI: -20.3 IOB: 2.351 Activity: 0.049 at 15:29:22 dev: 14.84 avgDelta: -5.50 csf
1 mealCOB: 0.0 mealCarbs: 50 basalBGI: 5.9 BGI: -18.5 IOB: 2.018 Activity: 0.0445 at 15:34:22 dev: 12.97 avgDelta: -5.50 csf
1 mealCOB: 0.0 mealCarbs: 50 basalBGI: 5.9 BGI: -16.7 IOB: 1.755 Activity: 0.0403 at 15:39:22 dev: 11.48 avgDelta: -5.25 csf
1 mealCOB: 0.0 mealCarbs: 50 basalBGI: 5.9 BGI: -15.1 IOB: 1.513 Activity: 0.0364 at 15:44:22 dev: 10.11 avgDelta: -5.00 csf
1 mealCOB: 0.0 mealCarbs: 50 basalBGI: 5.9 BGI: -13.5 IOB: 1.241 Activity: 0.0325 at 15:49:21 dev: 8.74 avgDelta: -4.75 csf
1 mealCOB: 0.0 mealCarbs: 50 basalBGI: 5.9 BGI: -12.0 IOB: 1.037 Activity: 0.029 at 15:54:22 dev: 7.79 avgDelta: -4.25 csf
1 mealCOB: 0.0 mealCarbs: 50 basalBGI: 5.9 BGI: -10.6 IOB: 0.851 Activity: 0.0256 at 15:59:21 dev: 6.63 avgDelta: -4.00 csf
1 mealCOB: 0.0 mealCarbs: 50 basalBGI: 5.7 BGI: -9.3 IOB: 0.632 Activity: 0.0223 at 16:04:22 dev: 5.51 avgDelta: -3.75 csf
1 mealCOB: 0.0 mealCarbs: 50 basalBGI: 5.7 BGI: -8.0 IOB: 0.428 Activity: 0.0192 at 16:09:21 dev: 4.47 avgDelta: -3.50 csf
CREndIOB: 0.339 CREndBG: 100 CREndTime: 2022-05-30T14:14:22.000Z
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -6.8 IOB: 0.339 Activity: 0.0165 at 16:14:22 dev: 3.60 avgDelta: -3.25 csf
end carb absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -5.8 IOB: 0.262 Activity: 0.0141 at 16:19:21 dev: 2.60 avgDelta: -3.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -5.0 IOB: 0.197 Activity: 0.012 at 16:24:21 dev: 1.73 avgDelta: -3.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -4.2 IOB: 0.142 Activity: 0.0102 at 16:29:21 dev: 0.73 avgDelta: -3.50 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -3.5 IOB: 0.046 Activity: 0.0085 at 16:34:21 dev: 0.28 avgDelta: -3.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -2.8 IOB: -0.093 Activity: 0.0068 at 16:39:21 dev: -0.18 avgDelta: -3.00 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -2.2 IOB: -0.173 Activity: 0.0053 at 16:44:22 dev: -0.05 avgDelta: -2.25 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -1.6 IOB: -0.246 Activity: 0.0039 at 16:49:21 dev: -0.13 avgDelta: -1.75 ISF
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -1.0 IOB: -0.361 Activity: 0.0024 at 16:54:21 dev: -0.50 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.7 BGI: -0.5 IOB: -0.42 Activity: 0.0011 at 16:59:21 dev: -1.04 avgDelta: -1.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: 0.0 IOB: -0.474 Activity: -0.0001 at 17:04:21 dev: -1.29 avgDelta: -1.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: 0.5 IOB: -0.52 Activity: -0.0012 at 17:09:21 dev: -1.25 avgDelta: -0.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: 0.9 IOB: -0.611 Activity: -0.0023 at 17:14:22 dev: -1.20 avgDelta: -0.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: 1.3 IOB: -0.648 Activity: -0.0032 at 17:19:21 dev: -1.08 avgDelta: 0.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: 1.7 IOB: -0.68 Activity: -0.004 at 17:24:22 dev: -1.66 avgDelta: 0.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: 2.1 IOB: -0.755 Activity: -0.005 at 17:29:22 dev: -2.33 avgDelta: -0.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: 2.4 IOB: -0.778 Activity: -0.0058 at 17:34:22 dev: -3.16 avgDelta: -0.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: 2.7 IOB: -0.798 Activity: -0.0065 at 17:39:22 dev: -3.45 avgDelta: -0.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: 3.0 IOB: -0.863 Activity: -0.0072 at 17:44:22 dev: -3.24 avgDelta: -0.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: 3.2 IOB: -0.877 Activity: -0.0078 at 17:49:21 dev: -2.99 avgDelta: 0.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: 3.4 IOB: -0.887 Activity: -0.0082 at 17:54:22 dev: -2.40 avgDelta: 1.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.4 BGI: 3.7 IOB: -0.942 Activity: -0.0089 at 17:59:22 dev: -2.44 avgDelta: 1.25 basal
CRInitialIOB: -0.947 CRInitialBG: 87 CRInitialCarbTime: 2022-05-30T16:04:22.000Z
start carb absorption
0 mealCOB: 9.5 mealCarbs: 10 basalBGI: 5.4 BGI: 3.9 IOB: -0.947 Activity: -0.0093 at 18:04:22 dev: -1.61 avgDelta: 2.25 csf
0 mealCOB: 9.0 mealCarbs: 10 basalBGI: 5.4 BGI: 4.0 IOB: -0.949 Activity: -0.0097 at 18:09:22 dev: 0.47 avgDelta: 4.50 csf
0 mealCOB: 8.5 mealCarbs: 10 basalBGI: 5.4 BGI: 4.1 IOB: -0.78 Activity: -0.0098 at 18:14:22 dev: 3.43 avgDelta: 7.50 csf
0 mealCOB: 8.1 mealCarbs: 10 basalBGI: 5.4 BGI: 3.9 IOB: -0.682 Activity: -0.0095 at 18:19:22 dev: 6.31 avgDelta: 10.25 csf
0 mealCOB: 7.6 mealCarbs: 10 basalBGI: 5.4 BGI: 3.5 IOB: -0.097 Activity: -0.0084 at 18:24:21 dev: 7.51 avgDelta: 11.00 csf
0 mealCOB: 7.1 mealCarbs: 10 basalBGI: 5.4 BGI: 2.9 IOB: -0.108 Activity: -0.007 at 18:29:21 dev: 6.09 avgDelta: 9.00 csf
0 mealCOB: 6.6 mealCarbs: 10 basalBGI: 5.4 BGI: 2.5 IOB: -0.126 Activity: -0.006 at 18:34:22 dev: 2.76 avgDelta: 5.25 csf
0 mealCOB: 6.1 mealCarbs: 10 basalBGI: 5.4 BGI: 2.2 IOB: -0.198 Activity: -0.0053 at 18:39:21 dev: -0.95 avgDelta: 1.25 csf
0 mealCOB: 5.6 mealCarbs: 10 basalBGI: 5.4 BGI: 1.9 IOB: -0.223 Activity: -0.0047 at 18:44:22 dev: -3.45 avgDelta: -1.50 csf
0 mealCOB: 5.2 mealCarbs: 10 basalBGI: 5.4 BGI: 1.8 IOB: -0.25 Activity: -0.0044 at 18:49:21 dev: -4.33 avgDelta: -2.50 csf
0 mealCOB: 4.7 mealCarbs: 10 basalBGI: 5.4 BGI: 1.8 IOB: -0.328 Activity: -0.0044 at 18:54:22 dev: -4.58 avgDelta: -2.75 csf
0 mealCOB: 4.2 mealCarbs: 10 basalBGI: 5.4 BGI: 1.8 IOB: -0.356 Activity: -0.0043 at 18:59:22 dev: -3.78 avgDelta: -2.00 csf
0 mealCOB: 3.7 mealCarbs: 10 basalBGI: 5.6 BGI: 1.8 IOB: -0.386 Activity: -0.0043 at 19:04:21 dev: -3.03 avgDelta: -1.25 csf
0 mealCOB: 3.2 mealCarbs: 10 basalBGI: 5.6 BGI: 1.9 IOB: -0.463 Activity: -0.0046 at 19:09:22 dev: -2.91 avgDelta: -1.00 csf
0 mealCOB: 2.7 mealCarbs: 10 basalBGI: 5.6 BGI: 1.9 IOB: -0.44 Activity: -0.0047 at 19:14:22 dev: -2.45 avgDelta: -0.50 csf
0 mealCOB: 2.3 mealCarbs: 10 basalBGI: 5.6 BGI: 2.0 IOB: -0.416 Activity: -0.0048 at 19:19:22 dev: -2.24 avgDelta: -0.25 csf
0 mealCOB: 1.8 mealCarbs: 10 basalBGI: 5.6 BGI: 2.0 IOB: -0.392 Activity: -0.0049 at 19:24:22 dev: -1.78 avgDelta: 0.25 csf
0 mealCOB: 1.3 mealCarbs: 10 basalBGI: 5.6 BGI: 2.0 IOB: -0.368 Activity: -0.0048 at 19:29:21 dev: -0.99 avgDelta: 1.00 csf
0 mealCOB: 0.8 mealCarbs: 10 basalBGI: 5.6 BGI: 1.9 IOB: -0.344 Activity: -0.0047 at 19:34:21 dev: -0.45 avgDelta: 1.50 csf
0 mealCOB: 0.3 mealCarbs: 10 basalBGI: 5.6 BGI: 2.0 IOB: -0.37 Activity: -0.0048 at 19:39:22 dev: 0.01 avgDelta: 2.00 csf
CREndIOB: -0.346 CREndBG: 130 CREndTime: 2022-05-30T17:44:22.000Z
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.6 BGI: 1.9 IOB: -0.346 Activity: -0.0047 at 19:44:22 dev: 0.30 avgDelta: 2.25 csf
end carb absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.6 BGI: 1.9 IOB: -0.323 Activity: -0.0045 at 19:49:22 dev: 0.63 avgDelta: 2.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.6 BGI: 1.7 IOB: -0.201 Activity: -0.0042 at 19:54:22 dev: 0.76 avgDelta: 2.50 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.6 BGI: 1.6 IOB: -0.18 Activity: -0.0039 at 19:59:22 dev: 0.63 avgDelta: 2.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: 1.6 IOB: -0.261 Activity: -0.0038 at 20:04:22 dev: 0.17 avgDelta: 1.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: 1.5 IOB: -0.242 Activity: -0.0036 at 20:09:22 dev: 0.26 avgDelta: 1.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: 1.4 IOB: -0.225 Activity: -0.0035 at 20:14:21 dev: 0.80 avgDelta: 2.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: 1.4 IOB: -0.208 Activity: -0.0033 at 20:19:21 dev: 1.38 avgDelta: 2.75 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: 1.2 IOB: 0.048 Activity: -0.0028 at 20:24:22 dev: 2.09 avgDelta: 3.25 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: 0.9 IOB: 0.01 Activity: -0.0022 at 20:29:23 dev: 3.09 avgDelta: 4.00 basal
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: 0.6 IOB: 0.269 Activity: -0.0014 at 20:34:23 dev: 4.42 avgDelta: 5.00 basal
start uannnounced meal absorption
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: 0.1 IOB: 0.474 Activity: -0.0003 at 20:39:22 dev: 6.13 avgDelta: 6.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -1.0 IOB: 1.379 Activity: 0.0025 at 20:44:22 dev: 7.29 avgDelta: 6.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -2.1 IOB: 1.31 Activity: 0.005 at 20:49:23 dev: 7.33 avgDelta: 5.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -2.9 IOB: 1.229 Activity: 0.0069 at 20:54:23 dev: 6.61 avgDelta: 3.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -3.5 IOB: 1.141 Activity: 0.0083 at 20:59:22 dev: 5.45 avgDelta: 2.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -3.8 IOB: 1.048 Activity: 0.0091 at 21:04:22 dev: 5.28 avgDelta: 1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.0 IOB: 1 Activity: 0.0097 at 21:09:22 dev: 5.03 avgDelta: 1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.1 IOB: 0.902 Activity: 0.0099 at 21:14:22 dev: 4.86 avgDelta: 0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.1 IOB: 0.803 Activity: 0.0099 at 21:19:22 dev: 4.86 avgDelta: 0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.2 IOB: 1.047 Activity: 0.0102 at 21:24:21 dev: 4.98 avgDelta: 0.75 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.3 IOB: 0.941 Activity: 0.0104 at 21:29:22 dev: 5.32 avgDelta: 1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.5 IOB: 1.078 Activity: 0.0108 at 21:34:22 dev: 5.48 avgDelta: 1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.6 IOB: 0.978 Activity: 0.011 at 21:39:21 dev: 5.57 avgDelta: 1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.7 IOB: 1.112 Activity: 0.0114 at 21:44:21 dev: 5.23 avgDelta: 0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.9 IOB: 1.144 Activity: 0.0118 at 21:49:21 dev: 4.90 avgDelta: 0.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -5.0 IOB: 1.034 Activity: 0.012 at 21:54:21 dev: 4.48 avgDelta: -0.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.9 IOB: 0.921 Activity: 0.0119 at 21:59:22 dev: 3.94 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.8 IOB: 0.812 Activity: 0.0115 at 22:04:22 dev: 3.77 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.7 IOB: 0.809 Activity: 0.0112 at 22:09:21 dev: 3.65 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.4 IOB: 0.701 Activity: 0.0107 at 22:14:22 dev: 3.44 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.4 IOB: 0.881 Activity: 0.0105 at 22:19:21 dev: 3.36 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.3 IOB: 0.776 Activity: 0.0104 at 22:24:22 dev: 3.32 avgDelta: -1.00 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.3 IOB: 0.935 Activity: 0.0103 at 22:29:23 dev: 3.03 avgDelta: -1.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.3 IOB: 0.833 Activity: 0.0103 at 22:34:23 dev: 3.03 avgDelta: -1.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.2 IOB: 0.782 Activity: 0.0102 at 22:39:22 dev: 2.98 avgDelta: -1.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.2 IOB: 1.001 Activity: 0.0101 at 22:44:22 dev: 2.94 avgDelta: -1.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.3 IOB: 0.9 Activity: 0.0103 at 22:49:22 dev: 3.03 avgDelta: -1.25 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.3 IOB: 0.919 Activity: 0.0104 at 22:54:22 dev: 2.82 avgDelta: -1.50 uam
0 mealCOB: 0.0 mealCarbs: 0 basalBGI: 5.9 BGI: -4.3 IOB: 0.816 Activity: 0.0104 at 22:59:22 dev: 2.32 avgDelta: -2.00 uam
CRInitialIOB: 6.729 CRInitialBG: 163 CRInitialCarbTime: 2022-05-30T21:04:22.000Z
start carb absorption
1 mealCOB: 34.5 mealCarbs: 35 basalBGI: 5.8 BGI: -6.6 IOB: 6.729 Activity: 0.016 at 23:04:22 dev: 4.14 avgDelta: -2.50 csf
1 mealCOB: 34.0 mealCarbs: 35 basalBGI: 5.8 BGI: -11.7 IOB: 6.567 Activity: 0.0282 at 23:09:22 dev: 9.20 avgDelta: -2.50 csf
1 mealCOB: 33.1 mealCarbs: 35 basalBGI: 5.8 BGI: -15.5 IOB: 6.302 Activity: 0.0374 at 23:14:23 dev: 13.77 avgDelta: -1.75 csf
1 mealCOB: 32.0 mealCarbs: 35 basalBGI: 5.8 BGI: -18.4 IOB: 6.047 Activity: 0.0443 at 23:19:22 dev: 18.64 avgDelta: 0.25 csf
1 mealCOB: 30.6 mealCarbs: 35 basalBGI: 5.8 BGI: -20.5 IOB: 5.862 Activity: 0.0494 at 23:24:23 dev: 23.75 avgDelta: 3.25 csf
1 mealCOB: 28.8 mealCarbs: 35 basalBGI: 5.8 BGI: -21.9 IOB: 5.506 Activity: 0.0527 at 23:29:22 dev: 28.37 avgDelta: 6.50 csf
1 mealCOB: 27.0 mealCarbs: 35 basalBGI: 5.8 BGI: -22.8 IOB: 5.346 Activity: 0.055 at 23:34:22 dev: 30.33 avgDelta: 7.50 csf
1 mealCOB: 25.3 mealCarbs: 35 basalBGI: 5.8 BGI: -23.4 IOB: 5.017 Activity: 0.0563 at 23:39:22 dev: 28.62 avgDelta: 5.25 csf
1 mealCOB: 23.8 mealCarbs: 35 basalBGI: 5.8 BGI: -23.3 IOB: 4.636 Activity: 0.0562 at 23:44:22 dev: 24.58 avgDelta: 1.25 csf
1 mealCOB: 22.6 mealCarbs: 35 basalBGI: 5.8 BGI: -23.1 IOB: 4.307 Activity: 0.0556 at 23:49:21 dev: 20.58 avgDelta: -2.50 csf
1 mealCOB: 21.4 mealCarbs: 35 basalBGI: 5.8 BGI: -22.5 IOB: 3.932 Activity: 0.0542 at 23:54:22 dev: 18.75 avgDelta: -3.75 csf
1 mealCOB: 20.2 mealCarbs: 35 basalBGI: 5.8 BGI: -21.7 IOB: 3.616 Activity: 0.0523 at 23:59:22 dev: 19.96 avgDelta: -1.75 csf
1 mealCOB: 18.9 mealCarbs: 35 basalBGI: 6.8 BGI: -20.8 IOB: 3.309 Activity: 0.0501 at 00:04:22 dev: 21.80 avgDelta: 1.00 csf
1 mealCOB: 17.5 mealCarbs: 35 basalBGI: 6.8 BGI: -19.7 IOB: 2.965 Activity: 0.0475 at 00:09:22 dev: 22.47 avgDelta: 2.75 csf
1 mealCOB: 16.2 mealCarbs: 35 basalBGI: 6.8 BGI: -18.6 IOB: 2.735 Activity: 0.0449 at 00:14:21 dev: 21.64 avgDelta: 3.00 csf
1 mealCOB: 15.1 mealCarbs: 35 basalBGI: 6.8 BGI: -17.5 IOB: 2.467 Activity: 0.0421 at 00:19:22 dev: 19.22 avgDelta: 1.75 csf
1 mealCOB: 14.1 mealCarbs: 35 basalBGI: 6.8 BGI: -16.3 IOB: 2.163 Activity: 0.0392 at 00:24:22 dev: 16.52 avgDelta: 0.25 csf
1 mealCOB: 13.2 mealCarbs: 35 basalBGI: 6.8 BGI: -15.0 IOB: 1.875 Activity: 0.0362 at 00:29:22 dev: 13.78 avgDelta: -1.25 csf
1 mealCOB: 12.5 mealCarbs: 35 basalBGI: 6.8 BGI: -13.8 IOB: 1.65 Activity: 0.0333 at 00:34:22 dev: 11.57 avgDelta: -2.25 csf
1 mealCOB: 11.9 mealCarbs: 35 basalBGI: 6.8 BGI: -12.6 IOB: 1.443 Activity: 0.0303 at 00:39:22 dev: 9.83 avgDelta: -2.75 csf
1 mealCOB: 11.4 mealCarbs: 35 basalBGI: 6.8 BGI: -11.4 IOB: 1.248 Activity: 0.0275 at 00:44:22 dev: 8.41 avgDelta: -3.00 csf
1 mealCOB: 10.9 mealCarbs: 35 basalBGI: 6.8 BGI: -10.3 IOB: 1.067 Activity: 0.0249 at 00:49:21 dev: 7.59 avgDelta: -2.75 csf
1 mealCOB: 10.5 mealCarbs: 35 basalBGI: 6.8 BGI: -9.3 IOB: 0.899 Activity: 0.0224 at 00:54:22 dev: 6.80 avgDelta: -2.50 csf
0 mealCOB: 10.0 mealCarbs: 35 basalBGI: 6.9 BGI: -0.9 IOB: 0.081 Activity: 0.0022 at 02:59:22 dev: -13.09 avgDelta: -14.00 csf
0 mealCOB: 9.5 mealCarbs: 35 basalBGI: 7.8 BGI: -0.9 IOB: 0.3 Activity: 0.0023 at 03:04:22 dev: -13.30 avgDelta: -14.25 csf
0 mealCOB: 9.0 mealCarbs: 35 basalBGI: 7.8 BGI: -1.0 IOB: 0.238 Activity: 0.0024 at 03:09:22 dev: -14.00 avgDelta: -15.00 csf
0 mealCOB: 8.5 mealCarbs: 35 basalBGI: 7.8 BGI: -1.0 IOB: 0.176 Activity: 0.0024 at 03:14:22 dev: -14.50 avgDelta: -15.50 csf
0 mealCOB: 8.0 mealCarbs: 35 basalBGI: 7.8 BGI: -0.9 IOB: 0.064 Activity: 0.0022 at 03:19:22 dev: -3.09 avgDelta: -4.00 csf
0 mealCOB: 7.6 mealCarbs: 35 basalBGI: 7.8 BGI: -0.8 IOB: -0.046 Activity: 0.0018 at 03:24:22 dev: -1.75 avgDelta: -2.50 csf
0 mealCOB: 7.1 mealCarbs: 35 basalBGI: 7.8 BGI: -0.5 IOB: -0.104 Activity: 0.0013 at 03:29:21 dev: 0.54 avgDelta: 0.00 csf
0 mealCOB: 6.6 mealCarbs: 35 basalBGI: 7.8 BGI: -0.5 IOB: 0.16 Activity: 0.0012 at 03:34:22 dev: 2.50 avgDelta: 2.00 csf
0 mealCOB: 6.1 mealCarbs: 35 basalBGI: 7.8 BGI: -0.6 IOB: 0.254 Activity: 0.0014 at 03:39:22 dev: 4.08 avgDelta: 3.50 csf
0 mealCOB: 5.6 mealCarbs: 35 basalBGI: 7.8 BGI: -0.7 IOB: 0.246 Activity: 0.0017 at 03:44:22 dev: 3.21 avgDelta: 2.50 csf
0 mealCOB: 5.1 mealCarbs: 35 basalBGI: 7.8 BGI: -0.8 IOB: 0.236 Activity: 0.002 at 03:49:23 dev: 0.83 avgDelta: 0.00 csf
CREndIOB: 0.177 CREndBG: 103 CREndTime: 2022-05-31T01:54:22.000Z
Ignoring 290 m CR period.
0 mealCOB: 4.6 mealCarbs: 35 basalBGI: 7.8 BGI: -0.8 IOB: 0.177 Activity: 0.002 at 03:54:22 dev: -2.42 avgDelta: -3.25 csf
Found at least 1h of carb absorption: assuming all meals were announced, and categorizing UAM data as basal.
oref0-autotune-core autotune.2022-05-30.json profile.json profile.pump.json > newprofile.2022-05-30.json
CRTotalCarbs: 125 CRTotalInsulin: 25.516 totalCR: 4.899
Hour 0 total deviations: 0 mg/dL
Hour 0 basal adjustment needed: 0 U/hr
Hour 1 total deviations: 0 mg/dL
Hour 1 basal adjustment needed: 0 U/hr
Hour 2 total deviations: 0 mg/dL
Hour 2 basal adjustment needed: 0 U/hr
Hour 3 total deviations: 0 mg/dL
Hour 3 basal adjustment needed: 0 U/hr
Hour 4 total deviations: -22.37 mg/dL
Hour 4 basal adjustment needed: -0.05 U/hr
Hour 5 total deviations: 18.75 mg/dL
Hour 5 basal adjustment needed: 0.05 U/hr
Hour 6 total deviations: 0 mg/dL
Hour 6 basal adjustment needed: 0 U/hr
Hour 7 total deviations: -1.42 mg/dL
Hour 7 basal adjustment needed: 0 U/hr
Hour 8 total deviations: -0.92 mg/dL
Hour 8 basal adjustment needed: 0 U/hr
Hour 9 total deviations: 0 mg/dL
Hour 9 basal adjustment needed: 0 U/hr
Hour 10 total deviations: 0 mg/dL
Hour 10 basal adjustment needed: 0 U/hr
Hour 11 total deviations: 0 mg/dL
Hour 11 basal adjustment needed: 0 U/hr
Hour 12 total deviations: -27.01 mg/dL
Hour 12 basal adjustment needed: -0.07 U/hr
Hour 13 total deviations: 0 mg/dL
Hour 13 basal adjustment needed: 0 U/hr
Hour 14 total deviations: 0 mg/dL
Hour 14 basal adjustment needed: 0 U/hr
Hour 15 total deviations: 0 mg/dL
Hour 15 basal adjustment needed: 0 U/hr
Hour 16 total deviations: -1.54 mg/dL
Hour 16 basal adjustment needed: 0 U/hr
Hour 17 total deviations: -26.49 mg/dL
Hour 17 basal adjustment needed: -0.06 U/hr
Hour 18 total deviations: 0 mg/dL
Hour 18 basal adjustment needed: 0 U/hr
Hour 19 total deviations: 2.02 mg/dL
Hour 19 basal adjustment needed: 0 U/hr
Hour 20 total deviations: 45.02 mg/dL
Hour 20 basal adjustment needed: 0.11 U/hr
Hour 21 total deviations: 59.93 mg/dL
Hour 21 basal adjustment needed: 0.14 U/hr
Hour 22 total deviations: 37.69 mg/dL
Hour 22 basal adjustment needed: 0.09 U/hr
Hour 23 total deviations: 0 mg/dL
Hour 23 basal adjustment needed: 0 U/hr
Limiting hour 18 basal to 0.84 (which is 1.3 * pump basal of 0.648 )
Adjusting hour 0 basal from 0.977 to 0.979 based on hour 0 = 0.979 and hour 1 = 0.995
Adjusting hour 5 basal from 0.877 to 0.883 based on hour 4 = 0.954 and hour 9 = 0.855
Adjusting hour 6 basal from 0.779 to 0.804 based on hour 4 = 0.954 and hour 9 = 0.855
Adjusting hour 7 basal from 0.827 to 0.843 based on hour 4 = 0.954 and hour 9 = 0.855
Adjusting hour 8 basal from 0.882 to 0.887 based on hour 4 = 0.954 and hour 9 = 0.855
Adjusting hour 12 basal from 0.86 to 0.856 based on hour 11 = 0.844 and hour 14 = 0.835
Adjusting hour 13 basal from 0.858 to 0.854 based on hour 11 = 0.844 and hour 14 = 0.835
Adjusting hour 22 basal from 0.849 to 0.851 based on hour 21 = 0.879 and hour 23 = 0.843
Adjusting hour 23 basal from 0.843 to 0.847 based on hour 21 = 0.879 and hour 23 = 0.847
[ { i: 0, minutes: 0, rate: 0.979, start: '00:00:00', untuned: 5 },
{ i: 1, minutes: 60, rate: 0.995, start: '01:00:00', untuned: 1 },
{ i: 2, minutes: 120, rate: 0.997, start: '02:00:00' },
{ i: 3, minutes: 180, rate: 1.129, start: '03:00:00' },
{ i: 4, minutes: 240, rate: 0.954, start: '04:00:00' },
{ i: 5, minutes: 300, rate: 0.883, start: '05:00:00', untuned: 1 },
{ i: 6, minutes: 360, rate: 0.804, start: '06:00:00', untuned: 1 },
{ i: 7, minutes: 420, rate: 0.843, start: '07:00:00', untuned: 2 },
{ i: 8, minutes: 480, rate: 0.887, start: '08:00:00', untuned: 2 },
{ i: 9, minutes: 540, rate: 0.855, start: '09:00:00', untuned: 5 },
{ i: 10, minutes: 600, rate: 0.856, start: '10:00:00', untuned: 5 },
{ i: 11, minutes: 660, rate: 0.844, start: '11:00:00', untuned: 5 },
{ i: 12, minutes: 720, rate: 0.856, start: '12:00:00', untuned: 6 },
{ i: 13, minutes: 780, rate: 0.854, start: '13:00:00', untuned: 6 },
{ i: 14, minutes: 840, rate: 0.835, start: '14:00:00', untuned: 5 },
{ i: 15, minutes: 900, rate: 0.83, start: '15:00:00', untuned: 5 },
{ i: 16, minutes: 960, rate: 0.801, start: '16:00:00', untuned: 5 },
{ i: 17,
minutes: 1020,
rate: 0.821,
start: '17:00:00',
untuned: 5 },
{ i: 18,
minutes: 1080,
rate: 0.842,
start: '18:00:00',
untuned: 4 },
{ i: 19,
minutes: 1140,
rate: 0.929,
start: '19:00:00',
untuned: 4 },
{ i: 20,
minutes: 1200,
rate: 0.931,
start: '20:00:00',
untuned: 3 },
{ i: 21,
minutes: 1260,
rate: 0.879,
start: '21:00:00',
untuned: 4 },
{ i: 22,
minutes: 1320,
rate: 0.851,
start: '22:00:00',
untuned: 5 },
{ i: 23,
minutes: 1380,
rate: 0.847,
start: '23:00:00',
untuned: 5 } ]
totalMealCarbs: 135 totalDeviations: 2117.06 oldCSF 16.533 fullNewCSF: 15.68 newCSF: 16.363
oldCR: 5.021 fullNewCR: 4.899 newCR: 4.997
Limiting adjusted ISF of 57.94 to 66.31 (which is pump ISF of 86.2 / 1.3 )
p50deviation: 0.815 p50BGI -2.885 p50ratios: 0.698 Old ISF: 83.014 fullNewISF: 57.944 adjustedISF: 66.308 newISF: 79.673 newDIA: 6 newPeak: 45
Autotune pump profile recommendations:
---------------------------------------------------------
Recommendations Log File: /home/titi/aaps/autotune/autotune_recommendations.log
Parameter | Pump | Autotune | Days Missing
---------------------------------------------------------
ISF [mg/dL/U] | 86.200 | 79.673 |
Carb Ratio[g/U]| 5.750 | 4.997 |
00:00 | 0.966 | 0.979 | 5
01:00 | 0.977 | 0.995 | 1
02:00 | 0.971 | 0.997 | 0
03:00 | 1.111 | 1.129 | 0
04:00 | 0.974 | 0.954 | 0
05:00 | 0.923 | 0.883 | 1
06:00 | 0.823 | 0.804 | 1
07:00 | 0.855 | 0.843 | 2
08:00 | 0.902 | 0.887 | 2
09:00 | 0.934 | 0.855 | 5
10:00 | 0.938 | 0.856 | 5
11:00 | 0.903 | 0.844 | 5
12:00 | 0.882 | 0.856 | 6
13:00 | 0.874 | 0.854 | 6
14:00 | 0.866 | 0.835 | 5
15:00 | 0.848 | 0.830 | 5
16:00 | 0.758 | 0.801 | 5
17:00 | 0.650 | 0.821 | 5
18:00 | 0.648 | 0.842 | 4
19:00 | 0.738 | 0.929 | 4
20:00 | 0.847 | 0.931 | 3
21:00 | 0.861 | 0.879 | 4
22:00 | 0.863 | 0.851 | 5
23:00 | 0.843 | 0.847 | 5
Query: https://xxxxxxxxxxxx.com entries/sgv.json find%5Bdate%5D%5B%24gte%5D=1653962400000&find%5Bdate%5D%5B%24lte%5D=1654048800000&count=1500
-rw-r--r-- 1 titi titi 82239 Jun 25 19:54 ns-entries.2022-05-31.json
Query: https://xxxxxxxxxxxx.com treatments.json find%5Bcreated_at%5D%5B%24gte%5D=2022-05-30T06:00+02:00&find%5Bcreated_at%5D%5B%24lte%5D=2022-06-01T18:00+02:00
-rw-r--r-- 1 titi titi 231419 Jun 25 19:54 ns-treatments.2022-05-31.json
Log information after 2022-05-30 removed for unit test

View file

@ -0,0 +1,194 @@
{
"autosens_max": 1.3,
"autosens_min": 0.7,
"basalprofile": [
{
"i": 0,
"minutes": 0,
"rate": 0.979,
"start": "00:00:00",
"untuned": 5
},
{
"i": 1,
"minutes": 60,
"rate": 0.995,
"start": "01:00:00",
"untuned": 1
},
{
"i": 2,
"minutes": 120,
"rate": 0.997,
"start": "02:00:00"
},
{
"i": 3,
"minutes": 180,
"rate": 1.129,
"start": "03:00:00"
},
{
"i": 4,
"minutes": 240,
"rate": 0.954,
"start": "04:00:00"
},
{
"i": 5,
"minutes": 300,
"rate": 0.883,
"start": "05:00:00",
"untuned": 1
},
{
"i": 6,
"minutes": 360,
"rate": 0.804,
"start": "06:00:00",
"untuned": 1
},
{
"i": 7,
"minutes": 420,
"rate": 0.843,
"start": "07:00:00",
"untuned": 2
},
{
"i": 8,
"minutes": 480,
"rate": 0.887,
"start": "08:00:00",
"untuned": 2
},
{
"i": 9,
"minutes": 540,
"rate": 0.855,
"start": "09:00:00",
"untuned": 5
},
{
"i": 10,
"minutes": 600,
"rate": 0.856,
"start": "10:00:00",
"untuned": 5
},
{
"i": 11,
"minutes": 660,
"rate": 0.844,
"start": "11:00:00",
"untuned": 5
},
{
"i": 12,
"minutes": 720,
"rate": 0.856,
"start": "12:00:00",
"untuned": 6
},
{
"i": 13,
"minutes": 780,
"rate": 0.854,
"start": "13:00:00",
"untuned": 6
},
{
"i": 14,
"minutes": 840,
"rate": 0.835,
"start": "14:00:00",
"untuned": 5
},
{
"i": 15,
"minutes": 900,
"rate": 0.83,
"start": "15:00:00",
"untuned": 5
},
{
"i": 16,
"minutes": 960,
"rate": 0.801,
"start": "16:00:00",
"untuned": 5
},
{
"i": 17,
"minutes": 1020,
"rate": 0.821,
"start": "17:00:00",
"untuned": 5
},
{
"i": 18,
"minutes": 1080,
"rate": 0.842,
"start": "18:00:00",
"untuned": 4
},
{
"i": 19,
"minutes": 1140,
"rate": 0.929,
"start": "19:00:00",
"untuned": 4
},
{
"i": 20,
"minutes": 1200,
"rate": 0.931,
"start": "20:00:00",
"untuned": 3
},
{
"i": 21,
"minutes": 1260,
"rate": 0.879,
"start": "21:00:00",
"untuned": 4
},
{
"i": 22,
"minutes": 1320,
"rate": 0.851,
"start": "22:00:00",
"untuned": 5
},
{
"i": 23,
"minutes": 1380,
"rate": 0.847,
"start": "23:00:00",
"untuned": 5
}
],
"carb_ratio": 4.997,
"csf": 16.363,
"curve": "ultra-rapid",
"dia": 6,
"insulinPeakTime": 45,
"isfProfile": {
"sensitivities": [
{
"endoffset": 1440,
"i": 0,
"offset": 0,
"sensitivity": 79.673,
"start": "00:00:00",
"x": 0
}
]
},
"min_5m_carbimpact": 8,
"name": "Tuned Dyn2",
"sens": 79.673,
"timezone": "Europe/Paris",
"units": "mg/dl",
"useCustomPeakTime": true
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,192 @@
{
"autosens_max": 1.3,
"autosens_min": 0.7,
"basalprofile": [
{
"i": 0,
"minutes": 0,
"rate": 0.977,
"start": "00:00:00",
"untuned": 4
},
{
"i": 1,
"minutes": 60,
"rate": 1.011,
"start": "01:00:00",
"untuned": 1
},
{
"i": 2,
"minutes": 120,
"rate": 0.996,
"start": "02:00:00"
},
{
"i": 3,
"minutes": 180,
"rate": 1.13,
"start": "03:00:00"
},
{
"i": 4,
"minutes": 240,
"rate": 0.937,
"start": "04:00:00"
},
{
"i": 5,
"minutes": 300,
"rate": 0.877,
"start": "05:00:00"
},
{
"i": 6,
"minutes": 360,
"rate": 0.779,
"start": "06:00:00"
},
{
"i": 7,
"minutes": 420,
"rate": 0.827,
"start": "07:00:00",
"untuned": 1
},
{
"i": 8,
"minutes": 480,
"rate": 0.882,
"start": "08:00:00",
"untuned": 1
},
{
"i": 9,
"minutes": 540,
"rate": 0.878,
"start": "09:00:00",
"untuned": 5
},
{
"i": 10,
"minutes": 600,
"rate": 0.879,
"start": "10:00:00",
"untuned": 5
},
{
"i": 11,
"minutes": 660,
"rate": 0.867,
"start": "11:00:00",
"untuned": 5
},
{
"i": 12,
"minutes": 720,
"rate": 0.86,
"start": "12:00:00",
"untuned": 5
},
{
"i": 13,
"minutes": 780,
"rate": 0.858,
"start": "13:00:00",
"untuned": 5
},
{
"i": 14,
"minutes": 840,
"rate": 0.855,
"start": "14:00:00",
"untuned": 5
},
{
"i": 15,
"minutes": 900,
"rate": 0.85,
"start": "15:00:00",
"untuned": 5
},
{
"i": 16,
"minutes": 960,
"rate": 0.82,
"start": "16:00:00",
"untuned": 5
},
{
"i": 17,
"minutes": 1020,
"rate": 0.784,
"start": "17:00:00",
"untuned": 5
},
{
"i": 18,
"minutes": 1080,
"rate": 0.778,
"start": "18:00:00",
"untuned": 4
},
{
"i": 19,
"minutes": 1140,
"rate": 0.815,
"start": "19:00:00",
"untuned": 4
},
{
"i": 20,
"minutes": 1200,
"rate": 0.854,
"start": "20:00:00",
"untuned": 3
},
{
"i": 21,
"minutes": 1260,
"rate": 0.849,
"start": "21:00:00",
"untuned": 4
},
{
"i": 22,
"minutes": 1320,
"rate": 0.849,
"start": "22:00:00",
"untuned": 4
},
{
"i": 23,
"minutes": 1380,
"rate": 0.843,
"start": "23:00:00",
"untuned": 4
}
],
"carb_ratio": 5.021,
"csf": 15.669,
"curve": "ultra-rapid",
"dia": 6,
"insulinPeakTime": 45,
"isfProfile": {
"sensitivities": [
{
"endoffset": 1440,
"i": 0,
"offset": 0,
"sensitivity": 83.014,
"start": "00:00:00",
"x": 0
}
]
},
"min_5m_carbimpact": 8,
"name": "Tuned Dyn2",
"sens": 83.014,
"timezone": "Europe/Paris",
"units": "mg/dl",
"useCustomPeakTime": true
}

View file

@ -0,0 +1,147 @@
{
"name": "Tuned Dyn2",
"min_5m_carbimpact": 8,
"dia": 6,
"curve": "ultra-rapid",
"useCustomPeakTime": true,
"insulinPeakTime": 45,
"basalprofile": [
{
"start": "00:00:00",
"minutes": 0,
"rate": 0.966
},
{
"start": "01:00:00",
"minutes": 60,
"rate": 0.977
},
{
"start": "02:00:00",
"minutes": 120,
"rate": 0.971
},
{
"start": "03:00:00",
"minutes": 180,
"rate": 1.111
},
{
"start": "04:00:00",
"minutes": 240,
"rate": 0.974
},
{
"start": "05:00:00",
"minutes": 300,
"rate": 0.923
},
{
"start": "06:00:00",
"minutes": 360,
"rate": 0.823
},
{
"start": "07:00:00",
"minutes": 420,
"rate": 0.855
},
{
"start": "08:00:00",
"minutes": 480,
"rate": 0.902
},
{
"start": "09:00:00",
"minutes": 540,
"rate": 0.934
},
{
"start": "10:00:00",
"minutes": 600,
"rate": 0.938
},
{
"start": "11:00:00",
"minutes": 660,
"rate": 0.903
},
{
"start": "12:00:00",
"minutes": 720,
"rate": 0.882
},
{
"start": "13:00:00",
"minutes": 780,
"rate": 0.874
},
{
"start": "14:00:00",
"minutes": 840,
"rate": 0.866
},
{
"start": "15:00:00",
"minutes": 900,
"rate": 0.848
},
{
"start": "16:00:00",
"minutes": 960,
"rate": 0.758
},
{
"start": "17:00:00",
"minutes": 1020,
"rate": 0.65
},
{
"start": "18:00:00",
"minutes": 1080,
"rate": 0.648
},
{
"start": "19:00:00",
"minutes": 1140,
"rate": 0.738
},
{
"start": "20:00:00",
"minutes": 1200,
"rate": 0.847
},
{
"start": "21:00:00",
"minutes": 1260,
"rate": 0.861
},
{
"start": "22:00:00",
"minutes": 1320,
"rate": 0.863
},
{
"start": "23:00:00",
"minutes": 1380,
"rate": 0.843
}
],
"isfProfile": {
"sensitivities": [
{
"i": 0,
"start": "00:00:00",
"sensitivity": 86.2,
"offset": 0,
"x": 0,
"endoffset": 1440
}
]
},
"carb_ratio": 5.75,
"autosens_max": 1.3,
"autosens_min": 0.7,
"units": "mg/dl",
"timezone": "Europe/Paris"
}

View file

@ -15,6 +15,13 @@ dependencies {
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0' androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
} }
tasks.matching { it instanceof Test }.all {
//testLogging.events = ["failed", "skipped", "started"]
// use to display stdout in travis
testLogging.events = ["failed", "skipped", "started", "standard_out"]
testLogging.exceptionFormat = "full"
}
android { android {
testOptions { testOptions {
unitTests { unitTests {