How Candidates Fail AI-Assisted Rounds

Topics Covered

Accepting Code Without Reading It

Why skimming feels safe

The accept cascade

What reading closely actually means

Reading versus trusting the summary

How interviewers spot it

The fix

Partial acceptance is allowed

A sample exchange

Practise reading diffs cold

The most common way to fail an AI-assisted round is also the simplest: accepting the assistant's code without reading it closely. It rarely looks like carelessness from the inside. The assistant produces a tidy diff with sensible names, the visible tests pass and the clock is running. Reading every line feels slow. So the candidate skims, applies and moves on. This lesson goes through that failure and the others that follow from it, so you can recognize them in your own practice rounds before an interviewer does.

Why skimming feels safe

Assistant code looks competent. It is formatted consistently, uses reasonable names and often includes comments. Those surface features are exactly what people use to judge code quality at a glance, and they are almost entirely unrelated to whether the code is correct. A boundary condition that should be less than and is less than or equal looks identical to a correct one at a glance. A call to a method that does not exist looks like any other method call. A refactor that reorders two operations looks like tidying up.

Visible tests add to the false comfort. If the repository has tests and they pass after the change, it is tempting to treat that as proof. But the visible tests in an interview repository are usually incomplete by design. They cover the obvious cases so you can tell whether your code runs at all. The grader runs more cases afterwards. A diff that passes the visible tests has cleared the lowest bar, not the real one.

The accept cascade

The damage from accepting one unread diff is rarely limited to that diff. Later work builds on it. You ask the assistant for the next step, and it reads the code you just applied, including its bug, and builds on top of it. By the third or fourth step, the original mistake is buried under several layers of code that depend on it.

Accepting diffs unread feels fast. The bug in the first one is found last, when it is most expensive.

When the bug finally shows up, as a failing hidden case or an interviewer's question, finding its cause means unwinding everything applied since. This is the main reason accepting unread code is so costly: it does not just add a bug, it adds a bug at the moment when it is cheapest to find and moves it to the moment when it is most expensive.

What reading closely actually means

Reading closely does not mean reading slowly or reading every character. It means reading with specific questions in mind. For every diff, ask: what lines changed, and did each one need to? Did any condition's boundary move? Does every function and method it calls actually exist in this codebase and language? Did the order of any operations change? Does it modify anything that other code also uses? What does it do on the empty input, the single element input and the boundary input? Module 4 turns these questions into a routine you can run in a minute or two.

Most diffs in an interview are short, ten to thirty lines. Running those questions over a short diff takes less time than people expect, usually under two minutes. That is the trade you are making: two minutes now against a much longer debugging session later, or a lost correctness point you never find.

A minute of review at the diff saves many minutes of debugging later.

Reading versus trusting the summary

Assistants often describe their changes in a short summary: I fixed the boundary check and added validation for empty input. Summaries are useful as a map, but they are not the code. Assistants sometimes describe changes they did not make, omit changes they did make or describe the intent of a change correctly while the code does something slightly different. Read the diff, not the description. If the summary says it fixed the boundary check, find the boundary check and confirm what it now does.

How interviewers spot it

Interviewers notice unread acceptance in several ways. They see the time between a diff arriving and being applied, and a twenty line diff applied in five seconds was not read. They ask about a line, and the candidate has to read it for the first time to answer. They see a later bug whose cause was in an early diff. Some environments log every applied suggestion, so the pattern is visible even after the round. The note that ends up in the feedback is usually some version of applied assistant output without reviewing it, and it weighs heavily on verification and understanding.

The fix

The fix is a habit rather than a technique: never apply a diff you have not read with the review questions in mind, and say one sentence about each diff before applying it. The sentence might be this looks right, it only changes the comparison in the overlap check, which is what we wanted, or I am not applying this yet because it changes the signature that the handler depends on. That sentence forces the review, tells the interviewer it happened and costs about five seconds.

Partial acceptance is allowed

One more point is easy to miss. You do not have to accept or reject a diff as a whole. Many editors let you apply part of a suggestion, and even when they do not, you can apply the whole thing and then edit out the parts you do not want, or ask the assistant to redo it without those parts. Strong candidates often say something like: the change to the comparison is right, but it also rewrote the error message and added a log line, neither of which we need, so I will keep only the comparison. That is precise, cheap and exactly the kind of judgment the round rewards.

A sample exchange

Here is how the habit sounds in a real round, when the interviewer probes a diff the candidate has just reviewed.

Interview Dialogue

InterviewerClick to reveal answer
CandidateIt changed one comparison from less than or equal to less than, which matches the spec that bookings touching at an endpoint do not overlap. It also added a check that the start is before the end, which we did not ask for.
InterviewerClick to reveal answer
CandidateNot a problem in itself, the spec says a booking with start equal to end is invalid, so rejecting it is right. But I want to confirm how the caller expects a rejection to look. Let me check the handler. It treats a false return as rejected, so returning false for an empty booking is consistent.
InterviewerClick to reveal answer
CandidateYes. I will keep both, add a test for touching bookings and one for a zero length booking, then run the whole suite.
Show all answers

Notice what the candidate does not do. They do not say it looks fine and apply it, and they do not reject the extra check out of caution. They read the diff, find the change they asked for, find the one they did not, check it against the specification and the caller, and decide. The whole exchange takes under a minute and gives the interviewer evidence on verification, understanding and correctness at once.

Practise reading diffs cold

To build the habit, practise reading diffs you did not ask for. Take a small function, ask an assistant to improve it without saying how, and review the result as if a colleague had sent it. Count the changes, classify each as requested, harmless or risky, and decide what to keep. After a handful of these, the review questions become automatic.

A green visible suite is not a review

Visible tests in interview repositories are usually incomplete on purpose. Treat them as a smoke test for whether the code runs, then do the review that the tests cannot do for you.