score calculation

How is base XP calculated?

I saw an unexpectedly high base XP score and couldn't quite make sense of it. What kinds of actions contribute to the score, and how are they weighted?