<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vjsangha</id>
	<title>Expertiza_Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vjsangha"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Vjsangha"/>
	<updated>2026-06-06T12:57:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92552</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92552"/>
		<updated>2014-12-06T17:02:57Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  questionnaire_type_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades/view_my_scored.html.erb, tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, questionnaires_controller.rb, tree_display_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 db/schema.rb&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Changes made for the project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_type_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Made code changes for searching within a course when required&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades/view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Made changes to display tables and the charts generated by the grades_controller&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Added an icon for navigation to questionnaires for a given course.&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Table data and graph generation code added so that the grades for the entire class are calculated.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaires_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Added a short method to redirect control with the correct parameters when questionnaires are loaded.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Added some code in the search method to allow searching for questionnaires either by course or in general.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It also allows to search questionnaires based on name. Here we searched word &amp;quot;wiki&amp;quot;, It shows result of the search.&lt;br /&gt;
[[File:wiki_search.jpg|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Steps to check the new implementations=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The new Student dashboard ==&lt;br /&gt;
Sample Test case.&lt;br /&gt;
&amp;lt;br&amp;gt;1. Log-in to Expertiza as an student (Username: user480, Password: password).&lt;br /&gt;
&amp;lt;br&amp;gt;2. Click on 'Program 1: BackChannel' assignment.&lt;br /&gt;
&amp;lt;br&amp;gt;3. Click on the option 'Your Scores'.&lt;br /&gt;
&amp;lt;br&amp;gt;4. The dashboard is then displayed with the class statistics along with the new graph added.&lt;br /&gt;
&lt;br /&gt;
== The Questionnaire search ==&lt;br /&gt;
&amp;lt;br&amp;gt;1. Log-in to Expertiza as an instructor (Username: user2, Password: password).&lt;br /&gt;
&amp;lt;br&amp;gt;2. Enter any string in the search box&lt;br /&gt;
&amp;lt;br&amp;gt;3. We would be able to see all the questionnaires that have the entered string as a substring in them. &lt;br /&gt;
&lt;br /&gt;
== The Course specific questionnaire list ==&lt;br /&gt;
Sample Test case.&lt;br /&gt;
&amp;lt;br&amp;gt;1. Log-in to Expertiza as an instructor (Username: user2, Password: password).&lt;br /&gt;
&amp;lt;br&amp;gt;2. Expand the Courses option.&lt;br /&gt;
&amp;lt;br&amp;gt;3. Hover over the Course actions menu for the course 'CSC 517, Spring 2014'.&lt;br /&gt;
&amp;lt;br&amp;gt;4. Click on the menu-item that says 'View Questionnaires'.&lt;br /&gt;
&amp;lt;br&amp;gt;5. List of questionnaires would be displayed here.&lt;br /&gt;
&amp;lt;br&amp;gt;6. Search within the above list of questionnaires is also possible by using the search given in the page.&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Wiki_search.jpg&amp;diff=92551</id>
		<title>File:Wiki search.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Wiki_search.jpg&amp;diff=92551"/>
		<updated>2014-12-05T19:03:11Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92550</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92550"/>
		<updated>2014-12-05T19:02:38Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  questionnaire_type_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades/view_my_scored.html.erb, tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, questionnaires_controller.rb, tree_display_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 db/schema.rb&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Changes made for the project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_type_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Made code changes for searching within a course when required&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades/view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Made changes to display tables and the charts generated by the grades_controller&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Added an icon for navigation to questionnaires for a given course.&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Table data and graph generation code added so that the grades for the entire class are calculated.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaires_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Added a short method to redirect control with the correct parameters when questionnaires are loaded.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Added some code in the search method to allow searching for questionnaires either by course or in general.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It also allows to search questionnaires based on name. Here we searched word &amp;quot;wiki&amp;quot;, It shows result of the search.&lt;br /&gt;
[[File:wiki_search.jpg|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Steps to check the new implementations=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The new Student dashboard ==&lt;br /&gt;
Sample Test case.&lt;br /&gt;
&amp;lt;br&amp;gt;1. Log-in to Expertiza as an student (Username: user480, Password: password).&lt;br /&gt;
&amp;lt;br&amp;gt;2. Click on 'Program 1: BackChannel' assignment.&lt;br /&gt;
&amp;lt;br&amp;gt;3. Click on the option 'Your Scores'.&lt;br /&gt;
&amp;lt;br&amp;gt;4. The dashboard is then displayed with the class statistics along with the new graph added.&lt;br /&gt;
&lt;br /&gt;
== The Questionnaire search ==&lt;br /&gt;
&amp;lt;br&amp;gt;1. Log-in to Expertiza as an instructor (Username: user2, Password: password).&lt;br /&gt;
&amp;lt;br&amp;gt;2. Enter any string in the search box&lt;br /&gt;
&amp;lt;br&amp;gt;3. We would be able to see all the questionnaires that have the entered string as a substring in them. &lt;br /&gt;
&lt;br /&gt;
== The Course specific questionnaire list ==&lt;br /&gt;
Sample Test case.&lt;br /&gt;
&amp;lt;br&amp;gt;1. Log-in to Expertiza as an instructor (Username: user2, Password: password).&lt;br /&gt;
&amp;lt;br&amp;gt;2. Expand the Courses option.&lt;br /&gt;
&amp;lt;br&amp;gt;3. Hover over the Course actions menu for the course 'CSC 517, Spring 2014'.&lt;br /&gt;
&amp;lt;br&amp;gt;4. Click on the menu-item that says 'View Questionnaires'.&lt;br /&gt;
&amp;lt;br&amp;gt;5. List of questionnaires would be displayed here.&lt;br /&gt;
&amp;lt;br&amp;gt;6. Search within the above list of questionnaires is also possible by using the search given in the page.&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92493</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92493"/>
		<updated>2014-12-04T04:49:57Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Functionality of each file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  questionnaire_type_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb, tree_display/actions/_courses_actions.html.erb, tree_display/_page_header.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, questionnaires_controller.rb, tree_display_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 db/schema.rb&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_type_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/_page_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaires_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; schema.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Database&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Steps to check the new implementations=&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92487</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92487"/>
		<updated>2014-12-04T04:37:54Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Functionality of each file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  questionnaire_type_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb, tree_display/actions/_courses_actions.html.erb, tree_display/_page_header.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, questionnaires_controller.rb, tree_display_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 db/schema.rb&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_type_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/_page_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaires_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; schema.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Database&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Steps to check the new implementations=&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92486</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92486"/>
		<updated>2014-12-04T04:37:04Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Functionality of each file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  questionnaire_type_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb, tree_display/actions/_courses_actions.html.erb, tree_display/_page_header.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, questionnaires_controller.rb, tree_display_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 db/schema.rb&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_type_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/_page_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaires_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; schema.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Database&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Steps to check the new implementations=&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92485</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92485"/>
		<updated>2014-12-04T04:36:23Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Functionality of each file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  questionnaire_type_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb, tree_display/actions/_courses_actions.html.erb, tree_display/_page_header.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, questionnaires_controller.rb, tree_display_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 db/schema.rb&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_type_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/_page_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaires_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; schema.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Database&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Steps to check the new implementations=&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92478</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92478"/>
		<updated>2014-12-04T04:16:36Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Files to be merged : Dashboard for students */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  questionnaire_type_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb, tree_display/actions/_courses_actions.html.erb, tree_display/_page_header.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, questionnaires_controller.rb, tree_display_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 db/schema.rb&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92477</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92477"/>
		<updated>2014-12-04T04:16:24Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Files to be merged : Dashboard for students */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  questionnaire_type_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb, tree_display/actions/_courses_actions.html.erb, tree_display/_page_header.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, questionnaires_controller.rb, tree_display_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database Changes&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 db/schema.rb&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92476</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92476"/>
		<updated>2014-12-04T04:15:58Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Files to be merged : Dashboard for students */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  questionnaire_type_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb, tree_display/actions/_courses_actions.html.erb, tree_display/_page_header.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, questionnaires_controller.rb, tree_display_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92475</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92475"/>
		<updated>2014-12-04T04:15:23Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Files to be merged : Dashboard for students */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  questionnaire_type_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb, tree_display/actions/_courses_actions.html.erb &lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, questionnaires_controller.rb, tree_display_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92474</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92474"/>
		<updated>2014-12-04T04:14:55Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Files to be merged : Dashboard for students */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  questionnaire_type_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, questionnaires_controller.rb, tree_display_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92471</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92471"/>
		<updated>2014-12-04T04:14:06Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Files to be merged : Dashboard for students */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  questionnaire_type_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92469</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92469"/>
		<updated>2014-12-04T04:12:15Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|center|frame]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92466</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92466"/>
		<updated>2014-12-04T04:10:36Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;1) Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;2) Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92464</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92464"/>
		<updated>2014-12-04T04:09:59Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92461</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92461"/>
		<updated>2014-12-04T04:09:24Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png]]&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Questionnaires_view.png&amp;diff=92459</id>
		<title>File:Questionnaires view.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Questionnaires_view.png&amp;diff=92459"/>
		<updated>2014-12-04T04:08:54Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92458</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92458"/>
		<updated>2014-12-04T04:08:25Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png]]&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|frame|left| ]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92457</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92457"/>
		<updated>2014-12-04T04:08:01Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|frame]]&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|frame|left| ]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:New_icon_view.png&amp;diff=92456</id>
		<title>File:New icon view.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:New_icon_view.png&amp;diff=92456"/>
		<updated>2014-12-04T04:07:26Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92455</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92455"/>
		<updated>2014-12-04T04:06:53Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:new_icon_view.png|frame|left| ]]&amp;lt;br/&amp;gt;&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:questionnaires_view.png|frame|left| ]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92454</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92454"/>
		<updated>2014-12-04T04:05:02Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
A new icon for questionnaires added&lt;br /&gt;
[[File:new_icon_view.png|frame|left| ]]&lt;br /&gt;
On click of icon it will display questionnaires related to the selected course&lt;br /&gt;
[[File:questionnaires_view.png|frame|left| ]]&lt;br /&gt;
&amp;lt;b&amp;gt;Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92452</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92452"/>
		<updated>2014-12-04T03:58:38Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&amp;lt;b&amp;gt;Better display for assignments:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Dashboard for students:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92451</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92451"/>
		<updated>2014-12-04T03:58:06Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Dashboard for students&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92450</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92450"/>
		<updated>2014-12-04T03:57:44Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Dashboard for students&amp;lt;/b&amp;gt;&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92449</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92449"/>
		<updated>2014-12-04T03:50:28Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
It shows the different between previous implementation and new implementation views.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:After_view.png&amp;diff=92448</id>
		<title>File:After view.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:After_view.png&amp;diff=92448"/>
		<updated>2014-12-04T03:48:04Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: uploaded a new version of &amp;amp;quot;File:After view.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Before_view.png&amp;diff=92447</id>
		<title>File:Before view.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Before_view.png&amp;diff=92447"/>
		<updated>2014-12-04T03:47:34Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: uploaded a new version of &amp;amp;quot;File:Before view.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:After_view.png&amp;diff=92446</id>
		<title>File:After view.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:After_view.png&amp;diff=92446"/>
		<updated>2014-12-04T03:42:26Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: uploaded a new version of &amp;amp;quot;File:After view.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Before_view.png&amp;diff=92445</id>
		<title>File:Before view.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Before_view.png&amp;diff=92445"/>
		<updated>2014-12-04T03:41:43Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: uploaded a new version of &amp;amp;quot;File:Before view.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:After_view.png&amp;diff=92442</id>
		<title>File:After view.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:After_view.png&amp;diff=92442"/>
		<updated>2014-12-04T03:37:01Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92441</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92441"/>
		<updated>2014-12-04T03:36:42Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
It shows the different between previous implementation and new implementation.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after_view.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92440</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92440"/>
		<updated>2014-12-04T03:36:24Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
It shows the different between previous implementation and new implementation.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.png|frame|left| ]]&lt;br /&gt;
| [[File:after.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Before_view.png&amp;diff=92439</id>
		<title>File:Before view.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Before_view.png&amp;diff=92439"/>
		<updated>2014-12-04T03:35:48Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92434</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92434"/>
		<updated>2014-12-04T03:34:44Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
It shows the different between previous implementation and new implementation.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before_view.jpg|frame|left| ]]&lt;br /&gt;
| [[File:after.jpg|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92433</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92433"/>
		<updated>2014-12-04T03:34:03Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
It shows the different between previous implementation and new implementation.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:before.jpg|frame|left| ]]&lt;br /&gt;
| [[File:after.jpg|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92431</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92431"/>
		<updated>2014-12-04T03:33:06Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
It shows the different between previous implementation and new implementation.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [before.png|frame|left| ]]&lt;br /&gt;
| [after.png|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92429</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92429"/>
		<updated>2014-12-04T03:32:16Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
It shows the different between previous implementation and new implementation.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [|frame|left| ]]&lt;br /&gt;
| [[frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92410</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92410"/>
		<updated>2014-12-04T02:58:40Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
It shows the different between previous implementation and new implementation.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Before&lt;br /&gt;
! After&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Refactored_Leaderboard_file.jpg|frame|left| ]]&lt;br /&gt;
| [[File:Non_Refactored_Leaderboard_file.jpg|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Refactored_personal_achievement_file.jpg|frame|left| ]]&lt;br /&gt;
| [[File:Non_personal_achievement_file.jpg|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92409</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92409"/>
		<updated>2014-12-04T02:58:05Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
It shows the different between previous implementation and new implementation.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! View of Refactored Leaderboard&lt;br /&gt;
! View of Original Leaderboard&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Refactored_Leaderboard_file.jpg|frame|left| ]]&lt;br /&gt;
| [[File:Non_Refactored_Leaderboard_file.jpg|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Refactored_personal_achievement_file.jpg|frame|left| ]]&lt;br /&gt;
| [[File:Non_personal_achievement_file.jpg|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92408</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92408"/>
		<updated>2014-12-04T02:56:59Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Screenshots =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! View of Refactored Leaderboard&lt;br /&gt;
! View of Original Leaderboard&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Refactored_Leaderboard_file.jpg|frame|left| ]]&lt;br /&gt;
| [[File:Non_Refactored_Leaderboard_file.jpg|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Refactored_personal_achievement_file.jpg|frame|left| ]]&lt;br /&gt;
| [[File:Non_personal_achievement_file.jpg|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92407</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92407"/>
		<updated>2014-12-04T02:56:33Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
[My main comment is that I would like a mockup of how your screens are going to look, so I can judge if the required info is there and if the UI is intuitive enough.]&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and its codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Changes =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! View of Refactored Leaderboard&lt;br /&gt;
! View of Original Leaderboard&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Refactored_Leaderboard_file.jpg|frame|left| ]]&lt;br /&gt;
| [[File:Non_Refactored_Leaderboard_file.jpg|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Refactored_personal_achievement_file.jpg|frame|left| ]]&lt;br /&gt;
| [[File:Non_personal_achievement_file.jpg|frame|left| ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
Following is class diagram for Assignment display module. &amp;lt;ref&amp;gt;Previous year's design document for ''E707: Better display for assignments'' by Bharath Sampath(bsampat2),Prakash Vasudevan(pvasude),Raghavendran Nedunchezhian(rnedunc), Yuchuan Liu(yliu63)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
Following is class diagram for Dashboard for students module.&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92022</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92022"/>
		<updated>2014-11-12T04:02:06Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Functionality of each file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and it's codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92021</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92021"/>
		<updated>2014-11-12T04:01:52Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Functionality of each file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and it's codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality involved for implementation&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality for this project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92020</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92020"/>
		<updated>2014-11-12T04:00:45Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Functionality of each file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and it's codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality for this project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality for this project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
For the instructor, there needs to be a way to quickly find rubrics (and other questionnaires) that have been used in a single course. It should be possible to search or click somewhere to bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires. A search functionality for questionnaire is expected. Currently, assignment and course searches is implemented, and there is a dropdown for questionnaire, but it's functionality is missing. &lt;br /&gt;
&lt;br /&gt;
'''Actor:''' Instructot&lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition:''' There are few questionnaires in the system&lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Instructor lands on &amp;quot;Manage content&amp;quot; page  &lt;br /&gt;
&lt;br /&gt;
3. Search for a questionnaire, by selecting questionnaire in the search dropdown and input some search string&lt;br /&gt;
&lt;br /&gt;
4. Search results displayed, expanding only the applicable questionnaires in the list of questionnaires&lt;br /&gt;
&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following use case diagram shows the system of Assignment grades for a student on Expertiza as it is depicted right now. These include viewing their own project submission (with url and attachments), reviews and metareviews on their work, author feedbacks, teammate reviews and their final score on that assignment/project.&amp;lt;ref&amp;gt;Previous year's design document for ''E715: Dashboard for Students'' by Ambika Tripathi, Milan Tonse, Krutika Nagar, Shruti Buch&amp;lt;/ref&amp;gt; As part of this project we shall be adding more data on this page, so that student has better understanding of his/her marks. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing graphical output for scores for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants''': None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for average high and low scores. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class scores for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the graphical output for average, high and low class score for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of reviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of reviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of reviews the student has done for that particular assignment and also the &lt;br /&gt;
&lt;br /&gt;
number of reviews he still has to do to reach the threshold. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing number of metareviews done by him/her&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for number of metareviews done by the student. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for my metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the number of metareviews the student has done for that particular assignment and also &lt;br /&gt;
&lt;br /&gt;
the number of metareviews he still has to do to reach the threshold.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class reviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class reviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class reviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class reviews for that particular assignment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Name''': Students viewing average number of class metareviews for the assignment&lt;br /&gt;
&lt;br /&gt;
'''Actor''': Student &lt;br /&gt;
&lt;br /&gt;
'''Other Participants:''' None &lt;br /&gt;
&lt;br /&gt;
'''Precondition''': Statistics have been recorded for class metareviews for that assignment. &lt;br /&gt;
&lt;br /&gt;
'''Primary Sequence:''' &lt;br /&gt;
&lt;br /&gt;
1. Log in to Expertiza&lt;br /&gt;
&lt;br /&gt;
2. Select an assignment &lt;br /&gt;
&lt;br /&gt;
3. Select Your Scores&lt;br /&gt;
&lt;br /&gt;
4. Click on the link for view class metareviews for this assignment.&lt;br /&gt;
&lt;br /&gt;
5. View the average number of class metareviews for that particular assignment&lt;br /&gt;
 &lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92007</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92007"/>
		<updated>2014-11-12T03:21:43Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Files to be merged : Dashboard for students */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and it's codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality for this project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality for this project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92006</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92006"/>
		<updated>2014-11-12T03:21:24Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Files to be merged : Dashboard for students */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and it's codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;grades_controller.rb, review_mapping_controller.rb,response_controller.rb&amp;lt;/li&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality for this project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality for this project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92005</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92005"/>
		<updated>2014-11-12T03:19:04Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Functionality of each file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and it's codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality for this project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality for this project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92004</id>
		<title>CSC/ECE 517 Fall 2014/final E1471 asuv</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2014/final_E1471_asuv&amp;diff=92004"/>
		<updated>2014-11-12T03:18:45Z</updated>

		<summary type="html">&lt;p&gt;Vjsangha: /* Functionality of each file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Expertiza - Information Display and Student Interaction=&lt;br /&gt;
&lt;br /&gt;
Expertiza is a web application developed using Ruby on Rails that serves as a peer-review system. The application allows students to submit and peer-review learning objects (articles, code, web sites, etc)&amp;lt;ref&amp;gt;[https://github.com/expertiza/expertiza Expertiza on GitHub]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[http://wikis.lib.ncsu.edu/index.php/Expertiza Expertiza Wiki Page]&amp;lt;/ref&amp;gt;. It is an open source project and it's codebase is maintained in GitHub.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
Our contribution in this project would be to improve the display of questionnaires for all the instructors and also integrating a previous project which provides a new dashboard for students to view and compare their performance of each assignment. &lt;br /&gt;
&lt;br /&gt;
==Current State==&lt;br /&gt;
*In the current state instructor should go through all the questionnaires to find the one they are looking for. &lt;br /&gt;
*The keyword search functionality is not yet implemented for questionnaires.&lt;br /&gt;
*The current student dashboard provides the average score and range of the student’s assignment, review and final score. &lt;br /&gt;
*The system has a limitation where in a student/instructor cannot view and compare the student scores based on the class performance.&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
*As a part of our project we will implement the search functionality and also make it possible to click and bring up a list of questionnaires used in the course, expanding only the applicable questionnaires in the list of questionnaires.&lt;br /&gt;
*A project from last year has the implementation for the new student dashboard. We would like to take that project, make the required changes to it and integrate it into expertiza.&lt;br /&gt;
*This new dashboard gives the students a comparative statistics for that particular assignment for the entire class. &lt;br /&gt;
*Giving the min, mean and max gives the student a range to judge where they stand with respect to the class. &lt;br /&gt;
*Other features were part of the project were to show the number of reviews and metareviews he/she has done for this assignment and also based on a threshold what are the number of reviews/metareviews the student still needs to do. &lt;br /&gt;
*A histogram distribution of the scores of the class (all teams) for that assignment would also shown as a part of the dashboard.&lt;br /&gt;
&lt;br /&gt;
=Approach=&lt;br /&gt;
&lt;br /&gt;
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 a significant amount of time ago (in December 2012), it was made for an older version of rails.&lt;br /&gt;
&lt;br /&gt;
==General Approach==&lt;br /&gt;
Our general approach to the project would be as follows:&lt;br /&gt;
*Run the current project with rails 4&lt;br /&gt;
*Check the functionality to find out the incompatible and missing parts&lt;br /&gt;
*Refactor the parts of code that do not function as expected and port them to rails 4 specification&lt;br /&gt;
*After making sure everything runs, refactor the entire code to make sure it follows the global code rules.&lt;br /&gt;
&lt;br /&gt;
==Specific Approach==&lt;br /&gt;
The specific approach to each of the two functionality is as  follows:&lt;br /&gt;
===Better display for assignments===&lt;br /&gt;
&lt;br /&gt;
We found that while the currently existing code covers most of the functionality, a major part of the functionality is missing. According to definition, the instructor should see the following on his home page:&lt;br /&gt;
*The instructor's courses&lt;br /&gt;
*Assignments for those courses&lt;br /&gt;
*Questionnaire by assignment name&lt;br /&gt;
&lt;br /&gt;
Each of these should be compressed to titles only, and it should be possible to expand them by single mouse click. Each course should have its own list of assignments which can, again, be expanded. Also, there is a search box on the page which allows to search assignments, courses and questionnaires.&lt;br /&gt;
&lt;br /&gt;
The search functionality for assignments and courses is working well, but the search for questionnaires is not implemented.&lt;br /&gt;
&lt;br /&gt;
So, for this specific project, we plan to focus on implementing the search for questionnaires first. Then, integrate it all and test each functionality: make sure that nothing is affected by the new functionality added. After all the tests are performed, we will merge the project with the main project, thus integrating it with the final build.&lt;br /&gt;
&lt;br /&gt;
===Dashboard for students===&lt;br /&gt;
&lt;br /&gt;
The features required for the dashboard for students project have already been implemented. So, the main task to be performed by us is to merge the project files with the main project and make sure that nothing else is affected by the process.&lt;br /&gt;
&lt;br /&gt;
The current code is able to display the maximum scores, average scores, number of reviews and distribution charts.&lt;br /&gt;
&lt;br /&gt;
=Files involved=&lt;br /&gt;
===Files to be merged : Dashboard for students===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  ScoreCache.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  grades\view_my_scored.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 grades_controller.rb, review_mapping_controller.rb,response_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Database tables&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 Assignments,Participants, score_caches, response_maps,responses&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Functionality of each file====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality for this project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; ScoreCache.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| Makes an entry into score_cache table whenever a response is given/edited&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades\view_my_scores.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Modified in order to display all new features&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; grades_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| 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&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; review_mapping_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| To get additional information about assignment like total reviews submitted&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Assignments &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| All information related to assignment&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Responses &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review response information&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; Score_caches &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Stores individual assignment review score information &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; response_maps &amp;lt;/code&amp;gt;&lt;br /&gt;
| Table&lt;br /&gt;
| Mapping between response, reviewer and reviewee&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Files to be changed : Better display of assignment===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Model&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 course_node.rb,assignment_node.rb,questionnaire_node.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  View&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
 tree_display\ _row_header.html.erb,tree_display\ _entry.html.erb,tree_display/actions/_courses_actions.html.erb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  Controller&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tree_display controller.rb,course_controller.rb,assignment_controller.rb,questionnaire_controller.rb&lt;br /&gt;
 &amp;lt;li&amp;gt;&lt;br /&gt;
  JavaScript&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
  tableactions.js&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Functionality of each file===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:2%;&amp;quot;|Sr. No.&lt;br /&gt;
! style=&amp;quot;width:8%;&amp;quot;|File Name&lt;br /&gt;
!style=&amp;quot;width:13%;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;width:43%;&amp;quot;|Functionality for this project&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 1 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all course none in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 2 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all assignment node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 3 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_node.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Model&lt;br /&gt;
| To fetch information about all questionnaire node in the system&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 4 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| For direct access to every entity like questionnaires, review rubric etc..&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 5 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _row_header.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display of header in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 6 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display\ _entry.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display entity in a row&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 7 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; tree_display/actions/_courses_actions.html.erb &amp;lt;/code&amp;gt;&lt;br /&gt;
| View&lt;br /&gt;
| Display separate actions on each row &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 8 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; course_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various course related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 9 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; assignment_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various assignment related functions&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|''''' 10 '''''&lt;br /&gt;
| &amp;lt;code&amp;gt; questionnaire_controller.rb &amp;lt;/code&amp;gt;&lt;br /&gt;
| Controller&lt;br /&gt;
| Provides various questionnaire related functions&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case=&lt;br /&gt;
[[File:Assignment_display_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_existing.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:Dashboard_new.jpg]]&lt;br /&gt;
=UML diagram=&lt;br /&gt;
[[File:UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
='''References'''=&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vjsangha</name></author>
	</entry>
</feed>