Prp comments grader

If you have successfully submitted the prg1 project, you may participate in the peer review. The peer-review is not compulsory, all the pass criteria is listed in the Grading section in the Plussa frontpage.

After the deadline of prg1 and prg1-opt, two new branches will be created in your git repository: peer1 and peer2. You’ll need to use git pull in your own repository to get the updates. Please note that this does not mean pulling from course-upstream.

You should add comments to the following functions in both branches:

  1. get_places_alphabetically
  2. get_places_distance_increasing

The comments should be written in datastructures.cc. Inside the respective function and/or directly above the function.

Within those comments, you should highlight the things that effect the performance of the function the most. If there is something to praise or criticize - you are free to do so. Please note that the comments will be send back to the original programmer after the peer reviews are ready.

This grader will grade both functions in both branches with one run, the hash must be a valid hash in your repository, but otherwise it does not matter which hash it is.

Checking out a branch

To switch branches on the command line, you can do so within the repository by using git checkout:

git checkout peer1

To commit and push the changes on the command line, you can use git commit and git push as usual (example:)

git commit -m "Optimized sorting in peer1" -a; git push

Similarly, you can return return to the main branch with git checkout:

git checkout main

A+ presents the exercise submission form here.

Posting submission...