Under what circumstances would a lecturer 'bump up' a student to pass? When would someone marking papers (lecturer, etc.) bump a student from just below pass up to the pass line? Do teachers consider things like attendance?

Regardless of the consideration (attendance, participation, etc.) for giving a student a better grade than they deserve, what is the justification?
One of the things I like about teaching is that while we draw fine lines at numbers such as 65.0 and 89.5, teachers also get the final word on putting grades into the system, and the ability to look at a student's performance holistically to include non-tangible paper marks such as attendance (in class and office hours), intrinsic motivation, and future goals justifies "bumping" grades for particular students.

I don't do it often, but if a student is on the line and showed me high motivation but didn't quite get to the higher grade, I will consider bumping up the grade (but I won't do it because of grade-grubbing). Sometimes, it comes down to when I'm entering the final grade into the system, and I think, "You know, that 89.3% for Alice really should be an A-." I don't lose sleep over it, and it really is relatively rare.