CSC/ECE 517 Fall 2014/final E1471 asuv: Difference between revisions
Jump to navigation
Jump to search
Line 66: | Line 66: | ||
|style="text-align:center;"|''''' 3 ''''' | |style="text-align:center;"|''''' 3 ''''' | ||
| <code> grades_controller.rb </code> | | <code> grades_controller.rb </code> | ||
| To get information all information about an assignment and its score which is average score of all reviews | | To get information all information about an assignment and its score which is average score of all reviews and plotting the graph for grade distinction | ||
|- | |- | ||
|style="text-align:center;"|''''' 3 ''''' | |style="text-align:center;"|''''' 3 ''''' | ||
Line 75: | Line 75: | ||
| <code> response_controller.rb </code> | | <code> response_controller.rb </code> | ||
| To collect response of an assignment to construct class statistic | | To collect response of an assignment to construct class statistic | ||
|- | |||
|style="text-align:center;"|''''' 3 ''''' | |||
| <code> grades\view_my_scores.html.erb </code> | |||
| modified in order to display all new features | |||
|- | |- | ||
|} | |} |
Revision as of 16:23, 11 November 2014
Information Display and Student Interaction
Introduction
Background
Scope
Purpose
Approach
As the project was originally assigned to students two years ago, the functionality is mostly complete. The main concern is that, as the project was completed 2 years ago (in December 2012), it was made for an older version of rails.
General Approach
Our general approach to the project would be as follows:
- Run the current project with rails 4
- Check the functionality to find out the incompatible parts
- Refactor the parts of code that do not function as expected and port them to rails 4 specification
- After making sure everything runs, refactor the entire code to make sure it follows the global code rules.
Specific Approach
The specific approach to each of the two functionality is as follows:
Better display for assignments
Dashboard for students
Testing
Files involved
Dashboard for students
- Model ScoreCache.rb
- View grades\view_my_scored.html.erb
- Controller grades_controller.rb, review_mapping_controller.rb,response_controller.rb
- Database tables Assignments,Participants, score_caches, response_maps,responses
Functionality of each file
Sr. No. | File Name | Comment |
---|---|---|
1 | ScoreCache.rb
|
Makes an entry into score_cache table whenever a response is given/edited |
2 | grades\view_my_scored.html.erb
|
Creates tabular format representation to display score of a student |
3 | grades_controller.rb
|
To get information all information about an assignment and its score which is average score of all reviews and plotting the graph for grade distinction |
3 | review_mapping_controller.rb
|
To get additional information about assignment like total reviews submitted |
3 | response_controller.rb
|
To collect response of an assignment to construct class statistic |
3 | grades\view_my_scores.html.erb
|
modified in order to display all new features |