Evasion and Hit Rate Calculation

I am looking for the Evasion Rate and Hit rate calculation within the code. I want to get a understanding how the engine calculates these rate, better yet where to find the calculation within the code and manipulate the calculation.
they aren't calculated, they are set by the traits.
and then are checked independently, no connection to anything else.

this might help you understanding:
Interesting. I was able to pull up the Evasion Rate which gave me "25". Not sure where 25 is coming from so I figured there was a calculation somewhere since it increases each level.
if the evasion rate increases then you already have a plugin that replaces the original static sum of traits.
which of course means the calculation has already moved away from the core files into the plugin files.

Original thread: https://forums.rpgmakerweb.com/threads/evasion-and-hit-rate-calculation.135775/