Execute the following script as root to setup your PostgreSQL workspace. This script will both install PostgreSQL if it is not already installed as well as set up all credentials necessary for the sequential marking script.
$ sudo bash setup.sh
If necessary, see env.sh to see the connection credentials.
$ cat env.sh
- Drag your submission under
src/com/kthisiscvpvnamed asAssignment2.java. You might need to make some slight modifications to make the program compile (eg. change yourpackagedeclaration, change the encapsulation of theAssignment2()constructor andConnection connectionvariable topublic). - Compile the program
App.javaas an executable file nameddriver.jar.
Student submissions were marked using the marking scheme identified under test-cases.md.
Execute the following script to run the automarker on your driver.jar submission.
$ bash run_test.sh "mark.txt"
This will generate a mark.txt file in the relative directory showing the result of all test cases passed.
Notice: The weighting listed inside test-cases.md is arbitrary. The grade you recieve on MarkUs may have a different weighting.
Notice: All student submissions are ran with a timeout of 5 seconds before their process is killed.