How does the sentence end?

Victoria spent long hours at the library doing research and studying, while Erin goofed off and went out drinking.
Victoria earned better grades on the final test.