跪拜 Guibai
← All articles
Frontend · Interview · Artificial Intelligence

AI Coding Interviews Now Test Judgment, Not Syntax

By kyriewen ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Western engineering orgs adopting AI-assisted workflows face the same filtering problem: how to identify developers who can steer AI output rather than just accept it. The interview techniques described here — live AI tool use, "when did you veto AI's code," and type-safety for nondeterministic outputs — are directly portable to any team hiring for AI-augmented roles.

Summary

A wave of Chinese frontend interview reports shows a decisive shift: candidates are told to use Cursor or Claude Code during the interview, and the real test is whether they can spot the flaws AI bakes into its first draft. Questions center on SSE streaming lag, type-safety for unpredictable model outputs, and discriminated unions for agent state — none of which AI generates correctly by default. Interviewers are filtering out candidates who paste AI output without review, labeling them "passengers" rather than "drivers."

A parallel discussion from LeadDev flags "Agentic Inequality" — the compounding advantage granted to developers who can afford premium tools like Claude Code Max. An intern who answered "none" when asked about Claude Code skills wasn't necessarily unskilled; they were priced out of practice. The barrier is real, but the article argues free alternatives like DeepSeek's open-source Harness and its cheap API let anyone build the same judgment skills without a $200/month subscription.

The core competency being measured is no longer writing code, but vetoing AI-generated code with engineering rationale. Candidates who can explain why they rejected an AI suggestion, or who proactively add AbortController and useDeferredValue to a naive streaming implementation, signal the driver mentality that separates hires from rejections.

Takeaways
Interviewers now ask candidates to open Cursor or Claude Code live and solve a problem, observing how they interact with the tool rather than whether the code runs.
AI-generated streaming code defaults to O(n²) string concatenation, no cancellation on unmount, and full re-renders on every token — candidates who spot and fix these demonstrate production awareness.
Type-safety questions focus on constraining AI's unpredictable outputs: designing discriminated unions for agent state machines and type guards for fields that change across model versions.
An intern answered "none" when asked about Claude Code skills because the $200/month Max plan was unaffordable — a concrete instance of "Agentic Inequality" where tool cost becomes a hiring filter.
DeepSeek's open-source Harness (MIT license) and its low-cost API let developers build agent-loop experience without paying for premium subscriptions.
Interviewers treat direct pasting of AI output without review as a red flag, and the ability to explain why AI wrote code a certain way as the hardest-to-fake green flag.
Building a real project that integrates AI — streaming, error fallbacks, boundary cases — provides deeper interview material than listing which AI tools were used.
Conclusions

Live AI-tool interviews invert the traditional coding test: the artifact matters less than the candidate's critique of it, making code review skill the primary signal.

The "driver vs. passenger" framing captures a genuine hiring heuristic — developers who treat AI output as a first draft to be hardened are qualitatively different from those who treat it as a finished answer.

Agentic Inequality is a useful lens: when a tool acts as labor rather than a passive instrument, cost disparities compound because practice hours translate directly into skill gaps that interviews measure.

Free-tier tools and open-source agent harnesses can close the practice gap, but only if candidates recognize that depth of use — not subscription tier — is what interviews actually probe.

The hardest-to-fake interview signal is explaining the principles behind AI-generated code, because it requires understanding the problem domain independently of the tool that produced the solution.

Concepts & terms
Agentic Inequality
A framework describing how access to AI agents — measured by availability, quality, and quantity — creates compounding advantages, since agents act as labor rather than passive tools, turning resource gaps into permanent skill and opportunity gaps.
Discriminated Union
A TypeScript pattern where a union type's variants share a common literal field (like `status`) that the compiler uses to narrow which fields are present, making illegal states unrepresentable — critical for modeling AI agent state machines where each state carries different data.
SSE Streaming Rendering Lag
Performance degradation in Server-Sent Events-based chat UIs caused by naive string concatenation (O(n²) over long conversations) and synchronous re-renders on every token; solved with chunk arrays, useDeferredValue, and AbortController-based cancellation.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗