I don't understand the weighted_partial_grader.

I have a problem worth a total of 10 points (out of a grand total of 100 points for the entire set). It has four main parts.

Parts (a) and (c) are posed in the problem but are to be done on paper, where I'll score them.

Part (b) actually consists of 5 sub-parts to be done on-line. Part (d) is to be done on-line.

I want to give credit as follows:

(a) 1 point, awarded on paper

(b) 1 point per each of 5 part = 5 point subtotal, on-line

(c) 2 points, awarded on paper.

(d) 2 points, on-line

So after including "PGasu.pl" in the macro list in loadMacros, I used the following code:

`install_problem_grader(~~&weighted_partial_grader); $ENV{'partial_weights'} = [.1,.1,.1,.1,.1,.2]; `

$ENV{grader_message} = "You get the rest of the credit from handing in the paper homework";

But when I do the problem and get all subparts of (b) correct and (d) correct, what I see is the very misleading:

`Your score was recorded.`

You have attempted this problem 0 times.

You received a score of 100% for this attempt.

Your overall recorded score is 100%.

So I realized I probably needed to add a "fake" weight at the end, by changing the code to be:

`$ENV{'partial_weights'} = [.1,.1,.1,.1,.1,.2,.3]; `

And now the message I see as user changes to say:

`Your score was recorded. `

You have attempted this problem 1 time.

You received a score of 70% for this attempt.

Your overall recorded score is 100%.

But that still doesn't give the message about the rest of the credit to be from handing in the paper parts. And of course the "overall recorded score is 100%" is confusing, to say the least.

And the really bad part is that Scoring Tools now shows a score of 10 for this question (the only one I did), whereas it should show only the 7 points I actually did on-line.