AndroidAPS icon indicating copy to clipboard operation
AndroidAPS copied to clipboard

[DEV] Error "Profile sensitivity value" is out of hard limits when enabling "Dynamic sensitivity"

Open olorinmaia opened this issue 1 year ago • 9 comments

AAPS 3.3.0-dev-a Build: 9c327b4e4c-2024.02.17 Logs: AndroidAPS_LOG_1708209853078.log.zip

Step-by-step to reproduce:

  1. Start with "Dynamic sensitivity" disabled in SMB plugin. Run a loop or two.
  2. Enable "Dynamic sensitivity". Execute loop, either on next loop run or manually via Loop plugin. Error should pop up.
  3. After error, when next BG arrive then automatic looprun returns no error.

Can't see any issues with profile values.

Screenshots: image image image image

olorinmaia avatar Feb 18 '24 15:02 olorinmaia

Same to me. Did you also switch from another AAPS-development-idea to the original dev-version? NSv3 Full Sync doesn't help if you want to get all data e.g. older than 10 days.

Heiner1 avatar Feb 18 '24 15:02 Heiner1

No, this is a long running test-rig which I regularly update to latest dev. I've noticed the error many times before, but now I found a way to reproduce it, and it will be easier to find out what's causing it :)

olorinmaia avatar Feb 18 '24 15:02 olorinmaia

I'll try to reproduce it the same way.

Heiner1 avatar Feb 18 '24 15:02 Heiner1

You're right, error message is reproducable, exactly the same behaviour. For me the difference is now: DynISF Loop is running again. Bevor I got more error messages and no falling back to normal SMB mode - loop had been deactivated. So I think it has something to do with database? AndroidAPS.log

Heiner1 avatar Feb 18 '24 16:02 Heiner1

I came across that message a lot in the recent days. I was focused on some other topic and did not drill down to base reason. However, my impression was that the message text is very misleading because it seems related to variable_sens as used in DynamicISF and has nothing to do with the pump profile sensitivity. If not yet calculated then variabale_sens may get assigned 0.0 or 1.0 which triggers the message. If assigning 100.0 when not used or not yet calculated then there was no message.

ga-zelle avatar Feb 18 '24 17:02 ga-zelle

Step-by-step to reproduce:

Confirming, Seeing the same on current dev#9c327b4e

vanelsberg avatar Feb 20 '24 10:02 vanelsberg

it's the same issue of mine :

https://github.com/nightscout/AndroidAPS/issues/3192

lostboy86 avatar Feb 20 '24 17:02 lostboy86

Is there a way to work around this or stop the error from happening?

robinsondan87 avatar Jun 17 '24 19:06 robinsondan87

Step-by-step to reproduce

Confirming. Have also been seeing this some time ago. Looks like your repro...

vanelsberg avatar Jun 18 '24 13:06 vanelsberg

still there?

MilosKozak avatar Nov 13 '24 13:11 MilosKozak

Yes. Do you need fresh logs?

olorinmaia avatar Nov 13 '24 16:11 olorinmaia

yes pls

MilosKozak avatar Nov 14 '24 11:11 MilosKozak

Sharing logs and a screenshot. Same steps to reproduce as in original description of issue.

AndroidAPS_LOG_1731769511492.log.zip image

olorinmaia avatar Nov 16 '24 18:11 olorinmaia

fixed in https://github.com/nightscout/AndroidAPS/commit/80fd9e4d8be5f72858954b491675bc92f14a07e7

MilosKozak avatar Nov 27 '24 13:11 MilosKozak