The better grade.
She is not doing the volunteering to help. She is being motivated by the extra credit that is helping to bring up her grade. If for example, the teacher said she won't get extra credit whether she volunteers or not, there is a higher probability that she won't volunteer.