Skip to content

Analysis

youngdaggerduc edited this page Nov 20, 2023 · 7 revisions

Analysis:

Major Requirements

  • The Autograder must be able to accept a .zip file, containing student submissions, specifically for COMP2603: Object-Oriented Programming I's Assignment 1.

  • The Autograder must produce a PDF for each submission, detailing the grade obtained, failed test cases and recommended corrections to the code.

Use Case

  1. Use Case: Submission Processing

Actor(s):

  • Grader

Precondition: A zipped file containing student submissions is available.

Description: The grader initiates the submission processing by providing the zipped file to the system. The system's AutoGradeFacade operator accepts the zipped file and extracts the submissions. It processes the extracted Java files, evaluating them based on assignment specifications. The system generates an overall report for each student submission.

  1. Use Case: Report Generation

Actor(s):

  • Grader

Precondition: Submissions have been processed, and the system has produced individual evaluation reports.

Description: The grader requests the generation of a PDF report for a specific student submission. The system's ReportGeneratorTemplate operator is invoked, initiating the report generation process. The operator creates a comprehensive report with detailed test results, including passed and failed tests, along with corrective feedback for failed tests.

  1. Use Case: Evaluation State Management

Actor(s):

  • Grader

Precondition: The system has completed the evaluation of submissions.

Description: The grader wishes to manage the system's state, clearing previous evaluations to prepare for new submissions. The grader utilizes the system's AutoGradeFacade operator to reset the system's state. The operator clears previous evaluation data and prepares the system for new submissions without affecting the core functionalities.

Use Case: Grade OOP Assignment 1 Submissions

Actor(s):

  • Grader

The use case begins when the grading system receives a path to a zipped file containing multiple student submissions from the grader. The system unzips the file and accesses the first submission. It creates a submission report and executes tests on the respective class, noting passed and failed tests. As each submission is tested, the results are accumulated into the submission report. Once all tests for a submission are complete, the system generates a PDF report displaying the results. This process continues for each submission in the provided zipped file.

Target students

Instructors and Graders:

Description: The primary users of the system are instructors and graders for Object Oriented Programming Assignment 1 they are responsible for evaluating student submissions. Needs:

  • Efficient grading tools.
  • Clear and detailed reports on student performance.

Students:

Description: While not direct users of the system, Object Oriented Programming Students benefit from receiving clear and detailed feedback on their Assignment 1 submissions. Needs:

  • Understandable grading reports.
  • Access to PDF summaries of their performance.
Clone this wiki locally