The way they were infuriating motivated the player and makes it satisfying when you beat them, so being annoying was absolutely the right choice. The last Pokemon games I played were on DS where your “rivals” were nice and supportive and non-annoying and they were boring and I would have fastforwarded them if I could have.
Can you share the full story of the projects that you could predict could fail using maths?