Her professor did that to teach her a lesson.