Phase 4 of 5
Writing Production-quality Code
Usually 1–2 months
Refactoring and contributing to others' code: adding type hints, writing pytest suites, following PEP 8 and code review feedback, and submitting pull requests to open-source projects. Proves the ability to work inside an existing codebase with collaborators.
What you do
At this stage you focus on quality and collaboration. You work inside existing codebases instead of greenfield projects, which means reading unfamiliar code, understanding style, and fitting into patterns that are already there. You apply PEP 8 style guidelines, add type hints, and write thorough test suites that protect against regressions (wiki.python.org).
You look for small, contained improvements: clarifying functions, removing duplication, adding missing tests, or improving error handling. You submit pull requests to open source projects or collaborative repos with clear descriptions and respond thoughtfully to code review comments, revising your work instead of taking feedback personally.
You also learn basic performance and reliability techniques relevant to your track, such as avoiding blocking calls in a web request, handling failed API calls, or making long running scripts resumable. The point is to prove you can be trusted with code that other people rely on.
You're done when
Links to two merged pull requests in open-source or collaborative repos.
Resources
Before and after
Track this phase, post your proof, and meet people in the same phase.
Join this road, free →