We send you a take-home: build a RAG service over this corpus, we say roughly six hours. What do you do before writing any code?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
I send an email, then I timebox. The email asks three things: what does done mean to you (working prototype or production-shaped), is there a written rubric, and can I use a hosted API and coding assistants. Asking is not a demerit. It's the first observable signal you get from me, and it mirrors how I'd start a real ticket.
Full worked answer
I send an email, then I timebox. The email asks three things: what does done mean to you (working prototype or production-shaped), is there a written rubric, and can I use a hosted API and coding assistants. Asking is not a demerit. It's the first observable signal you get from me, and it mirrors how I'd start a real ticket.
Then I timebox to the stated hours plus about 25%, split roughly 50% core path, 25% evals and error analysis, 25% README and cleanup. The one thing I won't do is spend six hours on features and zero on evaluation. A small ingestion-plus-retrieval-plus-answer path with 15 hand-written test cases and a pass/fail script beats a sprawling multi-agent thing with no way to tell whether it works. Graders spend ~15 minutes; a crash in minute one means nothing else I did counts. Working and boring wins.
Every scope cut goes in the README explicitly: "sync calls only, no streaming; fixed-size chunking with overlap because the corpus is uniform prose; with another week I'd add a reranker, but I'd measure recall@k first." Naming the shortcut reads senior. Hiding it reads junior, because you'll find it anyway.
On negotiating: if the ask is realistically 20 hours unpaid, I say so and counter. "I can't commit 20 hours, but here's a repo of mine that demonstrates the same skills and I'll walk through it live, or I'm happy to do a paid trial." Reasonable companies take that. The ones that don't have told me something useful. I'd also decline a take-home that looks suspiciously like their actual roadmap, or one issued before any human has spoken to me.
And I write it assuming a defence round, because there almost always is one. Use whatever tools you like, but if you can't justify a design choice in a 45 to 90 minute walkthrough, you didn't make it.
What a good answer covers
- The email asks three things
- It's the first observable signal you get from me, and it mirrors how I'd start a real ticket
- Then I timebox to the stated hours plus about 25%, split roughly 50% core path, 25% evals and error…
- The one thing I won't do is spend six hours on features and zero on evaluation
- A small ingestion-plus-retrieval-plus-answer path with 15 hand-written test cases and a pass/fail script…
In the glossary: Error analysis · Multi-agent · Chunking · Recall@k
Interviewer follow-ups to expect
What would you cut first if you hit hour four and only had the ingestion path working?
How would you decide whether a take-home is a reasonable ask or free consulting?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep