CS186 Projects
Submitting the Assignment


You may not modify the signature of any methods or classes that we provide to you, but you're free to add helper methods.
You should make sure that all code you modify belongs to files with TODO(proj2) comments in them (e.g. don't add helper methods to DataBox). A full list of files that you may modify follows:
  • src/main/java/edu/berkeley/cs186/database/index/BPlusTree.java
  • src/main/java/edu/berkeley/cs186/database/index/InnerNode.java
  • src/main/java/edu/berkeley/cs186/database/index/LeafNode.java
  • src/main/java/edu/berkeley/cs186/database/index/BPlusNode.java (Optional)
Make sure that your code does not use any (non-final) static variables -- this may cause odd behavior when running with the autograder vs. in your IDE (tests run through the IDE often run with a new instance of Java for each test, so the static variables get reset, but multiple tests per Java instance may be run when using maven, where static variables do not get reset).


Once all of your files are prepared in your repo you can submit to Gradescope through GitHub the same way you did for Project 0.

Submitting via upload

If your GitHub account has access to many repos, the Gradescope UI might time out while trying to load which repos you have available. If this is the case for you, you can submit your code directly using via upload. You can zip up your source code with zip -r submission.zip src/ and submit that directly to the autograder.


If you haven't yet already be sure to fill out this form so we know who you're working with. Every student is responsible for submitting to gradescope individually -- if you submit but your partner doesn't then your partner will not got credit. If you worked off of a shared repo both members of the group are free to submit that repo. Slip days will be deducted individually. For example: You submit on time, but your partner submits a day late. Your partner will have to use a slip day or will receive a late penalty on the project (but you will not).

Grade breakdown

  • 60% of your grade will be made up of tests released to you (the tests that we provided in
  • 40% of your grade will be made up of hidden, unreleased tests that we will run on your submission after the deadline.
Last modified 2mo ago