You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an internet latency problem. I'm not sure we're going to be able to avoid it entirely (though I have one idea that might make it happen a little less often), but when it does happen I can make sure that quitting a restarting the app will force the user to do the paced breathing sessions again so that we get another shot at calculating the hrv peaks.
I don't think that we're going to be able to prevent this from ever happening again, but after discussion with Mara I did make some changes to ameliorate the impact if it does happen. This happens when an error occurs in determining the peak power for a given frequency, which we have to do four times (once for the rest breathing and once for each of the three paced breathing measurements). Originally when that happened we forced the user to start over again. Now instead they will just have to re-do the measurement we didn't get a peak power for and all of the measurements after it. If we fail on the rest breathing then obviously this isn't an improvement, but if we fail on the third paced breathing it will be a significant difference.
I've tested this by adding some code that forces a failure when getting the peak power. Other than that, it's essentially impossible to test, so we'll just leave this open for a while and see if it happens again.
Ver 0.0.7
After completing the Baseline Breathing, I received an error message. After quitting the app and relaunching it, it took me to Cognitive Exercises
The text was updated successfully, but these errors were encountered: