It's similar but it also brings in a challenging problem: coding tests costs candidates far more than it costs employers in terms of time. I am currently interviewing and two of the companies I am otherwise excited for sent take-home tests that just exhaust me, especially after a long day of otherwise productive work. I've got 12 years of experience under my belt but somehow great references and a killer resume aren't enough to convince them I can find a security vulnerability.
I do coding tests for the first interview. Nothing hard, just enough to do basic data modeling and writing a unit test. I also time cap to under an hour, and the internet is available as a resource.