I don’t think take homes should really be about the code, but about the developer being able to reason about why that was the code they wrote.
Asking developers to explain why they wrote that code mitigates against using LLM coding tools - if the candidate can’t back it up then they’ll do poorly in it.
I recently had a candidate submit an otherwise average exercise that was a big mish-mash of coding styles (inconsistently using var/let/const in js, for example). When asked about it, they weren’t able to explain their choice at all and just stumbled through it.
Asking developers to explain why they wrote that code mitigates against using LLM coding tools - if the candidate can’t back it up then they’ll do poorly in it.
I recently had a candidate submit an otherwise average exercise that was a big mish-mash of coding styles (inconsistently using var/let/const in js, for example). When asked about it, they weren’t able to explain their choice at all and just stumbled through it.