I was asked to participate in an interview with a candidate for a junior programmer job within the company I work in. The interview includes a colleague of mine an HR representative.
Studying the solutions provided to the problems (the initial test), I have noticed that one of them looked quite advanced for a newbie and felt it was not solved by the candidate. I could quickly find the exact solution (same indentation, same structure, just a few variable names changed, so it's clearly copied).
The coding platform explicitly states that completely copying a solution is not allowed (only API documentation, StackOverflow etc. can be used)
I have already told the other colleague about what I found, since the job opportunity is within his department and I recommended to favor candidates that provided their solutions, even if they have less points.
I am wondering how should I react to this during the interview.
- tell the candidate - this would clearly embarrass him and might also make him cheat more elaborately in the future
- do not tell the candidate - this could be interpreted as unfair (feedback is incomplete)
Question: How to deal with a candidate that copied at the test?
Thank you all for the constructive comments and answers. Indeed the process is not OK, as most of the coding problems are at least 2 years old. Unfortunately, I cannot control the process, but I can make a suggestion to my manager to change it (i.e. ensure that problems are changed/updated).
The interview - the candidate showed a modest knowledge and he was unable to demonstrate he grasps the concepts required by the code he has written. My colleague suggested that we think he might have used some code from somewhere else and he was surprised that we figured it out.