problem with papers/students association

Added by Stan Reeves almost 12 years ago

I created a file with student codes that looked like this:

# 3800 students
surname:name:file_id
Ameribob:Houston:903444855
.
.
.

The code block on the answer sheet was read successfully in every case and had corresponding numbers to the numbers in the file. The AMCcode was labeled studentid. I set the primary key to file_id and the code name for automatic association to studentid. When I clicked the Automatic button, I got zero successful associations. I could not see anything at all that was wrong. I also couldn't think of anything specific to do to diagnose the problem.

I also tried converting the file to Unix format in case the end of line character was a problem. No success. I also tried adding an extra field (email) after file_id both in the template line at the top and in each data line. That didn't help either. (In fact, it gave me an error.)

Any clues or suggestions?

This is an awesome system, btw! I used it for the first time for a final exam last week. I don't think it saved me any time the first time around, but I can see that it's going to save a lot of time in the future.


Replies (14)

RE: problem with papers/students association - Added by Alexis Bienvenüe almost 12 years ago

Can you send me a log file produced when trying an automatic association in debugging mode?

RE: problem with papers/students association - Added by Stan Reeves almost 12 years ago

This is AutoMultipleChoice, version 1.0 (svn:573)

========================================

Version: ImageMagick 6.5.7-8 2012-04-30 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
Features: OpenMP 

========================================

========================================

GraphicsMagick: not found
========================================

[  22635,3749.49] DEBUG MODE : ON
[  22635,3749.66] Command [15867] : auto-multiple-choice association-auto --notes /home/sigproc/reevesj/MC-Projects/3800_trial/notes.xml --notes-id studentid --liste /home/sigproc/reevesj/MC-Projects/3800_trial/students.txt --liste-key file_id --encodage-liste UTF-8 --assoc /home/sigproc/reevesj/MC-Projects/3800_trial/association.xml --encodage-interne UTF-8 --debug /tmp/AMC-DEBUG-2Ww1z5T_.log
[  15867,   0.29] [15867]>>
[  15867,   0.36] ------------------------------------
[  15867,   0.37] Automatic association /home/sigproc/reevesj/MC-Projects/3800_trial/students.txt [UTF-8] / file_id
[  15867,   0.37] Reading names file /home/sigproc/reevesj/MC-Projects/3800_trial/students.txt
[  15867,   0.37] Detected separator: <:>
[  15867,   0.37] KEYS: surname, name, file_id
[  15867,   0.43] Student list keys : 902466147,902454275,902446282,902472880,902455031,902475127,902467814,902463279,902441416,902478522,902452214,902471873,902446855,902445945,902466955,902481325,902453711,902445053,902465386,902447598,902453305,902465693,902464341,902466687,902919478,902465533,902468887,902473374,902470127,902467724,902450077,902468199,902461830,902471190,902471655,902470471,902461790
[  15867,   0.72] Removing 000000000 : 2 times
[  22635,3750.88] Command [15867] : OK - 0 erreur(s)
[  22635,3750.88] Total parent exec times during 15867: [   0.49,   0.74]

RE: problem with papers/students association - Added by Alexis Bienvenüe almost 12 years ago

The "Students list keys" line seems to suggest that the number of students read from the file is not very high. Did you truncate your students list file before the test? If not, can you see any problem at the first line that is not reported in this log file?

RE: problem with papers/students association - Added by Stan Reeves almost 12 years ago

That's the correct number. One of the answer sheets did not scan properly. Could that have thrown off the whole association process?

The top of the file is exactly as I showed above (except for anonymization changes that I did for the posting).

RE: problem with papers/students association - Added by Alexis Bienvenüe almost 12 years ago

One of the answer sheets did not scan properly. Could that have thrown off the whole association process?

No.

Is there any file association.xml in the project directory? What is the content of this file?

RE: problem with papers/students association - Added by Alexis Bienvenüe almost 12 years ago

Also, can you see in the marks file (notes.xml) the correct studentid values?

RE: problem with papers/students association - Added by Stan Reeves almost 12 years ago

There is an association.xml. However, this may be the result of the previous manual association I had to do to proceed with the marking.


<association liste_key="file_id" notes_id="studentid" version="1">
<copie id="1" manuel="902463279" />
<copie id="10" manuel="902450077" />
<copie id="11" manuel="902919478" />
<copie id="12" manuel="902471655" />
<copie id="13" manuel="902470471" />
<copie id="14" manuel="902468887" />
<copie id="15" manuel="902472880" />
<copie id="16" manuel="902466687" />
<copie id="17" manuel="902471873" />
<copie id="18" manuel="902471190" />
<copie id="19" manuel="902466147" />
<copie id="2" manuel="902467724" />
<copie id="20" manuel="902467814" />
<copie id="21" manuel="902445945" />
<copie id="22" manuel="902461790" />
<copie id="23" manuel="902468199" />
<copie id="24" manuel="902465693" />
<copie id="25" manuel="902464341" />
<copie id="26" manuel="902475127" />
<copie id="27" manuel="902481325" />
<copie id="28" manuel="902453305" />
<copie id="29" manuel="902441416" />
<copie id="3" manuel="902454275" />
<copie id="30" manuel="902478522" />
<copie id="32" manuel="902447598" />
<copie id="33" manuel="902446282" />
<copie id="34" manuel="902452214" />
<copie id="35" manuel="902465386" />
<copie id="36" manuel="902453711" />
<copie id="37" manuel="902445053" />
<copie id="4" manuel="902455031" />
<copie id="5" manuel="902470127" />
<copie id="6" manuel="902465533" />
<copie id="7" manuel="902473374" />
<copie id="8" manuel="902466955" />
<copie id="9" manuel="902461830" />
</association>

There is a notes.xml. I'm not sure if there's significance in the fact that the all (except one) have nombre="1":

<valeur nombre="1">902415027</valeur> <valeur nombre="1">902166585</valeur> <valeur nombre="1">902124916</valeur> <valeur nombre="1">902438853</valeur> <valeur nombre="1">902434998</valeur> <valeur nombre="1">902457774</valeur> <valeur nombre="1">902097910</valeur> <valeur nombre="1">902386578</valeur> <valeur nombre="1">902467773</valeur> <valeur nombre="1">902179858</valeur> <valeur nombre="1">902398673</valeur> <valeur nombre="1">903353981</valeur> <valeur nombre="1">902156890</valeur> <valeur nombre="1">902447755</valeur> <valeur nombre="1">902420848</valeur> <valeur nombre="1">902131400</valeur> <valeur nombre="2">000000000</valeur> <valeur nombre="1">902172926</valeur> <valeur nombre="1">902475959</valeur> <valeur nombre="1">902429526</valeur> <valeur nombre="1">902126713</valeur> <valeur nombre="1">902067077</valeur> <valeur nombre="1">902118880</valeur> <valeur nombre="1">902413802</valeur> <valeur nombre="1">902181605</valeur> <valeur nombre="1">902438343</valeur> <valeur nombre="1">902412867</valeur> <valeur nombre="1">902421709</valeur> <valeur nombre="1">902388223</valeur> <valeur nombre="1">902490870</valeur> <valeur nombre="1">902450748</valeur> <valeur nombre="1">902420097</valeur> <valeur nombre="1">902470666</valeur> <valeur nombre="1">902463394</valeur> <valeur nombre="1">902475258</valeur> <valeur nombre="1">902407058</valeur>

RE: problem with papers/students association - Added by Alexis Bienvenüe almost 12 years ago

However, this may be the result of the previous manual association I had to do to proceed with the marking.

You're right: there is only manual associations in it.

The notes.xml file seems to be incomplete... Can you re-run marks computation in debugging mode?

RE: problem with papers/students association - Added by Stan Reeves almost 12 years ago

That's not the whole notes.xml code. It was large and you didn't specifically ask me to post it, so I didn't. I'm attaching it now.

notes.xml (108.3 kB)

RE: problem with papers/students association - Added by Alexis Bienvenüe almost 12 years ago

It seems that the studentid codes read from the scans (those in the notes.xml file) can't be found in the students list file (that I could read in the first log file you posted). Perhaps they were not properly detected from the scans?

RE: problem with papers/students association - Added by Stan Reeves almost 12 years ago

No, the studentid codes were properly detected. I can tell that by spot-checking the data capture markings. Also, when I "Look at marks", the studentid code is accurately listed for each student in a column. These codes correspond to codes in the students list file, but no match is made.

RE: problem with papers/students association - Added by Alexis Bienvenüe almost 12 years ago

When you "Look at marks", do you see values 902415027, 902166585, 902124916... (those that you copied from the notes.xml file) in the studentid column?

RE: problem with papers/students association - Added by Stan Reeves almost 12 years ago

Yes, that's what I meant above.

RE: problem with papers/students association - Added by Alexis Bienvenüe almost 12 years ago

But these values are not present in the association.xml file that you built at manual association step. Can you double check that these exact values are in the students list file? Manual association should have taken values from the students list file...

(1-14/14)