Instruction: Explain how you would handle a coding agent that learns the wrong lesson from tests.
Context: Tests how the candidate diagnoses the problem, chooses the safest next step, and reasons through recovery. Explain how you would handle a coding agent that learns the wrong lesson from tests.
Official answer available
Preview the opening of the answer, then unlock the full walkthrough.
I would broaden validation and adjust incentives. If the agent can win by satisfying the visible tests while missing the deeper requirement, the workflow is rewarding shallow success.
That means adding requirement-level examples, related regression checks, review prompts about product intent,...
easy
easy
easy
easy
easy
easy