Question: what happens when you beat team rocket 10 times?
Answer: Hero badges are distributed when you defeat 10, 100 and 1,000 Team Go Rocket Grunts. Purifier badges are similar whereby they are earned when purifying 5, 50 and 500 Shadow Pokemon.