WeBWorK Main Forum

Changing problem weight grade

Changing problem weight grade

by Heba Saleh -
Number of replies: 1

I want to change the weight of each entry in a problem after the set is closed, how can i do that?

I use "weightedGrader.pl" tool with WEIGHTED_ANS( num_cmp($il0n, reltol => 2), 15 ); code line to specific different weight for each answer.

When i go back now to change the code weight after the set closed it does not update the students scores?

In reply to Heba Saleh

Re: Changing problem weight grade

by Alex Jordan -

For an individual problem, the database stores a score at the moment the exercise is submitted. So if you change that exercise's code later, that (alone) will not affect the score that a student already has in the database.

There are ways to resubmit a student's answer(s), so it can be regraded and the score in the database could be updated. However it would be a lot of manual work and would have to be done one student at a time.