She spent two years writing her doctoral thesis.
I do not entirely agree with your second hypothesis.
I am planning to submit the final draft of my thesis by June.