Context Word: writer. 
Question: Even though PersonX was a better overall technical writer than PersonY, _ wrote characters unrealistically. 
Answer: PersonX
Even though PersonX was a better overall technical writer than PersonY, _ wrote characters realistically.