Quiz 7 Question 19 of 20

A team evaluates their code-generation agent solely by tracking whether the generated code passes all unit tests. Over three months, the test pass rate remains above 95%, but developers repeatedly report that the generated code is unnecessarily complex, uses deprecated APIs, and is difficult to read. The evaluation metric is not capturing this feedback. What is the team missing?

Select an answer to reveal the explanation.

Motivation