pull down to refresh

After nothing but zap rewards in October, it's been nothing but post rewards in November.
Is there any chance the random number generator is picking one value for each month, instead of each day?
182 sats \ 3 replies \ @ek 3 Nov 2023
No, it's definitely flipping a coin every day:
const heads = Math.random() < 0.5 // if this category is selected, double its proportion // if it isn't select, zero its proportion const itemRewardMult = heads ? 0 : 2.0 const upvoteRewardMult = heads ? 2.0 : 0
reply
Odd coincidence then
reply
182 sats \ 1 reply \ @ek 3 Nov 2023
Yes, or there is indeed something wrong with the RNG. Reusing seed or something? But no idea how that could happen. It's not even possible to seed the RNG ourselves.
reply
I didn't immediately see in the code why the monthly hypothesis was ruled out, but I'm guessing it's run daily and that's why it should be different everyday.
I think those seeds are sometimes generated from the computer's clock, so my last grasp at vindication is that maybe it's pulling the month for the seed, rather than the milliseconds.
reply