Her friendship with Ron and Harry had come at a cost — she had lost Gryffindor five house points and had tarnished her squeaky-clean reputation among the professors — but she had made friends, all the same.