Smart-Health-LLC / server

Server side pit's API
MIT License
0 stars 0 forks source link

change segment's oversleep metric and related stuff to real segment duration setting #22

Open volard opened 6 months ago

volard commented 6 months ago

I completely forgot about the possible case when the real sleep segment duration can be also

So instead of saving only one oversleep metric, its better to save "real segment duration" (i.e. real start and end time)

volard commented 6 months ago

So of course oversleep, streak, lack of sleep, risk of adaptation failure is calculated based on provided real segments duration and position