No it's not. When i do interviews in-person (even if virtual) , I get the benefit of meeting my future colleagues and learning more about the company. It's much more a two-way benefit, versus an assignment where only one party (the company) gets any information from the other (me).
> When I worked for a technology analyst company, we would ask for writing samples--which most potential hires would already have. But, if someone didn't, they'd have to create one. It was very reasonably a non-negotiable requirement given that's what they'd be doing day to day.
The equivalent in tech is asking for a portfolio, which I have an ample amount of on github. I'm more than happy to hand this over to potential employers for them to gauge my work. But, the idea that I could complete a 4hour assignment within a week is ridiculous. My portfolio comes through constant, marginal improvements that make up a working system in sum. I've collectively spent more than 4 hours on most projects on GitHub, but they're done at my leisure, in my miniscule amounts of spare time, just spread over many years. But again, the idea of spending a solid four hours on any of them is just laughable. I have no time to do that.
Also, when you get to full day interviews, it's typically a sign the company wants you. Having been in both the hiring manager position and the candidate position, I've only once seen a full day interview end in a "No" and it was for particular circumstance.