[LON-CAPA-admin] scantron grading problem

Guy Albertelli II guy at albertelli.com
Thu Feb 2 17:05:26 EST 2006

Hi Nathan,

> I'm grading a scantron file and when I get a record that is flagged  
> for an improper ID, I am unable to select the proper user to override  
> the error.  I click on "Select User", select the correct user, then  
> click "Continue -> using corrected info" and nothing happens...the  
> username disappears from the field before the "@" and it just stays  
> on the same error screen.
> Any suggestions?
> Don't know how this affects things, but at NDSU 98% of our students  
> have 6 digit IDs, the other 2% (the ones getting flagged) have 5  
> digit IDs.  I've uploaded their IDs properly, but when it comes to  
> reading the scantron file LON-CAPA can't seem to adjust to the 5- 
> digit.  It identifies the ID on the form correctly...I've tried  
> adjusting the 5-digit number within the ID field on the scantron data  
> file so that it starts with a zero (i.e. 012345), tried it with the 5- 
> digit number and leaving a blank in the beginning (i.e. _12345) and  
> leaving the blank at the end (i.e. 12345_) but all to no avail.  I  
> didn't have a problem with this last semester...it seemed the fix  
> then was to have a leading 0 (i.e. 012345).

Looks like scantron grading wants the id number as it exists on the
sheet of paper to exactly match the one that is in the Classlist

And it thinkgs spaces ares important.

So it looks like it is getting from the scantron sheet:
" 12345"
and the classlist contains:

You can either:
modify all of the classlist entries so that they are
"012345" or "_12345" 
and then use that in the scantron entry.

You can try out this untested change to grades.pm:
(I think it's correct but I don't have the ability to test it right now)

--- grades.pm   31 Jan 2006 17:49:01 -0000      1.302.2.2
+++ grades.pm   2 Feb 2006 22:05:14 -0000
@@ -4344,6 +4344,8 @@
+    $record{'scantron.ID'}=~s/^\s*//;

guy at albertelli.com   0-7-1-8-27,137

More information about the LON-CAPA-admin mailing list