There is a point in the code where the xp gained is multiplied by the ratio of skill divided by 10. It makes the xp gain 1x if the skill is 10. It makes it 1/2 x if the skill is 5 etc.