[system] / trunk / pg / lib / Value / AnswerChecker.pm Repository:
ViewVC logotype

Diff of /trunk/pg/lib/Value/AnswerChecker.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2915 Revision 2916
58 reduceConstants => 0, # don't combine student constants 58 reduceConstants => 0, # don't combine student constants
59 reduceConstantFunctions => 0, # don't reduce constant functions 59 reduceConstantFunctions => 0, # don't reduce constant functions
60 ); 60 );
61 $ans->{isPreview} = $self->getPG('$inputs_ref->{previewAnswers}'); 61 $ans->{isPreview} = $self->getPG('$inputs_ref->{previewAnswers}');
62 $ans->{cmp_class} = $self->cmp_class($ans) unless $ans->{cmp_class}; 62 $ans->{cmp_class} = $self->cmp_class($ans) unless $ans->{cmp_class};
63 $ans->{error_message} = $ans->{ans_message} = ''; # clear any old messages
64 $ans->{preview_latex_string} = $ans->{preview_text_string} = '';
63 65
64 # 66 #
65 # Parse and evaluate the student answer 67 # Parse and evaluate the student answer
66 # 68 #
67 $ans->score(0); # assume failure 69 $ans->score(0); # assume failure

Legend:
Removed from v.2915  
changed lines
  Added in v.2916

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9