How would you measure whether AI-written code is any good?

MediumSystem design20 minSWEMLEPro outline

The question

Leadership wants numbers on your AI coding tools: how much AI code survives, test coverage, and how often AI bug fixes work. Design the measurement.

What the interviewer is looking for

  • Defines retention precisely, such as lines still present after N days
  • Uses version control data rather than self reports
  • Includes quality signals: reverts, bugs, review comments
  • Has a baseline or control group

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported MiniMax question type: measure AI code retention, test coverage and a claimed efficiency gain.

Reported in: nowcoder.com

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