[ww-bugs] Bug 3458: New: correct answers marked as incorrect

bugzilla-daemon at webwork.maa.org bugzilla-daemon at webwork.maa.org
Tue Sep 22 10:07:53 EDT 2015


http://bugs.webwork.maa.org/show_bug.cgi?id=3458

           Summary: correct answers marked as incorrect
           Product: Problem libraries
           Version: unspecified
          Platform: PC
               URL: /opt/webwork/courses/Math105_Fall2015_Flowers/template
                    s/Library/Rochester/setAlgebra15Functions/beth8.pg_wit
                    h_problemSeed=3593
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P5
         Component: asu
        AssignedTo: jj at asu.edu
        ReportedBy: flowers at IUP.edu
        Web browser ---
           version:


This problems seems to work for some seeds.  I've noticed the error with the
following seeds:  1594, 382, 3593.

If a student enters answer in form  Ax - (Bx + C) then it is marked correct. 
But if simplified as (A-B)x - C it is marked incorrect.  

It seems to me the issue is caused by the specified test points:

ANS(fun_cmp($profit, test_points=>[0, 1, -1, 10000, $a/($c-$b)]));

My edit which seems to work is the following:

ANS(fun_cmp($profit, test_points=>[0, 100, -100, 1000, -1000, 10000]));

Of course, math objects would probably be the best fix.

-- 
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