When evaluating a formula such as max(AnimalSize,var("RACESIZE")), if the variable AnimalSize is not defined then the old broken parser is used and the jep function var("RACESIZE") is incorrectly evaluated as VAR0.0
Isn't this moot now?
I believe the old parser was removed?
Unfortunately this is still an issue. Many of the old parser's functions were removed but the fallback from JEP to the old parser is still in place.
You can test it out with a new Pathfinder character (core rules only) using the Expression Calculator dialog: