WeBWorK Problems

Additional bug in Webwork Question Server?

Additional bug in Webwork Question Server?

by Steven McKay -
Number of replies: 4
I know I just posted about a minor bug in MWQT, but I have another one that is much more serious. It involves questions that use the basis_cmp answer evaluator in PGmorematrixmacros.pl.

For example,in the TCNJ problemsets, in TCNJ_SolutionSetsLinearSystems, problem 1, the question is not working. When the student submits, he is told the answer is incorrect but preview is blank - it looks like it lost the student's question. I doubt that the macro is the problem here, but I don't know how to tell what is wrong. I suspect it is the question server, because these questions and macros have been around for a while and probably work correctly on webwork.

I'm between a rock and a hard place here, because I have several classes using this material. It seems to have problems whenever basis_cmp is used.

I don't even know how to debug this, so any suggestions would be helpful.

Anything that can get it running so the courses don't run into trouble would be really great :-).

Thanks,
S.M.


In reply to Steven McKay

Re: Additional bug in Webwork Question Server?

by Danny Glin -
I have run into a similar problem when using these exact questions in the Gateway/Quiz environment within webwork. In that case, the problem stems from the fact that these questions use explicitly named answer blanks. This causes difficulty when a webwork environment needs to manipulate the names of the answer blanks, since in these questions the names are hard-coded.
I don't have an easy solution. In fact, we simply had to avoid such questions.
In reply to Danny Glin

Re: Additional bug in Webwork Question Server?

by Matthew Leventi -
Hi,

I am just heading out but Ill take a look at this later tonight. I doubt it has anything to do with the Moodle side of the system since Moodle doesn't change answer blanks. Most problems that are Moodle specific have to do with the question environment that is passed between Moodle and the WWQS, as Moodle is more limited than webwork in what it knows and can send. Has anyone gotten these questions to work in webwork2?

-Matt
In reply to Steven McKay

Re: Additional bug in Webwork Question Server?

by Thomas Hagedorn -

Dear Steven,

What version of Webwork are you running and are you using the MathObjects?

I just tested the version TCNJ_SolutionSetsLinearSystems, problem 1 both on WW 2.4.1 and WW 2.4.5 and it runs fine on both systems. It displays the student's answers, both when correct and incorrect.

There are a few other problems in our library for which the student's answers are not displayed correctly, (this has been when we've written some new answer evaluators), and we've meant to go back to them and fix it since the new features of recent Webwork versions have been introduced. But that's still hasn't been done.

Best,
Tom



In reply to Thomas Hagedorn

Re: Additional bug in Webwork Question Server?

by Steven McKay -
We are not using webwork. We are using the Webwork question server, the most recent version as of sometime this summer. MathObjects is installed in the PG macros directory, though these problems don't seem to use it unless it's called indirectly.

The reason I'm panicing is that we have several of these questions. They all seem to be broken, but they were working when we ran webwork 2.4. Now that we are using the moodle webwork question type and the webwork question server, they are broken. Even if I set 'debug'=>1 in basis_cmp, no errors are returned. The student's information is lost, and the question server marks it as wrong.

I'd really like to get it fixed before we run into a load of these problems. Right now, it's only one. In a couple of weeks, it will be many.

Any ideas will be gratefully appreciated.

S.M.