Thanks, I did not know about these articles.
Looks like my method calculates what the author terms the "raw value" of a unit. This is good information since Relic seems to use it as a balance indicator when they were taking care of balancing units. Given the tests I made, I doubt that this principle was patched out over the years, so we can still use it as an indicator.
Yes they are interesting articles, glad that I could help.