Hermione was pulled away from her thoughts by a loud noise on the other side of the door. A female voice was yelling at someone, who presumably was Snape. A moment later the door swung open and Ginny Weasley stormed in.