Would you do a 4-hr take-home assignment? What if I gave you a $100 amazon gift card?
There's a big difference between making someone jump through countless, one-sided hoops and asking for a little effort. The challenge IME is finding the balance.
Personally, if I can get to an onsite with another company after a recruiter chat and phone screen, I’m not even going to do a “2 hour” project. In my experience, actually spending the recommended amount of time on one of these take home projects is a losing proposition when there are people who will spend more time on it.