We want to clarify something in the resulting message that we emailed you.
The following is a typical result:
A summary feedback report follows
You may direct questions to paihuang@paul.rutgers.edu
or to ffsong@paul.rutgers.edu
==================================================
12 tests in A1, you got 12 right. You are rewarded 12 points
5 tests in L1, you got 5 right. You are rewarded 15.0 points
You used higher order function map1. You are rewarded 5 points
What we meant is that you used MAP1/MAP2 WE PROVIDED in part b, then you get 5 points. You used higher order function reduce. You are rewarded 5 points
What we meant is that you used reduceUs or accumUs THAT WE PROVIDED in part b, then you get 5 points. You got more than 2 tests in L1 right. You are rewarded 5 extra points
11 tests in A2, you got 11 right. You are rewarded 5.5 points
6 tests in L2, you got 6 right. You are rewarded 12.0 points
9 tests in H3, you got 9 right. You are rewarded 9 points
8 tests in L3, you got 8 right. You are rewarded 16.0 points
You used higher order function map2. You are rewarded 5
What we meant is that if you used map2 with some other higher-order functions, but these higher-order functions are not provided by us, then you get 5 points. If you used a combination of map2 with reduceUs and accumUs that WE PROVIDED, then you get 7 points. 7 tests in L4, you got 7 right. You are rewarded 14.0 points
========================================================= We run your file with these testing files:
uniform.scm : defines isVar? and some other auxiliary functions for example opening and closing a file.
A1 -- tests matchAtomic
A2 -- tests matchAtomic2
L1 -- tests matchList
L2 -- tests matchList2
L3 -- tests matchList3
H3 -- tests matchList3
L4 -- tests matchList4
==================================================================
The way to run your file, for example:
scm < L1-test.scm uniform.scm proj4.scm (Order is important here!)
You can substitute L1-test.scm with all other files in the testing suite.
A file L1.res will be generated (For A1-test then A1.res). You can cat the file out and see how many tests you have passed.
==================================================================
Please direct any grading question to paihuang@paul or ffsong@paul. Please do investigate your code first, tell us where we do wrong. Please do not send an email like "My program works 100%. Where did I do wrong?" Instead, tell us what you observe in your own test run and any discrepency, if there exists, you see.
The graders are open to investigating any possible errors in the autograder.
===================================================================
First part: Test of matchAtomic and test of matchlist
A1: 12 tests. For each test returning correct values, you get 1 point.
L1: 5 tests. For each test returning correct values, you get 3 points.
If you use higher order function map2 or map1 THAT WE PROVIDED, you get 5 points.
If you use higher order function reduceUS or accumUS THAT WE PROVIDED, you get 5 points.
If you get good grade on L1 (a rough idea is that you get more than 2 correct. but the actual situation is more complicated than that), you get 5 points.
===================================================================
Second part: Test of matchAtomic2 and matchList2
A2: 11 tests. For each test returning correct values, you get 0.5 point.
L2: 6 tests. For each test returning correct values, you get 2 points.
===================================================================
Third part: Test of matchList3
H3: 9 tests. For each test returning correct values, you get 1 point.
L3: 8 tests. For each test returning correct values, you get 2 points.
If you have this form (reduceUs .... (mapx ....) ) you get 7 points.
If you have this form (xxxxx .... (mapx ...) ) you get 5 points.
xxxxx is some other higher-order functions. reduceUs and mapx are higher-order funtions THAT WE PROVIDED.
===================================================================
Fourth part: Test of matchList4
L4: 7 tests. For each test returning correct values, you get 2 points.
===================================================================
The highest grade you could get for this project is more than 100. However, if you get more than 100, the remaining part will be counted as your extra credit. We will finally multiply your grade by 0.8 or whatever the weight is to comply with the grading scheme.