Home
/
System Designing
/
07. Coding Exercises
Coding Exercises
Local home for short, timed coding reps. Use this workspace when you want to practice implementation skills inside tracker/ instead of spinning up a separate repo.
When to use this vs module assignments
Use case
Where
Bigger weekly build tied to the curriculum
module assignment.md inside 01_ai_engineering/ or 06_system_designing/
30-60 minute timed coding drill
07_coding_exercises/
Mock interview rep
07_coding_exercises/ + ../interviews/07_coding_drills.md
Exercise map
#
Exercise
Timebox
Focus
Folder
01
Streaming chatbot
30-45 min
Streaming, history, retries
01_streaming_chatbot/
02
Structured job extractor
30-45 min
Structured outputs, validation
02_structured_job_extractor/
03
Tool-calling agent
45 min
Tool orchestration, iteration caps
03_tool_calling_agent/
04
Eval harness
20-30 min
Gold sets, scoring, reporting
04_eval_harness/
05
Debug looping agent
30 min
Debugging, termination logic
05_debug_looping_agent/
06
RAG hardening
45-60 min
Reliability, citations, refusal
06_rag_hardening/
07
BPE tokenizer from scratch
60-90 min
Tokenization internals
07_bpe_tokenizer/
08
Sampling strategies
30-45 min
Greedy, temperature, top-k, top-p
08_sampling_strategies/
09
Beam search
45 min
Beam search with length normalization
09_beam_search/
10
Backprop by hand
60 min
NumPy MLP, manual gradients
10_backprop_by_hand/
11
Embedding search
30-45 min
Cosine top-k, naive IVF
11_embedding_search/
12
LLM-as-judge loop
45 min
Rubric scoring, position-bias mitigation
12_llm_judge/
13
Voice agent loop
60-90 min
VAD/STT/LLM/TTS pipeline, end-of-turn, barge-in
13_voice_agent_loop/
Workflow
Pick one folder and read its README.md.
Set a timer before you start coding.
Work directly in the starter file in that folder.
If you want multiple attempts, duplicate the starter file to attempt_02.py or similar.
After the rep, note the outcome in learning/progress.md or your commit history.
Ground rules
Keep practice inside this repo.
Ship a working version before polishing.
Prefer one strong rep over reading five more examples.
Re-run the same drill after a week if the first pass felt shaky.