Context Word: work. 
Question: PersonX got a better grade on the test than PersonY, since _ had put minimal work into learning the material. 
Answer: PersonX
PersonX got a better grade on the test than PersonY, since _ had put serious work into learning the material.