This article is also a perfect example of why coding challenges are terrible way to interview.
How I use coding challenges when hiring is by first forming my opinion about a given approach. Did this person try to stand out? Does he/she use novel constructs? Stick to what they know? Do they “practice what they preach” on their resume/first round? Etc.
After this, discuss with a colleague to reduce bias/subjectivity. Finally, invite the candidate to discuss the solution. Ask them to review (parts of) their own code as they would a colleague’s PR. This way, the assignment becomes a tool to start a conversation.