<?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=Rma9</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=Rma9"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Rma9"/>
	<updated>2026-08-10T08:38:13Z</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_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136531</id>
		<title>CSC/ECE 517 Fall 2020 - E2081. Add a &quot;cake&quot; item type to rubrics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136531"/>
		<updated>2020-10-29T00:59:50Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Problem Definition'''==&lt;br /&gt;
&lt;br /&gt;
Expertiza rubrics are utilized to build questionnaires and these rubrics incorporate several kinds of items, including Criterion (dropdown + comment), Checkbox, MultipleChoice, and Scale.  When we use these questionnaires for reviews, for example the teammate review assessment we encounter a few problems. One “problem” with all of these types is that there is nothing to stop a reviewer (say some student) from assigning the maximum score to all the reviewees (student's teammates). This is indeed a problem for teammate assessment, when the faculty asks for what fraction of the work each teammate did.So an alternative is needed, let’s call it a “Cake” item type, that allows a reviewer to divide a “cake” in any way between the reviewees, but does not allow him/her to divvy up more than 100% of the cake.&lt;br /&gt;
&lt;br /&gt;
# When the reviewer submits a score that would bring the total assigned for this item to &amp;gt; 100%, the system needs to warn. &lt;br /&gt;
# The system must a reviewer to give him/herself a score&lt;br /&gt;
# The proposed design needs to be compatible with existing self reviews code and teammates reviews&lt;br /&gt;
# Design should be extensible to other kind of reviews apart from teammate reviews as well&lt;br /&gt;
&lt;br /&gt;
[[File:1_hjrnZknuFZswxaOKFCrDjQ.png|center]]&lt;br /&gt;
&lt;br /&gt;
For instance, the above figure consists of a team of 4 members, with self included as a team-member when reviewing every member's contribution.&lt;br /&gt;
&amp;lt;br&amp;gt;If A has reviewed his other 3 teammates B, C, D with contributions of 15%, 10%, and 45% respectively, he should only be allowed to review self with a contribution of 30% or lesser.&lt;br /&gt;
&lt;br /&gt;
=='''Design'''==&lt;br /&gt;
==='''Proposed Solution'''===&lt;br /&gt;
&lt;br /&gt;
The issue asks us to have a Cake type for the question taking in a participant’s contribution, whenever s/he is reviewing the other teammates. We add in a new Question type ‘Cake’, which will be extended from the Scored Question model [cake &amp;lt; scored question &amp;lt; choice question &amp;lt; question]. &lt;br /&gt;
&lt;br /&gt;
Potential ways of displaying the Cake question on the UI:&lt;br /&gt;
&lt;br /&gt;
* Stars: Existing design for teammate reviews uses stars to symbolize the contribution provided by each student. We can implement the cake type using the same.&lt;br /&gt;
Cons: Stars are not very versatile when there are a greater number of students per team and if the student wants to equally rate their contribution.&lt;br /&gt;
&lt;br /&gt;
* Drop Down: In order to give the student more flexibility, another way a student can pick the contribution of each team member is using a dropdown of the % values.&lt;br /&gt;
Cons: Drop down values need to be restricted to intervals of 5 or more, as the drop down becomes too long to display all values from 0-100.&lt;br /&gt;
&lt;br /&gt;
* Text box with up-down arrows: Provides utmost flexibility and precision to the student while adding contribution of his team members, we can provide a text box with necessary validations which lets the student provide the contribution % for his teammates as any integral number within the limits. There will also be text to warn the user about how much contribution is remaining based on what is typed into the box and any previously completed teammate reviews.  &lt;br /&gt;
&lt;br /&gt;
We plan to implement the text box as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2019-12-07_at_3.07.57_PM.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Addressing self-reviews for Cake Type:&lt;br /&gt;
&lt;br /&gt;
The amount of credit assigned to self will be the remaining amount of percentage not given to the other teammates for the reviews. This will eliminate the need to do a self-review to specifically assign the leftover percentage to oneself. The self percentages for the cake questions will only be assigned to a student once they have completed the reviews for all other teammates. This will ensure that the students are motivated to complete the teammate reviews and the self-review calculation is executed once (instead of needing to re-calculate after each review).&lt;br /&gt;
&lt;br /&gt;
In the current system workflow, we found that the teammate reviews are taken as instances of TeammateReviewResponseMap. The questionnaire for reviewing teammates includes the question asking the cake (contribution) factor. Ideally, the cake should include the reviewer as well.&lt;br /&gt;
&lt;br /&gt;
Currently, whenever a participant is reviewing their teammates they are shown a view where the names of their teammates are displayed with a 'Review' link next to them. The last line has the user name displayed with no link but reminder text to complete their reviews. We plan on updating this view once the reviews are complete for all teammates with a 'View' link in the user's line item that will show all of the self cake contributions. &lt;br /&gt;
&lt;br /&gt;
Steps to reproduce the proposed workflow:&lt;br /&gt;
#Log in to expertiza to view the home page&lt;br /&gt;
#Login as an Instructor, and then impersonate a student or login as a Student&lt;br /&gt;
#Go to Assignments -&amp;gt; Your team&lt;br /&gt;
#You will see a list of your teammates with a link: ‘Review’&lt;br /&gt;
#You will see yourself with no present link, this will become visible once you complete all reviews as: 'View'&lt;br /&gt;
#You can see the questions for asking the contribution as a cake type&lt;br /&gt;
#There will be a text description next to it denoting what part of the cake is taken (what contribution factor of the work is used)&lt;br /&gt;
#For yourself the view will automatically be filled out with the leftover percentages for each cake contribution&lt;br /&gt;
&lt;br /&gt;
==='''Why we chose this approach'''===&lt;br /&gt;
We found that it was efficient calculate a self contribution as the remaining percentage not assigned to all other teammates. This eliminates the need to create a specialized self-review to assign a contribution to oneself. We decided that it would be best to allow access to the self review once all other teammate reviews are complete because it encourages users to do their reviews and the final calculation for self contribution needs to only be done once.&lt;br /&gt;
&lt;br /&gt;
==='''Implementation'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Test plan'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Deployment'''===&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Jordan, Dylan Tyler	dtjordan@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Han, Lige	lhan6@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Kollipara, Siddhartha	skollip@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*'''Mentor''': Ed Gehringer (efg@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2019_-_E1992._Add_cake_type_to_rubrics_design CSC/ECE 517 Fall 2019 - E1992. Add cake type to rubrics design]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136188</id>
		<title>CSC/ECE 517 Fall 2020 - E2081. Add a &quot;cake&quot; item type to rubrics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136188"/>
		<updated>2020-10-23T02:56:37Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* Why we chose this approach: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Problem Definition'''==&lt;br /&gt;
&lt;br /&gt;
Expertiza rubrics are utilized to build questionnaires and these rubrics incorporate several kinds of items, including Criterion (dropdown + comment), Checkbox, MultipleChoice, and Scale.  When we use these questionnaires for reviews, for example the teammate review assessment we encounter a few problems. One “problem” with all of these types is that there is nothing to stop a reviewer (say some student) from assigning the maximum score to all the reviewees (student's teammates). This is indeed a problem for teammate assessment, when the faculty asks for what fraction of the work each teammate did.So an alternative is needed, let’s call it a “Cake” item type, that allows a reviewer to divide a “cake” in any way between the reviewees, but does not allow him/her to divvy up more than 100% of the cake.&lt;br /&gt;
&lt;br /&gt;
#When the reviewer submits a score that would bring the total assigned for this item to &amp;gt; 100%, the system needs to warn. &lt;br /&gt;
#Allow a reviewer to give him/herself a score&lt;br /&gt;
# Proposed design needs to be compatible with existing self reviews code and teammates reviews&lt;br /&gt;
# Should be extensible to other kind of reviews apart from teammate reviews as well&lt;br /&gt;
&lt;br /&gt;
[[File:1_hjrnZknuFZswxaOKFCrDjQ.png|center]]&lt;br /&gt;
&lt;br /&gt;
For instance, the above figure consists of a team of 4 members, with self included as a team-member when reviewing every member's contribution.&lt;br /&gt;
&amp;lt;br&amp;gt;If A has reviewed his other 3 teammates B, C, D with contributions of 15%, 10%, and 45% respectively, he should only be allowed to review self with a contribution of 30% or lesser.&lt;br /&gt;
&lt;br /&gt;
=='''Design'''==&lt;br /&gt;
==='''Proposed Solution'''===&lt;br /&gt;
&lt;br /&gt;
The issue asks us to have a Cake type for the question taking in a participant’s contribution, whenever s/he is reviewing the other teammates. We add in a new Question type ‘Cake’, which will be extended from the Scored Question model [cake &amp;lt; scored question &amp;lt; choice question &amp;lt; question]. &lt;br /&gt;
&lt;br /&gt;
Potential ways of displaying the Cake question on the UI:&lt;br /&gt;
&lt;br /&gt;
* Stars: Existing design for teammate reviews uses stars to symbolize the contribution provided by each student. We can implement the cake type using the same.&lt;br /&gt;
Cons: Stars are not very versatile when there are a greater number of students per team and if the student wants to equally rate their contribution.&lt;br /&gt;
&lt;br /&gt;
* Drop Down: In order to give the student more flexibility, another way a student can pick the contribution of each team member is using a dropdown of the % values.&lt;br /&gt;
Cons: Drop down values need to be restricted to intervals of 5 or more, as the drop down becomes too long to display all values from 0-100.&lt;br /&gt;
&lt;br /&gt;
* Text box with up-down arrows: Provides utmost flexibility and precision to the student while adding contribution of his team members, we can provide a text box with necessary validations which lets the student provide the contribution % for his teammates as any integral number within the limits. There will also be text to warn the user about how much contribution is remaining based on what is typed into the box and any previously completed teammate reviews.  &lt;br /&gt;
&lt;br /&gt;
We plan to implement the text box as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2019-12-07_at_3.07.57_PM.png|center]]&lt;br /&gt;
&lt;br /&gt;
Addressing self-reviews for Cake Type:&lt;br /&gt;
&lt;br /&gt;
The amount of credit assigned to self will be the remaining amount of percentage not given to the other teammates for the reviews. This will eliminate the need to do a self-review to specifically assign the leftover percentage to oneself. The self percentages for the cake questions will only be assigned to a student once they have completed the reviews for all other teammates. This will ensure that the students are motivated to complete the teammate reviews and the self-review calculation is executed once (instead of needing to re-calculate after each review).&lt;br /&gt;
&lt;br /&gt;
In the current system workflow, we found that the teammate reviews are taken as instances of TeammateReviewResponseMap. The questionnaire for reviewing teammates includes the question asking the cake (contribution) factor. Ideally, the cake should include the reviewer as well.&lt;br /&gt;
&lt;br /&gt;
Currently, whenever a participant is reviewing their teammates they are shown a view where the names of their teammates are displayed with a 'Review' link next to them. The last line has the user name displayed with no link but reminder text to complete their reviews. We plan on updating this view once the reviews are complete for all teammates with a 'View' link in the user's line item that will show all of the self cake contributions. &lt;br /&gt;
&lt;br /&gt;
Steps to reproduce the proposed workflow:&lt;br /&gt;
#Log in to expertiza to view the home page&lt;br /&gt;
#Login as an Instructor, and then impersonate a student or login as a Student&lt;br /&gt;
#Go to Assignments -&amp;gt; Your team&lt;br /&gt;
#You will see a list of your teammates with a link: ‘Review’&lt;br /&gt;
#You will see yourself with no present link, this will become visible once you complete all reviews as: 'View'&lt;br /&gt;
#You can see the questions for asking the contribution as a cake type&lt;br /&gt;
#There will be a text description next to it denoting what part of the cake is taken (what contribution factor of the work is used)&lt;br /&gt;
#For yourself the view will automatically be filled out with the leftover percentages for each cake contribution&lt;br /&gt;
&lt;br /&gt;
==='''Why we chose this approach'''===&lt;br /&gt;
We found that it was efficient calculate a self contribution as the remaining percentage not assigned to all other teammates. This eliminates the need to create a specialized self-review to assign a contribution to oneself. We decided that it would be best to allow access to the self review once all other teammate reviews are complete because it encourages users to do their reviews and the final calculation for self contribution needs to only be done once.&lt;br /&gt;
&lt;br /&gt;
==='''Implementation'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Test plan'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Deployment'''===&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Jordan, Dylan Tyler	dtjordan@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Han, Lige	lhan6@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Kollipara, Siddhartha	skollip@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*'''Mentor''': Ed Gehringer (efg@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2019_-_E1992._Add_cake_type_to_rubrics_design CSC/ECE 517 Fall 2019 - E1992. Add cake type to rubrics design]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136187</id>
		<title>CSC/ECE 517 Fall 2020 - E2081. Add a &quot;cake&quot; item type to rubrics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136187"/>
		<updated>2020-10-23T02:56:16Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Problem Definition'''==&lt;br /&gt;
&lt;br /&gt;
Expertiza rubrics are utilized to build questionnaires and these rubrics incorporate several kinds of items, including Criterion (dropdown + comment), Checkbox, MultipleChoice, and Scale.  When we use these questionnaires for reviews, for example the teammate review assessment we encounter a few problems. One “problem” with all of these types is that there is nothing to stop a reviewer (say some student) from assigning the maximum score to all the reviewees (student's teammates). This is indeed a problem for teammate assessment, when the faculty asks for what fraction of the work each teammate did.So an alternative is needed, let’s call it a “Cake” item type, that allows a reviewer to divide a “cake” in any way between the reviewees, but does not allow him/her to divvy up more than 100% of the cake.&lt;br /&gt;
&lt;br /&gt;
#When the reviewer submits a score that would bring the total assigned for this item to &amp;gt; 100%, the system needs to warn. &lt;br /&gt;
#Allow a reviewer to give him/herself a score&lt;br /&gt;
# Proposed design needs to be compatible with existing self reviews code and teammates reviews&lt;br /&gt;
# Should be extensible to other kind of reviews apart from teammate reviews as well&lt;br /&gt;
&lt;br /&gt;
[[File:1_hjrnZknuFZswxaOKFCrDjQ.png|center]]&lt;br /&gt;
&lt;br /&gt;
For instance, the above figure consists of a team of 4 members, with self included as a team-member when reviewing every member's contribution.&lt;br /&gt;
&amp;lt;br&amp;gt;If A has reviewed his other 3 teammates B, C, D with contributions of 15%, 10%, and 45% respectively, he should only be allowed to review self with a contribution of 30% or lesser.&lt;br /&gt;
&lt;br /&gt;
=='''Design'''==&lt;br /&gt;
==='''Proposed Solution'''===&lt;br /&gt;
&lt;br /&gt;
The issue asks us to have a Cake type for the question taking in a participant’s contribution, whenever s/he is reviewing the other teammates. We add in a new Question type ‘Cake’, which will be extended from the Scored Question model [cake &amp;lt; scored question &amp;lt; choice question &amp;lt; question]. &lt;br /&gt;
&lt;br /&gt;
Potential ways of displaying the Cake question on the UI:&lt;br /&gt;
&lt;br /&gt;
* Stars: Existing design for teammate reviews uses stars to symbolize the contribution provided by each student. We can implement the cake type using the same.&lt;br /&gt;
Cons: Stars are not very versatile when there are a greater number of students per team and if the student wants to equally rate their contribution.&lt;br /&gt;
&lt;br /&gt;
* Drop Down: In order to give the student more flexibility, another way a student can pick the contribution of each team member is using a dropdown of the % values.&lt;br /&gt;
Cons: Drop down values need to be restricted to intervals of 5 or more, as the drop down becomes too long to display all values from 0-100.&lt;br /&gt;
&lt;br /&gt;
* Text box with up-down arrows: Provides utmost flexibility and precision to the student while adding contribution of his team members, we can provide a text box with necessary validations which lets the student provide the contribution % for his teammates as any integral number within the limits. There will also be text to warn the user about how much contribution is remaining based on what is typed into the box and any previously completed teammate reviews.  &lt;br /&gt;
&lt;br /&gt;
We plan to implement the text box as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2019-12-07_at_3.07.57_PM.png|center]]&lt;br /&gt;
&lt;br /&gt;
Addressing self-reviews for Cake Type:&lt;br /&gt;
&lt;br /&gt;
The amount of credit assigned to self will be the remaining amount of percentage not given to the other teammates for the reviews. This will eliminate the need to do a self-review to specifically assign the leftover percentage to oneself. The self percentages for the cake questions will only be assigned to a student once they have completed the reviews for all other teammates. This will ensure that the students are motivated to complete the teammate reviews and the self-review calculation is executed once (instead of needing to re-calculate after each review).&lt;br /&gt;
&lt;br /&gt;
In the current system workflow, we found that the teammate reviews are taken as instances of TeammateReviewResponseMap. The questionnaire for reviewing teammates includes the question asking the cake (contribution) factor. Ideally, the cake should include the reviewer as well.&lt;br /&gt;
&lt;br /&gt;
Currently, whenever a participant is reviewing their teammates they are shown a view where the names of their teammates are displayed with a 'Review' link next to them. The last line has the user name displayed with no link but reminder text to complete their reviews. We plan on updating this view once the reviews are complete for all teammates with a 'View' link in the user's line item that will show all of the self cake contributions. &lt;br /&gt;
&lt;br /&gt;
Steps to reproduce the proposed workflow:&lt;br /&gt;
#Log in to expertiza to view the home page&lt;br /&gt;
#Login as an Instructor, and then impersonate a student or login as a Student&lt;br /&gt;
#Go to Assignments -&amp;gt; Your team&lt;br /&gt;
#You will see a list of your teammates with a link: ‘Review’&lt;br /&gt;
#You will see yourself with no present link, this will become visible once you complete all reviews as: 'View'&lt;br /&gt;
#You can see the questions for asking the contribution as a cake type&lt;br /&gt;
#There will be a text description next to it denoting what part of the cake is taken (what contribution factor of the work is used)&lt;br /&gt;
#For yourself the view will automatically be filled out with the leftover percentages for each cake contribution&lt;br /&gt;
&lt;br /&gt;
===Why we chose this approach:===&lt;br /&gt;
We found that it was efficient calculate a self contribution as the remaining percentage not assigned to all other teammates. This eliminates the need to create a specialized self-review to assign a contribution to oneself. We decided that it would be best to allow access to the self review once all other teammate reviews are complete because it encourages users to do their reviews and the final calculation for self contribution needs to only be done once.&lt;br /&gt;
&lt;br /&gt;
==='''Implementation'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Test plan'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Deployment'''===&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Jordan, Dylan Tyler	dtjordan@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Han, Lige	lhan6@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Kollipara, Siddhartha	skollip@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*'''Mentor''': Ed Gehringer (efg@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2019_-_E1992._Add_cake_type_to_rubrics_design CSC/ECE 517 Fall 2019 - E1992. Add cake type to rubrics design]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136173</id>
		<title>CSC/ECE 517 Fall 2020 - E2081. Add a &quot;cake&quot; item type to rubrics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136173"/>
		<updated>2020-10-23T01:55:01Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* Problem Definition: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Problem Definition'''==&lt;br /&gt;
&lt;br /&gt;
Expertiza rubrics are utilized to build questionnaires and these rubrics incorporate several kinds of items, including Criterion (dropdown + comment), Checkbox, MultipleChoice, and Scale.  When we use these questionnaires for reviews, for example the teammate review assessment we encounter a few problems. One “problem” with all of these types is that there is nothing to stop a reviewer (say some student) from assigning the maximum score to all the reviewees (student's teammates). This is indeed a problem for teammate assessment, when the faculty asks for what fraction of the work each teammate did.So an alternative is needed, let’s call it a “Cake” item type, that allows a reviewer to divide a “cake” in any way between the reviewees, but does not allow him/her to divvy up more than 100% of the cake.&lt;br /&gt;
&lt;br /&gt;
#When the reviewer submits a score that would bring the total assigned for this item to &amp;gt; 100%, the system needs to warn. &lt;br /&gt;
#Allow a reviewer to give him/herself a score&lt;br /&gt;
# Proposed design needs to be compatible with existing self reviews code and teammates reviews&lt;br /&gt;
# Should be extensible to other kind of reviews apart from teammate reviews as well&lt;br /&gt;
&lt;br /&gt;
[[File:1_hjrnZknuFZswxaOKFCrDjQ.png|center]]&lt;br /&gt;
&lt;br /&gt;
For instance, the above figure consists of a team of 4 members, with self included as a team-member when reviewing every member's contribution.&lt;br /&gt;
&amp;lt;br&amp;gt;If A has reviewed his other 3 teammates B, C, D with contributions of 15%, 10%, and 45% respectively, he should only be allowed to review self with a contribution of 30% or lesser.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
===Proposed Solution:===&lt;br /&gt;
&lt;br /&gt;
The issue asks us to have a Cake type for the question taking in a participant’s contribution, whenever s/he is reviewing the other teammates. We add in a new Question type ‘Cake’, which will be extended from the Scored Question model [cake &amp;lt; scored question &amp;lt; choice question &amp;lt; question]. &lt;br /&gt;
&lt;br /&gt;
Potential ways of displaying the Cake question on the UI:&lt;br /&gt;
&lt;br /&gt;
* Stars: Existing design for teammate reviews uses stars to symbolize the contribution provided by each student. We can implement the cake type using the same.&lt;br /&gt;
Cons: Stars are not very versatile when there are a greater number of students per team and if the student wants to equally rate their contribution.&lt;br /&gt;
&lt;br /&gt;
* Drop Down: In order to give the student more flexibility, another way a student can pick the contribution of each team member is using a dropdown of the % values.&lt;br /&gt;
Cons: Drop down values need to be restricted to intervals of 5 or more, as the drop down becomes too long to display all values from 0-100.&lt;br /&gt;
&lt;br /&gt;
* Text box with up-down arrows: Provides utmost flexibility and precision to the student while adding contribution of his team members, we can provide a text box with necessary validations which lets the student provide the contribution % for his teammates as any integral number within the limits. &lt;br /&gt;
&lt;br /&gt;
We decided to implement the text box, looks as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2019-12-07_at_3.07.57_PM.png|center]]&lt;br /&gt;
&lt;br /&gt;
Addressing self-reviews for Cake Type:&lt;br /&gt;
&lt;br /&gt;
The amount of credit assigned to self will be the remaining amount of percentage not given to the other teammates for the reviews. This will eliminate the need to do a self-review to specifically assign the leftover percentage to oneself. The self percentages for the cake questions will only be assigned to a student once they have completed the reviews for all other teammates. This will ensure that the students are motivated to complete the teammate reviews and the self-review calculation is executed once (instead of needing to re-calculate after each review).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Steps to reproduce the proposed workflow:&lt;br /&gt;
#Log in to expertiza to view the home page&lt;br /&gt;
#Login as an Instructor, and then impersonate a student or login as a Student&lt;br /&gt;
#Go to Assignments -&amp;gt; Your team&lt;br /&gt;
#You will see a list of your teammates with a link: ‘Review’&lt;br /&gt;
#You will see yourself with no present link, this will become visible once you complete all reviews as: 'View'&lt;br /&gt;
#You can see the questions for asking the contribution as a cake type&lt;br /&gt;
#There will be a text description next to it denoting what part of the cake is taken (what contribution factor of the work is used)&lt;br /&gt;
#For yourself the view will automatically be filled out with the leftover percentages for each cake contribution&lt;br /&gt;
&lt;br /&gt;
==='''Implementation'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Test plan'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Deployment'''===&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Jordan, Dylan Tyler	dtjordan@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Han, Lige	lhan6@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Kollipara, Siddhartha	skollip@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*'''Mentor''': Ed Gehringer (efg@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2019_-_E1992._Add_cake_type_to_rubrics_design CSC/ECE 517 Fall 2019 - E1992. Add cake type to rubrics design]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136145</id>
		<title>CSC/ECE 517 Fall 2020 - E2081. Add a &quot;cake&quot; item type to rubrics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136145"/>
		<updated>2020-10-23T01:10:19Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* Problem Definition: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Problem Definition:'''==&lt;br /&gt;
&lt;br /&gt;
Expertiza rubrics are utilized to build questionnaires and these rubrics incorporate several kinds of items, including Criterion (dropdown + comment), Checkbox, MultipleChoice, and Scale.  When we use these questionnaires for reviews, for example the teammate review assessment we encounter a few problems. One “problem” with all of these types is that there is nothing to stop a reviewer (say some student) from assigning the maximum score to all the reviewees (student's teammates). This is indeed a problem for teammate assessment, when the faculty asks for what fraction of the work each teammate did.So an alternative is needed, let’s call it a “Cake” item type, that allows a reviewer to divide a “cake” in any way between the reviewees, but does not allow him/her to divvy up more than 100% of the cake.&lt;br /&gt;
&lt;br /&gt;
#When the reviewer submits a score that would bring the total assigned for this item to &amp;gt; 100%, the system needs to warn. &lt;br /&gt;
#Allow a reviewer to give him/herself a score&lt;br /&gt;
# Proposed design needs to be compatible with existing self reviews code and teammates reviews&lt;br /&gt;
# Should be extensible to other kind of reviews apart from teammate reviews as well&lt;br /&gt;
&lt;br /&gt;
[[File:1_hjrnZknuFZswxaOKFCrDjQ.png|center]]&lt;br /&gt;
&lt;br /&gt;
For instance, the above figure consists of a team of 4 members, with self included as a team-member when reviewing every member's contribution.&lt;br /&gt;
&amp;lt;br&amp;gt;If A has reviewed his other 3 teammates B, C, D with contributions of 15%, 10%, and 45% respectively, he should only be allowed to review self with a contribution of 30% or lesser.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
===Proposed Solution:===&lt;br /&gt;
&lt;br /&gt;
The issue asks us to have a Cake type for the question taking in a participant’s contribution, whenever s/he is reviewing the other teammates. We add in a new Question type ‘Cake’, which will be extended from the Scored Question model [cake &amp;lt; scored question &amp;lt; choice question &amp;lt; question]. &lt;br /&gt;
&lt;br /&gt;
Potential ways of displaying the Cake question on the UI:&lt;br /&gt;
&lt;br /&gt;
* Stars: Existing design for teammate reviews uses stars to symbolize the contribution provided by each student. We can implement the cake type using the same.&lt;br /&gt;
Cons: Stars are not very versatile when there are a greater number of students per team and if the student wants to equally rate their contribution.&lt;br /&gt;
&lt;br /&gt;
* Drop Down: In order to give the student more flexibility, another way a student can pick the contribution of each team member is using a dropdown of the % values.&lt;br /&gt;
Cons: Drop down values need to be restricted to intervals of 5 or more, as the drop down becomes too long to display all values from 0-100.&lt;br /&gt;
&lt;br /&gt;
* Text box with up-down arrows: Provides utmost flexibility and precision to the student while adding contribution of his team members, we can provide a text box with necessary validations which lets the student provide the contribution % for his teammates as any integral number within the limits. &lt;br /&gt;
&lt;br /&gt;
We decided to implement the text box, looks as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2019-12-07_at_3.07.57_PM.png|center]]&lt;br /&gt;
&lt;br /&gt;
==='''Implementation'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Test plan'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Deployment'''===&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Jordan, Dylan Tyler	dtjordan@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Han, Lige	lhan6@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Kollipara, Siddhartha	skollip@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*'''Mentor''': Ed Gehringer (efg@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2019_-_E1992._Add_cake_type_to_rubrics_design CSC/ECE 517 Fall 2019 - E1992. Add cake type to rubrics design]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136143</id>
		<title>CSC/ECE 517 Fall 2020 - E2081. Add a &quot;cake&quot; item type to rubrics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136143"/>
		<updated>2020-10-23T01:07:16Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Problem Definition:==&lt;br /&gt;
&lt;br /&gt;
Expertiza rubrics are utilized to build questionnaires and these rubrics incorporate several kinds of items, including Criterion (dropdown + comment), Checkbox, MultipleChoice, and Scale.  When we use these questionnaires for reviews, for example the teammate review assessment we encounter a few problems. One “problem” with all of these types is that there is nothing to stop a reviewer (say some student) from assigning the maximum score to all the reviewees (student's teammates). This is indeed a problem for teammate assessment, when the faculty asks for what fraction of the work each teammate did.So an alternative is needed, let’s call it a “Cake” item type, that allows a reviewer to divide a “cake” in any way between the reviewees, but does not allow him/her to divvy up more than 100% of the cake.&lt;br /&gt;
&lt;br /&gt;
#When the reviewer submits a score that would bring the total assigned for this item to &amp;gt; 100%, the system needs to warn. &lt;br /&gt;
#Allow a reviewer to give him/herself a score&lt;br /&gt;
# Proposed design needs to be compatible with existing self reviews code and teammates reviews&lt;br /&gt;
# Should be extensible to other kind of reviews apart from teammate reviews as well&lt;br /&gt;
&lt;br /&gt;
[[File:1_hjrnZknuFZswxaOKFCrDjQ.png|center]]&lt;br /&gt;
&lt;br /&gt;
For instance, the above figure consists of a team of 4 members, with self included as a team-member when reviewing every member's contribution.&lt;br /&gt;
&amp;lt;br&amp;gt;If A has reviewed his other 3 teammates B, C, D with contributions of 15%, 10%, and 45% respectively, he should only be allowed to review self with a contribution of 30% or lesser.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
===Proposed Solution:===&lt;br /&gt;
&lt;br /&gt;
The issue asks us to have a Cake type for the question taking in a participant’s contribution, whenever s/he is reviewing the other teammates. We add in a new Question type ‘Cake’, which will be extended from the Scored Question model [cake &amp;lt; scored question &amp;lt; choice question &amp;lt; question]. &lt;br /&gt;
&lt;br /&gt;
Potential ways of displaying the Cake question on the UI:&lt;br /&gt;
&lt;br /&gt;
* Stars: Existing design for teammate reviews uses stars to symbolize the contribution provided by each student. We can implement the cake type using the same.&lt;br /&gt;
Cons: Stars are not very versatile when there are a greater number of students per team and if the student wants to equally rate their contribution.&lt;br /&gt;
&lt;br /&gt;
* Drop Down: In order to give the student more flexibility, another way a student can pick the contribution of each team member is using a dropdown of the % values.&lt;br /&gt;
Cons: Drop down values need to be restricted to intervals of 5 or more, as the drop down becomes too long to display all values from 0-100.&lt;br /&gt;
&lt;br /&gt;
* Text box with up-down arrows: Provides utmost flexibility and precision to the student while adding contribution of his team members, we can provide a text box with necessary validations which lets the student provide the contribution % for his teammates as any integral number within the limits. &lt;br /&gt;
&lt;br /&gt;
We decided to implement the text box, looks as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2019-12-07_at_3.07.57_PM.png|center]]&lt;br /&gt;
&lt;br /&gt;
==='''Implementation'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Test plan'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Deployment'''===&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Jordan, Dylan Tyler	dtjordan@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Han, Lige	lhan6@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Kollipara, Siddhartha	skollip@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*'''Mentor''': Ed Gehringer (efg@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2019_-_E1992._Add_cake_type_to_rubrics_design CSC/ECE 517 Fall 2019 - E1992. Add cake type to rubrics design]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136139</id>
		<title>CSC/ECE 517 Fall 2020 - E2081. Add a &quot;cake&quot; item type to rubrics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136139"/>
		<updated>2020-10-23T01:04:59Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Problem Definition:==&lt;br /&gt;
&lt;br /&gt;
Expertiza rubrics are utilized to build questionnaires and these rubrics incorporate several kinds of items, including Criterion (dropdown + comment), Checkbox, MultipleChoice, and Scale.  When we use these questionnaires for reviews, for example the teammate review assessment we encounter a few problems. One “problem” with all of these types is that there is nothing to stop a reviewer (say some student) from assigning the maximum score to all the reviewees (student's teammates). This is indeed a problem for teammate assessment, when the faculty asks for what fraction of the work each teammate did.So an alternative is needed, let’s call it a “Cake” item type, that allows a reviewer to divide a “cake” in any way between the reviewees, but does not allow him/her to divvy up more than 100% of the cake.&lt;br /&gt;
&lt;br /&gt;
#When the reviewer submits a score that would bring the total assigned for this item to &amp;gt; 100%, the system needs to warn. &lt;br /&gt;
#Allow a reviewer to give him/herself a score&lt;br /&gt;
# Proposed design needs to be compatible with existing self reviews code and teammates reviews&lt;br /&gt;
# Should be extensible to other kind of reviews apart from teammate reviews as well&lt;br /&gt;
&lt;br /&gt;
[[File:1_hjrnZknuFZswxaOKFCrDjQ.png|center]]&lt;br /&gt;
&lt;br /&gt;
For instance, the above figure consists of a team of 4 members, with self included as a team-member when reviewing every member's contribution.&lt;br /&gt;
&amp;lt;br&amp;gt;If A has reviewed his other 3 teammates B, C, D with contributions of 15%, 10%, and 45% respectively, he should only be allowed to review self with a contribution of 30% or lesser.&lt;br /&gt;
&lt;br /&gt;
=='''Design'''==&lt;br /&gt;
&lt;br /&gt;
==='''Implementation'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Test plan'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Deployment'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Jordan, Dylan Tyler	dtjordan@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Han, Lige	lhan6@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Kollipara, Siddhartha	skollip@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*'''Mentor''': Ed Gehringer (efg@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2019_-_E1992._Add_cake_type_to_rubrics_design E1992. Add cake type to rubrics design&lt;br /&gt;
]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136138</id>
		<title>CSC/ECE 517 Fall 2020 - E2081. Add a &quot;cake&quot; item type to rubrics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136138"/>
		<updated>2020-10-23T01:04:34Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Problem Definition:==&lt;br /&gt;
&lt;br /&gt;
Expertiza rubrics are utilized to build questionnaires and these rubrics incorporate several kinds of items, including Criterion (dropdown + comment), Checkbox, MultipleChoice, and Scale.  When we use these questionnaires for reviews, for example the teammate review assessment we encounter a few problems. One “problem” with all of these types is that there is nothing to stop a reviewer (say some student) from assigning the maximum score to all the reviewees (student's teammates). This is indeed a problem for teammate assessment, when the faculty asks for what fraction of the work each teammate did.So an alternative is needed, let’s call it a “Cake” item type, that allows a reviewer to divide a “cake” in any way between the reviewees, but does not allow him/her to divvy up more than 100% of the cake.&lt;br /&gt;
&lt;br /&gt;
#When the reviewer submits a score that would bring the total assigned for this item to &amp;gt; 100%, the system needs to warn. &lt;br /&gt;
#Allow a reviewer to give him/herself a score&lt;br /&gt;
# Proposed design needs to be compatible with existing self reviews code and teammates reviews&lt;br /&gt;
# Should be extensible to other kind of reviews apart from teammate reviews as well&lt;br /&gt;
&lt;br /&gt;
[[File:1_hjrnZknuFZswxaOKFCrDjQ.png|center]]&lt;br /&gt;
&lt;br /&gt;
For instance, the above figure consists of a team of 4 members, with self included as a team-member when reviewing every member's contribution.&lt;br /&gt;
&amp;lt;br&amp;gt;If A has reviewed his other 3 teammates B, C, D with contributions of 15%, 10%, and 45% respectively, he should only be allowed to review self with a contribution of 30% or lesser.&lt;br /&gt;
&lt;br /&gt;
=='''Design'''==&lt;br /&gt;
&lt;br /&gt;
==='''Implementation'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Test plan'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Deployment'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Jordan, Dylan Tyler	dtjordan@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Han, Lige	lhan6@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Kollipara, Siddhartha	skollip@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*'''Mentor''': Ed Gehringer (efg@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2019_-_E1992._Add_cake_type_to_rubrics_design CSC/ECE 517 Fall 2019 - E1992. Add cake type to rubrics design&lt;br /&gt;
]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136134</id>
		<title>CSC/ECE 517 Fall 2020 - E2081. Add a &quot;cake&quot; item type to rubrics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136134"/>
		<updated>2020-10-23T01:01:03Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Problem Definition:==&lt;br /&gt;
&lt;br /&gt;
Expertiza rubrics are utilized to build questionnaires and these rubrics incorporate several kinds of items, including Criterion (dropdown + comment), Checkbox, MultipleChoice, and Scale.  When we use these questionnaires for reviews, for example the teammate review assessment we encounter a few problems. One “problem” with all of these types is that there is nothing to stop a reviewer (say some student) from assigning the maximum score to all the reviewees (student's teammates). This is indeed a problem for teammate assessment, when the faculty asks for what fraction of the work each teammate did.So an alternative is needed, let’s call it a “Cake” item type, that allows a reviewer to divide a “cake” in any way between the reviewees, but does not allow him/her to divvy up more than 100% of the cake.&lt;br /&gt;
&lt;br /&gt;
#When the reviewer submits a score that would bring the total assigned for this item to &amp;gt; 100%, the system needs to warn. &lt;br /&gt;
#Allow a reviewer to give him/herself a score&lt;br /&gt;
# Proposed design needs to be compatible with existing self reviews code and teammates reviews&lt;br /&gt;
# Should be extensible to other kind of reviews apart from teammate reviews as well&lt;br /&gt;
&lt;br /&gt;
[[File:1_hjrnZknuFZswxaOKFCrDjQ.png|center]]&lt;br /&gt;
&lt;br /&gt;
For instance, the above figure consists of a team of 4 members, with self included as a team-member when reviewing every member's contribution.&lt;br /&gt;
&amp;lt;br&amp;gt;If A has reviewed his other 3 teammates B, C, D with contributions of 15%, 10%, and 45% respectively, he should only be allowed to review self with a contribution of 30% or lesser.&lt;br /&gt;
&lt;br /&gt;
=='''Design'''==&lt;br /&gt;
&lt;br /&gt;
==='''Implementation'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Test plan'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Deployment'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Jordan, Dylan Tyler	dtjordan@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Han, Lige	lhan6@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Kollipara, Siddhartha	skollip@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*'''Mentor''': Ed Gehringer (efg@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2019_-_E1992._Add_cake_type_to_rubrics_design E1992. Add cake type to rubrics design]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136102</id>
		<title>CSC/ECE 517 Fall 2020 - E2081. Add a &quot;cake&quot; item type to rubrics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2081._Add_a_%22cake%22_item_type_to_rubrics&amp;diff=136102"/>
		<updated>2020-10-22T23:41:53Z</updated>

		<summary type="html">&lt;p&gt;Rma9: Create a new web page and write contents&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Problem Statement'''==&lt;br /&gt;
==='''Background'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Files Involved'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Changes plan to make'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Design'''==&lt;br /&gt;
&lt;br /&gt;
==='''Implementation'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Test plan'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Deployment'''===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Jordan, Dylan Tyler	dtjordan@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Han, Lige	lhan6@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Kollipara, Siddhartha	skollip@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*'''Mentor''': Ed Gehringer (efg@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020&amp;diff=136101</id>
		<title>CSC/ECE 517 Fall 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020&amp;diff=136101"/>
		<updated>2020-10-22T23:27:41Z</updated>

		<summary type="html">&lt;p&gt;Rma9: Adding new page of E2081&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Writing Assignments ==&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2070. Refactor response_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2068. Refactor quiz_questionnaires_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2062. Add test cases to review_mapping_helper.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2063. Refactor tree-display.js and tree_display_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2064. Refactor reputation_web_service_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2065. Fix view in student_task/list page]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2066. Refactor lottery controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2067. Refactor student_teams_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2073. Refactor course_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2057. Restrict TAs’ ability to change their own grade and limit file-size upload]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2052. Remove multiple topics at a time]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2052. Remove multiple topics at a time]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2056 Account_Request_Controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2059. Email notification to reviewers and instructors.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2058. Two issues related to assignment management]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2071. Improve assessment360_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2054. Auto generate submission directory names based on assignment names]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2060. Review report should link to the usual view for reviews]]&lt;br /&gt;
&lt;br /&gt;
== Final Project Design Documents == &lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2082. Track time between successive tag assignments]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2078. Improve self-review  Link peer review &amp;amp; self-review to derive grades]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2083. Revision_planning_tool_E2016]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2085. Allow reviewers to bid on what to review]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2086. Let course staff as well as students do reviews]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - SQLFE. Refactor Submission.java]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2076. Allow users to create an account and submit work to an &amp;quot;assignment&amp;quot; (e.g., for conference reviewing)]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2080. Track the time students look at other submissions]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2081. Add a &amp;quot;cake&amp;quot; item type to rubrics]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2079. Improve Search Facility In Expertiza]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2087. Conflict notification. Improve Search Facility In Expertiza]]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=135251</id>
		<title>CSC/ECE 517 Fall 2020 - E2065. Fix view in student task/list page</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=135251"/>
		<updated>2020-10-16T08:30:26Z</updated>

		<summary type="html">&lt;p&gt;Rma9: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Junyan Li	jli56@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Xiwen Chen	xchen33@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*'''Mentor''': Saurabh Shingte (svshingt@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
=='''Problem Statement'''==&lt;br /&gt;
==='''Background'''===&lt;br /&gt;
&lt;br /&gt;
The student_task/list page is the page displayed to a student after logging in into expertiza. &lt;br /&gt;
&lt;br /&gt;
It has mainly two div(s), one to show the upcoming tasks including 2 parts:&lt;br /&gt;
&lt;br /&gt;
* Information about tasks. It shows the projects that need to be completed and how long they are close to the deadline, and marks specific revisions prompts.&lt;br /&gt;
&lt;br /&gt;
* Show the record of each group collaborator(s) for each course.&lt;br /&gt;
&lt;br /&gt;
Another div is to display all the assignments and their information, include Assignment, Course, Topic,	Current Stage,	Review Grade, Badges, Stage Deadline, Copyright Grants and Make Public.&lt;br /&gt;
&lt;br /&gt;
Original page before modifying showing below, all the courses and all the assignments are displaying in the same table, and badges have own column. &lt;br /&gt;
&lt;br /&gt;
[[File:Orignal.JPG|1000px]]&lt;br /&gt;
[[File:Originalcourse.JPG|1000px]]&lt;br /&gt;
&lt;br /&gt;
==='''Files Involved'''===&lt;br /&gt;
&lt;br /&gt;
*app/helpers/student_task_helper.rb &lt;br /&gt;
&lt;br /&gt;
*app/views/student_task/list.html.erb &lt;br /&gt;
&lt;br /&gt;
*spec/features/airbrake_expection_errors_feature_tests_spec.rb&lt;br /&gt;
&lt;br /&gt;
*spec/features/student_task_spec.rb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Problems that need to be fixed'''===&lt;br /&gt;
&lt;br /&gt;
Here are some existing problems and unclear parts of the page：&lt;br /&gt;
&lt;br /&gt;
*'''Problem1''': Consider the cases where a student might be enrolled in assignments from more than one course. In this case, assignments should be grouped by course, with the course name given before the listing of the first assignment.&lt;br /&gt;
&lt;br /&gt;
*'''Problem2''': Remove the column for Review Grade because it makes no sense, change Review Grade to Submission Grade. Show the actual score and show the blue button. If you hover over your mouse at the blue button, should also show the commands about grades.&lt;br /&gt;
&lt;br /&gt;
*'''Problem3''': Delete the badges column, and if the Assignment has a badge, mark it directly next to the assignment name under the assignment column.&lt;br /&gt;
&lt;br /&gt;
*'''Problem4''': There is an unnecessary gap between the two div. It needs to be rearranged to be more beautiful.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Solutions'''==&lt;br /&gt;
==='''Problem 1, group the course and display on different tables'''===&lt;br /&gt;
&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
&lt;br /&gt;
original code of how to display course are showing below&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;topictable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;table class=&amp;quot;table table-striped&amp;quot; cellpadding=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;tr class=&amp;quot;taskheader&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Assignment&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Course&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Topic&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Current Stage&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Review Grade&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Badges&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Stage Deadline &amp;lt;img src=&amp;quot;/assets/info.png&amp;quot; title=&amp;quot;You can change 'Preferred Time Zone' in 'Profile' in the banner.&amp;quot;/&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Publishing Rights&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;% @student_tasks.each do |student_task| %&amp;gt;&lt;br /&gt;
      &amp;lt;% participant = student_task.participant %&amp;gt;&lt;br /&gt;
      &amp;lt;% if student_task.assignment %&amp;gt;&lt;br /&gt;
        &amp;lt;tr class=&amp;quot;listingRow&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;!--assignment--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;b&amp;gt;&amp;lt;%= link_to student_task.assignment.name, :action =&amp;gt; 'view', :id =&amp;gt; participant %&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--course--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= student_task.course.try :name %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--topic--&amp;gt;&lt;br /&gt;
          &amp;lt;% topic_id = SignedUpTeam.topic_id(participant.parent_id, participant.user_id) %&amp;gt;&lt;br /&gt;
          &amp;lt;% if SignUpTopic.exists?(topic_id) %&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;&amp;lt;%= SignUpTopic.find(topic_id).try :topic_name %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;% else %&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;-&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;% end %&amp;gt;&lt;br /&gt;
          &amp;lt;!--current stage--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&lt;br /&gt;
          &amp;lt;% if participant.assignment.link_for_current_stage(topic_id)!= nil &amp;amp;&amp;amp; participant.assignment.link_for_current_stage(topic_id).length!=0%&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to participant.assignment.current_stage_name(topic_id), participant.assignment.link_for_current_stage(topic_id) %&amp;gt;&lt;br /&gt;
              &amp;lt;% else %&amp;gt;&lt;br /&gt;
              &amp;lt;%= participant.assignment.current_stage_name(topic_id) %&amp;gt;&lt;br /&gt;
              &amp;lt;% end %&amp;gt;&lt;br /&gt;
          &amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--review grade--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= get_review_grade_info(participant) %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--badges--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= get_awarded_badges(participant) %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--stage deadline--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= student_task.stage_deadline.in_time_zone(session[:user].timezonepref) %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--publish rights--&amp;gt;&lt;br /&gt;
          &amp;lt;td align=center&amp;gt;&amp;lt;%= participant.permission_granted ? &amp;quot;granted&amp;quot; : &amp;quot;denied&amp;quot; %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;% end %&amp;gt;&lt;br /&gt;
    &amp;lt;% end %&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to group the courses, we added a group_by method to find out which courses does this assignment belongs to, and group the assignments that has the same courses name at one table. The modified code is showing below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;% group = @student_tasks.group_by(&amp;amp;:course).each do | course, student_tasks|%&amp;gt;&lt;br /&gt;
    &amp;lt;% if course%&amp;gt;&lt;br /&gt;
    &amp;lt;%end %&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;topictable&amp;quot; style=&amp;quot;float: right;width: 80%;margin-bottom: 10px; display: inline-block; border: 1px solid #000000&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--      &amp;lt;print the courses name on top of the tables&amp;gt;--&amp;gt;&lt;br /&gt;
      &amp;lt;% if !student_tasks.first.course %&amp;gt;&lt;br /&gt;
        &amp;lt;h1&amp;gt;No Course Assigned Yet&amp;lt;/h1&amp;gt;&lt;br /&gt;
      &amp;lt;%else%&amp;gt;&lt;br /&gt;
        &amp;lt;h1&amp;gt;&amp;lt;%=student_tasks.first.course.try :name %&amp;gt;&amp;lt;/h1&amp;gt;&lt;br /&gt;
      &amp;lt;%end%&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We will print out the course name as each table head, group the assignments, and we take down Course coloum from table content since the course name is already showing as table head. Also, for the assignments that have not assigned to a course, we will print out &amp;lt;q&amp;gt;No Course Assigned Yet&amp;lt;/q&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
==='''Problem 2, submission grade display'''===&lt;br /&gt;
&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
       app/helpers/student_task_helper.rb&lt;br /&gt;
&lt;br /&gt;
For this problem, first, we change Review Grade to Submission grade, which only need to modify&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Review Grade&amp;lt;/th&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Submission Grade&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
on list.html.erb.&lt;br /&gt;
&lt;br /&gt;
Second, we change how we display the score. Instead of showing a blue button, we added how much scores they got (e.g. 32/40), which make users easier to see what scores they got. We modified get_review_grade_info(participant) function inside of student_task_helper.rb.&lt;br /&gt;
&lt;br /&gt;
Original code is showing below&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def get_review_grade_info(participant)&lt;br /&gt;
    info = ''&lt;br /&gt;
    if participant.try(:review_grade).try(:grade_for_reviewer).nil? ||&lt;br /&gt;
       participant.try(:review_grade).try(:comment_for_reviewer).nil?&lt;br /&gt;
      result = &amp;quot;N/A&amp;quot;&lt;br /&gt;
    else&lt;br /&gt;
      info = &amp;quot;Score: &amp;quot; + participant.try(:review_grade).try(:grade_for_reviewer).to_s + &amp;quot;/100\n&amp;quot;&lt;br /&gt;
      info += &amp;quot;Comment: &amp;quot; + participant.try(:review_grade).try(:comment_for_reviewer).to_s&lt;br /&gt;
      info = truncate(info, length: 1500, omission: '...')&lt;br /&gt;
      result = &amp;quot;&amp;lt;img src = '/assets/info.png' title = '&amp;quot; + info + &amp;quot;'&amp;gt;&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    result.html_safe&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the orignal code, each grade is assigned to /100, which is not correct because not every assignment has 10 reviews (one review count for 10 point). Instead of using /100, we use num_reviews_allowed, it will give us the maximum reviews that each assignments are allowed. Since we need to display the current score on the page, we need an array to carry the current score and display it on the result. The modified code showing below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 def get_review_grade_info(participant)&lt;br /&gt;
    info = ''&lt;br /&gt;
    if participant.try(:review_grade).try(:grade_for_reviewer).nil? ||&lt;br /&gt;
       participant.try(:review_grade).try(:comment_for_reviewer).nil?&lt;br /&gt;
      result = &amp;quot;N/A&amp;quot;&lt;br /&gt;
    else&lt;br /&gt;
      score = participant.try(:review_grade).try(:grade_for_reviewer).to_s + &amp;quot;/&amp;quot; + (participant.assignment.num_reviews_allowed*10).to_s&lt;br /&gt;
      info = &amp;quot;Score: &amp;quot; + participant.try(:review_grade).try(:grade_for_reviewer).to_s + &amp;quot;/&amp;quot; + (participant.assignment.num_reviews_allowed*10).to_s + &amp;quot;\n&amp;quot;&lt;br /&gt;
      info += &amp;quot;Comment: &amp;quot; + participant.try(:review_grade).try(:comment_for_reviewer).to_s&lt;br /&gt;
      info = truncate(info, length: 1500, omission: '...')&lt;br /&gt;
      result = score + &amp;quot;&amp;lt;img src = '/assets/info.png' title = '&amp;quot; + info + &amp;quot;'&amp;gt;&amp;quot;&lt;br /&gt;
    end &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Problem 3, badges showing location fixing'''===&lt;br /&gt;
&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
&lt;br /&gt;
Since not too many assignments are able to get badges, that make badges column barely have contents. Therefore, we display it after the assignment name and delete Badges coloum. If one student gets a badge, it will display a small picture after the badged assignment. Hover over your mouse on it, and it will display the information about this badge.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  &amp;lt;!--assignment--&amp;gt;&lt;br /&gt;
   &amp;lt;td&amp;gt;&amp;lt;b&amp;gt;&amp;lt;%= link_to student_task.assignment.name, :action =&amp;gt; 'view', :id =&amp;gt; participant %&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;p&amp;gt;&amp;lt;%= get_awarded_badges(participant) %&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Problem 4, unnecessary white space'''===&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
Our main purpose of this project is to make the student_task/list page looks better. For problem 4, we fixed unnecessary white space between two divs. We changed two div's style to style = &amp;lt;q&amp;gt;width:18&amp;lt;/q&amp;gt; and style = &amp;lt;q&amp;gt;width:80&amp;lt;/q&amp;gt;, so two div will display on the same lines.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;taskbox&amp;quot; style=&amp;quot;width:18%; display: inline-block; float:left; margin-right: 10px;&amp;quot; &amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;topictable&amp;quot; style=&amp;quot;float: right;width: 80%;margin-bottom: 10px; display: inline-block; border: 1px solid #000000&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=='''Test'''==&lt;br /&gt;
&lt;br /&gt;
==='''Page Change Display'''===&lt;br /&gt;
&lt;br /&gt;
Page showing right now&lt;br /&gt;
[[File:Coursedisplay.PNG|1000px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Differentgroup.JPG|1000px]]&lt;br /&gt;
&lt;br /&gt;
==='''RSpec test'''===&lt;br /&gt;
According to the modification of each problem, we write test separately to test whether its function is realized or not.&lt;br /&gt;
&lt;br /&gt;
First, we modified spec/features/airbrake_expection_errors_feature_tests_spec.rb. Since when no assignment was assigned to the student, it should not show the table content on the page. Change from&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  it &amp;quot;can access to '/student_task/list' after login as a student&amp;quot; do&lt;br /&gt;
    stu = create(:student)&lt;br /&gt;
    login_as stu.name&lt;br /&gt;
    visit '/tree_display/list'&lt;br /&gt;
    expect(page).to have_current_path('/student_task/list')&lt;br /&gt;
    expect(page).to have_content('Assignments')&lt;br /&gt;
    expect(page).to have_content('Tasks not yet started')&lt;br /&gt;
    expect(page).to have_content('Students who have teamed with you')&lt;br /&gt;
    expect(page).to have_content('Review Grade')&lt;br /&gt;
    expect(page).to have_content('Publishing Rights')&lt;br /&gt;
    expect(page).not_to have_content('Welcome!')&lt;br /&gt;
    expect(page).not_to have_content('User Name')&lt;br /&gt;
    expect(page).not_to have_content('Password')&lt;br /&gt;
    expect(page).not_to have_content('SIGN IN')&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  it &amp;quot;can access to '/student_task/list' after login as a student&amp;quot; do&lt;br /&gt;
    stu = create(:student)&lt;br /&gt;
    login_as stu.name&lt;br /&gt;
    visit '/tree_display/list'&lt;br /&gt;
    expect(page).to have_current_path('/student_task/list')&lt;br /&gt;
    expect(page).to have_content('Assignments')&lt;br /&gt;
    expect(page).to have_content('Tasks not yet started')&lt;br /&gt;
    expect(page).to have_content('Students who have teamed with you')&lt;br /&gt;
    expect(page).not_to have_content('Review Grade')&lt;br /&gt;
    expect(page).not_to have_content('Publishing Rights')&lt;br /&gt;
    expect(page).not_to have_content('Welcome!')&lt;br /&gt;
    expect(page).not_to have_content('User Name')&lt;br /&gt;
    expect(page).not_to have_content('Password')&lt;br /&gt;
    expect(page).not_to have_content('SIGN IN')&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Deployment'''===&lt;br /&gt;
&lt;br /&gt;
We deploy this part of the program on VCL to test UI and other functions. The link to the website is as follows:&lt;br /&gt;
[http://152.46.19.28:8080 E2065 Repo Link]&lt;br /&gt;
&lt;br /&gt;
Using the following account to log in for testing：&lt;br /&gt;
&lt;br /&gt;
Username: instructor6&lt;br /&gt;
&lt;br /&gt;
Password: password&lt;br /&gt;
&lt;br /&gt;
And then click [http://152.46.19.28:8080/student_task/list 'Assignments'] to the fixed page.&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=135244</id>
		<title>CSC/ECE 517 Fall 2020 - E2065. Fix view in student task/list page</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=135244"/>
		<updated>2020-10-16T07:01:11Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* Problem 4, unnecssary white space */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Junyan Li	jli56@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Xiwen Chen	xchen33@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*'''Mentor''': Saurabh Shingte (svshingt@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
=='''Problem Statement'''==&lt;br /&gt;
==='''Background'''===&lt;br /&gt;
&lt;br /&gt;
The student_task/list page is the page displayed to a student after logging in into expertiza. &lt;br /&gt;
&lt;br /&gt;
It has mainly two div(s), one to show the upcoming tasks including 2 parts:&lt;br /&gt;
&lt;br /&gt;
* Information about tasks. It shows the projects that need to be completed and how long they are close to the deadline, and marks specific revisions prompts.&lt;br /&gt;
&lt;br /&gt;
* Show the record of each group collaborator(s) for each course.&lt;br /&gt;
&lt;br /&gt;
Another div is to display all the assignments and their information, include Assignment, Course, Topic,	Current Stage,	Review Grade, Badges, Stage Deadline, Copyright Grants and Make Public.&lt;br /&gt;
&lt;br /&gt;
Original page before modifying showing below, all the courses and all the assignments are displaying in the same table, and badges have own column. &lt;br /&gt;
&lt;br /&gt;
[[File:Orignal.JPG|1000px]]&lt;br /&gt;
[[File:Originalcourse.JPG|1000px]]&lt;br /&gt;
&lt;br /&gt;
==='''Files Involved'''===&lt;br /&gt;
&lt;br /&gt;
*app/helpers/student_task_helper.rb &lt;br /&gt;
&lt;br /&gt;
*app/views/student_task/list.html.erb &lt;br /&gt;
&lt;br /&gt;
*spec/features/airbrake_expection_errors_feature_tests_spec.rb&lt;br /&gt;
&lt;br /&gt;
*spec/features/student_task_spec.rb&lt;br /&gt;
&lt;br /&gt;
==='''Problems that need to be fixed'''===&lt;br /&gt;
&lt;br /&gt;
Here are some existing problems and unclear parts of the page：&lt;br /&gt;
&lt;br /&gt;
*'''Problem1''': Consider the cases where a student might be enrolled in assignments from more than one course. In this case, assignments should be grouped by course, with the course name given before the listing of the first assignment.&lt;br /&gt;
&lt;br /&gt;
*'''Problem2''': Remove the column for Review Grade because it makes no sense, change Review Grade to Submission Grade. Show the actual score and show the blue button. If you hover over your mouse at the blue button, should also show the commands about grades.&lt;br /&gt;
&lt;br /&gt;
*'''Problem3''': Delete the badges column, and if the Assignment has a badge, mark it directly next to the assignment name under the assignment column.&lt;br /&gt;
&lt;br /&gt;
*'''Problem4''': There is an unnecessary gap between the two div. It needs to be rearranged to be more beautiful.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=='''Solutions'''==&lt;br /&gt;
==='''Problem 1, group the course and display on different tables'''===&lt;br /&gt;
&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
&lt;br /&gt;
original code of how to display course are showing below&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;topictable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;table class=&amp;quot;table table-striped&amp;quot; cellpadding=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;tr class=&amp;quot;taskheader&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Assignment&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Course&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Topic&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Current Stage&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Review Grade&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Badges&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Stage Deadline &amp;lt;img src=&amp;quot;/assets/info.png&amp;quot; title=&amp;quot;You can change 'Preferred Time Zone' in 'Profile' in the banner.&amp;quot;/&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Publishing Rights&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;% @student_tasks.each do |student_task| %&amp;gt;&lt;br /&gt;
      &amp;lt;% participant = student_task.participant %&amp;gt;&lt;br /&gt;
      &amp;lt;% if student_task.assignment %&amp;gt;&lt;br /&gt;
        &amp;lt;tr class=&amp;quot;listingRow&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;!--assignment--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;b&amp;gt;&amp;lt;%= link_to student_task.assignment.name, :action =&amp;gt; 'view', :id =&amp;gt; participant %&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--course--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= student_task.course.try :name %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--topic--&amp;gt;&lt;br /&gt;
          &amp;lt;% topic_id = SignedUpTeam.topic_id(participant.parent_id, participant.user_id) %&amp;gt;&lt;br /&gt;
          &amp;lt;% if SignUpTopic.exists?(topic_id) %&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;&amp;lt;%= SignUpTopic.find(topic_id).try :topic_name %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;% else %&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;-&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;% end %&amp;gt;&lt;br /&gt;
          &amp;lt;!--current stage--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&lt;br /&gt;
          &amp;lt;% if participant.assignment.link_for_current_stage(topic_id)!= nil &amp;amp;&amp;amp; participant.assignment.link_for_current_stage(topic_id).length!=0%&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to participant.assignment.current_stage_name(topic_id), participant.assignment.link_for_current_stage(topic_id) %&amp;gt;&lt;br /&gt;
              &amp;lt;% else %&amp;gt;&lt;br /&gt;
              &amp;lt;%= participant.assignment.current_stage_name(topic_id) %&amp;gt;&lt;br /&gt;
              &amp;lt;% end %&amp;gt;&lt;br /&gt;
          &amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--review grade--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= get_review_grade_info(participant) %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--badges--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= get_awarded_badges(participant) %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--stage deadline--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= student_task.stage_deadline.in_time_zone(session[:user].timezonepref) %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--publish rights--&amp;gt;&lt;br /&gt;
          &amp;lt;td align=center&amp;gt;&amp;lt;%= participant.permission_granted ? &amp;quot;granted&amp;quot; : &amp;quot;denied&amp;quot; %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;% end %&amp;gt;&lt;br /&gt;
    &amp;lt;% end %&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to group the courses, we added a group_by method to find out which courses does this assignment belongs to, and group the assignments that has the same courses name at one table. The modified code is showing below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;% group = @student_tasks.group_by(&amp;amp;:course).each do | course, student_tasks|%&amp;gt;&lt;br /&gt;
    &amp;lt;% if course%&amp;gt;&lt;br /&gt;
    &amp;lt;%end %&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;topictable&amp;quot; style=&amp;quot;float: right;width: 80%;margin-bottom: 10px; display: inline-block; border: 1px solid #000000&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--      &amp;lt;print the courses name on top of the tables&amp;gt;--&amp;gt;&lt;br /&gt;
      &amp;lt;% if !student_tasks.first.course %&amp;gt;&lt;br /&gt;
        &amp;lt;h1&amp;gt;No Course Assigned Yet&amp;lt;/h1&amp;gt;&lt;br /&gt;
      &amp;lt;%else%&amp;gt;&lt;br /&gt;
        &amp;lt;h1&amp;gt;&amp;lt;%=student_tasks.first.course.try :name %&amp;gt;&amp;lt;/h1&amp;gt;&lt;br /&gt;
      &amp;lt;%end%&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We will print out the course name as each table head, group the assignments, and we take down Course coloum from table content since the course name is already showing as table head. Also, for the assignments that have not assigned to a course, we will print out &amp;lt;q&amp;gt;No Course Assigned Yet&amp;lt;/q&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
==='''Problem 2, submission grade display'''===&lt;br /&gt;
&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
       app/helpers/student_task_helper.rb&lt;br /&gt;
&lt;br /&gt;
For this problem, first, we change Review Grade to Submission grade, which only need to modify&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Review Grade&amp;lt;/th&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Submission Grade&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
on list.html.erb.&lt;br /&gt;
&lt;br /&gt;
Second, we change how we display the score. Instead of showing a blue button, we added how much scores they got (e.g. 32/40), which make users easier to see what scores they got. We modified get_review_grade_info(participant) function inside of student_task_helper.rb.&lt;br /&gt;
&lt;br /&gt;
Original code is showing below&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def get_review_grade_info(participant)&lt;br /&gt;
    info = ''&lt;br /&gt;
    if participant.try(:review_grade).try(:grade_for_reviewer).nil? ||&lt;br /&gt;
       participant.try(:review_grade).try(:comment_for_reviewer).nil?&lt;br /&gt;
      result = &amp;quot;N/A&amp;quot;&lt;br /&gt;
    else&lt;br /&gt;
      info = &amp;quot;Score: &amp;quot; + participant.try(:review_grade).try(:grade_for_reviewer).to_s + &amp;quot;/100\n&amp;quot;&lt;br /&gt;
      info += &amp;quot;Comment: &amp;quot; + participant.try(:review_grade).try(:comment_for_reviewer).to_s&lt;br /&gt;
      info = truncate(info, length: 1500, omission: '...')&lt;br /&gt;
      result = &amp;quot;&amp;lt;img src = '/assets/info.png' title = '&amp;quot; + info + &amp;quot;'&amp;gt;&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    result.html_safe&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the orignal code, each grade is assigned to /100, which is not correct because not every assignment has 10 reviews (one review count for 10 point). Instead of using /100, we use num_reviews_allowed, it will give us the maximum reviews that each assignments are allowed. Since we need to display the current score on the page, we need an array to carry the current score and display it on the result. The modified code showing below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 def get_review_grade_info(participant)&lt;br /&gt;
    info = ''&lt;br /&gt;
    if participant.try(:review_grade).try(:grade_for_reviewer).nil? ||&lt;br /&gt;
       participant.try(:review_grade).try(:comment_for_reviewer).nil?&lt;br /&gt;
      result = &amp;quot;N/A&amp;quot;&lt;br /&gt;
    else&lt;br /&gt;
      score = participant.try(:review_grade).try(:grade_for_reviewer).to_s + &amp;quot;/&amp;quot; + (participant.assignment.num_reviews_allowed*10).to_s&lt;br /&gt;
      info = &amp;quot;Score: &amp;quot; + participant.try(:review_grade).try(:grade_for_reviewer).to_s + &amp;quot;/&amp;quot; + (participant.assignment.num_reviews_allowed*10).to_s + &amp;quot;\n&amp;quot;&lt;br /&gt;
      info += &amp;quot;Comment: &amp;quot; + participant.try(:review_grade).try(:comment_for_reviewer).to_s&lt;br /&gt;
      info = truncate(info, length: 1500, omission: '...')&lt;br /&gt;
      result = score + &amp;quot;&amp;lt;img src = '/assets/info.png' title = '&amp;quot; + info + &amp;quot;'&amp;gt;&amp;quot;&lt;br /&gt;
    end &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Problem 3, badges showing location fixing'''===&lt;br /&gt;
&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
&lt;br /&gt;
Since not too many assignments are able to get badges, that make badges column barely have contents. Therefore, we display it after the assignment name and delete Badges coloum. If one student gets a badge, it will display a small picture after the badged assignment. Hover over your mouse on it, and it will display the information about this badge.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  &amp;lt;!--assignment--&amp;gt;&lt;br /&gt;
   &amp;lt;td&amp;gt;&amp;lt;b&amp;gt;&amp;lt;%= link_to student_task.assignment.name, :action =&amp;gt; 'view', :id =&amp;gt; participant %&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;p&amp;gt;&amp;lt;%= get_awarded_badges(participant) %&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Problem 4, unnecessary white space'''===&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
Our main purpose of this project is to make the student_task/list page looks better. For problem 4, we fixed unnecessary white space between two divs. We changed two div's style to style = &amp;lt;q&amp;gt;width:18&amp;lt;/q&amp;gt; and style = &amp;lt;q&amp;gt;width:80&amp;lt;/q&amp;gt;, so two div will display on the same lines.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;taskbox&amp;quot; style=&amp;quot;width:18%; display: inline-block; float:left; margin-right: 10px;&amp;quot; &amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;topictable&amp;quot; style=&amp;quot;float: right;width: 80%;margin-bottom: 10px; display: inline-block; border: 1px solid #000000&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Page Change Display'''===&lt;br /&gt;
&lt;br /&gt;
Page showing right now&lt;br /&gt;
[[File:Coursedisplay.PNG|1000px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Differentgroup.JPG|1000px]]&lt;br /&gt;
&lt;br /&gt;
=='''RSpec test'''==&lt;br /&gt;
According to the modification of each problem, we write test separately to test whether its function is realized or not.&lt;br /&gt;
&lt;br /&gt;
First, we modified spec/features/airbrake_expection_errors_feature_tests_spec.rb. Since when no assignment was assigned to the student, it should not show the table content on the page. Change from&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  it &amp;quot;can access to '/student_task/list' after login as a student&amp;quot; do&lt;br /&gt;
    stu = create(:student)&lt;br /&gt;
    login_as stu.name&lt;br /&gt;
    visit '/tree_display/list'&lt;br /&gt;
    expect(page).to have_current_path('/student_task/list')&lt;br /&gt;
    expect(page).to have_content('Assignments')&lt;br /&gt;
    expect(page).to have_content('Tasks not yet started')&lt;br /&gt;
    expect(page).to have_content('Students who have teamed with you')&lt;br /&gt;
    expect(page).to have_content('Review Grade')&lt;br /&gt;
    expect(page).to have_content('Publishing Rights')&lt;br /&gt;
    expect(page).not_to have_content('Welcome!')&lt;br /&gt;
    expect(page).not_to have_content('User Name')&lt;br /&gt;
    expect(page).not_to have_content('Password')&lt;br /&gt;
    expect(page).not_to have_content('SIGN IN')&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  it &amp;quot;can access to '/student_task/list' after login as a student&amp;quot; do&lt;br /&gt;
    stu = create(:student)&lt;br /&gt;
    login_as stu.name&lt;br /&gt;
    visit '/tree_display/list'&lt;br /&gt;
    expect(page).to have_current_path('/student_task/list')&lt;br /&gt;
    expect(page).to have_content('Assignments')&lt;br /&gt;
    expect(page).to have_content('Tasks not yet started')&lt;br /&gt;
    expect(page).to have_content('Students who have teamed with you')&lt;br /&gt;
    expect(page).not_to have_content('Review Grade')&lt;br /&gt;
    expect(page).not_to have_content('Publishing Rights')&lt;br /&gt;
    expect(page).not_to have_content('Welcome!')&lt;br /&gt;
    expect(page).not_to have_content('User Name')&lt;br /&gt;
    expect(page).not_to have_content('Password')&lt;br /&gt;
    expect(page).not_to have_content('SIGN IN')&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Test Repo'''===&lt;br /&gt;
&lt;br /&gt;
We deploy this part of the program on VCL to test UI and other functions. The link to the website is as follows:&lt;br /&gt;
[http://152.46.19.28:8080 E2065 Repo Link]&lt;br /&gt;
&lt;br /&gt;
Using the following account to log in for testing：&lt;br /&gt;
&lt;br /&gt;
Username: instructor6&lt;br /&gt;
&lt;br /&gt;
Password: password&lt;br /&gt;
&lt;br /&gt;
And then click [http://152.46.19.28:8080/student_task/list 'Assignments'] to the fixed page.&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=135234</id>
		<title>CSC/ECE 517 Fall 2020 - E2065. Fix view in student task/list page</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=135234"/>
		<updated>2020-10-16T06:27:50Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* Test Repo */ Add test way&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Junyan Li	jli56@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Xiwen Chen	xchen33@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Mentor:Saurabh Shingte (svshingt@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
=='''Problem Statement'''==&lt;br /&gt;
==='''Background'''===&lt;br /&gt;
&lt;br /&gt;
The student_task/list page is the page displayed to a student after logging in into expertiza. &lt;br /&gt;
&lt;br /&gt;
It has mainly two div(s), one to show the upcoming tasks including 2 parts:&lt;br /&gt;
&lt;br /&gt;
* Information about tasks. It shows the projects that need to be completed and how long they are close to the deadline, and marks specific revisions prompts.&lt;br /&gt;
&lt;br /&gt;
* Show the record of each group collaborator(s) for each course.&lt;br /&gt;
&lt;br /&gt;
Another div is to display all the assignments and their information, include Assignment, Course, Topic,	Current Stage,	Review Grade, Badges, Stage Deadline, Copyright Grants and Make Public.&lt;br /&gt;
&lt;br /&gt;
Original page before modifying showing below, all the courses and all the assignments are displaying in the same table, and badges have own column. &lt;br /&gt;
&lt;br /&gt;
[[File:Orignal.JPG|1000px]]&lt;br /&gt;
[[File:Originalcourse.JPG|1000px]]&lt;br /&gt;
&lt;br /&gt;
==='''Problems that need to be fixed'''===&lt;br /&gt;
&lt;br /&gt;
Here are some existing problems and unclear parts of the page：&lt;br /&gt;
&lt;br /&gt;
*'''Problem1''': Consider the cases where a student might be enrolled in assignments from more than one course. In this case, assignments should be grouped by course, with the course name given before the listing of the first assignment.&lt;br /&gt;
&lt;br /&gt;
*'''Problem2''': Remove the column for Review Grade because it makes no sense, change Review Grade to Submission Grade. Show the actual score and show the blue button. If you hover over your mouse at the blue button, should also show the commands about grades.&lt;br /&gt;
&lt;br /&gt;
*'''Problem3''': Delete the badges column, and if the Assignment has a badge, mark it directly next to the assignment name under the assignment column.&lt;br /&gt;
&lt;br /&gt;
*'''Problem4''': There is an unnecessary gap between the two div. It needs to be rearranged to be more beautiful.&lt;br /&gt;
&lt;br /&gt;
=='''Solutions'''==&lt;br /&gt;
==='''Problem 1, group the course and display on different tables'''===&lt;br /&gt;
&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
&lt;br /&gt;
original code of how to display course are showing below&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;topictable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;table class=&amp;quot;table table-striped&amp;quot; cellpadding=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;tr class=&amp;quot;taskheader&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Assignment&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Course&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Topic&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Current Stage&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Review Grade&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Badges&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Stage Deadline &amp;lt;img src=&amp;quot;/assets/info.png&amp;quot; title=&amp;quot;You can change 'Preferred Time Zone' in 'Profile' in the banner.&amp;quot;/&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Publishing Rights&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;% @student_tasks.each do |student_task| %&amp;gt;&lt;br /&gt;
      &amp;lt;% participant = student_task.participant %&amp;gt;&lt;br /&gt;
      &amp;lt;% if student_task.assignment %&amp;gt;&lt;br /&gt;
        &amp;lt;tr class=&amp;quot;listingRow&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;!--assignment--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;b&amp;gt;&amp;lt;%= link_to student_task.assignment.name, :action =&amp;gt; 'view', :id =&amp;gt; participant %&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--course--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= student_task.course.try :name %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--topic--&amp;gt;&lt;br /&gt;
          &amp;lt;% topic_id = SignedUpTeam.topic_id(participant.parent_id, participant.user_id) %&amp;gt;&lt;br /&gt;
          &amp;lt;% if SignUpTopic.exists?(topic_id) %&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;&amp;lt;%= SignUpTopic.find(topic_id).try :topic_name %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;% else %&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;-&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;% end %&amp;gt;&lt;br /&gt;
          &amp;lt;!--current stage--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&lt;br /&gt;
          &amp;lt;% if participant.assignment.link_for_current_stage(topic_id)!= nil &amp;amp;&amp;amp; participant.assignment.link_for_current_stage(topic_id).length!=0%&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to participant.assignment.current_stage_name(topic_id), participant.assignment.link_for_current_stage(topic_id) %&amp;gt;&lt;br /&gt;
              &amp;lt;% else %&amp;gt;&lt;br /&gt;
              &amp;lt;%= participant.assignment.current_stage_name(topic_id) %&amp;gt;&lt;br /&gt;
              &amp;lt;% end %&amp;gt;&lt;br /&gt;
          &amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--review grade--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= get_review_grade_info(participant) %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--badges--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= get_awarded_badges(participant) %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--stage deadline--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= student_task.stage_deadline.in_time_zone(session[:user].timezonepref) %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--publish rights--&amp;gt;&lt;br /&gt;
          &amp;lt;td align=center&amp;gt;&amp;lt;%= participant.permission_granted ? &amp;quot;granted&amp;quot; : &amp;quot;denied&amp;quot; %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;% end %&amp;gt;&lt;br /&gt;
    &amp;lt;% end %&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to group the courses, we added a group_by method to find out which courses does this assignment belongs to, and group the assignments that has the same courses name at one table. The modified code is showing below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;% group = @student_tasks.group_by(&amp;amp;:course).each do | course, student_tasks|%&amp;gt;&lt;br /&gt;
    &amp;lt;% if course%&amp;gt;&lt;br /&gt;
    &amp;lt;%end %&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;topictable&amp;quot; style=&amp;quot;float: right;width: 80%;margin-bottom: 10px; display: inline-block; border: 1px solid #000000&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--      &amp;lt;print the courses name on top of the tables&amp;gt;--&amp;gt;&lt;br /&gt;
      &amp;lt;% if !student_tasks.first.course %&amp;gt;&lt;br /&gt;
        &amp;lt;h1&amp;gt;No Course Assigned Yet&amp;lt;/h1&amp;gt;&lt;br /&gt;
      &amp;lt;%else%&amp;gt;&lt;br /&gt;
        &amp;lt;h1&amp;gt;&amp;lt;%=student_tasks.first.course.try :name %&amp;gt;&amp;lt;/h1&amp;gt;&lt;br /&gt;
      &amp;lt;%end%&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We will print out the course name as each table head, group the assignments, and we take down Course coloum from table content since the course name is already showing as table head. Also, for the assignments that have not assigned to a course, we will print out &amp;lt;q&amp;gt;No Course Assigned Yet&amp;lt;/q&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
==='''Problem 2, submission grade display'''===&lt;br /&gt;
&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
       app/helpers/student_task_helper.rb&lt;br /&gt;
&lt;br /&gt;
For this problem, first, we change Review Grade to Submission grade, which only need to modify&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Review Grade&amp;lt;/th&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Submission Grade&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
on list.html.erb.&lt;br /&gt;
&lt;br /&gt;
Second, we change how we display the score. Instead of showing a blue button, we added how much scores they got (e.g. 32/40), which make users easier to see what scores they got. We modified get_review_grade_info(participant) function inside of student_task_helper.rb.&lt;br /&gt;
&lt;br /&gt;
Original code is showing below&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def get_review_grade_info(participant)&lt;br /&gt;
    info = ''&lt;br /&gt;
    if participant.try(:review_grade).try(:grade_for_reviewer).nil? ||&lt;br /&gt;
       participant.try(:review_grade).try(:comment_for_reviewer).nil?&lt;br /&gt;
      result = &amp;quot;N/A&amp;quot;&lt;br /&gt;
    else&lt;br /&gt;
      info = &amp;quot;Score: &amp;quot; + participant.try(:review_grade).try(:grade_for_reviewer).to_s + &amp;quot;/100\n&amp;quot;&lt;br /&gt;
      info += &amp;quot;Comment: &amp;quot; + participant.try(:review_grade).try(:comment_for_reviewer).to_s&lt;br /&gt;
      info = truncate(info, length: 1500, omission: '...')&lt;br /&gt;
      result = &amp;quot;&amp;lt;img src = '/assets/info.png' title = '&amp;quot; + info + &amp;quot;'&amp;gt;&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    result.html_safe&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the orignal code, each grade is assigned to /100, which is not correct because not every assignment has 10 reviews (one review count for 10 point). Instead of using /100, we use num_reviews_allowed, it will give us the maximum reviews that each assignments are allowed. Since we need to display the current score on the page, we need an array to carry the current score and display it on the result. The modified code showing below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 def get_review_grade_info(participant)&lt;br /&gt;
    info = ''&lt;br /&gt;
    if participant.try(:review_grade).try(:grade_for_reviewer).nil? ||&lt;br /&gt;
       participant.try(:review_grade).try(:comment_for_reviewer).nil?&lt;br /&gt;
      result = &amp;quot;N/A&amp;quot;&lt;br /&gt;
    else&lt;br /&gt;
      score = participant.try(:review_grade).try(:grade_for_reviewer).to_s + &amp;quot;/&amp;quot; + (participant.assignment.num_reviews_allowed*10).to_s&lt;br /&gt;
      info = &amp;quot;Score: &amp;quot; + participant.try(:review_grade).try(:grade_for_reviewer).to_s + &amp;quot;/&amp;quot; + (participant.assignment.num_reviews_allowed*10).to_s + &amp;quot;\n&amp;quot;&lt;br /&gt;
      info += &amp;quot;Comment: &amp;quot; + participant.try(:review_grade).try(:comment_for_reviewer).to_s&lt;br /&gt;
      info = truncate(info, length: 1500, omission: '...')&lt;br /&gt;
      result = score + &amp;quot;&amp;lt;img src = '/assets/info.png' title = '&amp;quot; + info + &amp;quot;'&amp;gt;&amp;quot;&lt;br /&gt;
    end &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Problem 3, badges showing location fixing'''===&lt;br /&gt;
&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
&lt;br /&gt;
Since not too many assignments are able to get badges, that make badges column barely have contents. Therefore, we display it after the assignment name and delete Badges coloum. If one student gets a badge, it will display a small picture after the badged assignment. Hover over your mouse on it, and it will display the information about this badge.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  &amp;lt;!--assignment--&amp;gt;&lt;br /&gt;
   &amp;lt;td&amp;gt;&amp;lt;b&amp;gt;&amp;lt;%= link_to student_task.assignment.name, :action =&amp;gt; 'view', :id =&amp;gt; participant %&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;p&amp;gt;&amp;lt;%= get_awarded_badges(participant) %&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Problem 4, unnecssary white space'''===&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
Our main purpose of this project is to make the student_task/list page looks better. For problem 4, we fixed unnessary white space between two divs. We changed two div's style to style = &amp;lt;q&amp;gt;width:18&amp;lt;/q&amp;gt; and style = &amp;lt;q&amp;gt;width:80&amp;lt;/q&amp;gt;, so two div will display on the same lines.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;taskbox&amp;quot; style=&amp;quot;width:18%; display: inline-block; float:left; margin-right: 10px;&amp;quot; &amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;topictable&amp;quot; style=&amp;quot;float: right;width: 80%;margin-bottom: 10px; display: inline-block; border: 1px solid #000000&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Page Change Display'''===&lt;br /&gt;
&lt;br /&gt;
Page showing right now&lt;br /&gt;
[[File:Coursedisplay.PNG|1000px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Differentgroup.JPG|1000px]]&lt;br /&gt;
&lt;br /&gt;
=='''RSpec test'''==&lt;br /&gt;
According to the modification of each problem, we write test separately to test whether its function is realized or not.&lt;br /&gt;
&lt;br /&gt;
==='''Test Repo'''===&lt;br /&gt;
&lt;br /&gt;
We deploy this part of the program on VCL to test UI and other functions. The link to the website is as follows:&lt;br /&gt;
[http://152.46.19.28:8080 E2065 Repo Link]&lt;br /&gt;
&lt;br /&gt;
Using the following account to log in for testing：&lt;br /&gt;
&lt;br /&gt;
Username: instructor6&lt;br /&gt;
&lt;br /&gt;
Password: password&lt;br /&gt;
&lt;br /&gt;
And then click [http://152.46.19.28:8080/student_task/list 'Assignment'] to the fixed page.&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=135229</id>
		<title>CSC/ECE 517 Fall 2020 - E2065. Fix view in student task/list page</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=135229"/>
		<updated>2020-10-16T06:20:54Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* Test Repo */ Add repo link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
=='''Team Members'''==&lt;br /&gt;
*Junyan Li	jli56@ncsu.edu	&lt;br /&gt;
&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Xiwen Chen	xchen33@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Mentor:Saurabh Shingte (svshingt@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
=='''Problem Statement'''==&lt;br /&gt;
==='''Background'''===&lt;br /&gt;
&lt;br /&gt;
The student_task/list page is the page displayed to a student after logging in into expertiza. &lt;br /&gt;
&lt;br /&gt;
It has mainly two div(s), one to show the upcoming tasks including 2 parts:&lt;br /&gt;
&lt;br /&gt;
* Information about tasks. It shows the projects that need to be completed and how long they are close to the deadline, and marks specific revisions prompts.&lt;br /&gt;
&lt;br /&gt;
* Show the record of each group collaborator(s) for each course.&lt;br /&gt;
&lt;br /&gt;
Another div is to display all the assignments and their information, include Assignment, Course, Topic,	Current Stage,	Review Grade, Badges, Stage Deadline, Copyright Grants and Make Public.&lt;br /&gt;
&lt;br /&gt;
Original page before modifying showing below&lt;br /&gt;
&lt;br /&gt;
[[File:Orignal.JPG|1000px]]&lt;br /&gt;
[[File:Originalcourse.JPG|1000px]]&lt;br /&gt;
&lt;br /&gt;
==='''Problems that need to be fixed'''===&lt;br /&gt;
&lt;br /&gt;
Here are some existing problems and unclear parts of the page：&lt;br /&gt;
&lt;br /&gt;
*Problem1: Consider the cases where a student might be enrolled in assignments from more than one course. In this case, assignments should be grouped by course, with the course name given before the listing of the first assignment.&lt;br /&gt;
&lt;br /&gt;
*Problem2: Remove the column for Review Grade because it makes no sense, change Review Grade to Submission Grade. Show the actual score and show the blue button. If you hover over your mouse at the blue button, should also show the commands about grades.&lt;br /&gt;
&lt;br /&gt;
*Problem3: Delete the badges column, and if the Assignment has a badge, mark it directly next to the assignment name under the assignment column.&lt;br /&gt;
&lt;br /&gt;
*Problem4: There is an unnecessary gap between the two div. It needs to be rearranged to be more beautiful.&lt;br /&gt;
&lt;br /&gt;
=='''Solutions'''==&lt;br /&gt;
==='''Problem 1, group the course and display on different tables'''===&lt;br /&gt;
&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
&lt;br /&gt;
original code of how to display course are showing below&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;topictable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;table class=&amp;quot;table table-striped&amp;quot; cellpadding=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;tr class=&amp;quot;taskheader&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Assignment&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Course&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Topic&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Current Stage&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Review Grade&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Badges&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Stage Deadline &amp;lt;img src=&amp;quot;/assets/info.png&amp;quot; title=&amp;quot;You can change 'Preferred Time Zone' in 'Profile' in the banner.&amp;quot;/&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;th&amp;gt;Publishing Rights&amp;lt;/th&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;% @student_tasks.each do |student_task| %&amp;gt;&lt;br /&gt;
      &amp;lt;% participant = student_task.participant %&amp;gt;&lt;br /&gt;
      &amp;lt;% if student_task.assignment %&amp;gt;&lt;br /&gt;
        &amp;lt;tr class=&amp;quot;listingRow&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;!--assignment--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;b&amp;gt;&amp;lt;%= link_to student_task.assignment.name, :action =&amp;gt; 'view', :id =&amp;gt; participant %&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--course--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= student_task.course.try :name %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--topic--&amp;gt;&lt;br /&gt;
          &amp;lt;% topic_id = SignedUpTeam.topic_id(participant.parent_id, participant.user_id) %&amp;gt;&lt;br /&gt;
          &amp;lt;% if SignUpTopic.exists?(topic_id) %&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;&amp;lt;%= SignUpTopic.find(topic_id).try :topic_name %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;% else %&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;-&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;% end %&amp;gt;&lt;br /&gt;
          &amp;lt;!--current stage--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&lt;br /&gt;
          &amp;lt;% if participant.assignment.link_for_current_stage(topic_id)!= nil &amp;amp;&amp;amp; participant.assignment.link_for_current_stage(topic_id).length!=0%&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to participant.assignment.current_stage_name(topic_id), participant.assignment.link_for_current_stage(topic_id) %&amp;gt;&lt;br /&gt;
              &amp;lt;% else %&amp;gt;&lt;br /&gt;
              &amp;lt;%= participant.assignment.current_stage_name(topic_id) %&amp;gt;&lt;br /&gt;
              &amp;lt;% end %&amp;gt;&lt;br /&gt;
          &amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--review grade--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= get_review_grade_info(participant) %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--badges--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= get_awarded_badges(participant) %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--stage deadline--&amp;gt;&lt;br /&gt;
          &amp;lt;td&amp;gt;&amp;lt;%= student_task.stage_deadline.in_time_zone(session[:user].timezonepref) %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;!--publish rights--&amp;gt;&lt;br /&gt;
          &amp;lt;td align=center&amp;gt;&amp;lt;%= participant.permission_granted ? &amp;quot;granted&amp;quot; : &amp;quot;denied&amp;quot; %&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;% end %&amp;gt;&lt;br /&gt;
    &amp;lt;% end %&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to group the courses, we added a group_by method to find out which courses does this assignment belongs to, and group the assignments that has the same courses name at one table. The modified code is showing below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;% group = @student_tasks.group_by(&amp;amp;:course).each do | course, student_tasks|%&amp;gt;&lt;br /&gt;
    &amp;lt;% if course%&amp;gt;&lt;br /&gt;
    &amp;lt;%end %&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;topictable&amp;quot; style=&amp;quot;float: right;width: 80%;margin-bottom: 10px; display: inline-block; border: 1px solid #000000&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--      &amp;lt;print the courses name on top of the tables&amp;gt;--&amp;gt;&lt;br /&gt;
      &amp;lt;% if !student_tasks.first.course %&amp;gt;&lt;br /&gt;
        &amp;lt;h1&amp;gt;No Course Assigned Yet&amp;lt;/h1&amp;gt;&lt;br /&gt;
      &amp;lt;%else%&amp;gt;&lt;br /&gt;
        &amp;lt;h1&amp;gt;&amp;lt;%=student_tasks.first.course.try :name %&amp;gt;&amp;lt;/h1&amp;gt;&lt;br /&gt;
      &amp;lt;%end%&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We will print out the course name as each table head, group the assignments, and we take down Course coloum from table content since the course name is already showing as table head. Also, for the assignments that have not assigned to a course, we will print out &amp;lt;q&amp;gt;No Course Assigned Yet&amp;lt;/q&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
==='''Problem 2, submission grade display'''===&lt;br /&gt;
&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
       app/helpers/student_task_helper.rb&lt;br /&gt;
&lt;br /&gt;
For this problem, first, we change Review Grade to Submission grade, which only need to modify&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Review Grade&amp;lt;/th&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Submission Grade&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
on list.html.erb.&lt;br /&gt;
&lt;br /&gt;
Second, we change how we display the score. Instead of showing a blue button, we added how much scores they got (e.g. 32/40), which make users easier to see what scores they got. We modified get_review_grade_info(participant) function inside of student_task_helper.rb.&lt;br /&gt;
&lt;br /&gt;
Original code is showing below&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def get_review_grade_info(participant)&lt;br /&gt;
    info = ''&lt;br /&gt;
    if participant.try(:review_grade).try(:grade_for_reviewer).nil? ||&lt;br /&gt;
       participant.try(:review_grade).try(:comment_for_reviewer).nil?&lt;br /&gt;
      result = &amp;quot;N/A&amp;quot;&lt;br /&gt;
    else&lt;br /&gt;
      info = &amp;quot;Score: &amp;quot; + participant.try(:review_grade).try(:grade_for_reviewer).to_s + &amp;quot;/100\n&amp;quot;&lt;br /&gt;
      info += &amp;quot;Comment: &amp;quot; + participant.try(:review_grade).try(:comment_for_reviewer).to_s&lt;br /&gt;
      info = truncate(info, length: 1500, omission: '...')&lt;br /&gt;
      result = &amp;quot;&amp;lt;img src = '/assets/info.png' title = '&amp;quot; + info + &amp;quot;'&amp;gt;&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    result.html_safe&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the orignal code, each grade is assigned to /100, which is not correct because not every assignment has 10 reviews (one review count for 10 point). Instead of using /100, we use num_reviews_allowed, it will give us the maximum reviews that each assignments are allowed. Since we need to display the current score on the page, we need an array to carry the current score and display it on the result. The modified code showing below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 def get_review_grade_info(participant)&lt;br /&gt;
    info = ''&lt;br /&gt;
    if participant.try(:review_grade).try(:grade_for_reviewer).nil? ||&lt;br /&gt;
       participant.try(:review_grade).try(:comment_for_reviewer).nil?&lt;br /&gt;
      result = &amp;quot;N/A&amp;quot;&lt;br /&gt;
    else&lt;br /&gt;
      score = participant.try(:review_grade).try(:grade_for_reviewer).to_s + &amp;quot;/&amp;quot; + (participant.assignment.num_reviews_allowed*10).to_s&lt;br /&gt;
      info = &amp;quot;Score: &amp;quot; + participant.try(:review_grade).try(:grade_for_reviewer).to_s + &amp;quot;/&amp;quot; + (participant.assignment.num_reviews_allowed*10).to_s + &amp;quot;\n&amp;quot;&lt;br /&gt;
      info += &amp;quot;Comment: &amp;quot; + participant.try(:review_grade).try(:comment_for_reviewer).to_s&lt;br /&gt;
      info = truncate(info, length: 1500, omission: '...')&lt;br /&gt;
      result = score + &amp;quot;&amp;lt;img src = '/assets/info.png' title = '&amp;quot; + info + &amp;quot;'&amp;gt;&amp;quot;&lt;br /&gt;
    end &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Problem 3, badges showing location fixing'''===&lt;br /&gt;
&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
&lt;br /&gt;
Since not too many assignments are able to get badges, that make badges column barely have contents. Therefore, we display it after the assignment name and delete Badges coloum. If one student gets a badge, it will display a small picture after the badged assignment. Hover over your mouse on it, and it will display the information about this badge.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  &amp;lt;!--assignment--&amp;gt;&lt;br /&gt;
              &amp;lt;td&amp;gt;&amp;lt;b&amp;gt;&amp;lt;%= link_to student_task.assignment.name, :action =&amp;gt; 'view', :id =&amp;gt; participant %&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;p&amp;gt;&amp;lt;%= get_awarded_badges(participant) %&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Problem 4, unnecssary white space'''===&lt;br /&gt;
Fixing app/views/student_task/list.html.erb &lt;br /&gt;
Our main purpose of this project is to make the student_task/list page looks better. For problem 4, we fixed unnessary white space between two divs. We changed two div's style to style = &amp;lt;q&amp;gt;width:18&amp;lt;/q&amp;gt; and style = &amp;lt;q&amp;gt;width:80&amp;lt;/q&amp;gt;, so two div will display on the same lines.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;taskbox&amp;quot; style=&amp;quot;width:18%; display: inline-block; float:left; margin-right: 10px;&amp;quot; &amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;topictable&amp;quot; style=&amp;quot;float: right;width: 80%;margin-bottom: 10px; display: inline-block; border: 1px solid #000000&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==='''Page Change Display'''===&lt;br /&gt;
&lt;br /&gt;
Page showing right now&lt;br /&gt;
[[File:Coursedisplay.PNG|1000px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Differentgroup.JPG|1000px]]&lt;br /&gt;
&lt;br /&gt;
=='''RSpec test'''==&lt;br /&gt;
According to the modification of each problem, we write test separately to test whether its function is realized or not.&lt;br /&gt;
&lt;br /&gt;
==='''Test Repo'''===&lt;br /&gt;
We deploy this part of the program on VCL to test UI and other functions. The link to the website is as follows:&lt;br /&gt;
[http://152.46.19.28:8080 E2065 Repo Link]&lt;br /&gt;
Using the following account to log in for testing：&lt;br /&gt;
Username: instructor6&lt;br /&gt;
Password: password&lt;br /&gt;
&lt;br /&gt;
=='''References'''==&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=134659</id>
		<title>CSC/ECE 517 Fall 2020 - E2065. Fix view in student task/list page</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=134659"/>
		<updated>2020-10-12T08:13:11Z</updated>

		<summary type="html">&lt;p&gt;Rma9: Add test repo and edit reference&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==E2065. Fix view in student_task/list page==&lt;br /&gt;
&lt;br /&gt;
This page provides a description of the Expertiza based OSS project. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
===Team Members===&lt;br /&gt;
*Junyan Li	jli56@ncsu.edu	&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
*Xiwen Chen	xchen33@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Mentor:Saurabh Shingte (svshingt@ncsu.edu)&lt;br /&gt;
=== Problem Statement===&lt;br /&gt;
=====Background=====&lt;br /&gt;
&lt;br /&gt;
The student_task/list page is the page displayed to a student after logging in into expertiza. &lt;br /&gt;
It has mainly two div(s), one to show the upcoming tasks including 2 parts:&lt;br /&gt;
* Information about tasks. It shows the projects that need to be completed and how long they are close to the deadline, and marks specific revisions prompts.&lt;br /&gt;
* Show the record of each group collaborator(s) for each course.&lt;br /&gt;
Another div is to display all the assignments and their information, include Assignment, Course, Topic,	Current Stage,	Review Grade, Badges, Stage Deadline, Copyright Grants and Make Public.&lt;br /&gt;
&lt;br /&gt;
[for partner：Adding picture about page]&lt;br /&gt;
=====Problems that need to be fixed=====&lt;br /&gt;
Here are some existing problems and unclear parts of the page：&lt;br /&gt;
&lt;br /&gt;
Problem1: Consider the cases where a student might be enrolled in assignments from more than one course. In this case, assignments should be grouped by course, with the course name given before the listing of the first assignment.&lt;br /&gt;
Problem2: Remove the column for Review Grade because it makes no sense.&lt;br /&gt;
Problem3: Delete the badges column, and if the Assignment has a badge, mark it directly next to the assignment name under the assignment column.&lt;br /&gt;
Problem4: There is an unnecessary gap between the two div. It needs to be rearranged to be more beautiful.&lt;br /&gt;
&lt;br /&gt;
===Solutions===&lt;br /&gt;
&lt;br /&gt;
（for partners：For every prblem，write out the part of the added code, that is, the effect before and after the comparison. Adding pictures.）&lt;br /&gt;
&lt;br /&gt;
=====RSpec test=====&lt;br /&gt;
According to the modification of each problem, we write test separately to test whether its function is realized or not.&lt;br /&gt;
&lt;br /&gt;
===Test Repo===&lt;br /&gt;
We deploy this part of the program on VCL to test UI and other functions. The link to the website is as follows:&lt;br /&gt;
（———website———）&lt;br /&gt;
Using the following account to log in for testing：&lt;br /&gt;
（———account and password———）&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
*[https://www.youtube.com/channel/UCdKXzox7hrWjfOMML6FzTWg Expertiza YouTube Channel]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=134658</id>
		<title>CSC/ECE 517 Fall 2020 - E2065. Fix view in student task/list page</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=134658"/>
		<updated>2020-10-12T08:04:50Z</updated>

		<summary type="html">&lt;p&gt;Rma9: /* Solutions */ Raise the level of solutions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==E2065. Fix view in student_task/list page==&lt;br /&gt;
&lt;br /&gt;
This page provides a description of the Expertiza based OSS project. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
===Team Members===&lt;br /&gt;
*Junyan Li	jli56@ncsu.edu	&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
*Xiwen Chen	xchen33@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Mentor:Saurabh Shingte (svshingt@ncsu.edu)&lt;br /&gt;
=== Problem Statement===&lt;br /&gt;
=====Background=====&lt;br /&gt;
&lt;br /&gt;
The student_task/list page is the page displayed to a student after logging in into expertiza. &lt;br /&gt;
It has mainly two div(s), one to show the upcoming tasks including 2 parts:&lt;br /&gt;
* Information about tasks. It shows the projects that need to be completed and how long they are close to the deadline, and marks specific revisions prompts.&lt;br /&gt;
* Show the record of each group collaborator(s) for each course.&lt;br /&gt;
Another div is to display all the assignments and their information, include Assignment, Course, Topic,	Current Stage,	Review Grade, Badges, Stage Deadline, Copyright Grants and Make Public.&lt;br /&gt;
&lt;br /&gt;
[for partner：Adding picture about page]&lt;br /&gt;
=====Problems that need to be fixed=====&lt;br /&gt;
Here are some existing problems and unclear parts of the page：&lt;br /&gt;
&lt;br /&gt;
Problem1: Consider the cases where a student might be enrolled in assignments from more than one course. In this case, assignments should be grouped by course, with the course name given before the listing of the first assignment.&lt;br /&gt;
Problem2: Remove the column for Review Grade because it makes no sense.&lt;br /&gt;
Problem3: Delete the badges column, and if the Assignment has a badge, mark it directly next to the assignment name under the assignment column.&lt;br /&gt;
Problem4: There is an unnecessary gap between the two div. It needs to be rearranged to be more beautiful.&lt;br /&gt;
&lt;br /&gt;
===Solutions===&lt;br /&gt;
&lt;br /&gt;
（for partners：For every prblem，write out the part of the added code, that is, the effect before and after the comparison. Adding pictures.）&lt;br /&gt;
&lt;br /&gt;
=====RSpec test=====&lt;br /&gt;
According to the modification of each problem, we write test separately to test whether its function is realized or not.&lt;br /&gt;
&lt;br /&gt;
===References===&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=134657</id>
		<title>CSC/ECE 517 Fall 2020 - E2065. Fix view in student task/list page</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2065._Fix_view_in_student_task/list_page&amp;diff=134657"/>
		<updated>2020-10-12T08:02:41Z</updated>

		<summary type="html">&lt;p&gt;Rma9: Add frames, and edit Problem Statement&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==E2065. Fix view in student_task/list page==&lt;br /&gt;
&lt;br /&gt;
This page provides a description of the Expertiza based OSS project. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
===Team Members===&lt;br /&gt;
*Junyan Li	jli56@ncsu.edu	&lt;br /&gt;
*Ruoyun	Ma      rma9@ncsu.edu&lt;br /&gt;
*Xiwen Chen	xchen33@ncsu.edu&lt;br /&gt;
&lt;br /&gt;
*Mentor:Saurabh Shingte (svshingt@ncsu.edu)&lt;br /&gt;
=== Problem Statement===&lt;br /&gt;
=====Background=====&lt;br /&gt;
&lt;br /&gt;
The student_task/list page is the page displayed to a student after logging in into expertiza. &lt;br /&gt;
It has mainly two div(s), one to show the upcoming tasks including 2 parts:&lt;br /&gt;
* Information about tasks. It shows the projects that need to be completed and how long they are close to the deadline, and marks specific revisions prompts.&lt;br /&gt;
* Show the record of each group collaborator(s) for each course.&lt;br /&gt;
Another div is to display all the assignments and their information, include Assignment, Course, Topic,	Current Stage,	Review Grade, Badges, Stage Deadline, Copyright Grants and Make Public.&lt;br /&gt;
&lt;br /&gt;
[for partner：Adding picture about page]&lt;br /&gt;
=====Problems that need to be fixed=====&lt;br /&gt;
Here are some existing problems and unclear parts of the page：&lt;br /&gt;
&lt;br /&gt;
Problem1: Consider the cases where a student might be enrolled in assignments from more than one course. In this case, assignments should be grouped by course, with the course name given before the listing of the first assignment.&lt;br /&gt;
Problem2: Remove the column for Review Grade because it makes no sense.&lt;br /&gt;
Problem3: Delete the badges column, and if the Assignment has a badge, mark it directly next to the assignment name under the assignment column.&lt;br /&gt;
Problem4: There is an unnecessary gap between the two div. It needs to be rearranged to be more beautiful.&lt;br /&gt;
&lt;br /&gt;
=====Solutions=====&lt;br /&gt;
&lt;br /&gt;
（for partners：For every prblem，write out the part of the added code, that is, the effect before and after the comparison. Adding pictures.）&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====RSpec test=====&lt;br /&gt;
According to the modification of each problem, we write test separately to test whether its function is realized or not.&lt;br /&gt;
&lt;br /&gt;
===References===&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020&amp;diff=134652</id>
		<title>CSC/ECE 517 Fall 2020</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020&amp;diff=134652"/>
		<updated>2020-10-12T07:06:52Z</updated>

		<summary type="html">&lt;p&gt;Rma9: Adding new page of E2065&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Dummy URL]]&lt;br /&gt;
* [[Dummy Url2]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2068. Refactor quiz_questionnaires_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2062. Add test cases to review_mapping_helper.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2063. Refactor tree-display.js and tree_display_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2064. Refactor reputation_web_service_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2065. Fix view in student_task/list page]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2066. Refactor lottery controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2067. Refactor student_teams_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2073. Refactor course_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2064. Refactor reputation_web_service_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2057. Restrict TAs’ ability to change their own grade and limit file-size upload]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2052. Remove multiple topics at a time]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2020 - E2052. Remove multiple topics at a time]]&lt;/div&gt;</summary>
		<author><name>Rma9</name></author>
	</entry>
</feed>