[ww-bugs] Bug 3451: New: Bug in CollegeOfIdaho/setAlgebra_05_06_Factoring/56IntAlg_13_Factor.pg
bugzilla-daemon at webwork.maa.org
bugzilla-daemon at webwork.maa.org
Fri Sep 18 07:50:17 EDT 2015
http://bugs.webwork.maa.org/show_bug.cgi?id=3451
Summary: Bug in
CollegeOfIdaho/setAlgebra_05_06_Factoring/56IntAlg_13_
Factor.pg
Product: Problem libraries
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Library (OPL)
AssignedTo: jj at asu.edu
ReportedBy: mummertc at marshall.edu
Web browser ---
version:
The library problem
CollegeOfIdaho/setAlgebra_05_06_Factoring/56IntAlg_13_Factor.pg can throw an
error message if the student enters a sufficiently bad answer.
The problem uses a custom answer checker to see if a polynomical is fully
factored. The student entered "z(x^4-5y)-(x^4-5y)", which is not fully
factored. This led to an error message shown to the student.
I checked that the similar input "z(x^4-5y)-1*(x^4-5y)" does not give an error
(although it is marked as a wrong answer, as it should be). When I entered
correct answers, they were marked as correct. So the bug seems to be only with
sufficiently incorrect answers.
The error message follows.
-----------------
Warning messages
Error in Translator.pm::process_answers: Answer AnSwEr0001:
|z(x^4-5y)-(x^4-5y)|
Missing operand after '-'; see position 9 of formula at line 445 of
[TMPL]/Library/macros/CollegeOfIdaho/CofIdaho_macros.pl
Error in Translator.pm::process_answers: Answer AnSwEr0001:<br/>
Answer evaluators must return a hash or an AnswerHash type, not type || at
/opt/webwork/pg/lib/WeBWorK/PG/Translator.pm line 1239
Use of uninitialized value in addition (+) at (eval 29555) line 1709.
--
Configure bugmail: http://bugs.webwork.maa.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the webwork-bugs
mailing list