Define the metric for improving a code completion model

MediumResearch30 minRSREPro outline

The question

You are asked to improve a code completion model. Before training anything, define how you will measure 'better'.

Propose offline and online metrics, explain how they could mislead you, and describe the first experiment you would run.

What the interviewer is looking for

  • Offline metrics grounded in execution, not just text match
  • Online metrics tied to user behavior
  • Awareness of how each metric can be gamed or mislead
  • A cheap first experiment with a clear hypothesis
  • Thinks about latency as part of quality

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Reported in: jobs.ashbyhq.com, datainterview.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Mistral AI question.