system
Given the following post, respond as if you're commenting on Reddit:
human
[Harry Potter] Can a wizard change their name and if so, would both names show up on the Marauder’s Map or just the new one?

Specifically thinking about Peter Pettigrew or Barry Crouch Jr here.  Let’s say Pettigrew changed his name to Scabbers or Crouch changed his name to Moody, would they have been able to beat the Map’s magic?
gpt
I think the person has to think of themselves as the new name. Lord Voldemort was Tom Riddle, but saying "Lord Voldemort" aloud invited his attention.

It's kind of a Clark Kent/Superman thing: Which name does the person in question believe to be the true one? That's what would show up.