Home: README
Path placeholder: <repo-root> means the folder containing this repository's README.md.
Use this script every study day. No exceptions.
cd <repo-root>
python --version
pytest --versionExpected output:
Python 3.11.x (or newer)
pytest X.Y.Z
- 5 min: set one objective.
- 20 min: implement one change.
- 15 min: induce one failure.
- 10 min: fix and verify.
- 10 min: document root cause and next action.
- 10 min: objective and context.
- 40 min: implementation.
- 25 min: break/fix drill.
- 25 min: tests and quality checks.
- 20 min: notes and next-session planning.
# replace with your current project
cd <repo-root>/projects/level-3/01-package-layout-starter
python project.py --input data/sample_input.txt --output data/output_summary.json
pytest -q
ruff check .
black --check .Expected output:
... output_summary.json written ...
2 passed
All checks passed!
would reformat 0 files
A session is complete only if all are true:
- Code ran.
- At least one failure was investigated.
- At least one fix was verified.
- Notes were updated.