A code change passes unit tests and still violates the product requirement. How would you respond?

Instruction: Describe how you would handle a patch that is technically valid but product-wrong.

Context: Tests how the candidate diagnoses the problem, chooses the safest next step, and reasons through recovery. Describe how you would handle a patch that is technically valid but product-wrong.

Official answer available

Preview the opening of the answer, then unlock the full walkthrough.

I would treat that as a validation gap, not as a surprising edge case. Passing unit tests is not enough...

Related Questions