Make sure you talk to the group a bit. Everyone commends a nice person
As a rule though, if I'm DPS, and a DPS doesn't fail during the run, I give them the commendation.
As a tank/healer, I give the commendation to the opposite.