My biggest advice is if they say to use 4 hours but you need 8 to do an amazingly thorough job then use 8. It's basically cheating but I've always found that it doesn't end up causing any actual problems in terms of being able to deliver at a velocity they needed in actual product work post-hire.
> Quality beats quantity. If you smash the hell out of a take-home project you won't need to do any more interviews.
This means a decent amount of that time spent on documentation, imho.
And being on the other side of the interview, I know many times the takehomes don't even get looked at.
First job me believed that. Current job me has done 2 take homes that only lead to ghosts. then 1 more that lead to failing a leetcode style interview. Never again.
and I have plenty of personal projects outside of work, I don't need more pet projects like the one comment up stream.