MarkUs Blog

MarkUs Developers Blog About Their Project

Test Framework – Bugs reports

without comments

After many hours spent exploring the different possibilities of the MarkUs tool, the team has found, by trials and errors, some bugs where some are still unresolved at that day. We are still performing some tests about the framework in order to assure the stability of the version against any action (here implied more specifically the misused of the tool itself by a grader or a student). It results from these many tests the (incomplete) list, here below. Here follows some of these errors :

Routing

  • Situation : The student tries to run his code before the expiration of the date

ActionController::RoutingError in Assignments#student_interface
No route matches {:action=>”render_test_result”, :controller=>”results”, :id=>1

Bug solved (view the related commit)

  • Situation : The student tries to run his code before the expiration of the date (behind the first error)

ActionController::RoutingError in Assignments#student_interface
No route matches {:result=>#<Result id: 5, submission_id: 5, marking_state: “unmarked”, overall_comment: nil, created_at: “2011-11-17 21:42:50”, updated_at: “2011-11-17 21:42:50″, released_to_students: false, total_mark: 0.0>, :controller=>”automated_tests”}

Bug solved (view the related commit)

  • Situation : The admin or the grader tries to see the students submissions

ActionController::RoutingError in Submissions#browse
No route matches {:action=>”edit”, :controller=>”results”, :id=>#<Result id: 4, submission_id: 4, marking_state: “unmarked”, overall_comment: nil, created_at: “2011-11-17 13:31:52”, updated_at: “2011-11-17 13:31:52”, released_to_students: false, total_mark: 0.0>}

Bug solved (view the related commit)

Record Not Found

  • Situation : The graders tries to collect all the submissions after the deadline is passed

ActiveRecord::RecordNotFound in SubmissionsController#collect_ta_submissions
Couldn’t find Assignment without an ID

404

  • Situation : Let’s assume that a group of students or maybe only one student (according to the condition of the practical work) has sent his work.
    Then the teacher wants to collect the work in order to go on the grading action. Then he presses the “collect and grade” button.

Let’s solve it !

Written by gbugnet

November 20th, 2011 at 4:14 pm

Posted in Uncategorized

Leave a Reply