WeBWorK Main Forum

Overall score discrepancies across WeBWorK instances

Re: Overall score discrepancies across WeBWorK instances

by Bob Carmichael -
Number of replies: 0
Thank you, not yet. I've since tested this using 2.14 for both with no luck. Clearly, something is different in our environment (as part of our integration), but I've yet to track it down.

I discovered that if I modified the PG code to take the (default) grader out of the safe compartment (as seen in original form below), it actually returns the correct values. Do you know how I can get error/log messages to bubble up out of the safe compartment?

($self->{rh_problem_result},$self->{rh_problem_state}) =
$self->{safe}->reval('&{$rf_grader}($rh_answers,$rh_state,%rf_options)');

I haven't dug any further yet.