fbec36cb67
Scaffold the course repo and author the full curriculum in dependency-chain order, following the settled build decisions in handoff.md. - Scaffold: course README, vendor-neutral AGENTS.md (dogfoods Module 5), _TEMPLATE.md (the fixed 9-section module shape), root .gitignore, ship config. - Modules 1-2: reference exemplars (locked for tone/depth/lab style). - Modules 3-27: full lessons + runnable labs, each following the template, respecting the chain, vendor/model-agnostic, with "feel the pain" labs. - Module 8 hosting comparison web-researched and date-stamped (as of 2026-06-22), not written from memory; expansion-zone modules carry Verify-before-publish. - Capstone: the full loop end to end on the running tasks-app example. Lab code syntax-checked (Python/shell/YAML); every module has the 7 core template sections. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TfzV5QvtPDz8LJS3Pu5VLT
871 B
871 B
Demo app — tasks (Module 13 copy)
The same tiny task tracker from Modules 1 and 2, with one feature added: a count command backed
by TaskList.pending_count(). Use this copy for the Module 13 lab so everyone starts from the same
code — including the same latent bug.
If you already have a tasks-app from earlier modules, you can use that instead; just make sure it
has a count command (the Module 2 lab added one). The planted bug in this copy is there on purpose.
Files
tasks.py— core logic (Task,TaskList), now withpending_count().cli.py— command-line front end. Addscount.
Run it
python cli.py add "write the tests"
python cli.py add "fix the bug"
python cli.py done 0
python cli.py list
python cli.py count
Requires Python 3.10+. No third-party packages — tests use the standard library unittest.