Are the encyclopedia unit stats hard coded or do they reflect the values as used by DMS drawn from tables?

Thank you.