Loading lesson…
Level 1 · Apprentice0 XP
Turn an experiment into code you can test, run and ship.
Step 1 / 5
ProblemThe prototype lives in a notebook with cells run out of order, a hard-coded API key, and files read from Sara's desktop. It works, once, on one machine.
← → step
Before this: Testing Python and LLM code with pytest
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Turn a notebook into a package with uv: pyproject.toml, src/app/, tests/, typed settings from .env, and a typer CLI command. Run it from a fresh clone.