> And even in the trades it isn’t common.

Source???

I'm definitely aware of welders and machinists having to show the quality of their work for interviews.

You might not think that basic coding/algorithms problems are good tests of actual performance, but being able to solve a problem, talk about your approach, debug issues when they come up, and then discuss expanding the solution in prod including trade-offs is actually a really great indicator of future performance in my experience.