Your Karma is determined by how many games against human opponents you have finished. (Auto- , Quick-Match).
Premature quitted games against human opponents will decrease your Karma.
Finished games will increase it independent of your position on the final scoreboard.
For Auto-Matches you can look for fellow players with similar Karma.
The deliberate abandoning of matches unsportsmanlike and not welcomed!