They could do it whenever on their own time, and then we scheduled a 1 hour time block to review their code. Some people took an entire weekend, some people took an hour. Sure people are busy but at least this method also gives them the opportunity to see if they’d like to do the type of work we do, as well.
Overall ended up with really great hires who seemed to enjoy the challenge.
Sorry, but I'm not spending "up to two weeks" to answer some made-up problem you have for me
I have better things to do in life (like kids, current job, hobbies, etc)
An interview process is fair if you don't exclude any candidates that would have met the criteria if not for the lousy interview process.
While you seem to be enjoying the former (for now), you are intentionally or accidentally narrowing the pool, and mistreating a number of your candidates.
If intentional, the word will get out, even if it takes a while. If accidental, I hope you work to improve the process.
This is really the problem though. You can't ask an interviewee to do anything too time consuming if you want senior people, who often have kids or are otherwise busy.