Updates to Mallard From March 1999


# Patch Date Modules/Programs Affected Servers Updated Comments
1 Fixed grade rebuilding to save total time taken for quizzes on the grade summary object 03/03/99 RebuildGradePolicy.pm (1.11)
ShowGrades.pm (1.49)
develop

alpha

beta

  • RebuildGradePolicy.pm: Rewrote the entire algorithm. Comparing/building is the same but redid the looping for efficiency. Also now we return 0 for failure, 1 for success in build_grade_file(), and have some Quiz constants given in the module. Save the total time taken (for credit!) on a quiz in the grade summary as well as the individual quiz .ser files
  • ShowGrades.pm: Changed return value of RebuildGradePolicy->build_grade_file() to return 1 for success and 0 for failure, above. Changed calls to that method in this file accordingly.
2 Created a new utility to rebuild all student grades 03/03/99 rebuild_all_grades.cgi (1.1) develop

alpha

beta

  • rebuild_all_grades.cgi: Utility to rebuild ALL quiz grades for ALL students. This is NOT linked into any other Mallard page, you must type in the URL by hand. This program assumes you've backed up the grades - it does NOT save copies!
3 Fixed cell order in quiz_browser.cgi 03/15/99 quiz_browser.cgi (1.9) develop

alpha

beta

  • quiz_browser.cgi: Rearranged table cells in generate_long_table_cell_data() to match the headers I fixed last month.
4 Eliminated cheating opportunities (logout to get new question versions before 30 mins is up, and submitting a faked quiz for a free preview) 03/16/99 Authent.pm (1.90)
Quiz.pm (1.54)
GradePolicy.pm (1.55)
develop

alpha

beta

  • Quiz.pm: Add a second log message when a quiz FINISHES grading, in grade(). Probably will remove later. Send a timestamp into write_current_versions().
  • GradePolicy.pm: Dump out with an error message if no .ver file is found in check_reload(). This stops cheating, AND allows people to logout and go "back" to get to a quiz, and have it still give the same versions if 30 minutes isn't up. Also, Allow a timestamp to be sent in (don't assume $^T) in write_current_versions().
  • Authent.pm: Only remove the .rnd and .ver files at logout time in logout()so people can't get new quizzes by logging out and back in.
5 Fixed the grade rebuilder to handle first time submissions that aren't reloads 03/16/99 RebuildGradePolicy.pm (1.11) develop

alpha

beta

  • RebuildGradePolicy.pm: If the first submission is not a reload, use the total first time taken as the first time taken (i.e. don't do the subtraction thing in an attempt to get the incremental time taken, which leads to the "large huge numbers" problem). Note that in the "cheat" case, where a quiz is submitted as a non-reload (faked) before it is submitted for real as a reload, the times will be off because the original quiz has sat for a while. But, they shouldn't be doing that anymore.
6 Fixed the grade rebuilder and ShowGrades to handle bad submissions where we have no recorded questions 03/17/99 ShowGrades.pm (1.50)
RebuildGradePolicy.pm (1.12)
develop

alpha

beta

  • ShowGrades.pm: Print "Bad submission" for the questions list, and "N/A" for the time taken in for quizzes with no recorded questions, in print_grade_detail().
  • RebuildGradePolicy.pm: Modify so we don't add in bad submission times from submissions with no recorded questions, etc.
7 Added tattler in GradePolicy to warn of submissions without .ver files 03/17/99 GradePolicy.pm (1.56) develop

alpha

beta

  • GradePolicy.pm: Added tattle() TEMPORARILY to tell me when users submit quizzes with no .ver files (maybe cheaters).
8 Log unfound .ver files in regular logs 03/18/99 GradePolicy.pm (1.57) develop

alpha

beta

  • GradePolicy.pm: Log unfound .ver files into the regular log file as well as the errors file, in read_current_versions().
9 Added DEBUG_TIME flag to grade rebuilder 03/18/99 RebuildGradePolicy.pm (1.14) develop

alpha

beta

  • RebuildGradePolicy.pm: Add DEBUG_TIME flag for easy debugging on site.
10 Removed errant debug message 03/22/99 GradePolicy.pm (1.58) develop

alpha

beta

  • GradePolicy.pm: Removed errant debug message naming the .reload file
11 Fixed bad access restriction in grade_browser.cgi 03/24/99 grade_browser.cgi (1.2) develop

alpha

beta

  • grade_browser.cgi: Fixed typo - access is restricted to instructors, not developers.
12 Fixed the missing icons problem 03/24/99 RebuildGradePolicy.pm (1.15)
GradePolicy.pm (1.59)
Lessons.pm (1.95)
develop

alpha

  • RebuildGradePolicy.pm: Don't zero out the adjusted score in the grade_summary.
  • GradePolicy.pm: Return '' (not 0) for the adj_score in cases where the quiz isn't taken. We test for it elsewhere (in Lessons.pm).
  • Lessons.pm: Print the passed icon next to quizzes that were taken but received no points, when the pass_cutoff is zero, in get_feedback_icon().

Questions? Comments? General harrassment? Mail it to maiko@wocket.csl.uiuc.edu.