Yeah the - 1 + 1 was weird to me too, serves no purpose.
I can see how choosing a new random number for each fetch would prevent the server from caching the response, I suppose.
I can't imagine this code was written in any other fashion than completely rage-induced, with shaking fingers and high blood pressure. 😂 What a putz.