Lab 2 - Peer Code Review
- The lecturer assigns you a partner for this
lab.
- Open your Homework 1 program in
an IDE so that it can be modified.
- If the latest version of
your first homework is not on Bitbucket (or GitHub), create a commit
and push it. If necessary, refer to the materials from the
previous lab.
- Explain to your partner how the program
works so that they fully understand it.
- Open your latest submission on
Moodle and show your partner the time you submitted it, the
lecturer's latest feedback, and the program's execution
time on the server. NB! All automated tests must pass and sources
of information (AI included) must be properly referenced.
- Your partner must complete the same steps.
Then compare your program's execution times in Moodle.
- Make at least two specific suggestions
to your partner for improving their code (refer to the "Clean
Code" book). Possible aspects:
- Clarity of the
algorithm used
- Code execution
speed
- Code style and
program readability
- Adding, removing,
or refining comments and references
- Implement the agreed-upon changes, ensure
that the code passes all tests, and confirm that your partner is satisfied.
- Create a new commit titled "Enhanced with Partner
Name" and push it to Bitbucket (or GitHub). Your partner
must do the same.
- Show the latest commit to the lecturer.
- The lecturer will discuss and ask questions
about your partner's code (make sure you fully understand
it — repeat the review process if necessary).
- The lecturer will grade the work.
- Fill in the Homework 1 defense in Moodle.
Jaanus Pöial