I Built My Friend a Mock Interviewer That Read His Rust Code
Description and use
grill is a local tool that scans repositories, identifies critical code lines, and asks questions based on them, helping a candidate prepare for real interviews.
Problem
Interview prep tools ask generic textbook questions, but real senior interviews focus on a candidate’s own code and probe specific lines.
Outcome
grill identified 116 interview‑worthy spots across four repositories, including a Mutex‑protected Arc in miccli’s audio callback, and conducted a mock interview with targeted questions and grading.
Workflow
- Clone candidate’s repositories
- Scan code for patterns (unsafe, locks, lifetimes, async callbacks, etc.)
- Present a code snippet and ask a question about it
- Candidate answers
- Model generates a follow‑up question
- Model grades the exchange and records missed points
- Store weak‑spot map for next session
Evidence
grill is a mock technical interviewer that has read your code.
It runs in a terminal, on an open model, on your own laptop.
Reads his repositories and finds the lines worth a question: unsafe blocks, locks, lifetimes, spawned tasks, useEffect, forEach(async ...), any, empty catch.
Interviews him on them. One question about that exact code, one follow‑up that presses on the weakest part of his answer, then a grade from 0 to 4 with what he missed.
Remembers what he got wrong. The next session draws more from his worst topics.
116 spots, and the top one is in miccli, his voice dictation CLI: an Arc<Mutex<...>> shared with a real‑time audio callback.
The open pieces: Gemma, served by Ollama on localhost; Mastra, the open‑source TypeScript agent framework.
- Record date: 2026-10-05T14:56:00.798Z