Skip to content

Regarding the maxCOBPredBG calculation logic in the DetermineBasalSMB algorithm #1474

@doudou-ux

Description

@doudou-ux

As highlighted in the red box:The code is comparing with maxIOBPredBG rather than maxCOBPredBG when recording the maximum COB prediction.

My questions are:
1、Is this an intentional design choice to only record COB predictions that exceed the maximum IOB prediction? Or should it have been comparing COBpredBG > maxCOBPredBG to simply track the absolute maximum of COB predictions?
2、2、If this is intentional, what is the purpose of this design? Is it to highlight the additional blood glucose rise caused by carbohydrates?

I appreciate your insights on this matter.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions