WeBWorK Problems

Weighted problem grader with Unordered Answers?

Weighted problem grader with Unordered Answers?

by Paul Seeburger -
Number of replies: 1
Is it possible to use the weighted problem grader along with the unordered problem grader?

I use:

UNORDERED_ANS( 
$ans1->cmp( checker => sub {
    my ( $correct, $student, $self ) = @_;
    return ($correct == $student || $c2 == $student || $c3 == $student);
}), 
$ans2->cmp(), 
$ans3->cmp(checker => sub {
    my ( $correct, $student, $self ) = @_;
    return ($correct == $student || $c4 == $student);
})
);

and I would like to make these each worth a small amount and the other two answers in the problem worth a larger amount.

Thanks!

Paul