productinterview.tools
MenuClose

Examples or Instructions: How Would You Improve This Prompt?

The interviewer asksYour prompt that classifies support tickets into 12 categories gets 78% accuracy. How would you improve it?

AI Product EngineerForward Deployed EngineerCoreBuild roundRepresentative7 min

On this page
  1. The 30-second version
  2. What it's really testing
  3. How to structure your answer
  4. The interview, played out
  5. The strong answer, distilled
  6. How it's scored
  7. How the answer changes by role
  8. Common mistakes
  9. More follow-ups to practise
  10. Go deeper
  11. Sources

The 30-second version

  1. Check the measurement: how many labelled tickets, and are the labels right?
  2. Find where it fails: which categories get confused with which.
  3. Fix the cause: clearer category definitions, examples of confusing pairs, merging overlapping categories.
  4. Change one thing at a time and measure on held-out tickets.
  5. If prompting plateaus, consider a fine-tuned or smaller classifier.

Watch it played outSee the strong answerHow it's scored

What it's really testing

  • Diagnosing prompt failures
  • Prompt iteration discipline
  • Knowing when to change approach

How to structure your answer

  1. Check the measurement.
  2. Find the confusion.
  3. Fix and measure.
  4. Know when to switch approach.

The interview, played out

A written example interview, not a real candidate or company transcript.Strong moveMissed signalRevealed when asked
  1. Interviewer
    Your prompt that classifies support tickets into 12 categories gets 78% accuracy. How would you improve it?
  2. Candidate
    First, 78% on what? How many labelled tickets, and who labelled them?
  3. Revealed when asked
    300 tickets labelled by the support team.
  4. Candidate
    OK. I'd look at where it's wrong: which categories get mixed up.
  5. Revealed when asked
    Most errors are between "billing" and "refund", and between "bug" and "how-to".
  6. Strong move
    Uses the confusion pattern to target the fix.
  7. Candidate
    Then I'd write sharper definitions for those pairs, with the rule that separates them, and add two or three examples of each confusing pair. And I'd check whether support agents themselves disagree on those; if they do, the categories may need merging.
  8. Interviewer
    How do you know it improved?
  9. Candidate
    Split the 300: tune on 150, check on the other 150, one change at a time.
  10. Missed signal
    Should mention a fine-tuned or smaller classifier if prompting plateaus.

The strong answer, distilled

  • Measurement: 300 tickets labelled by support; check label quality.
  • Diagnosis: errors concentrate on billing vs refund and bug vs how-to.
  • Fix: sharper definitions with the separating rule, examples of the confusing pairs; merge categories people disagree on.
  • Discipline: tune on half, measure on the other half, one change at a time.
  • Next step if it plateaus: a fine-tuned or smaller dedicated classifier.

This is one strong answer, not the only one.

How it's scored

Dimension Weak (2) Passable (3) Strong (5)
Measurement Trusts 78% Asks about data Checks data size and label quality
Diagnosis Rewrites the prompt Looks at errors Finds confused pairs
Iteration By feel Tests changes Held-out set, one change at a time

Round scorecard: FDE: technical and build round, filled in for the mock candidate

DimensionWeakPassableStrongThe mock candidate
ClarifyingStarts coding immediately.Asks a few questions.Pins down the goal, inputs and what done means first.Strong. Asked how accuracy was measured and on what.
ApproachUnworkable or over-built.Workable.The simplest approach that works, stated before building.Strong. Read the confusion between categories before changing anything.
TestingTries one happy-path input.Tries a few inputs.Tests varied and bad inputs, and checks outputs systematically.Strong. Measured each change on a held-out set.
Trade-offsNone mentioned.Some.Says what was cut, why, and what comes next.Passable. Considered a smaller fine-tuned classifier only when prompted.

How the answer changes by role

Role What to emphasise
AI Product Engineer The iteration loop and held-out evaluation
Forward Deployed EngineerForward Deployed Engineer. An engineer embedded with customers who scopes, builds and ships AI solutions into production. Read the full explanation Working with the customer's labels and categories

Common mistakes

  • Rewriting the whole prompt at once
  • Tuning and testing on the same tickets
  • Ignoring bad labels

More follow-ups to practise

  • "Accuracy is 95% but one rare category is always wrong." Hint: per-category metrics, not just overall.
  • "Cost matters: 1 million tickets a month." Hint: small model or fine-tuned classifier.

Go deeper

Sources

Representative question: written to match build rounds for AI product roles, not a specific reported interview.