If you rank them based on # of tickets dealt with, they're just going to take the easier tasks.
If you rank them based on # of commits, they'll make a new commit for every line of code.
If you try and rank them based on lines of code, then the obvious hilarious thing happens.
Creating software is a team effort.
1. What am I trying to achieve, and how do I quantify it?
2. Do I have direct influence on what I’m trying to achieve? What can I control that influences my objectives?
3. What are my leading indicators to success? What are outcomes that occur, or do I expect to occur, before I am successful.
4. How much variability is there on the metrics I’m considering? If a metric goes down, how many interpretations can there be of that result?
5. How gameable are my metrics? If a metric increases in isolation, does that mean there is a good outcome?
It’s trivial to both measure and game, so not much time gets wasted trying to figure out either part. If you can’t beat Goodhart’s law, join it.