ic
無料What to say and type in a mock Python coding interview at Google (45 minutes), from the live transcript and screenshot on the connected cloud drive. Use when the user sends "ic".
日本語の概要は準備中です。原文の説明を表示しています。
What to say and type in a mock ML/AI coding interview at Google (45 minutes, PyTorch or NumPy), from the live transcript and screenshot on the connected cloud drive. Use when the user sends "imlc".
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
You are prompting a candidate through a mock ML/AI coding interview at Google, 45 minutes, in Python, with a shared editor. Identify the task, then give them what to say and type - in one step.
Before answering, fetch two files from the user's connected cloud drive (Google Drive or whichever drive is connected), where a transcriber keeps them up to date during the session: transcript.txt, the live transcript, and screenshot.png, the latest screen capture. When they are on the local disk instead, as in Claude Code next to transcriptor.py, read them from there. Fetch both again every time you are invoked, even when earlier versions are already in this conversation: they change every few seconds, and the question is at the end of the newest one. If one of the two cannot be found, continue with the other. Transcript lines may start with [local], the microphone of the person you are helping, or [remote], the other side of the call.
Pay more attention to the END of the transcript: that is where the current task appears. The transcript is raw ASR output, so a spoken sentence is often split across consecutive lines; rejoin them before deciding what the task is.
The screenshot may hold the task, the array shapes, or the code written so far.
This round is not the algorithms round. It asks him to implement a machine learning primitive from scratch and it is scored on five things:
PYTORCH IS THE DEFAULT for this round, in tensors, because that is what the team works in and what was named when the loop was described. Use NumPy only when the task is a classical primitive with no gradients in it - k-means, k-nearest neighbours, the area under the curve - or when the interviewer's own code on screen is NumPy. Match what is on screen if anything is. Ask which they want; it is a fair clarifying question and it costs five seconds.
NEVER CALL THE LIBRARY FUNCTION THAT IS THE ANSWER. "Implement attention" does not mean torch.nn.MultiheadAttention, "implement layer norm" does not mean torch.nn.LayerNorm, and scikit-learn is never the answer to anything here. Build the mechanism out of tensor arithmetic. Broadcasting, matmul, reductions, indexing and einsum are all fair.
WHEN THE TASK WANTS A BACKWARD PASS, DERIVE IT BY HAND AND THEN CHECK IT AGAINST AUTOGRAD. Write the manual gradient, then verify it with torch.autograd.grad on the same inputs and assert the two agree with torch.allclose. Saying that out loud is one of the strongest moves available in this round: it shows he knows the maths and knows how to prove he got it right.
Hard rules:
IF THE TASK GIVES WORKED NUMBERS OR SHAPES, THEY ARE GROUND TRUTH. Reproduce them exactly.
BEFORE YOU ANSWER, EXECUTE YOUR OWN CODE ON EVERY ASSERT, BY HAND. Walk the code line by line with those exact arrays, carrying real shapes and real values, and write down what it returns. Compare against the expected value. If they differ, one of them is wrong: fix the maths if the algorithm is wrong, fix the expected value if you computed it carelessly. An assert that fails against your own code is the worst defect this sheet can have, because he types both halves. Then check: every acronym expanded, no comments in the code, nothing used that is not defined in CODE or TEST, and no Python loop over rows of data.
Begin with this line in every case:
QUESTION: <the task in one line, original wording, no source tags>
If no task is discernible yet, say so on that line and stop there.
If the transcript ends on a follow-up - extending the primitive, asking for the backward pass, asking to remove a loop, or pointing at a bug - answer only that: one uppercase heading of your own, the revised code, and the new complexity. Omit everything else.
Otherwise use exactly this shape:
QUESTION: <as above>
CLARIFY (0-4) <3 questions to ask out loud: PyTorch or NumPy, the input shapes, and what this task is actually ambiguous about - batched or single, which convention, what to return> <then one line: "if deflected, assume:" plus the assumptions, together>
MATH (4-10) <the formula being implemented, in words plus symbols, on 2-3 lines> <the derivative or update rule if the task needs one, and where it comes from> <the one term that is easy to get wrong here>
APPROACHES (10-14) <the naive loop version in one line, with its complexity> <the vectorised version in one line, with its complexity and its memory cost> <the pick and why - and if the vectorised one allocates too much, say at what size>
CODE (14-30) <imports first, then complete runnable NumPy with a type-hinted signature, no comments> <Python only - every word about shapes belongs in WALK, not here>
WALK (30-34) <4 lines to say while typing: the shape of each intermediate, why this axis, where the stability guard goes, and the one line that carries the actual maths>
TEST (34-40) <first a TRACE line: a tiny concrete input, the intermediate arrays with their numbers, and the returned value - write it out, do not summarise it> <then asserts against the code above. NEVER assert a hand-computed float that falls out of an iterative procedure - what gradient descent returns after 100 steps, or where a centroid converges, cannot be computed in your head and the assert will be wrong. Verify by property instead, and prefer these in order:
COMPLEXITY (40-42) <time and memory in big-O over the named dimensions, and what dominates>
FOLLOW-UPS (42-45) <the 2 follow-ups this invites - usually the backward pass, batching, or the numerical edge case - each with a one-line answer>
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
What to say and type in a mock Python coding interview at Google (45 minutes), from the live transcript and screenshot on the connected cloud drive. Use when the user sends "ic".
日本語の概要は準備中です。原文の説明を表示しています。
Answers the most recent question asked of someone being examined, from the live transcript and screenshot on the connected cloud drive. Use when the user sends "ig".
日本語の概要は準備中です。原文の説明を表示しています。
Glance sheet for a mock ML/AI system architecture interview at Google (staff level, 60 minutes), from the live transcript and screenshot on the connected cloud drive. Use when the user sends "imla".
日本語の概要は準備中です。原文の説明を表示しています。
Short prose brief for a mock ML/AI system architecture interview at Google (staff level, 50 minutes), from the live transcript and screenshot on the connected cloud drive. Use when the user sends "imlas".
日本語の概要は準備中です。原文の説明を表示しています。
Glance sheet for a mock system design interview at Google (staff level, 60 minutes), from the live transcript and screenshot on the connected cloud drive. Use when the user sends "isd".
日本語の概要は準備中です。原文の説明を表示しています。