- The necessary junit jars can be found here.
- Copy student submission files(except Picture.java) to src folder.
- Run PA3Test.
- The sections testing ImageProcessor.
- Grades and comments will be added to points.csv.
- Report, Iterative solution and ImageProcessor would need to be graded manually(details below).
Total Points - 500
- Report - 50 points
- MinCostVC - 150 points
- Any Iterative Solution - 50 points
- Accurate minCostVC (10 tests) - 50 points
- Efficient Runtime - 50 points
- StringAlignment - 150 points
- Any Iterative Solution - 50 points
- Accurate StringAlignment (10 tests) - 50 points
- Efficient Runtime - 50 points
- ImageProcessor - 150 points
- Any Iterative Solution - 50 points
- Image width reduced properly(4 tests) - 100 points
Here are grades that should be calulated or adjusted manually
We only look for the Recurrence relations for minCostVC and stringAlignment. Each carries 25 points
For MinCostVC, StringAlignment and ImageProcessor, if at least one test has passed and the student has attempted an iterative solution, they get 50 points for each section.
The reducedWidth method is tested on 4 images in the 'input' directory. In each image, the band of solid colors must be removed. The reducedWidth image will be stored as testGraphProcessor1.png,...,testGraphProcessor4.png in the project root directory. The script assumes that the image is correct and adds the points for each of these tests as long as there is no exception. The points must be deducted manually if the image seems incorrect.