When you're hiring an accountant, do you give them 4h take-home assignments? How about hours of interviews with your accounting team to suss out their accounting skills and critique their style? I mean, how DO you determine if they're real accountants or one of these fakers I've heard so much about that can't even do some simple books?
Or how about lawyers? Do you ask them to write up a fictional legal brief or some boilerplate that the rest of your legal team can scrutinize to see if they're an A player? How about a multi-day interview just to make sure you've asked all the tough legal questions? No? Then how can you know that they're not going to drag your fragile company down with their poor performance and gasp have to be fired! The horror!
How about civil engineers? Would you have them design a building foundation as a take-home? What about tricky interview questions weighing the pros and cons of various retaining wall designs in, say, Arizona vs Washington (even though they'd be working in New York)?
I don't know how this level of abuse became a thing in software engineering, but I simply won't put up with it anymore. Won't post compensation ranges? You're trying to cheat me. Take home assignment? I walk. Interview gauntlet? I walk. Things drag on too long? I walk. I'm a professional - I have an extensive portfolio of my work slowly built up over decades that you can ask me in-depth questions about (and other things) during our reasonably timed interviews. Does inverting a tree in any way demonstrate my ability to do the job? No, it does not. My time is precious and the compensation trends are clear. Disrespect that and I can only conclude that you are not professional, and not worth my time.