For the first round, the recruiter sent me an open-book system design assignment, and the end result had to run.
What you need to prepare:
- Python 3.11 or higher
- uv (Python package and project manager)
- A Fireworks API key (your hiring contact also provides API credits)
The assignment includes:
- Six 10-K annual reports from Apple, Microsoft and Alphabet, covering FY2024 and FY2025
- A local SQLite database with structured financial data
- A development set of 10 questions
Your task is to build a locally running Agentic RAG system that:
- can run on the reviewer's local machine
- supports interactive use
- provides an HTTP API at the /api/chat path on localhost port 8000
- routes each query to the right data source (or several sources)
- combines the structured financial data with the 10-K reports to produce grounded answers that can be traced back to the original material
- supports both simple information retrieval and multi-step reasoning tasks
Follow the instructions in the README carefully. In particular, the final submission has to include:
- dev_answers.json, the answer file for the development set
- a short report of 1 to 2 pages
- a README that clearly states the exact commands needed to run it locally, the environment variables, and the environment setup and initialization steps
You can use AI to help build the system. I designed it and sent in the answers, and was then told I had passed and would go on to a discussion with the interviewer. The questions in that discussion:
- Walk through the algorithm of the RAG system you used.
- What do you need to watch out for in maintenance, and what do you do if the database or the files go stale?
- How would you do the evaluation?
After that I was told I had moved on to the next round.
Discussion
Loading comments…