Creating application filtering questions

Posted by Ok-Leopard-3520@reddit | ExperiencedDevs | View on Reddit | 21 comments

Hey, I'm a senior engineer who designing the application questions for a new job post at my company (specifically for new grads, juniors, and interns).

Of course we can interview every candidate who applies, but we also realize most candidates end up using AI to answer take-home coding challenges.

So right now, I'm designing questions that I think ChatGPT will find hard to answer, but also shows that person actually knows how to using coding assistants (not just copying and pasting).

What do you think of these questions:
* * How do you know if the your coding assistant is hallucinating or lying?

* * How do you tell if your prompt to your coding assistant is or isn't specific enough?

* * How do you tell if your coding assistant is writing bad code?

* * How do you tell if your coding assistant is writing code that has unexpected side effects?

How would you answer these questions?