Translate the rubric into checks
Write down the required inputs, outputs, starter files, and restrictions. Turn each rubric item into a check you can answer with evidence, such as ‘prints one result per record’ or ‘handles an empty file’. Ask your instructor about ambiguous requirements before building around a guess.
Work one example by hand
Choose a tiny input you can trace on paper. For a word frequency assignment, start with ‘red blue red’ and predict two counts for red and one for blue. Check whether the prompt specifies case, punctuation, or output order before adding those rules.
Build in steps you can run
Get the starter code running, then add one behavior at a time. Keep a normal case, an edge case, and any required invalid input case. Save a working version before trying a larger change so you can tell which change introduced a failure.
Check the submission itself
Run the exact command your course specifies in a clean copy of the submission. Check filenames, dependencies, and output formatting. Write down how your code works so you can explain its decisions during a demo or code review.