AMCCode starting with zeros may cause issues / Association automatique non fonctionelle quand AMCCode commence par des zeros (Bug #466)


Added by Fabien Baron about 7 years ago. Updated about 7 years ago.


Status:Closed Start date:03/07/2017
Priority:High Due date:
Assignee:- % Done:

100%

Category:-
Target version:-

Description

I've been encountering this annoying bug on recent versions of AMC. A long time ago everything used to work fine.
At the university where I teach the student id numbers are ten digit numbers, most of them starting with 00 (such as e.g. 0023415347), but not all (some students will get e.g. 1123456789).
In my csv file for student association, I do have the correct numbers, yet the automatic student association will generally completely fail (0 students recognized) and the Openoffice export file will show 23415347 instead of 0023415347.
I suspect that at some point in AMC the leading zeros from AMCCode or from the student list file are dropped, and that then the comparison fails.
I could probably fix this if I knew where to look... Thanks !


separate.tex - Source file (7.4 kB) Fabien Baron, 03/21/2017 08:09 pm

1596_001.pdf - Scan (51.2 kB) Fabien Baron, 03/21/2017 08:09 pm

AMC_studentlist_fake.csv (174 Bytes) Fabien Baron, 03/21/2017 08:09 pm


History

Updated by Alexis Bienvenüe about 7 years ago

Which version do you use?

Updated by Fabien Baron about 7 years ago

We are several faculty to use AMC here, on 3-4 different machines.
On Ubuntu, AMC version 1.3.0+hg2017-01-31: the association partially works, if the true AMCCode is 0023415347, the student grade will be associated to 23415347. However the student will also be included in the list of absentees, as 0023415347.

On mac laptop (OSX 10.10.5), the automatic association fails in both the stable version (installed through normal macports) and the devel version (installed using this: http://project.auto-multiple-choice.net/projects/auto-multiple-choice/wiki/Installation_de_la_version_de_d%C3%A9veloppement_d%27AMC_sous_OS_X_Mountain_Lion).

Updated by Alexis Bienvenüe about 7 years ago

Can you post a minimal setup to test (source file, students list file, one scan)? My simple tests here with student numbers that have leading zeros work as expected.

Updated by Fabien Baron about 7 years ago

Alexis Bienvenüe wrote:

Can you post a minimal setup to test (source file, students list file, one scan)? My simple tests here with student numbers that have leading zeros work as expected.

Ok, sorry for the delay but here is everything.

Updated by Alexis Bienvenüe about 7 years ago

OK, thanks. I tried to correct this bug with hg:a9d9d5a503db. Can you test this?

Updated by Fabien Baron about 7 years ago

Alexis Bienvenüe wrote:

OK, thanks. I tried to correct this bug with hg:a9d9d5a503db. Can you test this?

Everything seems to work perfectly now.
Thanks !

Updated by Alexis Bienvenüe about 7 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Also available in: Atom PDF