We are in the process of bringing up a new WW instance and are seeing a slight difference in an API result that it returns. We are using RenderProblem per below:
my $pg = WebworkWebservice::RenderProblem->new(
$ce,
$effectiveUser,
$key,
$setRecord,
$problemRecord,
$setRecord->psvn,
$formFields,
$translationOptions,
);
From our original server, when the student gets the problem correct or partially correct, we see $pg->{results} showing the right overall score. Something like this:
{"score"=>0.5, "msg"=>"You can earn partial credit on this problem.", "errors"=>"", "type"=>nil}
From our new server with the same problem (well, for any problem), we always get 0 for the score. The individual answer scores for each answer_name do show the right scores though.
{"errors"=>"", "msg"=>"You can earn partial credit on this problem.", "type"=>nil, "score"=>0}
We've verified we believe that our Webwork version (2.13), PG (2.14), and configuration files are identical on both servers, but clearly we are missing something.
Does this ring any obvious bells? Any suggestions would be most appreciated.