#Figuring out how the sleep style is determined
1 messages · Page 2 of 1
And popcorn for example is alr quite strong so getting that ontop of berry gains is like effectively cheating
For bigger dishes u usually will need a mid-week stock day
Oohh sneaky snacking the rest?
77 dishes arent rly possible
Nah we want our berrymon’s ings too
Corn isnt possible to sneaky snack with a bfs mon tho
To keep the shelf a bit less empty quicker
Ohh
Stock more corn and less of like ginger or smth that raichu or typh can farm
Raichu can make a nice amount of apples and typh a nice amount of herbs or ginger for this stuff
Baggu
You only run berrymon and e4e basically
Another option
Is 168 tails
For curries
And use a herbgar or herbnite or houndoom(?) for herbs
Cus u cant stock 21 dishes of herbs ontop of the tails
So with only 1 potentially ineffiicent slot you get TWENTY ONE tail curries
Which is basically worth a 55 dish without even needing filler
And u can still filler w herbs tbh a rly good herbnite with bfs can do berrymon production while giving you enough herbs to spare for filler
Imo the tail strat is ideal
Another ‘optimisation’ would to run ing mag
Esp good for snowcrop and cyan cus favored berry still
Ing mag solo keep ur ings high in filler and might even give u filler tails
Tho ing mag is prob a but more 4fun and less efficient than bfs nite
Dnite is a real gamechanger here cus it can solo corn and/or herb production while BEING BASICALLY A berrymon
Inferno curry goes brr
The more ur berrymon of the next week make a certain ing you can preemtively stock a different ing more to optimise this to hell
Anyways all my ing mon arent good enough for this cus my shelf stock team rly wants HB
Like u can stock 16 popcorn OR stock the corn and milk and as much oil as possible for 21 and run 1 or 2 oil walrein and they make enough to make the last 5 by the time youd usually run out of oil
Main issue w this strat is not knowing what next week’s dish is, this is fixed by either:
-stocking general ing for all dishes, less efficient and youre limited to mid sized dishes purely but it’s f2p
-dont be a brokie just reroll
Tail salad gets a bit harder but 210 tails and a herbgar + oil walreins can do it
Desserts r is scones with raichu and typhlosion for apples and ginger angle
Or popcorn as a more reasonable option
And yea the 77s r impossible without saccing wednesday on stocking the shelfs
i will try to understand what you're saying in a bit, i gave up halfway cuz my brain is tired from a long day 
Doesnt help i ramble like a madman
There has to be some form of favouritism towards snoozing coded into the game
These 2 researched were the very first time this account got above 0 dozing while ive gotten a couple % of snoozing on the slumber sleeps
If my average of dozing is zero why is it not being picked when it is bigger than the one that’s like three
it's interesting that you say that, because I'll get dozing picked when I'm 1-2% above my average, when meanwhile my snoozing is like 20-30% above
wondering if there's also an upper limit to how much you can be above your average before it gets disregarded or something ehh, Thjis has recent data with ~forcing slumbering, with some like >50% "above average"
to try and dissuade continuously forced sleep styles
Key, do you have your own spreadsheet of data as well?
https://docs.google.com/spreadsheets/d/15q_LWcILxzTZKYe0CFrDIJHkBUtooettKlYeRzMWBTw/edit#gid=909373402
my sleep data, updated as of 8/1/24. Any "irregular" days are annotated, other than that I am exclusively a single session natural sleeper.
feel free to use data 
raw data
Date,Total time (hh:mm),Sleep score,Sleep Type,x more than avg,Untracked time,Dozing (hh:mm),Snoozing (hh:mm),Slumbering (hh:mm),% Dozing,% Snoozing,% Slumbering,% Doze Avg,% Snooze Avg,% Slumb Avg,Last Doze Avg,Last Snooze Avg,Last Slumber Avg,%Diff Doz Avg,%Diff Snooze Avg
12/19/23,7:...
also do you have the ss of how much it said your snoozing is above your average?
I also tweaked "rolling 30d avg calc" to show difference between my dozing, snoozing, slumbering % for the day vs my previous 30D's average, to see how the numbers match up
...they don't seem to match up, they're close, but not quite
here's some examples of what I mean (this is after I hit 31 days of single-sleep data, so if using 30D previous day average is true, these % should be accurate; right side = % of the sleep style for the day, minus my 30D average% for the sleep style, and only shows if the difference is more than 0%)
if snoozing is favorited for you, dozing is favorited for me
ah, perhaps it's based on relative % increases from the average
🤔 that would also make sense in a way
@minor rain am I doing my 30D average wrong btw or something? if it's really last 30 days, why is the difference between my 30D avg + that day's sleep style not matching up to the message's %?
is it the last 30 days (aka not including today), or is it 30 days including today (last 29 days + today)?
i need to take a closer look at your formula haha (looks like columns P:R, in Percentages sheet)
huhhh
i am just thinking outloud but maybe it has to do with how many times in total you have got D/Sn/Sl
like if you D/Sn/Sl = 10/40/40, it might more strongly favour dozing (as in 6's case)
it could give a higher weight to dozing in the averaging process
for me the 30d average is never 100% accurate, but I presume this is due to round-off quirks in the game
i just looked at all possible realistic options (i.e. averaging over N days and averaging over N sessions, where I varied N between like 3 and 50 or something)
it is hard to compare sessions vs days since they are typically quite similar, but I used to do enough naps that i was confident enoug
and i look at the previous 30 days, so excluding today
pretty sure I also tried including today's nap but the difference is marginal (since it is the effect on the average from just 1 out of 30 sessions)
i have a column which gives the error (rounded to 1%) between my calculated % and what the game shows, and it is 0% quite often but sometimes +/- 1%
I tend to take last 30d as an estimate within 1.5% or so which is more than good enough for gaming purposes
Hehe whoops forgor
Tbh the 2nd one is more understandable cus my dozing average probably went up by like 20% off of the first research
But i had literally zero % dozing cus this account had never gotten above 0% dozing before
What kinda f*ckery is at play here that an infinity% increase doesnt give the style
these wouldve been my averages going into the 2nd research giving me snoozing with a 47/25 dozing/snoozing
ahh hmm... that is odd indeed
it may be worse because I'm getting my % from the minutes slept, rather than the rounded %age
:/
i try this as well in my spreadsheet but you can see it's clearly flawed as well
:p
it is
but we will figure it out eventually
I am still collecting my data from every sleep session
i just update it every 2 weeks or so
can you pin mine too? 👀
@knotty frost sorry for the ping but could you please pin this message? 😄
#1162807020437651526 message 📌
ah 😅 I thought you would be able to as well, guess I have no idea how threads work haha
thank you Thijs and Deeebs!
thx!
yea unfortunately not, it's a bit strange
0% dozing balanced 
0 dozing was my go-to way to force balanced for a while 
Get that average to near 0 and match the other 2 and youre free balanced gaming
Does take 2 weeks of ‘gaming’ prep but I tend to ‘game’ in spans of 2 weeks anyways
Got this weird bug again. No way this is actually dozing (although I'll take the dratini lol)
Istg there gotta be a quota where it starts favoring a style to hell if you dont get it enough
My dozing was like 40% a few weeks ago and after that i actively reduced it
I dont think it is below 10% already but i need to update my spreadsheet
But i am pretty sure this should have been snoozing
Ive been snoozing without needing to cheat for 15 nights straight cus I fixed my averages
Im kinda happy we get fucking 3 weeks of non-style spawns in the next 4 weeks
Lots of time to absolutely perfect my averages lmao
loool true
my dozing average is so low rn which sucks
well i want a dratini but i desperately need a ralts, too
man, my predictions have been so good for the past few weeks (although I have had some uh interesting percentages which make it very obviously one particular style), but like today I got dozing with 12/44/44 while my 30-session average is 12/31/56.... HOW is that not snoozing ?!??!
even a couple days ago when i had the 'bugged' dozing (where it doesn't mention the '..% more than usual', where my averages were 15/28/55 and that session i had 11/34/55 🤣
sleep styles is such an enigma 😭
yeah it's really hard to get your head around what's happening with it...
I added 2 new pages to my sheet
1 is for testing two hypotheses on what causes Balanced sleep
1 is for trying to predict sleep style otherwise
I'm using the same logic for sleep style prediction as your sheet (max positive difference between that day's sleep style % VS 30day average)
and.... I have so many mis-predictions lol
my incorrect predictions are, very consistently, Snoozing when the game puts me as Dozing
so far, only accurately predicting snoozing, when my dozing difference is negative or very small compared to the snoozing difference...
gonna set up columns comparing the ratio of the day's sleep style vs average too... x_x
...nvm, that's not quite right either, although it's better... sigh
I wonder if I should do what you are doing, and swap to using rounded whole % for the calculation rather than trying to get a more exact % with the minutes
ok, that's enough math for tonight...
how did I get balanced on the bottom one here
38 above slumber and 10 below snooze and 27 below doze but yea. balanced.
your dozing is too low (?)
I also did a 10/10/80 for testing and got balanced
Game’s weighed heavily against slumber ig 
i don't think it normally has that much weighing towards slumber not sure how new your alt is but maybe it pushed out some of the lowering slumbering days?
Ive been doing 100% snoozing/dozing (or a mix) for a while idk how it still hates slumber
I did a lot of 100% slumber at the start for pichus but even then not event night
Im at ab 35 researches rn so the first few slumbers r pushed out
maybe it hasnt been 30 sessions yet so there is still some average remaindres screwing you up rn
READ THIJS IT SAYS IM AT 35 RESEARCHES

Ive had to overlap old researches in my spreadsheet so im def averaged out
I'M SORRYY
still slumberng could be high if you started with some 100% slumber at the start
it's WAY TOO EARLY FOR MY BRAIN TO THINK key 
I get balanced while 40% above slumbering 
that's insane
Did i break my account by starting off slumebring so much 
surely not
1 pm 
that would give us some insights tho
suppose it actually does look at your first sessions EVER
and that plays a role
or some bullshit
Id cry
lol
I need 100% slumbering on slumber naps like this
i only barley woke up
Sunday moment innit
any weekend moment

annoying
Im making a risky play next week
0p iggly farming
On cyan
And then zzz ticket to gg
(On new acc)
hopefully you get slumbering then lol
If I can get e4e before raikou event
Oof
Gaming
Preferably early in the week cus of the whole haha funny 50h sleep requirement
🤣
Preferably hb/slm + 2 triggers 
but calm nature
@coral rose it's ezpz #general message
how the fuck
Infinite balanxed without cganging averages
Peak
Rn i have to math out the score needed to hit averages exactly to maintain that
Did my first 100% slumbe of the week and got ‘58% more slumbering than usual’
AH MAYBE YOU SHOULD BE GOVING IT TO ME MORE THEN EH
Hahaha
Today it worked like normal so idek
Not planning to do naps this week so i wont know what is causing it
Probably a lack of dozing even tho that is normal lol
Im gonna violently destroy my average w 100% slumbers for a whole week again so we’ll see 
And then fix my averages using raikou 100% balanced event
Sadly no naps in that event tho so only 14 researches fir average fixing
Destroying my averages that even game is confused what to do now
Gonna achieve the perfect 33-33-34 combo and the game will finally do justice and call it balanced

I have cracked the way of getting natural balanced sleep, let's go
Yeah, well
But if I could get balanced daily, that would be nice
These are all are natural sleeps
true getting it every day could be neat
38-35-27
33-36-31
36-37-27
These are the actual % ages of Dozing, Snoozing, Slumbering
A Slumbering would break it probably but Dozing and Snoozing will never hopefully
hmm
interesting
if this gives you any insights into how balanced style is determined then let me know, cuz based on all of my data i still don't understand 
i guess if you have your averages from a longer time period it could help but dw about bothering with that, if you just have a bit of an idea then i can test this or something
(your averages seem pretty normal so that is manageable for me, as opposed to key's weird af averages
)
Yeah, true
I will see that
Theres def some situations where u want spawns of every type and atp balanced is amazing
Also for style farming at high DP giving the game the option to give u all the rare 3* potentially is nice
^bumping thjis, if you know your 30d (+?) averages that’s super interesting data
Sylveon's?
Yeah
@fringe harness could you please note down the percentages of your past sleep sessions? It is quite a lot of effort so totally understandable if you dont wanna but it might give us insights into why your current averages keep giving you balanced c:
I will see, I will try to collect
Cool, but yea dont stress it 😄
I broke my balanced streak because of 2 imperfect sleep sessions, sad
Since it seems people here have more knowledge than I do, anyone have any idea how #1222234877605187768 message this strange occurrance happened?
I didn't have much dozing in the previous few weeks leading up to this, so getting dozing at a low percentage still makes some sense, but I don't know how to explain the random snoozing despite seemingly swapping percentages with dozing for that one night
What the hell, I've seen many weird things here but this one beats them all

Haha guess I'll just say it's some strange outlier then, everyone else seems to be as confused as I am
Yeah it makes me pessimistic that we wont manage to figure out how it works exactly
If you want you could note down your averages from the past 30 days (see spreadsheet in pinned messages) and then i can do the maths behind it and see how weird it is. But im pretty sure it simply is weird lol
… that Sunday session is so bizarre 
You wouldn’t happen to have any records of the “x% more than usual” for these sessions, right?
Now ive had some weird shit happen to me but this one’s a bit special what

I wish I had, didn't really know it was useful until now.
Np, I find it annoying too that it’s not something that gets saved like the rest of the sleep data
Fr
@minor rain
3 different sleep styles after 3 balanced
Nice
My averages considered for this sleep probably
36% for Dozing
30/31% for Snoozing
30% for Slumbering
I think Snoozing should be 35% average or so
Maybe it dropped a lot because of a session
Wow nice
Ah that's why you now no longer get balanced?
So uhhjh it happened again where it was like 10% dozing and gave me it anyway... And um
Literally doesn't give a %
Yea i have had this as well a few times
When those weird snoozing/dozing sessions happened, did it also not give a %?
I don't remember but it was definitely possible cause I don't recall one
My last few sessions haven't given me a percentage. Maybe it's due to the event? Cuz pokemon of all sleep types can appear regardless of the sleep type you get for the session?
Aside from balanced sleep, I’ve never had that happen to me
even during events
It should give a % still
It does for me
But i have had it occasionally, especially in the lapis release week, but not lately
ugh
I think I might need to start recording how much time it took to fall asleep too
I dunno anymore. :(
I found a weird day which I think should have been slumbering, but got balanced instead -- it was also a very short session (4:47 compared to my usual 7-8) because I couldn't sleep
hard to say
another session which should have been snoozing (almost 12% more from my 30d average), but assigned dozing instead (5% more)
I saw on your sheet, you look like you are recording the start and end time of session...how do you get it so exact? do you always have 0 min to fall asleep?
you can find this in the sleep data page
hm writing down the time it takes to fall asleep ..... no way that plays a role right ?!
this day, my time to fall asleep was like >2 hours
it's confusing af, ikr
3 of my last 4 days, I hit balanced. 4th was slumbering but barely. Let’s see if I can keep up the streak…
some pretty bad predictions again
more %:
Do: 23
Sn: -31
Sl: 13%
i predicted dozing obviously, but it somehow became slumbering lmao
😦
reeee
one more hypothesis broken
on 4/13/24, my sleep style was Dozing
my %s for that session were: 5.13% / 24.36% / 70.51%
my 30d average % on this day were: 4.24% / 23.52% / 72.24%
that's a less than 1% difference from my average for both dozing and snoozing, and only about 2% for slumber
WHY WAS IT DOZING AND NOT BALANCED 
it's either
- the averages are more than 30D, because I hit a lot of balanced sleeps prior and with this dozing + "2% more", it means my game's dozing average is closer to 3% and not 4%
- the game is heavily pushing me to dozing style, because the last time I got one was 2 weeks ago
I hit a lot of balanced the last few weeks, but... urgh. this is so rough 
the game seems to favour dozing, as if that small difference between 4% and 4.24% or 5.13% is enough to be more dominant than the snoozing and slumbering averages. but yea why not balanced? no clue
I can't tell if the game favors dozing, or it's simply my averages
since my averages are normally so little dozing to begin with >_<
there's got to be more to it. i hope we can start to recognise patterns over time. there must be a longer-term thing about it, I suspect
yeah, there must be.. 😔 sigh
we'll manage! it's an interesting thing
I would be very surprised if it's a true average over a fixed window. It's probably a moving average instead since that's simpler to code. You don't need to store a history, just the current averages.
I'm not sure I understand, as in the game's stored average is more likely to be the average of the last X days? or more likely to be a running total average (like starting from your first sleep session)?
It averages over the past 30 sessions is the theory based on data
🤔
This might be the lowest % over I’ve gotten for Snoozing so far. Tbd on data input, but I swear I hit almost exactly the same % recently and got balanced…
My sleep % per style have been pretty close for most days recently. I’ve figured out a good spot to put my phone lol
aka next to/under one of my shoulders 
any farther and I risk way too much slumbering…
was looking back and
1% more LMAO
this is how much the %ages changed from the 30 day average
the fact that the game took dozing at 0.41% increase over almost 10% increase in snoozing is crazy to me
Hmmm weird, I think you saw my sleep average yesterday but this was odd to me. Yesterday's nap into today's nap
the way balanced type is determined is just super confusing tbh
today's nap means your 'average dozing' according to the game is 27
yesterday 34% dozing was +7 but still not enough to make it dozing, which is indeed odd
ofc the average could have changed from yesterday to today, but at most by maybe 2%
@minor rain funny seeing you here 

#1162807020437651526 message try to see if you can make a copy of the spreadsheet and fill in the columns for dozing/snoozing/slumbering for yourself 👌
i didn't really mark stuff very clearly so it might not be super easy to figure out what to do but yea
No worries, I made a copy to go through when I'm done with my current work task 
@minor rain so I've finally been able to go through it since I got too busy, and I'm unsure which sheet tab to even use 
lmao, the 'Percentages' tab in https://docs.google.com/spreadsheets/d/1vibfA6Pa-4KM2923OJmxLbREBvsEsm3UPByGUv0bxhM/edit#gid=1122011633
notes
averaging over the past 30 sessions works best
averaging over the past N days does not give a good result
averaging over 30 sessions, but excluding the data of "balanced" sessions, does not improve it
CAREFUL: sleep style may not be determined properly before 6 October 2023 due to a bug (...
clear the data in columns B-G and J-N, and then fill them in for your sessions
the only required columns are: A, B, J K L, M, and N is needed but can just do "-" everywhere
date, session 1 or 2, your Do%/Sn%/Sl%, sleep type you got, and how much of that sleep style you got 'more than usual' (don't need to do this one actually since you can't find it back so it's only possible if you took a screenshot.. since you didn't, just put a "-" since it otherwise won't calculate the remaining cells)
Okie doke! I'll ignore the other sheet tabs then - thanks for the explanation
@minor rain gonna bug you again just reeeal quick 
If I'm only using the first Percentages tab, could you give me the dumbed down version of what this bit is about? Should I just divide the last 'average %' entries by 30 to get my current average % per style, so I know what to aim for when not doing extreme % sessions?
the numbers in column J-K-L need to be percentages
i see on the top there are some numbers instead of percentages
97 means 9700%
so it does 18%+26%+9700%+... in the averaging, which is wrong
column PQR show the average of Do/Sn/Sl of your previous 30 sessions
column O shows your usual average of the specific sleep style which you got, which is calculated by taking the percentage which the game shows (column N) minus the average of the past 30 sessions of this same sleep style
column S just checks if the calculated number is consistent with the prediction
Cons of flipping between phone and computer - I'll fix that 
columns TUV is just to calculate how much more of each sleep style you had in this session than your average (=previous 30 sessions)
column W is to predict the sleep style it should have been, based on the highest 'difference' percentage you got
column X is simply yes or no, whether column W correctly predicts the style
column Y and everything to the right of that is just some tests tbh
you can look into the code a bit if you're familiar with it. it's interesting imo also since i am trying to figure out how sleep styles are determined. but if you just wanna find your averages then filling in your previous 30 sessions is enough
Well now the percentages look a LOT more normal now 
I really suck at excel code, so unfortunately looking into the sheet as a whole would be lost on me. But if sharing the user data would be useful for trying to work out how styles are determined, I'm happy to share that
ahhahaha yea good
also dw about it, it'll be the most valuable if we get full data from a few people than just some scattered data from a lot of people (by full data I mean having the ' ...% more than usual' thing from every session, which i have been doing for myself since i started this thread)
I'll do my best to remember that then!
If you want to, feel free, I appreciate, but it does cost some time to note it down consistently :p
I just take screenshots of the “% more than” and fill out the rest later when I have time on the weekend
Way too tired to think in the morning 
yea ofc
ah, crap.
reading through the mathcord post and sheet you sent me and 
Thjis would you prefer if I duplicated your sleep tracker sheet and put my data in your sheet's format?
sorry i forgot to respond to this
what do you mean tho? i don't really see the issue, but im also tired so my brain is barely functioning
Just this question. Ignore first statement 🤣
:p
it doesn't really matter that much, I should be able to convert your data in bulk pretty easily at a later point
ok ok haha
Is this percentage normal?
(been dozing for dratinis)
I thought it would automatically balance when its too much or something lol
If you've had 56% more than usual, then it's not similar enough to be balanced
I heard that its most likely 33% for all 3 of them could be more or less
Thats why I thought this is not normal
Unless I confused this information with another topic 🤔
suppose your average dozing of your previous 30 sessions was 5%, then you must have had 56+5=61% dozing this session
could you share the screenshot of this session's sleep data, which shows how much dozing/snoozing/slumbering you got?
ah yea so you have 74% dozing this session, which (according to the game) is 56% more than average
so, your average is 74-56 = 18% if my quick maths is correct
obviously if you have that much more than average, it's undoubtedly gonna be dozing
Is it possible to see the average ingame?
nope unfortunately not. the only thing you can do is note down the dozing/snoozing/slumbering percentages of your previous sessions (past 30 days if you aren't premium, or of all-time if you are premium). based on these, you can calculate the average percentages.
this is what I did initially to figure out that they most likely consider the previous 30 sessions when calculating the average. and I still keep track of all my percentages for this data collection (only doing it in the backgrond but in the future I'm planning to look into the data more thoroughly because we sitll don't understand how the sleep style you get is determined precisely)
Oooh ok, thanks!
yw!
ok but how tf is the 18/05 session not balanced 
oh dang the "Avg style (30 sesh)" columns don't add up to 100% cuz i had a 100% dozing (i.e. balanced) session somewhere... gonna have to think about how to circumvent this issue
I recommend recording the time for each sleep type and calculating the percentages from that time. This is because the %more value in the game is calculated by rounding up %-Avg obtained using these percentages. By the way, the percentages displayed in the game are values that have been adjusted after rounding each sleep type's percentage, with the largest percentage being the one adjusted.
oo interesting, so it does depend on the time. i'll look into it when i have the time for it, thanks for bringing it up!
Weird. 20.43 to 22.56 is not 2h04min, but 2h13min
Was there not any untracked time somewhere or something?
it doesn't list any untracked time, but the 'higher' dozing part is probably left untracked
cuz i calculated and the first part of snoozing is 5min, so that's not the problem. it just removed 9min of dozing at around 10:30-10:40 but didn't list it was untracked time lol
That's interesting. It seems that the higher dozing part has been excluded from the sleep duration. That part was only 10 minutes, but if it were 15 minutes, it should become untracking time.
yep exactly, it was 9 minutes. so i indeed think that 15 minutes of 'overdozing' is gonna make it untracked, or maybe even 10 minutes is enough?
Based on my verification, 10 minutes was not enough to cause untracked time (the section with a strikethrough). Although the content is in Japanese, I have detailed it here.https://note.com/songseed/n/nd2f60d5408f5
持ち歩き補正についての基礎的な知識は、前々回の記事を参照してみてください。 【ポケモンスリープ】睡眠計測の仕様について|SongSeed (note.com) この記事は以下の項目で構成されます。 ■持ち歩き補正を意図的に出す方法 結論から言うと、 ・16分間以上、1回/秒程度の頻度で、上下に振り続ける もしくは ・合計16分間以上、2分間1回/秒の頻度で上下に振り続ける→5分間放置を繰り返す(2分→5分→2分→5分→2分) 方法がおすすめです。 1つ目は作業しながらでもやりやすく、確実な方法だと思います。 2つ目はある程度時間管理が必要ですが手首の疲労が少ないです。
interesting!!! this is good to know, thanks!
You're welcome! If there's anything you don't understand in the translation, feel free to ask, and I'll be happy to help
the translation looks pretty clear. so if i understand correctly, even if you move it intensely (every second) for 14 minutes, it won't make the rest of the session invalid, but if this happens for 15minutes (or 16 minutes..), it does happen?
That's right. To enter the overdozing state as quickly as possible, you need to shake the pg++ once per second for 2 minutes. I speculate that the second half of these 2 minutes will count as overdozing. Since 15 minutes of overdozing leads to untracking time, a total of at least 16 minutes is required.
oh, you're talking about the thing with 2 min intense movement -> 5 min no movement -> 2 min intense movement etc, right? and then to get out of the overdozing phase, you'd need over 5minutes of no movement i guess? or you dont know?
yeah, I haven't checked the time required to get out of overdozing , so I'm not sure. However, with 5 minutes of no movement, overdozing persisted, so you might need about 10 minutes
makes sense, interesting.. 🤔 thank you!
then I know to avoid 2 minutes of constant movement at all costs unless i can compensate it properly within 15min 
people who are measuring with the pg++ on their stomachs might be in trouble
Lmao
bump
I haven't updated my sheet in so long
dw about it
it's not like i've got to any proper analysing either
planning to do so in the coming month, tho 
i just need to look into how to deal with the 'forced' balanced sessions that have e.g. 100% dozing or only dozing/snoozing and no slumbering, to see how the game deals with this
Does the game force balance you when your one sleep style is more than the other 2 styles?
iirc the game forces balanced if (1) you only have dozing or snoozing, but no slumbering, and if (2) you dont reach slumbering until the 2nd half of your session
got slumbering last night but there was no “% more than” message, first time i’ve seen this for slumbering but have seen it before with dozing multiple times. do we know why this happens yet?
oh that's so weird, i've also indeed only ever had that with dozing 
no clue why it happens, I think it's just a bug
if that sleep type is below avg or balanced, "% more than" is not displayed
ohhhh! this could make sense 
well, the fact that it chooses the sleep style which has less than instead of more than usual, that doesn't make sense, but the fact that it doesnt show any text does make some sense 
Consistency @minor rain
impressive
happened again
cool interesting. i wonder if it's indeed because you had less slumbering than usual (e.g. 1% less), but it still gives slumbering rather than one of the styles which you do have more of than normal 
my most recent balanced was with 29% slumbering, this session also had 29%, so yeah I think it was either the same % or perhaps slightly less. The only thing I can think of is that I haven’t been getting slumbering much lately so there may be a mechanic that prioritizes one you haven’t gotten recently if the percentages are close to balanced, not sure 
oohhh interesting, maybe so 
i do remember when i suddenly got dozing with this, i also hadn't got dozing in a while so you might be onto something there
I really should go back and record cus I feel like my averages stopped moving. But this is ridiculous LOL
wow lmaooooo
that is honestly such golden data if we can know the percentages from the 30 days before 🤔(and if you know the ...% more than usual of the dozing session)
Oh right.
I didn’t take a photo of the balanced, cus, you know
But it legit says that 1% is the difference
Between yesterday and today 
wow
could you note down the percentages of your 30 (or like 35 whatever) sessions before this? that could be a useful bit of data, but dw about further updating your sheet since you were not planning to continue with it
just the percentages do/sn/sl is enough
Do you want the % only or how i was doing it with the minutes ?
I have ss of every day tbh just last
Lazy
actually yea the minutes would be nice as well, i have some hypotheses about that 
if you dont mind, that would be some very useful data since it is literally the closest to balance as you can be, with two nearly identical sleep sessions
@minor rain done

I know your 30 day session is your working theory but
first 3 column of numbers is my sleep time per sleep type
next 3 columns (where balanced is green) is that above sleep time, converted to %
and last 3 columns is my 30 day average for sleep times based on total minutes slept over last 30 days
well
you can check the rolling 30d page >_<
but yea, I've added all of my data since May so it's continuous data again...although I had some blips in mid-June because i was travelling (some weird dates maybe due to time zone changes, and also one day of manual entry because I was legit travelling without chance to start a sleep session for >24h straight 😭 )
thanks for your effort, i appreciate it a ton!
hmm, that's quite off, interesting
could it be that you had a 100% dozing (or at least a 0% slumbering) session somewhere in the past 30 sessions?
I'm gonna go on a holidays so i won't be able to work on this for the next 1.5 weeks and this whole thing sadly didnt reach the top of my priority list yet despite me being off in summer 🥲 but i'm still intending to properly get back into this, in any case im still inputting my data🤓
I don't think I've had a 100% dozing nor 0% slumbering session, ever haha 😬 between my natural habit and my bed maybe, I am very high slumbering always
on 6/18/24, I did a manual entry session (from when I was travelling and couldn't activate pokesleep), on the top it says "100% dozing" but ofc the real time is 0 minutes for all types
but also, that was more than 30 days/sessions before
oh you're averaging by times?
the way i do the 30-session average is by averaging over all dozing percentages (not time) of the previous 30 sessions, and then the same for snoozing and slumbering
oh, I think I have a column by %ages too
if not, I can set it up real quick 
did you find it to be accurate based on the %ages?
ok I set it up, and, I feel like the numbers look worse this way
I mean, regardless, the % differences to 30D average are negative for that 7/31 Dozing day
yep
that's odd lemme check mine
I wonder if it's because of the integer math thing? ._.
my sheet is not set up to do that type of rounding
% more (game) is the "...% more than usual" from the screenshot
avg Xx (30 sesh) is the average Xx percentage of the past 30 sessions, with the following code (i round it DOWN to the nearest percentage (=0.01)):
FLOOR(AVERAGE(
INDIRECT("J" & ROW() - nrSessions):
INDIRECT("J" & ROW()-1))
,"0.01")
(where nrSessions=30)
"ok" is the deviation between what the game says the average is of style Xx (=the percentage of style Xx, minus how much "more than usual" of this style according to the screenshot)
could you verify if your approach is equivalent to this?
as you can see the largest error is +/- 1%
I think I might be faster to duplicate your sheet and import my data LMAO
for the % sleep style per day, are you using what the game tells you?
I think that is my sheet's biggest issue in terms of differences to yours, because I have been recording the minutes
also, I am aware that the avg Do+avg Sn+avg Sl do not add up to 100%, this suddenly started fucking up lol. but before, when this did add up to 100%, it still was the same with a max error of +/- 1%
Yeap
ah you record the percentages based on the sleep time?
oh yeah wtf what happened to your sums 
shouldn't make a difference, you'd think
I took a peek at the pokemon RP formula and, well, seems like it makes a difference
i think it has to do with some 100% dozing sessions i've had
or something like that
so I need to figure out how to turn my minutes into the game's %, I guess 
this was like 1.5 months ago. it's slowly fading away but it's still lingering lmao
you'd think this is straightforward
right...
im currently doing a sleep session but lemme try to find a screenshot of a session and play with it a bit
in fact, it's easy to calculate the sleep score based on total time slept
which is why i think this is easy sa well
I have a few free min, will put in my last few days of data and then see if I can figure it out quickly
just need to find the edge cases, I think, to see if it's true rounding or flooring (?) to nearest %
ok 28 april
percentages: 41% / 29% / 30%
time per style: 3:23 / 2:22 / 2:31
total time (sum): 8.26666667 hr = 8hr 16min
3:23 / 8:16 = 0.409274194 ~41%
2:22 / 8:16 = 0.286290323 ~ 29%
2:31 / 8:16 = 0.304435484 ~ 30%
based on this it looks like it's just a round to the nearest %, but indeed good to look for better edge cases (although this seems to exclude floor() and ceil() tbh)
i can hardly imagine it makes such a huge difference tho if you don't use the raw percentages based on the sleep times, rather than the rounded percentage 
so long as there is no tenth haunting us that we can't see...
that's what I feel, but
those two days really boggle me ._.
yea hahaha
alright yep, found case already where simple rounding doesn't match the game's #'s
😡
1% difference
make sure to check if there's any untracked time
untracked time doesn't change anything no?
and if you add up the Do+Sn+Sl times, if it adds up to the total time which the game tells you (just in case)
already do that 
i wouldnt imagine so, no
or well, I did for a while, and then I stopped because I wasn't having problems
fair
it is not considered part of your total sleep time in the game
I still record it, but, there isn't really any point to
at least that I know of haha
yea exactly
i mean with the spaghetti code you never know if they could mess it up somehow and cause some kind of round off error shenanigan
right
so there's some kind of correction built in, some where
the %xx is just, taking the minutes of sleep style / total sleep time
ah crap, got to afk
I'll come back to catch up later
it probably does some algorithm like suppose you have 30.35%, 30.2% and 39.45% (add up to 100%), if you round em all down you get 30+30+39=99, so it takes the one that's " closest to rounding up" , i.e. the .45% and just round that one up to 40% so you get 30+30+40
no worries. i might be gone cuz it's getting late 
oh this is exactly what i said, the .48% is closer to rounding up than .47%
suppose you have the (raw) three percentages, {p_i} (for i=1,2,3), then you'd round them round(p_i)=r_i, then suppose sum(r_i) =/= 100% then you'd need to consider abs(p_i-r_i) (which always lies between 0% and 0.5%) and probably do some tricks with that to see which one you have to pick (my 1am brain can't figure it out in just a few minutes atm lol but it's a nice puzzle)
ahh, I see... I'll do a bit more data collection first to see how it's working and then, yup
Are you guys discussing the percentage displayed in the game? If so, I already know the answer.
https://discordapp.com/channels/1129035839398228028/1162807020437651526/1249341283617734729
❤️ thank you for re-linking
@little sage, do you know how the "% more" is calculated? or maybe I should say, do you know what the game uses for your "average %" for your sleep styles?
calculated by round up
ポケモンスリープにおける睡眠計測の仕様については、基本的な事項はWikiWikiの「ポケモンスリープ攻略・検証Wiki」>睡眠計測の仕様にまとめられています。(睡眠計測の仕様 - ポケモンスリープ攻略・検証 Wiki* (wikiwiki.jp)) この記事はその内容を補足する形で、以下の項目から構成されます。 ■平均 計測後に報告するを押すと、上画像のような画面で睡眠タイプの判定が行われます。この際、睡眠タイプの下に「過去のデータと比べて○○が○%多かったようです」というテキストが表示されます。 このテキストは、とくちょうなしの場合および○%多かったようですの%の値が0以
hmm...
I am also not clear on how the average affects the determination of sleep types.
did you see the two days I linked above to Thijs?
if not, I can re-link
but I am still having trouble understanding
for one day, which I was given "Dozing", and had the message "1% more dozing than average", based on my last 30 sessions of data I collected
my dozing % that day is actually less than my 30 day average
and, on top of that, the day before, I got "Balanced"
and the actual % differences between my sleep types of those two days, is so small, like <1% (based on minutes)
...also Thijs, is it possible to pin that post from SongSeed?
this is very helpful
I also often get sleep type that is lower than the average. do u have raw data? My data is in the spreadsheet within the article.
yes, my raw data is in the pins
I need to sleep, but I will keep reading the article tomorrow 
for this point, I think I can say, it should not be included
but I will do a little math to confirm tomorrow
nice. I was just wondering about that.
I am looking forward to the results.
on 6/18/24, I put in manual session ("100% dozing", but, not really). my normal dozing average is extremely low, like 3-4% maybe, so I feel like 1 session that is considered "100%" should swing up the average a lot for me
however, based on next few days, it seems like my average is still considered around 3-4%...
but regardless, because my normal dozing average is so low, I think it would be easy for me to test if I put in a few days of manual entry ^^;;
oooo thank you for the reminder that you sent this before!!
yea one was balanced and the other one had like a 1% difference and was not balanced
yea manual entry doesn't get included indeed, i can confirm this as well
pretty sure even if you have a 100% dozing session it doesn't get included
one of the main things im running into and what's holding me back from getting back into this is how to deal with these edge cases
i personally dont have any manual entry sessions in the past 10 months , but those 100% dozing sessions are annoying
but yea now that i finally am getting the energy again to work on it but im going on holiday tomorrow ffs 😂
i didnt know about manual entry, thx!
enjoy your vacation
i have a question. balanced type in your data include things by detecting a lot of body movements?
For example, like this graph
yea this kind of data is like a mystery to me and idk how to deal with them in the averaging. I have been partly lazy and partly held back by this stuff from continuing the analysis in my sheet 
yea this is definitely a pretty complicated system, and it's really tough to check it all by myself
so i often end up being lazy too lol
yea it's hella complicated, although im sure with now well over a year of data from my side alone, and with your and 6's data, we definitely should be able to understand it better already 
No, all of my balanced, I think it’s normal. At least, it will not have so much dozing such as your graph, again because normally I have very little dozing. I sleep like the dead 
For the case such as that graph, is there a message pop up? Similar to if you have not enough movement (and have untracked time)
balanced by a lot of movement occurs if you dont reach slumbering until the 2nd half of your session
mesasage like this pop up
Ahhh ok. I have never seen that pop up so I guess you can say my balanced sleep is all normal. Here are graphs for my last 5 Balanced sessions.
oh thanks!
these are normal balanced
worth researching

Please feel free to use my data! And let me know if I should be recording anything else.
I think, for sleep error message, the only one I ever see is the “not enough movement” (too long of slumbering).
In my data if I have untracked time, it is because of that error.
Got it. Your data has been very helpful. Thanks
sheet updated...I messed up on 8/17 (double sleep session, the short one is the "too much movement" error to create balanced 😭 )
legend 💪
ooof rip
im gonna implement this and see if any improvements can be seen
i implemented it, so now it properly calculates the percentages so that they add up to 100%. pretty huge
then I did a quick histogram to see how well the new method predicts the in-game percentages, but it seems like the previous method for some reason still predicts the average better
not sure what's up, gonna see what i can do
hold up lmao i only ensured that the percentages add up to 100%, but i am still using the old method of getting the individual percentages, while i was meant to change this so that it's based on the total time spent in each sleep type (do/sn/sl) 
easy fix
oh i didnt even record that
LOL gonna have to input the do/sn/sl time for 500 sessions
aight im done for today then
(sleep session started already)
gg Thijs, turns out recording the time was important in the end 
is this the right 'interval timer' app
LOL yea
it's ok tho not too much work
yup! see the discussions in #1235680850012536872 for more on that
lol i knew this thread looked diff for some reason thanks
this is still the case even if I do it properly..... why 
Just gonna rephrase and say the specific issue i'm having rn:
Each sleep session has a certain dozing%, snoozing% and slumbering%. I write these down, call it Do%,Sn%,Sl%.
The game tells us how much "more than usual" you got of one specific sleep style (unless you got balanced). I write this down as well, call it %moreDo,%moreSn,%moreSl
Based on these two, you know ACCORDING TO THE GAME, the average percentage of a certain sleep style (the one that you got) has got to be Do% - %moreDo (in the case of dozing) etc, let's call these avgDo% game etc
Now, I want to reverse engineer this number which the game considers as the average. For the longest time, I've simply calculated the avgDo%,avgSn%,avgSl% by taking an average of the Do%,Sn%,Sl% of the previous N sessions, and found that N=30 sessions works the best (smallest deviation overall, but there's still deviations). In the image below you can see how well these avgDo%,avgSn%,avgSl% (that i calculated) compare to avgDo% game,avgSn% game,avgSl% game (that the game claims). By far the most (~67%) are spot on (0% deviation), but a couple are off by +/- 1% (let's say 33% is off).
(I should note that I calculated avgDo%,avgSn%,avgSl% by rounding down, which sometimes led to the sum of the percentages being 99% instead of 100%.. which I'm trying to fix below)
After discussions from a while ago with 6 and SongSeed, I've realised that I shouldnt calculate my averages based on the (full-integer) percentages that the game shows, but based on the TIME of each sleep style. E.g. you have a 6 hour session, 3 hours of which is slumbering, then your slumbering is exactly 50.000%, but generally these aren't nice round percentages. Furthermore, the rounding would need to be done in such a way that the total avgDo%+avgSn%+avgSl% is always 100%; this used to be an issue after rounding. I've done all this now. So, I now have a more accurate determination of avgDo%,avgSn%,avgSl%, you'd think, since I'm no longer relying on (quite arbitrary) rounding down, and making sure the percentages add up to 100%. But somehow the percentages are quite a bit off as you can see in the image.. now more like 40% of the avgDo%,avgSn%,avgSl% predictions are spot on, and like 55% has a -1% offset, and the rest are -2% or +1% 
I'm not sure why this is happening so i'm gonna see if averages over a different nr of sessions might remedy it, but I can't really imagine that being the case here because it's such a large error. I have a suspicion the game's spaghetti code does some weird stuff here (once again)🙃
I thought %more was simply the result of rounding up % minus Avg% (time-based). Are you saying that you’re trying to reverse-engineer Avg% from %more?
sorry, how do you mean?
e.g. for dozing, %more Dozing = ceil( the % of Dozing, time-based ) - 30-session avg Dozing%?
this is a pretty integral part i've never managed to pinpoint down to 100% accuracy
I'm indeed trying to reverse engineer how the more% is determined, just cuz it's a part of the puzzle which I wanna get right properly before i can do more accurate analysis (since sometimes the sessions are like 1% or 2% away from a different sleep style, it feels)
if you get dozing
dozing%more = ceiling(dozing% - dozingAvg%)
%more
%-Avg
Now you can use that extra time for a nap😂
and to confirm, the # of sessions used for "(x)Avg%" is 30?
I will try to implement into my sheet soon then... thank you
OK, fixed my sheet, added a new page based on what I understand of your two's discussion
using my collected sessions starting from June 1st 2024, this is my "error rate" for matching the "x% more"
I use difference between true sleep type % (based on the minutes in the session) and 30 session average of %
then round that difference up, and compare to the "x% more" number
let me know if I understood this wrong: dozing%more = ceiling(dozing% - dozingAvg%)
ceiling for me is round up (ex. 62.01 --> 63%)
dozing% based on minutes for today's session, no rounding
dozingAvg% based on average of the % number of the last 30 session dozing%, no rounding
I think maybe I need to round somewhere sooner, for example this situation lol... rereading your document
I also have some interesting situations like this, where it says I have 1% more dozing, but actually, my dozing is less than my average (and so, very confusing: why is my type "dozing", not "slumbering"?)
when I look at my data to see if I can explain the first image, I did manual entry on 6/18/24 (so the game shows 0 minutes for each sleep type)... if I remove that day's info, the difference for that day goes to 0%, but then all of the days after start getting messed up (1%, 2%, 3% difference in prediction vs real %more...)
for second image...I cannot explain why. Unless I messed up my data entry, I have no abnormal session between 7/1 and 7/30 (which is used for 30 session calculation).
on this note, regarding this same session... If I go into my data to change the manual entry % sleep style to "100% dozing, 0% snoozing, 0% slumbering" (instead of 0%, 0%, 0% due to the time calculation) --- the prediction becomes very wrong.
first pic is using 0%, 0%, 0% for manual session; and second pic is using 100%, 0%, 0%.
when I use 100%, 0%, 0%, all of the "x% more dozing" is suddenly off... so it is definitely not considered 100% dozing session lol
hmmm... and if I remove the session entirely from the data and pretend it doesn't exist, my other 2 sleep types (especially slumbering) suddenly also have more problems...
I leave this second sheet up, where I deleted 6/18/24 manual day entry and fixed my formula under if you want to look at it too (sheet is named "delete manual 6/18 day")
since the numbers are best if I count the session as "0%, 0%, 0%"... I conclude the manual session is counted in the 30 sessions for Avg%, and actually it is counted as "dozing 0%, snoozing 0%, slumbering 0%"... so the Avg% of the 3 types do not add up to 100% when including the manual session, and the value of the 30 session Avg% for all three types decreases...??
let me know if you think it is good evidence to change this section, or if there is something you want me to test...I think I was wrong when we discussed this before, I made judgement too fast without doing math
sorry if I mislead you and was the reason for this comment here...
ok... I also added column O-Q on the sheet "based on SS/Thijs", to quickly see how big the value of the difference was, for the "more than"/sleep style picked
the game likes to give me dozing even though I have a bigger difference in another sleep type...? 😭 I knew I wasn't making it up that the game gave me dozing too easily...
rounding up should align with the %more value; if it doesn't, it indicates a mistake in the raw data entry
I've tested this about 250 times so far, and I've never seen a discrepancy between the rounded and %more values
oh, hello!
hmm... for which number do you round up?
only the difference like I said above, dozing%more = ROUNDUP(dozing% - dozingAvg%)?
or are dozing% and dozingAvg% rounded up first?
dozing%more = ROUNDUP(dozing% - dozingAvg%)
guess I will check my data entry
...
my data looks ok... at least on quick check, total time = sum of my time for each style
you really do no rounding, not even decimal points (ex. 46.3157894736842....% dozing --> 46.32% dozing) or something?
can I have some help understanding this part?
is it like, for example if you get "dozing" sleep style yesterday with X% Dozing
today, if the %dozing > X, then you will definitely not get normal "balanced sleep style"?
how do you explain more than 1 day in a row of normal balanced sleep style?
no rounding
but if there's no error in the data entry, we must consider the possibility that there is rounding happening somewhere in the calculation
after looking at your data, I've been reconsidering my opinion about balanced
While there was a definite trend in my data, it seems that it doesn't necessarily apply universally
ideally, I would try to get natural balanced many days in a row, to have good data to work with
but... well... I cannot sleep like a robot.... LOL
my best time was between 3/28-4/12, in those 16 days, I got balanced 9 times
but I haven't been able to be as consistent at that time
I've been reviewing your data and it seems like 1/10/24 data has been included in the average for the last 30 sessions
ah... it may be better to start from the bottom 
wow I can't believe I started so long ago LOL
Not only should you cross-check with the total time, but when you have a moment, double-check your entries against past data in the app to see if there are any discrepancies
I'm honestly surprised because this hasn't happened with my data before, but if everything checks out, I think we need to seriously consider the possibility of rounding error
Ah, this thread is kind of dead
Recently I’ve been getting no %more dozings
I guess I’m happy about it since I’m trying to find Grubbin, but, 1st set is especially confusing to me
Well, both sets
I think with my averages, 5% can reasonably get me dozing type, but, 50% snoozing should definitely get me snoozing
Same on 2nd, just… where is my % more…?
has anyone experienced their tracking suddenly switching from slumbering to snoozing halfway? i intended to fully slumber and let it auto stop after 6 hours as i laid it on a flat surface, but after 3 or so hours it just went into snoozing and never left it till i stopped tracking.
Can anyone explain to me how to get snoozing sleep? I am trying my hardest to get it to be snoozing but if I have a DROP of dozing in there then I always get dozing type...
this became dozing type to me this morning, and this happens to me all the time
if this gives dozing then it looks like your dozing average % is very low
so you gotta get some high dozing% sessions to balance it, then getting snoozing will be more doable
likewise maybe your snoozing% is too high in which case you'd also want to balance it out with some high slumbering% sessions
ok, I can definitely do more slumbering sessions, I try to do those every now and again by putting it on a flat surface. How would I get higher dozing sessions? Put it in sleep mode while I'm at work?
Not sure I've ever seen 1% more than usual 
How tf is that not balanced
right????
maybe its because one of your sleep types is way lower than usual, out of the range for balanced so it needs to pick the greater of the remaining two types no matter how close?
complete guess, I don't know how these work
nah my averages are nothing out of the ordinary