[ww-bugs] Bug 3701: New: rejects correct answer
bugzilla-daemon at webwork.maa.org
bugzilla-daemon at webwork.maa.org
Fri Aug 5 13:14:07 EDT 2016
http://bugs.webwork.maa.org/show_bug.cgi?id=3701
Summary: rejects correct answer
Product: Problem Libraries
Version: unspecified
Platform: PC
URL: Library/CollegeOfIdaho/setAlgebra_06_01_MultDivRationa
lExpressions/61IntAlg_22_MultDivRatExp.pg
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Library (OPL)
AssignedTo: rcruz at collegeofidaho.edu
ReportedBy: gjennings at csudh.edu
Web browser ---
version:
Library/CollegeOfIdaho/setAlgebra_06_01_MultDivRationalExpressions/61IntAlg_22_MultDivRatExp.pg
seed = 2996
rejects correct answer (x+3y)^2 with PG warning messages about empty answer
hash.
Changing the parentheses fixes the problem: it accepts [x+3y]^2 as a correct
answer with no warnings.
Perhaps the problem could be fixed by commenting out these two lines
map { s|^\(+|| } @student_factors;
map { s|\)+$|| } @student_factors;
in the code defining the custom answer evaluator RationalExpEvaluator in the
College of Idaho macros CofIdaho_macros.pl . Eliminating leading and trailing
round parentheses with these two lines doesn't seem to accomplish anything in
this evaluator.
--
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