Milestones & the Hint Policy
beginner12 min readLesson 55 of 169
A build order that works, and the escalation ladder for getting unstuck (with AI too).
Suggested milestones
- The contract, in memory โ implement and self-test the three graded functions with plain lists. Everything else waits.
- Persistence โ
save_expenses/load_expenseswrapping JSON, with the missing/corrupt-file fallback you already wrote in Module 14. - The CLI surface โ menu loop or argparse on top of the working core. Keep this layer dumb: parse, call, print.
- Tests โ a suite of asserts over the core: boundaries (amount 0, ties), the corrupt-file case, a full summary example.
- Polish โ Vietnamese-friendly output (ensure_ascii=False), a README with
usage,
requirements.txtif you imported anything beyond the stdlib.
The hint policy (for AI too)
Stuck is normal. The escalation ladder: re-read the requirement โ write the pseudocode โ ask AI to EXPLAIN your error โ ask AI for a HINT on the approach โ only then, ask for a small code fragment you fully retype and verify. Copying a whole solution teaches nothing and the readiness checkpoint will find you out.