Design a retrieval layer for code search, docs, and tests.

Instruction: Explain how you would build retrieval for a coding agent.

Context: Assesses whether the candidate can design a practical architecture and explain the main tradeoffs. Explain how you would build retrieval for a coding agent.

Official answer available

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

I would design retrieval so code, docs, and tests reinforce each other. A coding agent usually fails when it sees...

Related Questions