Forum archive 2000-2006

Andrew L Vogel - Unable to score Problem sets

Andrew L Vogel - Unable to score Problem sets

by Arnold Pizer -
Number of replies: 0
inactiveTopicUnable to score Problem sets topic started 8/27/2002; 9:26:27 AM
last post 8/29/2002; 6:12:49 AM
userAndrew L Vogel - Unable to score Problem sets  blueArrow
8/27/2002; 9:26:27 AM (reads: 1147, responses: 3)
Hi all, We have a course, just started, and when trying to score a problem set, any problem set we get the error

Error: /usr/local/webwork/system/cgi/cgi-scripts/profScoreProbSet.pl

duplicate keys equal to in /usr/local/webwork/system/courses/mat296/scoring/sIntegrals18Improperful.csv

Any help is greatly appreciated. Thanks,

Andy Vogel Syracuse University

<| Post or View Comments |>


userArnold K. Pizer - Re: Unable to score Problem sets  blueArrow
8/27/2002; 9:37:22 AM (reads: 1414, responses: 1)
Look at the file in question. The automatic scoing methods will not work if you have two students with the same "student ID numbers." It appears you have two students with blank id numbers.

I'm not sure how that could happen since WeBWorK will object if you try to enter a new student with the smae id number (or same login) as a current student. Of course, I'm assuming that the scoring files have not been edited by hand. In any event, look at the files and see if there are in fact duplicate id numbers. Then look at the classlist database and change things if necessary.

<| Post or View Comments |>


userAndrew L Vogel - Re: Unable to score Problem sets  blueArrow
8/28/2002; 8:52:45 AM (reads: 1637, responses: 0)
Thanks, Well we've performed some experiments. From the existing course, OLD, we've saved a classlist, using this classlist we've created a new course, NEW, built some problem sets and scored them. Everything worked.

Then we copied the OLD webwork_DB database file to the NEW DATA directory and tried to look at the section data from the NEW instructor page. This gives compiler warnings of the sort here (and these were the same compiler warnings as in the OLD course)

* Use of uninitialized value in pattern match (m//) at /usr/local/webwork/system/scripts/FILE.pl line 290. ##More details: -------- main::dropStatus called at /usr/local/webwork/system/cgi/cgi-scripts/profCourseData.pl line 572 ---- main::initializeAndLoadUp called at /usr/local/webwork/system/cgi/cgi-scripts/profCourseData.pl line 104

So we believe the webwork_DB file is somehow bad (empty keys?, should we look in the .auth/keys file?) in the OLD course. Could we read this file, say in perl, print the good data back into a database and toss out the bad data?

Andy Vogel Syracuse University

<| Post or View Comments |>


userArnold K. Pizer - Re: Unable to score Problem sets  blueArrow
8/29/2002; 6:12:49 AM (reads: 1457, responses: 0)
Hi Andy,

First the duplicate keys refered to are student ID numbers (e.g. some schools used SS #'s in the past). Go the the prof/classlist page and veiw the classlist. The keys refered to are in the first column. They have nothing to do with the keys database. If you see students with empty or duplicate ID's (I don't see how this could happen), change them.

Then try the following. First move (rename) all the scoring files in .../scoring/ and then just try to score sets again one at a time. The process creates some scoring files and then reads these files and creates (or appends to) the totals file. It first checks that the files being read are valid (unique student ID's) before proceeding and this is where the failure occurs --- these are asci files so they could have been edited ny hand. If you get the same error look at the scoring files that were created. They should contain the info you want and you can see where the error is coming from. If absolutely necessary you can use Excel to add up scores, etc. as the files are in a std Excel format. You can also uncheck "Append totals to mth100_totals.csv (Recommended)" and see if you still get an error. I do not recall off hand if the scores in the sets are automatically totaled if this is unchecked --- if so you may still get an error with this unchecked but the basic scoring files should still be created.

So basically even with the error you report, all the info should be the scoring files but you will not be able to automatically create a totals file.

Arnie

<| Post or View Comments |>