Current script version: 1.3.4
The displayMarks.cgi
file should be used to display current marks to students.
It has been attached at the bottom of the page (note that you must remove the .txt extension when you put the file in place for use).
It should be saved in a directory on the website that is protected to RequireUseridsForSecureWebAccess.
In order to change the file to work from course to course and from term to term, the only changes that need to be made are in the global constants at the beginning of the file.
Currently, all that should need modifying is I-clicker
; however, for ROOT_USERS
to be initialized properly, you must have an appropriate /u/csNNN/coursestaff.term
file. The formatting of the file must follow that described at ClassListPerlModule; setting the term in the file name in the MFCF style described by TermCodePerlModule is also required.
From your course marks spreadsheet, copy all of the marks that you want to upload, along with the corresponding user IDs, and put them in a new Excel workbook.
Note: When copying and pasting into the new workbook, you may have to paste special - values
instead of just paste
, if your data was originally referenced from another worksheet.
Alternatively, don't literally copy them, but instead make proper use of vlookup
instructions in a separate worksheet so that Excel does all of the work for you. It will make things easier in the long run.
For sample data, the table should look like this
Assignment 1 | Assignment 2 | Midterm 1 | |
100 | 100 | 100 | |
ajones | 85 | 37 | 72 |
j123smith | 0 | 54 | 37 |
The top row is the submission title. The second line is what the submission was marked out of. All subsequent rows are a user ID followed by the marks.
Save this new file as public-marks.txt
and as type csv (comma delimited) the folder /u/csNNN/marks
.
When you have done this, the data should look like
Assignment 1,Assignment 2,Midterm 1, 100,100,100 ajones,85,37,72 j123smith,0,54,37
Marks should now be visible to the students when they log in.
This should be verified using the ROOT_USERS
capability described below.
Alternatively, you can add marks for yourself, your ISC and at least one other person to the file so that you can verify that students can see their marks correctly.
Note that if this course uses iClickers, then the I_clicker variable in the script should be set to True, and a file called public-marks-participation.txt
should also be placed in the /u/csNNN/marks
folder. TODO: Clarify the steps needed to translate what's defined in UploadingClickerMarks into this file...
All individuals identified as ISCs, instructors or tutors in the appropriate .coursestaff
file (see ClassListPerlModule) will be granted "root user" access to this CGI program.
This allows the user to append the URL to the script with ?user=<userid>
, and they will then see exactly what the user
would see when navigating to this page normally.
Anybody who is not a root user will continue to see his/her own marks displayed.
If the authenticated user is in ROOT_USERS
, then a form should be presented giving the user the option of seeing the mark display for any given person in the class (they can be listed alphabetically in a form list).
This means that the user does not need to do direct URL manipulation to see student marks.
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
![]() |
displayMarks.cgi.txt | r6 r5 r4 r3 r2 | manage | 9.8 K | 2010-09-07 - 13:58 | TerryVaskor |