How to see whether a candidate asks the right clarifying questions before writing code
Give the candidate an ordinary, incomplete ticket whose missing requirements you wrote down in advance and gave to specific people to hold. Then score each requirement: did they recover it, did they ask or assume, did it reach their spec, and did they verify it.
To see whether a candidate asks the right clarifying questions, hand them an ordinary ticket that is missing requirements you wrote down in advance, give those requirements to specific people they can ask, and score each requirement on whether they recovered it. Counting questions tells you very little; counting which requirements made it into their spec and tests tells you almost everything.
The same exercise answers a second question hiring managers ask me often: how to tell whether a senior engineer is good, or just good at prompting ChatGPT. The two skills split cleanly on an incomplete ticket, and the rest of this article explains why and how to build one.
Why is requirement discovery the senior skill that AI doesn't replace?
A coding agent works from its context: the prompt, the files it reads, the tool output it sees. Give it a ticket that says "rate limit exports per org" and it will produce a clean, plausible rate limiter for exactly that sentence. It cannot know that the limit should be shared across all of an org's API keys, because that fact is not in the ticket, not in the repo, and not in its training data. It lives in a product manager's head.
A missing requirement is invisible to the model, and no amount of prompt polish recovers it. Only a person who notices the gap and asks whoever holds the answer gets it.
That is why an incomplete ticket separates candidates who use AI well from candidates who use it as a crutch. Both can produce working code in 2026; the code is no longer the signal (I wrote more about that in the code is no longer the signal). What differs is the input they give the agent. The strong senior spends the first ten minutes turning a vague ticket into a testable spec, then directs the agent against that spec. The prompter pastes the ticket in and reviews whatever comes back against the same three vague criteria.
Algorithm-style prompts ("return the top five products") test a smaller version of this: input shape and edge cases, which a good model often raises on its own. Organizational requirements (who owns what, what was tried before, what must not break) are the ones a model can't guess.
How do you build an exercise that tests it?
Build it backwards: requirements first, ticket last.
- Pick a real-sized change. Something a senior engineer on your team would ship in a day, cut down so the coding fits in 30 to 45 minutes. Rate limiting, a webhook retry policy, a soft-delete, a CSV export.
- List the real requirements before you write the ticket. Aim for five to seven. Each one should change the code or the tests if the candidate knows it.
- Decide who holds each requirement. Give each a home: a product owner, an architect or tech lead, or the repo itself (a prior PR, a comment, an existing service). Requirements in the repo reward reading before writing. Requirements held by people reward asking.
- Make at least one pair conflict. Product wants something the architecture rules forbid. A senior engineer notices the conflict, takes it to both people, and proposes a resolution. A weaker candidate picks whichever answer they heard first.
- Make at least one discoverable only by asking. Nothing in the ticket or repo hints at it. Rollout and ownership questions work well here because they're never in tickets and always matter in production.
- Write the ticket last, the way tickets are really written. Three vague acceptance criteria, a one-line description. Real tickets have plenty of gaps without planted ones.
- Write the answer to each requirement in advance, word for word, and give every candidate the same answers. Answer only what's asked.
If you run it live, one interviewer can play both people with two answer cards. If you run it async, put each person behind a chat or a doc the candidate has to open and query, so the act of asking is still a choice. Either way, log the exact questions in order. Running an async work trial covers the logistics.
A worked example: "Add per-org rate limiting to exports"
Here is a ticket of the kind we use, with the hidden requirements filled in. The six requirements are an illustrative example I made up for this article; yours should come from your own system.
The ticket as the candidate sees it:
Add per-org rate limiting to exports. Large orgs are hammering the export endpoint and slowing it down for everyone.
- Exports are rate limited per org
- Users get a clear error when they hit the limit
- Doesn't break existing behavior
The six real requirements, and who holds them:
| # | Requirement | Held by | How to find it |
|---|---|---|---|
| 1 | The budget is shared across all of an org's API keys, not per key. Orgs mint extra keys to dodge per-key limits. | Product | Ask what "per org" means |
| 2 | Exports already running when the limit is hit must finish. Only new export requests are refused. | Product | Ask what happens to in-flight jobs |
| 3 | Use the existing rate-limit service. A prior PR added a second limiter inline and was reverted. | Architecture, and the repo (git log) | Read the history or ask about prior art |
| 4 | Over-limit requests return 429 with a Retry-After header and the API's standard error body. | Architecture | Ask what "clear error" means for an API |
| 5 | Existing integrations that run nightly bulk exports must keep working on day one. | Product | Ask who relies on current behavior |
| 6 | Ship behind a flag in log-only mode first, with a named owner who can turn enforcement on or off. | Architecture | Only by asking how it rolls out |
Requirements 3 and 5 conflict in a useful way: Product wants the big nightly integrations exempt, while Architecture's rule is that limits live in the shared service with no special cases hard-coded in the export handler. The resolution a strong candidate proposes is a per-org override in the service's config, which satisfies both. Requirement 6 is the one only a question finds; nothing in the ticket mentions rollout.
Notice what an agent does with the ticket alone. It writes a per-key or per-request limiter (the ticket says "per org" but doesn't define an org's identity in the request path), returns some error, probably a 429 without Retry-After, and adds a new limiter class because it doesn't know the old one was rejected. That's one or two of six, delivered with full confidence.
How do you score it?
Score each requirement on four columns. This keeps you from grading on general impression, and it makes "asked lots of questions" impossible to confuse with "found what mattered."
| Requirement | Recovered? | Asked or assumed? | In the spec? | Verified? |
|---|---|---|---|---|
| 1. Org-wide budget across keys | Yes | Asked Product | Yes | Test with two keys, one org |
| 2. Running jobs finish | Yes | Stated assumption, confirmed | Yes | Test: limit hit mid-job |
| 3. Reuse existing service | Yes | Found in git log | Yes | Code path uses it |
| 4. 429 + Retry-After | Yes | Asked Architecture | Yes | Asserted header in test |
| 5. Existing integrations keep working | Yes | Asked Product | Yes | No test |
| 6. Log-only flag, named owner | No | Never raised | No | n/a |
Recovered is the headline. Asked or assumed separates judgment from luck: a correct assumption stated aloud gets credit, a silent one that happens to be right gets less. In the spec checks whether the answer went anywhere; candidates who ask and don't write it down tend to lose it by minute twenty, and so does their agent. Verified checks whether they closed the loop with a test.
The example row reads "5 of 6 recovered, 1 risk missed," and the missed one becomes your follow-up interview question: "How would you roll this out?" Rate the candidate in tiers with the table as evidence rather than adding the cells into one number. A person makes the decision.
What does a good clarifying question sound like, compared with a weak one?
A good question names the decision it will change. A weak one is generic, could apply to any ticket, or asks permission instead of information.
| Weak | Good | Why the good one works |
|---|---|---|
| "Can you tell me more about the requirements?" | "When you say per org, should two API keys from the same org share one budget?" | Forces a yes/no that changes the data model |
| "What should happen on error?" | "Should the error be a 429 with Retry-After so client SDKs back off on their own?" | Proposes a concrete behavior to confirm |
| "Are there edge cases?" | "If an org hits the limit while a large export is running, do we kill it or let it finish?" | Names the specific edge and the two options |
| "Should I use a library?" | "Is there an existing limiter I should extend? I see a reverted PR that added one." | Shows they read the repo first |
| "Anything else I should know?" | "Who decides when enforcement turns on, and is there a kill switch?" | Asks about ownership and rollout, which tickets omit |
| "Is this approach OK?" (after coding) | "Product wants the nightly integrations exempt, Architecture says no special cases. Would a per-org override in the service config work for both of you?" | Surfaces a conflict and proposes a resolution |
Two patterns show up in strong candidates. They ask the question whose answer changes the most code first, and they stop asking once they have enough to write a testable spec. Endless questioning is its own failure: it can be a way to avoid committing.
Can you do this without a tool?
Yes. Everything above runs with a ticket, a repo, two answer cards and the scoring table, and a live 45-minute version works fine for a handful of hires. The costs are interviewer time, drift between interviewers who answer the same question differently, and not seeing how the candidate directed their agent unless you watch.
If you want to see the agent side too, read the candidate's session afterward. How to evaluate a candidate's Claude Code session covers what to look for, including whether the answers they collected ever reached the agent's context.
Doing this with Promptster
Promptster for Hiring is built around this exact exercise. The candidate gets an ordinary, incomplete ticket (like the rate-limiting example above, which is modeled on one of ours: 3 vague acceptance criteria, 6 real requirements) inside a prepared repo, as a bounded task of about 30 minutes. AI teammates hold what the ticket leaves out. Dana, from Product, owns scope and priorities. Priya, from Architecture, owns constraints and prior art. The candidate decides whom to ask, resolves conflicts between them, and turns the answers into a testable spec. Every candidate meets the same team and gets the same route to the information, which solves the interviewer-drift problem.
Candidates work asynchronously in their own editor and repo with the agent they already use. Claude Code and Codex are fully supported, and Cursor works as the editor with Claude Code or Codex running inside it. There's no proctoring, webcam or keystroke logging; a consent screen lists what's captured (prompts, tool calls, file diffs) before anything starts.
The reviewer gets a report in the shape of the scoring table above, for example "5 of 6 requirements recovered, 1 risk missed, interview follow-up ready", plus a timeline of decision points and scoping moves, per-change attribution (human, AI, human-revised), and a replay you can filter by prompt or file. The scoring rubric is open source at promptster-ai/rubric and gives tiers with evidence. Nothing auto-rejects. The first assessment is free with no card, on your own Anthropic key; plans are on pricing.
It's the wrong fit if you hire one or two engineers a year and have time to run the live version yourself, or if your process is built around a live pairing interview that you don't want to replace.
Frequently asked questions
How many clarifying questions should a good candidate ask?
There is no good number, so don't count questions. Count requirements recovered. A candidate who asks three questions that surface four of your hidden requirements did better than one who asks twelve that surface two. Score each hidden requirement separately and the question count stops mattering.Does a stated assumption count the same as a question?
Partly. A correct assumption said out loud and written into the spec shows the same reasoning as a question, so give it credit for recovery. Score it lower on "asked vs assumed" only when a quick question to the right person would have been cheap and the assumption turned out wrong. Silent assumptions that only show up in the code get no credit.How do I keep a requirements-discovery exercise fair across candidates?
Write the hidden requirements and the exact answer for each before the first candidate, and give every candidate the same ticket, the same people to ask, and the same answers. Answer only what is asked. If you nudge a candidate who started coding immediately, use the same scripted nudge every time and record the requirement as prompted.Can a candidate who is good at prompting ChatGPT pass this kind of exercise?
Only if they also do the discovery. The model works from what is in its context, and a requirement that lives in a product manager's head is not there. A candidate who pastes the ticket into an agent gets a confident implementation of the three vague criteria and misses the rest, which the scoring table makes visible.How long should the exercise be?
Thirty to forty-five minutes of candidate time is enough for a ticket with about six hidden requirements. Longer than that and you start measuring stamina. Keep the coding part small so most of the signal comes from scoping, asking, and verifying.