The Ministry Of Magic Couldn’t Actually Detect Who Was Casting Spells In Places With High Wizard Populations
While it is a known fact that the Ministry of Magic can detect where magic is used outside of the magical realm, it’s actually impossible for them to do so in areas that are heavily populated by wizards. This is why underage wizards and witches are seen using magic during the holiday break without any repercussions.