CSC/ECE 517 Fall 2017/E17AA Nomination for Badges

From Expertiza_Wiki
Revision as of 04:22, 14 November 2017 by Apatel13 (talk | contribs)
Jump to navigation Jump to search

Problem Statement

The purpose of the project is to implement a way to allow students to nominate badges to other students while reviewing their work. The professor should also be able to see the nominations to each student in a single page.

Pre-Conditions

These are the pre-conditions that needs to hold true for each functionality to work

· The maximum number of students that can be assigned to the project cannot be more then 1.
· For students to nominate badges, the professor must have provided a list of pre-decided badges possible for that project.
· For students to be able to nominate badged without justification only if the project does not have a mandatory justification requirement.

Implementation Steps

· Provide professors an option to add all possible badges to a project.
· Allow students to nominate badges while peer reviewing.
· Show a summary of all nominated badges to professor in a single page.

Modifications To Be Done

  • Files to be Modified
· Add the code to include the selection of relevant badges and the justification text box Assignment_questionnaire_controller.rb.
· Add the badges model to assignment_questionnaire.rb.
· Add the code to display the nomination summary on the page student_task/list page
  • Tables to be Modified
· We’ll be creating a table named “badges”, with the following attributes:
  id: primary key
  name: varchar
  description: varchar
· We’ll be creating a table named “assignment_questionnaires_badges”, with the following attributes:
  Id: Primary key
  assignment_id: foreign key
  questionnaire_id: foreign key
  badge_id: foreign key

Execution Flow

 

Design

 

Test Plan

We will be creating test cases in the files

·peer review.rb :Check with peer reviewer will be able to nominate badges
·review_assignment_spec.rb:Check whether user is able to review assignment with Team Size=1
·team_creation_spec.rb:Check the Team Size
·review_mapping_spec.rb:Check whether reviewer is correctly mapped to the enrolled course
·Write feature tests to verify the modifications:Include tests in the a new badge_system_spec.rb file in the spec/features directory
  • UI design Testing:
·Check if peer reviewer is able to nominate for badges with drop down list and contains text boxes for justification.
·Check if instructor is able to view the summary of all nominations.
·Cosmetic Inconsistencies – The screen look, feel and design should match the other screens in your application.

Links

expertiza master branch expertiza schema