CSC/ECE 517 Fall 2019 - E1992. Add cake type to rubrics design: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(Created page with "Design doc")
 
No edit summary
Line 1: Line 1:
Design doc
Database Design
Below is the simplified version of the ER diagram which displays the relationships between the entity sets.
 
[[File:ER1.jpg]]
 
 
Relevant Tables
 
[[File:ER2.png]]
 
Proposed Code Changes
 
Edit questionnaire/_questionnaire.html.erb: Add Cake to the list question types
 
Create cake.rb model that inherits from ScoredQuestion model. Add method to calculate currently added weights of the cake to this model.
 
Edit questionnaires_controller.rb, under “add_new_questions” method, adding a cake type and handle the changes.
 
Edit assignments/edit/_review_strategy.html.erb and add ‘Allow teammate self-review’ to the list of options.
 
Edit student_teams/view and add reviewer to list of displayed teammates and mark that item as self review in the view.
 
Edit response/response.html.erb and add cake type questions to the displayed response.
 
Edit response/view.html.erb and add cake type questions to the displayed response.

Revision as of 01:07, 12 November 2019

Database Design Below is the simplified version of the ER diagram which displays the relationships between the entity sets.

File:ER1.jpg


Relevant Tables

Proposed Code Changes

Edit questionnaire/_questionnaire.html.erb: Add Cake to the list question types

Create cake.rb model that inherits from ScoredQuestion model. Add method to calculate currently added weights of the cake to this model.

Edit questionnaires_controller.rb, under “add_new_questions” method, adding a cake type and handle the changes.

Edit assignments/edit/_review_strategy.html.erb and add ‘Allow teammate self-review’ to the list of options.

Edit student_teams/view and add reviewer to list of displayed teammates and mark that item as self review in the view.

Edit response/response.html.erb and add cake type questions to the displayed response.

Edit response/view.html.erb and add cake type questions to the displayed response.