Formatscore
Coding rounds for AI roles
Practical builds: an agent loop, a RAG pipeline, a chunker, BM25, retries, a streaming parser.
What it is and why it exists
Instead of (or alongside) algorithm puzzles, AI roles ask you to build pieces of real systems in 45–60 minutes, usually in Python: call a model with tools in a loop, implement retrieval and ranking, write a robust parser for streamed output, add retries with backoff and idempotency. Code quality, edge cases and talking through trade-offs matter more than cleverness.
Quick prototype
—
In production, at scale
Practise the canonical builds until they’re muscle memory, with tests, and narrate naive → better → production-grade.
Vendors and tools
| Coding workbench in this tab | Python exercises with tests |
|---|
How it fails
- Silent coding
- No tests or edge cases
- Over-engineering before the basic version works
What the interviewer asks next
How do you handle “use any LLM API”?
Abstract the call behind a small function, mock it in tests, and focus on the loop, validation and error handling — that’s what is being assessed.