Your prior should be that a mascot is fictitious until proven otherwise. That a mascot is a mascot is reason to believe that official history has been improved.
In 1906, when Pierre Curie died, his death was reported as follows in the French newspaper Le Matin
"M. Pierre CURIE, le savant qui découvrit le radium, a été écrasé dans la rue et tué net par un camion"
Translation "Mr. Pierre Curie, the scientist who discovered radium, was crushed in the street and killed by a truck"
As for Grace Hopper, she gets credited with the first compiler: But a compiler compiles a language. The great majority of references to the language her compiler supposedly compiled are mascot references rather than language references, and are hugely outweighed by language references to Fortran. Therefore, no such language, no such compiler.
Grace Hopper's actual contribution to computing was that she designed the Cobol language, the second high level computer language. She seems to have originally been made a mascot for developing Cobol, which she quite genuinely did, and then, when people responded by saying unkind things about Cobol, got credited with the first compiler instead, an improvement typical of mascot history..
If Cobol was less loathed, Grace Hopper would be a reasonable mascot as the creator of the second high level language. Since Cobol stinks, Lovelace, the second computer programmer, is the better mascot.
You dismiss the history as innacurate because information has been tampered with in a biased fashion, and yet the only evidence you point to is from a newspaper obituary, a forum of information traditionally uninformed and biased. My priors for "mascots" being fictitious are outweighed by my priors for conspiracy theories being fictitious. You say you know modern history's opinion has been changed, which implies that there exists at least some piece of convincing evidence that they did NOT manage to change, which you have read. Show it please.
Today is Ada Lovelace Day, when STEM enthusiasts highlight the work of modern and historical women scientists, engineers, and mathematicians. If you run a blog, you may want to participate by posting about a woman in a STEM field whom you admire. But I'd love to have people share women scientists/mathematicians/authors in the comments that they think we could all stand to read more about.