the university is indirectly cheating when they publish statistics about the grades their students get.
Not really as long as they don't guarantee that grade X guarantees a specific skill level. Clearly there is a usable correlation between grades and skill, but it's not super reliable, whence coding tests, interviews, requirements for n years experience, and so on.
As you say, the incentive and resource for the university to do something about this just isn't there.