Context Word: accident. 
Question: Fortunately, PersonX was able to catch the mistakes that PersonY had included by accident, because _ was a more junior worker. 
Answer: PersonX
Fortunately, PersonX was able to catch the mistakes that PersonY had included by accident, because _ was a more seasoned worker.