AI Engineering from Scratch
Interviews
Questions and measured incidents for AI engineering interviews. Try each question first, then open the answer. Every answer links to the lesson that teaches it, and every number comes from a run that you can read in the repository.
- questions
- 482
- scenarios
- 60
- cards
- 23
- role views
- 7
Foundations
The math, the networks and the transformer that every later answer builds on.
- Foundations22 items
Math and classical ML
Linear algebra, probability, optimization, and the classical models that still win on tabular data.
L1 4L2 9L3 6L4 322 of 15 planned - Foundations22 items
Deep learning
Backpropagation, losses, optimizers, initialization and how to debug a network that does not learn.
L1 3L2 9L3 7L4 322 of 15 planned - Foundations24 items
Transformers
Attention, positions, the transformer block, the KV cache and the cost of long context.
L1 4L2 10L3 7L4 324 of 15 planned - Foundations22 items
Tokenization, sampling and decoding
How text becomes tokens, how a model picks the next token, and how speculation makes decoding faster.
L1 3L2 9L3 7L4 322 of 15 planned
Models
How a model is tuned after training, served to users, and fit into GPU memory.
- Models24 items
Post-training
Supervised tuning, preference tuning, LoRA and reinforcement learning on a trained model.
L1 4L2 9L3 8L4 324 of 15 planned - Models32 items
Inference and serving systems
Batching, the KV cache, prefix caching, schedulers and how to measure a serving engine.
L1 2L2 16L3 11L4 332 of 30 planned - Models10 items
GPU memory, quantization and hardware
Where GPU memory goes, how quantization frees it, and how work splits across GPUs.
L1 1L2 3L3 5L4 110 of 15 planned
Applications
Retrieval, prompts, structured output, evaluation and models that see and hear.
- Applications26 items
RAG
Chunking, hybrid retrieval, reranking and how to measure a retrieval pipeline.
L1 4L2 11L3 8L4 326 of 15 planned - Applications22 items
Prompting and structured output
Prompt design, context engineering, schemas, constrained decoding and function calls.
L1 3L2 9L3 7L4 322 of 15 planned - Applications26 items
Evaluation
Metrics, eval harnesses, judges, calibration and how to trust a score.
L1 4L2 10L3 8L4 426 of 15 planned - Applications22 items
Multimodal
How vision and language models join images and text, and how they are trained.
L1 3L2 9L3 7L4 322 of 15 planned
Agents
Agent loops, protocols, teams of agents, sandboxes and evidence from binaries.
- Agents26 items
Agents
The agent loop, tools, scope contracts, verification gates and why agents fail.
L1 4L2 10L3 8L4 426 of 15 planned - Agents22 items
Protocols: MCP, A2A and skills
How agents call tools and other agents, and how those calls stay safe.
L1 3L2 9L3 7L4 322 of 15 planned - Agents20 items
Multi-agent systems
Supervisors, handoffs, shared memory, consensus and the failure modes of agent teams.
L1 3L2 8L3 6L4 320 of 15 planned - Agents18 items
Sandboxes
Isolation for agents that run code or drive a computer, and the policy around it.
L1 3L2 7L3 5L4 318 of 15 planned - Agents14 items
Evidence and reverse engineering
Reading binaries, recovering intent, and stating confidence with the evidence for it.
L1 2L2 6L3 4L4 214 of 15 planned
Production
Operating a model service: releases, observability, cost, capacity and safety.
- Production26 items
Production and MLOps
Observability, progressive delivery, A/B tests, chaos tests and on-call for model services.
L1 4L2 11L3 8L4 326 of 15 planned - Production22 items
Cost and capacity
Caching, routing, batch APIs, cold starts and the cost of each request.
L1 3L2 9L3 7L4 322 of 15 planned - Production22 items
Safety
Reward hacking, prompt injection, jailbreaks, refusals and safety gates.
L1 3L2 9L3 7L4 322 of 15 planned
Rounds
Whole interview rounds: system design, incidents, coding and behavioral questions.
- Rounds22 items
System design
Design a model service end to end: requirements, data, model, serving, evaluation and cost.
L1 3L2 9L3 7L4 322 of 15 planned - Rounds60 items
Incidents and scenarios
Measured incidents from our manuals. Read the evidence one listing at a time and find the cause.
L1 6L2 25L3 22L4 760 of 30 planned - Rounds22 items
Coding
Write the code that the lessons build. Each item links to a practice task with checks.
L1 3L2 9L3 8L4 222 of 15 planned - Rounds16 items
Behavioral
Framing work, planning from evidence, delegation and turning feedback into a system.
L1 2L2 7L3 5L4 216 of 15 planned
All items
Each item has a prompt, a short answer, a full answer, follow-ups and the wrong answers that interviewers hear most.
- A sentence score that comes out as exactly zero
- An R-squared below zero on the test set
- Read a shape error in a dense layer
- Two products in NumPy that print different numbers
- A cross-entropy that returns inf on real batches
- A test score that production never reaches
- Pick a threshold when 95 percent of the data is negative
- Read a perplexity from a mean cross-entropy
- Score a tree node with Gini and with entropy
- Why autograd adds gradients instead of setting them
- Why backpropagation runs the chain rule in reverse
- Why minimizing cross-entropy also minimizes KL
- Why plain gradient descent zigzags and momentum does not
- A forest that ranks a user id as its top feature
- A gradient check that fails for the wrong reason
- A logistic regression whose weights never stop growing
- A variance that comes out wrong on large values
- Bag the deep trees or boost the stumps
- Pick a 16-bit format for training and one for inference
- Build a stacking ensemble whose meta-learner never cheats
- Decide whether a small win on one split is real
- Test error that falls, spikes and falls again
- Ten layers with no activation are one layer
- Test accuracy that changes with the same weights
- Why one perceptron never learns XOR
- A classifier that predicts 0.5 and has a low loss
- A wide layer that behaves like one neuron
- How much gradient survives ten sigmoid layers
- Read the shapes of a 2-3-1 network from its Layer class
- Three lines that differentiate the cross-entropy loss
- Weight decay in the loss or in the optimizer
- What Adam's bias correction does in the first steps
- Where the 2 in Kaiming initialization comes from
- Why the dropout mask holds 1 over (1 minus p)
- A loss that sits at 2.3 on a ten class problem
- A training loop whose loss swings after a few steps
- The 30 second check before a multi-day run
- Two layers where most ReLU outputs are exactly zero
- What a learning rate warmup protects
- Why a deep residual stack needs more than Kaiming
- Why transformers normalize across features, not the batch
- A smooth loss that turns inf and then NaN hours in
- Choose a peak learning rate and a schedule in a few hours
- Warmup plus cosine schedule with pinned boundaries
- Count the attention work for 100 generated tokens
- Explain query, key and value in one minute
- Shuffle the words and attention does not notice
- Why the attention scores are divided before the softmax
- Absolute angles, relative distances
- Attention runs, and the context has the wrong shape
- Encoder, decoder or both for three products
- One reshape is right and one scrambles the heads
- Pick the attention variant for a 70B decoder
- The loss collapses and the samples are nonsense
- What eight heads cost that one head does not
- What the skip path does and where dropout may go
- Where the triangle of minus infinity comes from
- Why the norm moved in front of the sublayer
- A heatmap is not an explanation
- Count the parameters of a decoder stack by hand
- Is a tiled attention kernel an approximation
- Read the running softmax and find the fragile line
- Review a 2017-style block against today's defaults
- Take a model from 8K to 128K
- Take-home, a character-level decoder on a laptop
- A benchmark jumps between two model sizes
- Design the attention stack for 128K context on one card
- Split a fixed compute budget between size and tokens
- One step of byte-pair training and what it leaves behind
- The same prompt costs more tokens in Korean
- Why models read subwords and start from bytes
- Count the windows a token stream gives you
- How a grammar edits the logits and why it can be faster
- Put numbers on growing the vocabulary to 128K
- Speculation flies on code and stalls on creative writing
- The notebook works and the service never stops talking
- Three ways to build a subword vocabulary
- Two decoders, one breaks on an emoji
- What the split before the merges is for
- Why the encoder replays the merge list in order
- Every output validates and the answers are wrong
- From acceptance rate to tokens per pass
- Read one speculative step and defend each line
- Take-home, a byte-level tokenizer with tests
- The weights did not change and the score fell
- Which multi-token design gives a free draft
- Why a draft that reads hidden states accepts more
- Bake in the draft, train it after, or borrow a small model
- Design the tokenizer for a multilingual coding model
- Mean latency improved and the tail got worse
- A million scraped pairs or a small curated set
- Count the parameters of one LoRA adapter
- Train the head only, or fine-tune the whole model
- Why the SFT loss skips the instruction tokens
- A DPO trainer whose loss never moves
- A flat GRPO reward and the groups that teach nothing
- Fit a 7B fine-tune on a 24 GB GPU
- Replacing the human labeler with a principled model
- Reusing the pretraining learning rate for SFT
- The GPU is idle and the RL log keeps growing
- What the KL penalty in RLHF protects
- Where the reward model went in DPO
- Why reward models learn from pairs, not scores
- A step-0 gap several times the healthy range
- DPO or the full RLHF stack for a small team
- Margin up, chosen answers down, in a DPO run
- Pick a preference loss for four kinds of data
- Remove a cause of the gap before you reweight it
- Review a claimed RL speedup before it becomes a default
- The reward climbs and the human ratings do not
- Write and prove a custom reward for GRPO
- Design async RL rollout and control the sample age
- Does dropping the reward model end reward hacking
- Plan the post-training of a support assistant
- The two phases of one request
- Why 255 tokens per second is a slogan
- Cached tokens at zero with a stable template
- Choose tensor, pipeline or data parallelism
- How many users fit in the KV pool
- How speculative decoding keeps the output the same
- One token budget instead of two phases
- Read the GPU clock before the throughput
- Read three scheduler log lines
- Sleep, wake and weight updates for an RL loop
- Temperature zero gave two different answers
- The knee that the prefix cache hid
- Two clients, two numbers, one server
- What an FP8 KV cache buys and costs
- What many LoRA adapters cost one server
- Why one ID at the top of a prompt kills the cache
- Why the KV cache is a pool of 16-token blocks
- Why the shared part of the prompt goes first
- A larger token budget at low load
- Acceptance by draft position, tokens per pass
- An admission cap decides who waits
- Pick a concurrency cap when throughput keeps rising
- Pick the EAGLE3 draft depth for your concurrency
- Should the prefill chunk be smaller
- Speculation won the benchmark and lost in production
- Two data-parallel copies, less output than one card
- What determinism costs a live server
- When an FP8 checkpoint pays
- When prefill-decode disaggregation pays
- A split-server benchmark that counted empty answers
- Design a chat service on a fleet of L4 cards
- Same throughput, two choices at a full pool
- The model is 35 GB now, so it fits
- Count the KV bytes per token from the config
- Pick a 4-bit format for a 14B model on 24 GB
- Why an 8B model fails to start on a 24 GB card
- Pick the memory fraction on unified memory
- Split the model or copy it across two cards
- The FP8 KV scales that never loaded
- The pool was 95 percent empty and the server died
- Why FP8 grew the pool 4.77 times and not 2
- Eight copies of the same KV cache
- Retrieval or fine-tuning for the policy wiki
- The first metric to read after a wrong answer
- The retriever model and the reranker model
- Why vector search ranks by cosine
- Count the work of a reranker over the whole index
- Faithfulness and answer relevance grade different things
- Filter on metadata ahead of the vector search
- Read the parent-document retrieval function
- Read the rank fusion function
- Review a chunking choice before the first index build
- Settle a chunk overlap argument with one ablation
- The reranker is perfect offline and worse in production
- Vector search misses the article with the exact error code
- Which query rewriter fits a two-topic question
- Why hybrid search fuses ranks and not scores
- Build the eval that picks a retrieval configuration
- Design a question answering service over company documents
- Faithfulness stays high while reviewers find invented facts
- Let the assistant say it does not know
- Pick how many candidates the reranker scores
- Read the four lines that score a BM25 term
- Recall holds, MRR drops, nobody touched the retriever
- The invented passage made code search worse
- Design code search across ten repositories that stays fresh
- Every metric is high and one unit still gets wrong answers
- The other jurisdiction's clause reached the answer
- The three parts of a chat call and the prefill trick
- What JSON mode guarantees and what it does not
- Where step-by-step prompting helps and where it costs
- Cache reads stay at zero on every request
- Five votes, one path, five times the bill
- How many examples go in the prompt, and which ones
- Read the constrained generation loop
- The three ways a structured output call fails
- Tool descriptions decide which tool gets called
- Typed data or an action, and why the difference matters
- Valid JSON, worse accuracy, and the field order to blame
- Where each part of the context goes, and why
- Build a two-tier agent memory with eviction and citations
- Design an extraction service for purchase-order emails
- Design the executor behind an agent's tool calls
- Move memory consolidation off the critical path
- Pick the cache lifetime for a batch of code reviews
- What fifty tool definitions cost on every call
- Zero validation errors and wrong invoice totals
- Make each reasoning stage earn its cost
- Review a state write that can corrupt the next session
- Tune a three-store memory for three products
- Exact match gives zero to a correct answer
- Overlap metric, judge model or human review
- Two points on a saturated benchmark
- What a perplexity of 10 tells you
- A four point win on fifty cases
- A perfect needle test and a long contract
- Before a judge score can gate a release
- BLEU 28.3 in one paper and 0.283 in another
- Every metric moved and the product did not
- Pass at one of 0.6 and pass at five of 0.95
- The mean is green and users see failures
- The model that writes the answer grades it too
- The winner changed when you swapped the order
- Two engineers, one judge, different means
- An ECE of 0.02 on too few predictions
- An eval gate on every pull request
- Error bars for a pass rate and for a mean
- Perplexity improves when the batch grows
- Score generated code without an exec in the eval process
- The judge failed to parse and the mean went up
- Three models, fifty tasks, one leaderboard
- Two harnesses, two pass at k formulas
- A long context battery for every model upgrade
- Build an offline eval pipeline for a small model
- Eight points after a new training corpus
- The leaderboard winner is worst on code
- How much context one image costs
- The three parts of a vision-language model
- Why the first VLM stage trains only the bridge
- A caption decoder with its masks swapped
- A general VLM for which shelf the item is on
- Adapter tokens or one shared vocabulary for images
- Any number of images, a fixed number of tokens each
- Build and test a projection between two frozen models
- Predict the next scale instead of the next token
- Query bridge or MLP for the connector
- What one generated image costs in codes and seconds
- Which knob moves a multimodal reasoning score
- A gated VLM fine-tune that forgot how to write
- An early-fusion run that diverges at scale
- Dense human captions or two million distilled ones
- Monitor a deployed VLM for invented objects
- Three runs to close a VLM benchmark gap
- Three ways to generate an image from one transformer
- Why the tokenizer caps a generated image
- Design a VLM for an on-device UI agent
- One open model to answer, edit and generate
- Two losses, one transformer, one gradient step
- Seven surfaces, and the symptom when each is missing
- What a handoff packet carries that a status report does not
- What makes a loop an agent and not a chat bot
- What one feedback record carries
- A login fix touched five files
- A short router or a long manual for the agent
- Explicit finish tool or no-tool-call stop
- One turn cap for every task, what number do you give
- Pick the permission mode for the task in front of you
- Read the loop, what the caller gets at the turn cap
- Read the registry, what the model gets back on a bad call
- The agent said the tests passed, and no test ran
- This agent loops forever, find out why
- Turn be careful into a rule a checker can score
- Build the harness now, or wait for a smarter model
- Compact the context, or end the session and hand off
- Every action was approved, and the run was still harmful
- Package the workbench so one command installs it anywhere
- Read the harness, a hook aborts a tool call mid-plan
- The gate stayed green while the tests disappeared
- The rule is in the repo, and the agent keeps breaking it
- Why the verification gate has no model in it
- Bring evidence for one agent-assisted change
- Translate eight harness patterns into primitives
- Two hundred registered tools, forty visible at a time
- Two scope contracts apply to one diff, define the merge
- A protocol error is not a tool error
- Pick the MCP primitive by who chooses it
- What an A2A client reads before its first message
- A root is a hint, not a permission
- A shared cache in front of private notes
- Sticky sessions, GET streams and resume on the modern wire
- The pagination loop that ends two pages short
- The pin that passed a changed tool
- The poll loop that never ends and the deploy that should not
- Three cancellations that look like one
- Two errors from a client that forgot the version
- Why every MCP request repeats its metadata
- A webhook that may fire twice or not at all
- Confirm a deletion without a session
- Recover a dropped A2A stream without replay
- The charge that ran twice after a timeout
- The draft that vanished on the second replica
- The gateway that authorized a read and ran a delete
- When an old server is really old
- Build the admission gate of an MCP gateway
- How conformant is a server that scores 66.7 percent
- Two issuers, one resource server, no outage
- Read any multi-agent framework in one paragraph
- Where one agent stops working, and why
- Why a lead with workers beats one agent on research
- A number that never existed reached the final report
- Every agent reads everything, or agents subscribe to topics
- Five agents and a vote made the answers worse
- Five agents for a task that one call handles
- Read a multi-agent benchmark claim before you believe it
- Round-robin, a model selector, or the current agent decides
- Ten thousand concurrent model calls on threads
- Two agents hand off to each other until the cap
- A payment failure took the inventory service down
- A worker died mid-run, and the user paid for the run
- Design the verifier that has no write handle
- Read the vote aggregators and find the blind spot
- The legal question came back as finance findings
- Two workers returned different facts, the report shows one
- Design a lead-and-workers research system for production
- Design the quarterly failure audit for an agent team
- Three copies of one model voted, and the majority was wrong
- The agent has sudo and a Docker Engine, so where is the wall
- The key reads proxy-managed and the agent still works
- The page says send it, and the agent has a send tool
- A clean diff and a new pre-commit hook
- Four checks before spawn, and the call that gets through
- pwd was rejected in one run and ran in the next
- Share an hour of installs as a template or as a kit
- The host that timed out in 90 bytes
- The port that answers on one loopback and refuses the other
- Why the deny for example.com was refused
- A build that takes a day, on a sandbox that lives an hour
- A travel agent that reads any page and is logged in
- One allowlist for every laptop, and who can widen it
- Three failures in one sandboxed agent run
- Two mixins, one host, and the update that must stop
- Five identical calls, five rejections, exit 1
- Six engineers, one repository, one reviewable sandbox setup
- The allowlist that still lets the repository leave
- callers is empty and coverage says complete
- Three words for one sentence about grade(55)
- Every byte decoded, and the jump lands inside an instruction
- Four tests pass and the rebuild is 26 bytes long
- nm says one function, the file has five
- profile_mismatch after an upgrade and a rename
- Same id on two machines, refused after one deleted line
- The table starts at 0x14 and the addend says 0x10
- Every breakpoint resolved and none was hit
- How many cells prove two small functions equal
- Same 46 bytes, same relocation, wrong table
- Three addresses for grade and four block counts
- A proof record that stays unknown without a compiler
- The agent that answers what 95 prints and shows its work
- What a week in shadow mode proves
- What must exist before the first chaos experiment
- Which agent spans are CLIENT and which are INTERNAL
- Why a higher eval score still needs an experiment
- An even split that lands at 47 to 53
- Detect that the questions changed when the evals did not
- Half an answer and then silence
- How many samples a one percent canary gives a gate
- Make the next rollback take seconds
- Order the checks before a paid model call
- Read the prompt router's experiment assignment
- Should the full prompt live on the span
- The token dashboard reads zero after an SDK upgrade
- Trace retention when traces cost more than the model
- When the triage agent should say it is unsure
- Catch a leaking prompt within five minutes
- One trace across HTTP and stdio tool servers
- Pick an observability stack without locking in
- Review one span from a new instrumentation branch
- Set canary gates that do not halt on noise
- Stopping an experiment on the first good morning
- The provider slowed down and your service fell over
- Which fixes an operations agent may run alone
- Keep a production chaos experiment from becoming an incident
- Simulate a shadow, canary and rollback plan
- What the system does with a predicted outage
- Sort a workload into interactive, async or batch
- The metric to give finance instead of a token price
- Two caches, and why one did not move the bill
- A lower cache threshold hits more and answers wrong
- A warm replica all night, or a cold start at eight
- Controls that stop a bug from spending the month
- How many reads a cached prefix needs to pay off
- Per-token or per-minute billing for a daytime load
- Read the exact-match cache before it ships
- Ten parallel tool calls, ten cache writes, no reads
- Two cache hit rates from one scrape
- Which gateways fit in a 20 ms tail budget
- A bigger KV pool that bought nothing, until it did
- A few endless answers fill the pool for everyone
- A second replica that undoes the prefix cache
- Autoscale a model service on queue and cache signals
- Break an eight-minute start into its parts
- Price a nightly pipeline on batch with a cached prompt
- The router saved half the bill, then the escalations climbed
- Build a cost attribution and enforcement simulator
- Survive a provider outage without a redeploy
- Warm replicas per tier, with the arithmetic
- It refuses everything harmful, and the homework
- Name the attack before you defend it
- The reward keeps climbing, so why worry
- Constraints a classifier cannot see
- Four review findings, one mechanism
- How hard to penalize agreement
- Relabeling will not fix the sycophancy
- Replace the labelers with a model that reads principles
- The injection defense is one regex
- The input passed and the output leaked
- The model says 0.9 and is right six times in ten
- The same attack in base64, rot13 and zero width
- One table says 97 percent refusal
- Refusal when watched, refusal when not
- Rewrite the safety case so it survives review
- The detector said benign and the stream was cut
- The KL penalty bounds the drift, not the hack
- The red team's prompts all pass now
- Walk three requests through the gate's aggregator
- A red team range that runs without you
- Build the safety gate around a retrieval assistant
- Penalize the reasoning that plans to fake
- A churn model with a good AUC that nobody uses
- The signals that a demo has become a product
- When to say no to a model
- A spam classifier from 800 messages and a pretrained body
- Batch or online serving for a two-hour freshness limit
- Design a feature store that keeps training honest
- Design monitoring for a payment risk model
- Design the churn system, not the churn model
- Keep a chat service answering when the provider does not
- Project the monthly bill of a chat feature
- Put a model demo behind a public link safely
- Roll out a new prompt without betting the product on it
- A payment fraud check inside a hundred milliseconds
- Accuracy fell and every input monitor stayed green
- Design a chat API for ten thousand daily users
- Design cited search over ten repositories of code
- Design the gate that decides whether a model ships
- Offline accuracy was fine and live accuracy is not
- One command from raw data to a served tuned model
- Keep clean data when the model changes its own future
- Review an ML design document and name the blockers
- Write the rollback plan before the training run starts
- A 400 for long answers
- A pool at 5 percent, and the server still died
- A published port that answered on one loopback
- A tracker flag that stopped the run at start
- The sandbox stopped itself
- The trainer rejects the attention name
- A bigger prefill chunk that did not start
- A five-minute cold start on the GB10
- A kit from a local registry, three refusals
- A request ID that opens the prompt
- A resumed run that started from step 0 in silence
- A reward import error and a run that never stopped
- A rolling update that dropped every running answer
- A shutdown that retried a cancel forever
- A thermal throttle that voided an A/B test
- An engine share of 0.02 and a rollout six times slower
- An hour of polling a task that waited for us
- An implicit deny that looked like an outage
- CUDA graphs turned off to start faster
- Five identical calls and a run that ended itself
- Four failed starts after a pip install
- FP8 cleared the queue at 64 users
- Health probes that add load
- One error, two status codes
- Six steps in, is the run learning
- Startup out of memory on a shared GPU
- The draft that declared 2,048 positions
- The key in the log was a placeholder
- The radix cache turned off for predictability
- Two refusals, two wordings, one agent file
- Which side failed, the engine or the input
- A card that said production
- A dead rollout engine and a watchdog that kills
- A dropped stream ran the suite twice
- A flaky agent check that compared the wrong sessions
- A read-only database on a read-write mount
- A split benchmark that counted failures as wins
- An alert on a driver line that paged nine times
- An empty list that an agent read as none
- An RL speedup that was not an effect
- FP8 KV scales silently at 1.0
- LRU thrash in a small pool, then a crash
- More load gave a faster first token
- Ray stops the trainer on unified memory
- Speculation chosen on random prompts
- Speculation depth against batch size
- Temperature 0 still gave two answers
- Tensor parallel refused, data parallel starved
- The load knee and the cap that made it worse
- The logprob gap that jumped when the engine changed
- Two clients, two numbers, one server
- Two of two evals failed, and none of them ran
- Uniform prompt lengths that hid the stall
- A conformance score of 32.3 percent
- A memory guard paused the scheduler mid-start
- A rate sweep that never reached steady state
- A rebuilt function that was plausible, not equal
- An eval that stopped the run before step 0
- An exit code of zero that was not a pass
- Three reboots in one day under RL load
- The scale factor in dot-product attention
- What temperature does to sampling
- Why softmax subtracts the row maximum first
- A causal mask that blocks the token itself
- A merge that lets two matches share a symbol
- A training loss that reaches zero and learns nothing
- Dropout that still acts during evaluation
- Split heads with the right shape and the wrong numbers
- Swap the learned position table for a fixed one
- Train a BPE merge list from word counts
- Weight decay that went into the gradient
- Write the sampling step of a generation loop
- A KV cache that loses its last slot
- Attention heads that never mix
- GQA that pairs query heads with the wrong group
- Nucleus sampling that drops the token which reaches p
- Swap the final LayerNorm for RMSNorm without breaking it
- Sweep the peak learning rate and mark divergence
- Train the smallest language model past its baseline
- Which parameters get weight decay
- A byte-level tokenizer with protected special tokens
- Convert a multi-head checkpoint to grouped-query heads
- Leave work so that someone else can resume it
- Reframe a request that names its own solution
- Define the first slice so it can change the decision
- Pick the first experiment from a roadmap of features
- Set the success metric before the first result exists
- The same correction for the third time
- Two users describe two different workflows
- Weigh what a stakeholder tells you about their workflow
- What you check before you approve an execution plan
- A prototype that quietly acquired real users
- Brief the decision owner after a setback
- Decide what to delete from a bloated instruction file
- Decide whether to split work across parallel workers
- Write a specification that leaves judgment where it belongs
- Decide which choices an agent may make alone
- Turn telemetry nobody owns into a learning loop
No item matches these filters.
How to use the bank
- Read the prompt and answer it aloud or on paper before you open anything.
- Open the short answer, then the full answer. Compare the reasoning, not only the result.
- Answer the follow-ups one at a time. They rise in level.
- Read the wrong answers. Each one is a mistake that sounds right.
- In a scenario, read the evidence one listing at a time and commit to a cause before you open the resolution.
To practise with a coding agent, clone the repository: the files are in interviews/.