Coder Social home page Coder Social logo

Comments (14)

Tornado-Tim avatar Tornado-Tim commented on July 28, 2024

The Bolus Calculator is a very basic equation, the carbs requirement announcement is based off the reference design which is much more complex. The two should not be compared.

from androidaps.

osodebailar avatar osodebailar commented on July 28, 2024

Maybe the Both Basics of the calculation are different.
But in the End that Must be the Same .
I Know Some Patents who Told me the same question why we have an incosistenze here.

from androidaps.

guydavies avatar guydavies commented on July 28, 2024

That's not how maths works! if you have two calculations, one based on the situation right now (the bolus calculator) and one based on now plus future predictions (the carbs needed) the likelihood of them coming to the same conclusion is negligible. That's like life. Those with different amounts of information on which to base their decisions in the same situation would come to a different conclusion. Trying to make them the same would require massive "fudge factors".

from androidaps.

osodebailar avatar osodebailar commented on July 28, 2024

And what will you das to a normal User who Must Decide what to do?
A children for example ?
Math Works different ok, But that is Not interessting for a normal User.
Its definitiv wrong for the User to decide , taken a bolus of 1 Unit or eating 10g Carbs.
Thats very very confusing for Other People and Not the Right way.

from androidaps.

osodebailar avatar osodebailar commented on July 28, 2024

If there is no other way , than we have to make it very clear for every person that is only a proposal and can be wrong.
Maybe we can disable the feature by default
For me I decided in the past to stop carb suggestion, because all suggestions were wrong for me.

from androidaps.

guydavies avatar guydavies commented on July 28, 2024

from androidaps.

osodebailar avatar osodebailar commented on July 28, 2024

Than we had to make it very clear for all People.
My proposal is disabling the Feature by gefault and if the User enables the Featurehe Clan read a explanation that this is only a Suggestion and can be wrong Every time

from androidaps.

Tornado-Tim avatar Tornado-Tim commented on July 28, 2024

I am somewhat surprised we are needing to have this discussion. APS as the name implies that the algorithm is taking care things for you. The Carb notification feature is by design a safety feature as it warns the person that the algorithm cant 0 temp its way out of a probable/possible hypo. It should not be disabled by default.

Comparing oref required carbs to the most simplest bolus calculation is simply illogical.
The bolus wizard as it's name implies is to calculate a bolus, not calculate required carbs or treatment carbs. Sure it can do this, but you should never take a number at face value. The tool should not be used blindly (nor should it be used blindly on a normal pump for that matter), its just simply to help calculate a bolus when it comes to eating/ and if necessary (in open loop/LGS) correcting.

Bolus Calculator = Manual Control

APS = Automatic

from androidaps.

osodebailar avatar osodebailar commented on July 28, 2024

You see we need the discussion . Here we have the first person who detect the inconsistency and make an issue.
Other people also detect it . I myself know a mother and she ask me for her daughter for a while about this and what to do ?
My answer was : ignore the carb suggestion and do what you every done in the past and what worked.
And that was the best way for her.
If bolus calculate and algo differ in its result , we can detect it and inform the user, maybe in the carb suggestion that the system detects a different result .

from androidaps.

Tornado-Tim avatar Tornado-Tim commented on July 28, 2024

Going onto a APS system requires learning and changing the way of managing diabetes. The carb required notifications were developed for a reason.

If the bolus wizard is going to be used all the time to determine treatment decisions, you are effectively fighting the oref algorithm which is dosing insulin automatically.

Ultimately it comes down to this, you have enlisted the help and putting trust into a DIY APS system which has the reference design at its core. This means letting go of some of the control so the algorithm can do it for you (that was its principle design on why it was developed).

You can not micromanage via bolus wizard with an APS system as you will end up fighting the algorithm and highlight situations such as the above.

The Bolus Wizard has no fancy algorithm behind it, it does not run constantly. Infact the Bolus Wizard Preview plugin is recommended to be disabled in Nightscout for that very reason. The 2 values should not be compared.

This topic really comes down to an issue of trust.

Trusting the oref algorithm to do its thing as its running 24/7 or a manual instantaneous tool which has no APS integration at all (which well predates APS).

I for myself use the bolus wizard, but I also take it with allot of salt too. APS just fills in the gaps for me.

from androidaps.

osodebailar avatar osodebailar commented on July 28, 2024

You are Right from the technical side.
But this is diffcult to tell to a non technical User , especially to a Child for example.

I Think we had to make it more clear in the documentation, and on the Other side Tell the Users in the app if possible, that the Suggestions , one in the Calc and the other one in the algo ( Carb suggestion) differs and the decision therefore what to do must be taken more carefully .
That can be done with an additional Text or color in the calc, if difference were detected.

from androidaps.

MilosKozak avatar MilosKozak commented on July 28, 2024

The meaning of the results is different:
Wizard tells you what to do to be in range after DIA [h] (which is perfectly OK when calculating food)
Announcement is describing current situation

from androidaps.

rachelwoods162 avatar rachelwoods162 commented on July 28, 2024

Thank you all very much for all of the comments. Going forward from here:

I see that the carbs required uses oref1, which takes into account current and future predictions. Bolus calculator is more simplistic, and tells you what to do right now to ensure that when calculating a meal you will end up in range after DIA. Personally, I am fine with these being different, but the first place I went to look for information (the docs) does not explain this. Would it be reasonable for me (or you, if you prefer?) to add the clarification to the docs, raise a PR, and close this as an issue? Or should I leave the issue open pending further discussion?

from androidaps.

MilosKozak avatar MilosKozak commented on July 28, 2024

you can create PR to docs. or send text to any of devs

from androidaps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.