The agent keeps editing the wrong file because the repo has similar module names. How would you fix that?

Instruction: Explain how you would improve repo targeting when search results are ambiguous.

Context: Tests how the candidate diagnoses the problem, chooses the safest next step, and reasons through recovery. Explain how you would improve repo targeting when search results are ambiguous.

Official answer available

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

If the repo has similar names, the agent needs more than fuzzy search. I would add stronger grounding signals and...

Related Questions