One thing that I have noticed is that even if you manage to kill the patrolling guards or the teacher/students in one shot from sneaking, it turns the rest of the town hostile. It's still possible to keep ambushing them without retaliation or reputation loss as long as you're able to kill them in one hit without being detected.