<?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=Speredd</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=Speredd"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Speredd"/>
	<updated>2026-07-02T07:54:48Z</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_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129983</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129983"/>
		<updated>2019-12-06T04:29:57Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Design Pattern''' ==&lt;br /&gt;
Design patterns are not applicable as our task involved just modification of existing methods.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background:===&lt;br /&gt;
An instructor can edit an assignment and can choose whether to have metareview in it or not. He can do so by following the below steps:&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to the below two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb file: &lt;br /&gt;
&lt;br /&gt;
There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. The code snippet below shows the existing code:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on click of the 'Use metareview deadline' checkbox. Now we implemented two new functions which are invoked inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox, the new code will invoke the 'removeOrAddMetareview()' function which indirectly invokes the two new functions.&lt;br /&gt;
Now let us look at the implementation of the two new functions, we used a local storage variable called 'meta'.So based on the status of the checkbox a value is assigned to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and if the 'Use metareview deadline' checkbox is Unchecked we assign with the value 'hide' to the local storage variable. Now after storing the respective values for the local storage variable, the storage event is triggered by these functions. The below code snippet shows the implementation of the two new functions:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In _review_strategy.html.erb file:&lt;br /&gt;
&lt;br /&gt;
Small modifications have been made to the existing code that is the display of the table row with id 'meta' is given 'none' by default and also the status of the 'Has Meta-review Limit?' checkbox is changed to false. The below code snippet shows the modifications made:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
we wrote a javascript code that handles the event triggered when the 'Use metareview deadline' checkbox has been checked or unchecked. In this javascript, the event triggered is handled by calling the 'onStorageEvent(storageEvent)' function. In this 'onStorageEvent' function we check the value in the local storage variable and based on that value we change the status of the display for the table row with id 'meta'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
&lt;br /&gt;
Finally, the null value to the 'Has Meta-review Limit?' can be assigned during the creation of the table and on clicking the 'Has Meta-review Limit?' checkbox the UI displays '3' in the allowed number of metareviews that is num_metareviews_allowed variable is assigned '3'.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta-reviews is set to null.&lt;br /&gt;
&lt;br /&gt;
2. Ensure that the meta-review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in the Due dates tab.&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129982</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129982"/>
		<updated>2019-12-06T04:25:36Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Issue3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background:===&lt;br /&gt;
An instructor can edit an assignment and can choose whether to have metareview in it or not. He can do so by following the below steps:&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to the below two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb file: &lt;br /&gt;
&lt;br /&gt;
There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. The code snippet below shows the existing code:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on click of the 'Use metareview deadline' checkbox. Now we implemented two new functions which are invoked inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox, the new code will invoke the 'removeOrAddMetareview()' function which indirectly invokes the two new functions.&lt;br /&gt;
Now let us look at the implementation of the two new functions, we used a local storage variable called 'meta'.So based on the status of the checkbox a value is assigned to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and if the 'Use metareview deadline' checkbox is Unchecked we assign with the value 'hide' to the local storage variable. Now after storing the respective values for the local storage variable, the storage event is triggered by these functions. The below code snippet shows the implementation of the two new functions:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In _review_strategy.html.erb file:&lt;br /&gt;
&lt;br /&gt;
Small modifications have been made to the existing code that is the display of the table row with id 'meta' is given 'none' by default and also the status of the 'Has Meta-review Limit?' checkbox is changed to false. The below code snippet shows the modifications made:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
we wrote a javascript code that handles the event triggered when the 'Use metareview deadline' checkbox has been checked or unchecked. In this javascript, the event triggered is handled by calling the 'onStorageEvent(storageEvent)' function. In this 'onStorageEvent' function we check the value in the local storage variable and based on that value we change the status of the display for the table row with id 'meta'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
&lt;br /&gt;
Finally, the null value to the 'Has Meta-review Limit?' can be assigned during the creation of the table and on clicking the 'Has Meta-review Limit?' checkbox the UI displays '3' in the allowed number of metareviews that is num_metareviews_allowed variable is assigned '3'.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta-reviews is set to null.&lt;br /&gt;
&lt;br /&gt;
2. Ensure that the meta-review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in the Due dates tab.&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129981</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129981"/>
		<updated>2019-12-06T04:22:01Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Issue3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background:===&lt;br /&gt;
An instructor can edit an assignment and can choose whether to have metareview in it or not. He can do so by following the below steps:&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to the below two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb file: &lt;br /&gt;
&lt;br /&gt;
There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. The code snippet below shows the existing code:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on click of the 'Use metareview deadline' checkbox. Now we implemented two new functions which are invoked inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox, the new code will invoke the 'removeOrAddMetareview()' function which indirectly invokes the two new functions.&lt;br /&gt;
Now let us look at the implementation of the two new functions, we used a local storage variable called 'meta'.So based on the status of the checkbox a value is assigned to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and if the 'Use metareview deadline' checkbox is Unchecked we assign with the value 'hide' to the local storage variable. Now after storing the respective values for the local storage variable, the storage event is triggered by these functions. The below code snippet shows the implementation of the two new functions:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In _review_strategy.html.erb:&lt;br /&gt;
&lt;br /&gt;
Small modifications have been made to the existing code that is the display of the table row with id 'meta' is given 'none' by default and also the status of the 'Has Meta-review Limit?' checkbox is changed to false. The below code snippet shows the modifications made:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
we wrote a javascript code that handles the event triggered when the 'Use metareview deadline' checkbox has been checked or unchecked. In this javascript, the event triggered is handled by calling the 'onStorageEvent(storageEvent)' function. In this 'onStorageEvent' function we check the value in the local storage variable and based on that value we change the status of the display for the table row with id 'meta'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
&lt;br /&gt;
Finally, the null value to the 'Has Meta-review Limit?' can be assigned during the creation of the table and on clicking the 'Has Meta-review Limit?' checkbox the UI displays '3' in the allowed number of metareviews that is num_metareviews_allowed variable is assigned '3'.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta-reviews is set to null.&lt;br /&gt;
&lt;br /&gt;
2. Ensure that the meta-review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in the Due dates tab.&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129980</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129980"/>
		<updated>2019-12-06T04:20:25Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Solution and Code Modification */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background:===&lt;br /&gt;
An instructor can edit an assignment and can choose whether to have metareview in it or not. He can do so by following the below steps:&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to the below two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb file: &lt;br /&gt;
&lt;br /&gt;
There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. The code snippet below shows the existing code:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on click of the 'Use metareview deadline' checkbox. Now we implemented two new functions which are invoked inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox, the new code will invoke the 'removeOrAddMetareview()' function which indirectly invokes the two new functions.&lt;br /&gt;
Now let us look at the implementation of the two new functions, we used a local storage variable called 'meta'.So based on the status of the checkbox a value is assigned to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and if the 'Use metareview deadline' checkbox is Unchecked we assign with the value 'hide' to the local storage variable. Now after storing the respective values for the local storage variable, the storage event is triggered by these functions. The below code snippet shows the implementation of the two new functions:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In _review_strategy.html.erb:&lt;br /&gt;
&lt;br /&gt;
Small modifications have been made to the existing code that is the display of the table row with id 'meta' is given 'none' by default and also the status of the 'Has Meta-review Limit?' checkbox is changed to false. The below code snippet shows the modifications made:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
we wrote a javascript code that handles the event triggered when the 'Use metareview deadline' checkbox has been checked or unchecked. In this javascript, the event triggered is handled by calling the 'onStorageEvent(storageEvent)' function. In this 'onStorageEvent' function we check the value in the local storage variable and based on that value we change the status of the display for the table row with id 'meta'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
&lt;br /&gt;
Finally, the null value to the 'Has Meta-review Limit?' can be assigned during the creation of the table and on clicking the 'Has Meta-review Limit?' checkbox the UI displays '3' in the allowed number of metareviews.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta-reviews is set to null.&lt;br /&gt;
&lt;br /&gt;
2. Ensure that the meta-review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in the Due dates tab.&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129979</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129979"/>
		<updated>2019-12-06T04:17:41Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Test Plan */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background:===&lt;br /&gt;
An instructor can edit an assignment and can choose whether to have metareview in it or not. He can do so by following the below steps:&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to the below two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb file: &lt;br /&gt;
&lt;br /&gt;
There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. The code snippet below shows the existing code:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on click of the 'Use metareview deadline' checkbox. Now we implemented two new functions which are invoked inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox, the new code will invoke the 'removeOrAddMetareview()' function which indirectly invokes the two new functions.&lt;br /&gt;
Now let us look at the implementation of the two new functions, we used a local storage variable called 'meta'.So based on the status of the checkbox a value is assigned to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and if the 'Use metareview deadline' checkbox is Unchecked we assign with the value 'hide' to the local storage variable. Now after storing the respective values for the local storage variable, the storage event is triggered by these functions. The below code snippet shows the implementation of the two new functions:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In _review_strategy.html.erb:&lt;br /&gt;
&lt;br /&gt;
Small modifications have been made to the existing code that is the display of the table row with id 'meta' is given 'none' by default and also the status of the 'Has Meta-review Limit?' checkbox is changed to false. The below code snippet shows the modifications made:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
we wrote a javascript code that handles the event triggered when the 'Use metareview deadline' checkbox has been checked or unchecked. In this javascript, the event triggered is handled by calling the 'onStorageEvent(storageEvent)' function. In this 'onStorageEvent' function we check the value in the local storage variable and based on that value we change the status of the display for the table row with id 'meta'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta-reviews is set to null.&lt;br /&gt;
&lt;br /&gt;
2. Ensure that the meta-review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in the Due dates tab.&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129978</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129978"/>
		<updated>2019-12-06T04:17:09Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Solution and Code Modification */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background:===&lt;br /&gt;
An instructor can edit an assignment and can choose whether to have metareview in it or not. He can do so by following the below steps:&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to the below two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb file: &lt;br /&gt;
&lt;br /&gt;
There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. The code snippet below shows the existing code:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on click of the 'Use metareview deadline' checkbox. Now we implemented two new functions which are invoked inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox, the new code will invoke the 'removeOrAddMetareview()' function which indirectly invokes the two new functions.&lt;br /&gt;
Now let us look at the implementation of the two new functions, we used a local storage variable called 'meta'.So based on the status of the checkbox a value is assigned to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and if the 'Use metareview deadline' checkbox is Unchecked we assign with the value 'hide' to the local storage variable. Now after storing the respective values for the local storage variable, the storage event is triggered by these functions. The below code snippet shows the implementation of the two new functions:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In _review_strategy.html.erb:&lt;br /&gt;
&lt;br /&gt;
Small modifications have been made to the existing code that is the display of the table row with id 'meta' is given 'none' by default and also the status of the 'Has Meta-review Limit?' checkbox is changed to false. The below code snippet shows the modifications made:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
we wrote a javascript code that handles the event triggered when the 'Use metareview deadline' checkbox has been checked or unchecked. In this javascript, the event triggered is handled by calling the 'onStorageEvent(storageEvent)' function. In this 'onStorageEvent' function we check the value in the local storage variable and based on that value we change the status of the display for the table row with id 'meta'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta-reviews is set to null.&lt;br /&gt;
2. Ensure that the meta-review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in the Due dates tab.&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129977</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129977"/>
		<updated>2019-12-06T04:14:34Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Solution and Code Modification */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background:===&lt;br /&gt;
An instructor can edit an assignment and can choose whether to have metareview in it or not. He can do so by following the below steps:&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to the below two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb file: &lt;br /&gt;
&lt;br /&gt;
There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. The code snippet below shows the existing code:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on click of the 'Use metareview deadline' checkbox. Now we implemented two new functions which are invoked inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox, the new code will invoke the 'removeOrAddMetareview()' function which indirectly invokes the two new functions.&lt;br /&gt;
Now let us look at the implementation of the two new functions, we used a local storage variable called 'meta'.So based on the status of the checkbox a value is assigned to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and if the 'Use metareview deadline' checkbox is Unchecked we assign with the value 'hide' to the local storage variable. Now after storing the respective values for the local storage variable, the storage event is triggered by these functions. The below code snippet shows the implementation of the two new functions:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
&lt;br /&gt;
In _review_strategy.html.erb:&lt;br /&gt;
&lt;br /&gt;
Small modifications have been made to the existing code that is the display of the table row with id 'meta' is given 'none' by default and also the status of the 'Has Meta-review Limit?' checkbox is changed to false. The below code snippet shows the modifications made:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
&lt;br /&gt;
we wrote a javascript code that handles the event triggered when the 'Use metareview deadline' checkbox has been checked or unchecked. In this javascript, the event triggered is handled by calling the 'onStorageEvent(storageEvent)' function. In this 'onStorageEvent' function we check the value in the local storage variable and based on that value we change the status of the display for the table row with id 'meta'.&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta-reviews is set to null.&lt;br /&gt;
2. Ensure that the meta-review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in the Due dates tab.&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129976</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129976"/>
		<updated>2019-12-06T04:13:57Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Solution and Code Modification */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background:===&lt;br /&gt;
An instructor can edit an assignment and can choose whether to have metareview in it or not. He can do so by following the below steps:&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to the below two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb file: &lt;br /&gt;
&lt;br /&gt;
There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. The code snippet below shows the existing code:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on click of the 'Use metareview deadline' checkbox. Now we implemented two function calls which are invoked inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox, the new code will invoke the 'removeOrAddMetareview()' function which indirectly invokes the two new functions.&lt;br /&gt;
Now let us look at the implementation of the two new functions, we used a local storage variable called 'meta'.So based on the status of the checkbox a value is assigned to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and if the 'Use metareview deadline' checkbox is Unchecked we assign with the value 'hide' to the local storage variable. Now after storing the respective values for the local storage variable, the storage event is triggered by these functions. The below code snippet shows the implementation of the two new functions:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
&lt;br /&gt;
In _review_strategy.html.erb:&lt;br /&gt;
&lt;br /&gt;
Small modifications have been made to the existing code that is the display of the table row with id 'meta' is given 'none' by default and also the status of the 'Has Meta-review Limit?' checkbox is changed to false. The below code snippet shows the modifications made:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
&lt;br /&gt;
we wrote a javascript code that handles the event triggered when the 'Use metareview deadline' checkbox has been checked or unchecked. In this javascript, the event triggered is handled by calling the 'onStorageEvent(storageEvent)' function. In this 'onStorageEvent' function we check the value in the local storage variable and based on that value we change the status of the display for the table row with id 'meta'.&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta-reviews is set to null.&lt;br /&gt;
2. Ensure that the meta-review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in the Due dates tab.&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129975</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129975"/>
		<updated>2019-12-06T04:12:33Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Issue3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background:===&lt;br /&gt;
An instructor can edit an assignment and can choose whether to have metareview in it or not. He can do so by following the below steps:&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to the below two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb file: &lt;br /&gt;
&lt;br /&gt;
There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. The code snippet below shows the existing code:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on change of the status of the 'Use metareview deadline' checkbox. Now we implemented two function calls which are invoked inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox, the new code will invoke the 'removeOrAddMetareview()' function which indirectly invokes the two new functions.&lt;br /&gt;
Now let us look at the implementation of the two new functions, we used a local storage variable called 'meta'.So based on the status of the checkbox a value is assigned to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and if the 'Use metareview deadline' checkbox is Unchecked we assign with the value 'hide' to the local storage variable. Now after storing the respective values for the local storage variable, the storage event is triggered by these functions. The below code snippet shows the implementation of the two new functions:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
&lt;br /&gt;
In _review_strategy.html.erb:&lt;br /&gt;
&lt;br /&gt;
Small modifications have been made to the existing code that is the display of the table row with id 'meta' is given 'none' by default and also the status of the 'Has Meta-review Limit?' checkbox is changed to false. The below code snippet shows the modifications made:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
&lt;br /&gt;
we wrote a javascript code that handles the event triggered when the 'Use metareview deadline' checkbox has been checked or unchecked. In this javascript, the event triggered is handled by calling the 'onStorageEvent(storageEvent)' function. In this 'onStorageEvent' function we check the value in the local storage variable and based on that value we change the status of the display for the table row with id 'meta'.&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta-reviews is set to null.&lt;br /&gt;
2. Ensure that the meta-review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in the Due dates tab.&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129974</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129974"/>
		<updated>2019-12-06T04:06:41Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Solution and Code Modification */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
An instructor can edit an assignment and chose whether to have metareview in it or not. He can do so by navigating to&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb: &lt;br /&gt;
&lt;br /&gt;
There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. The code snippet below shows the existing code:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on change of the status of the 'Use metareview deadline' checkbox. Now we implemented two function calls which are invoked inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox, the new code will invoke the removeOrAddMetareview()' function which indirectly invokes the two new functions.&lt;br /&gt;
Now let us look at the implementation of the two new functions, we used a local storage variable called 'meta'.So based on the status of the checkbox a value is assigned to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and if the 'Use metareview deadline' checkbox is Unchecked we assign with the value 'hide' to the local storage variable. Now after storing the respective values for the local storage variable, the storage event is triggered by these functions. The below code snippet shows the implementation of the two new functions.&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
&lt;br /&gt;
In _review_strategy.html.erb:&lt;br /&gt;
&lt;br /&gt;
Small modifications have been made to the existing code that is the display of the table row with id 'meta' is given none by default and also the status of the 'Has Meta-review Limit?' checkbox is changed to false. The below code snippet shows the modifications made:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
&lt;br /&gt;
we wrote a javascript code that handles the event triggered when the 'Use metareview deadline' checkbox has been checked or unchecked. In this javascript, the event triggered is handled by calling the 'onStorageEvent(storageEvent)' function. In this onStorageEvent function we check the value in the local storage variable and based on that value we change the status of the display for the table row with id 'meta'.&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129973</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129973"/>
		<updated>2019-12-06T03:50:11Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Solution and Code Modification */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
An instructor can edit an assignment and chose whether to have metareview in it or not. He can do so by navigating to&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb: &lt;br /&gt;
&lt;br /&gt;
There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. The code snippet below shows the existing code:&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on change of the status of the 'Use metareview deadline' checkbox. Now we implemented two function calls which are invoked inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox will invoke the removeOrAddMetareview()' function which indirectly invokes the two new functions.&lt;br /&gt;
Now let us look at the implementation of the two new functions, we used a local storage variable called 'meta'.So based on the status of the checkbox a value is assigned to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and if the 'Use metareview deadline' checkbox is Unchecked we assign with the value 'hide'.&lt;br /&gt;
Now after storing the respective values, the storage event is triggered by these functions. The below code snippet shows the implementation of the two new functions.&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129972</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129972"/>
		<updated>2019-12-06T03:42:26Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Solution and Code Modification */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
An instructor can edit an assignment and chose whether to have metareview in it or not. He can do so by navigating to&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb: There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. We made use of this function to call two new functions. The code snippet below shows the existing code&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on change of the status of the 'Use metareview deadline' checkbox. Now there are two function calls written inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox will invoke the removeOrAddMetareview()' function which indirectly invokes the two new functions. Now looking at the implementation of the two new functions, we use a local storage variable called 'meta' so based on the status of the checkbox value is given to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and vice versa.  &lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129971</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129971"/>
		<updated>2019-12-06T03:41:36Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Solution and Code Modification */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
An instructor can edit an assignment and chose whether to have metareview in it or not. He can do so by navigating to&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb: There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is invoked. We made use of this function to call two new functions. The code snippet below shows the existing code&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on change of the status of the 'Use metareview deadline' checkbox. Now there are two function calls written inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox will invoke the removeOrAddMetareview()' function which indirectly invokes the two new functions. Now looking at the implementation of the two new functions, we use a local storage variable called 'meta' so based on the status of the checkbox value is given to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and vice versa.  &lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129970</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129970"/>
		<updated>2019-12-06T03:40:35Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Solution and Code Modification */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
An instructor can edit an assignment and chose whether to have metareview in it or not. He can do so by navigating to&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic, so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb: There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is called. We made use of this function to call two new functions. The code snippet below shows the existing code&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on change of the status of the 'Use metareview deadline' checkbox. Now there are two function calls written inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox will invoke the removeOrAddMetareview()' function which indirectly invokes the two new functions. Now looking at the implementation of the two new functions, we use a local storage variable called 'meta' so based on the status of the checkbox value is given to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and vice versa.  &lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129969</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129969"/>
		<updated>2019-12-06T03:39:20Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Issue3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
An instructor can edit an assignment and chose whether to have metareview in it or not. He can do so by navigating to&lt;br /&gt;
&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb: There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is called. We made use of this function to call two new functions. The code snippet below shows the existing code&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on change of the status of the 'Use metareview deadline' checkbox. Now there are two function calls written inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox will invoke the removeOrAddMetareview()' function which indirectly invokes the two new functions. Now looking at the implementation of the two new functions, we use a local storage variable called 'meta' so based on the status of the checkbox value is given to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and vice versa.  &lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129968</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129968"/>
		<updated>2019-12-06T03:38:26Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox are located on different pages we cannot use the regular checkbox logic so we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb: There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is called. We made use of this function to call two new functions. The code snippet below shows the existing code&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
The 'removeOrAddMetareview()' is called on change of the status of the 'Use metareview deadline' checkbox. Now there are two function calls written inside this function they are 'hideMetaReviewLimit()' and 'showMetaReviewLimit()'. This can be seen in the below code snippet&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
&lt;br /&gt;
Now on clicking the 'Use metareview deadline' checkbox will invoke the removeOrAddMetareview()' function which indirectly invokes the two new functions. Now looking at the implementation of the two new functions, we use a local storage variable called 'meta' so based on the status of the checkbox value is given to the local storage variable. For example, if the 'Use metareview deadline' checkbox is checked then the local storage variable is initialized with the value 'show' and vice versa.  &lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129966</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129966"/>
		<updated>2019-12-06T03:28:08Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb: There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is called. We made use of this function to call two new functions.&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
[[File:Metareview2.PNG]]&lt;br /&gt;
[[File:Metareview3.PNG]]&lt;br /&gt;
[[File:Metareview4.PNG]]&lt;br /&gt;
[[File:Metareview5.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Metareview5.PNG&amp;diff=129965</id>
		<title>File:Metareview5.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Metareview5.PNG&amp;diff=129965"/>
		<updated>2019-12-06T03:27:19Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Metareview4.PNG&amp;diff=129964</id>
		<title>File:Metareview4.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Metareview4.PNG&amp;diff=129964"/>
		<updated>2019-12-06T03:27:06Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Metareview3.PNG&amp;diff=129963</id>
		<title>File:Metareview3.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Metareview3.PNG&amp;diff=129963"/>
		<updated>2019-12-06T03:26:38Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Metareview2.PNG&amp;diff=129962</id>
		<title>File:Metareview2.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Metareview2.PNG&amp;diff=129962"/>
		<updated>2019-12-06T03:26:20Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129960</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129960"/>
		<updated>2019-12-06T03:25:58Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb: There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is called. We made use of this function to call two new functions.&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129959</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129959"/>
		<updated>2019-12-06T03:23:47Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb: There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is called. We made use of this function to call two new functions.&lt;br /&gt;
&lt;br /&gt;
[[File:Metareview1.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129958</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129958"/>
		<updated>2019-12-06T03:23:05Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb: There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is called. We made use of this function to call two new functions.&lt;br /&gt;
&lt;br /&gt;
[[File:metareview1.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Metareview1.PNG&amp;diff=129956</id>
		<title>File:Metareview1.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Metareview1.PNG&amp;diff=129956"/>
		<updated>2019-12-06T03:21:53Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129951</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129951"/>
		<updated>2019-12-06T03:18:27Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Issue3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meta-review deadline below.&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, the instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta-reviews are not enabled for that assignment. The checkbox is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting it.&lt;br /&gt;
&lt;br /&gt;
===Solution and Code Modification===&lt;br /&gt;
As the checkbox and the content to be displayed on clicking the checkbox we used the concept of local storage and event listener.&lt;br /&gt;
&lt;br /&gt;
we have made changes to two files:&lt;br /&gt;
&lt;br /&gt;
1)/expertiza/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
2)/expertiza/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
In the _due_dates.html.erb: There is an existing code where on clicking the checkbox 'Use metareview deadline', a function called 'removeOrAddMetareview()' is called. We made use of this function to call two new functions.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129946</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=129946"/>
		<updated>2019-12-06T03:07:28Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Log in as instructor6, click on Manage...-&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
2. Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&lt;br /&gt;
3. Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&lt;br /&gt;
4. Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5. Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&lt;br /&gt;
6. Impersonate/login as student1 and make a submission&lt;br /&gt;
&lt;br /&gt;
7. Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&lt;br /&gt;
8. Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&lt;br /&gt;
9. When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&lt;br /&gt;
10. A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
===Background===&lt;br /&gt;
1) From Manage&amp;gt;Assignments, click on the Edit Assignment button for the appropriate assignment.&lt;br /&gt;
&lt;br /&gt;
2) On the Due Date tab, the instructor can select if (s)he wants to have meta-reviews done for the assignment, by clicking on the “Use meta-review deadline” checkbox and setting a meat-review deadline below. Refer to below image&lt;br /&gt;
&lt;br /&gt;
3) Under the “Review Strategy” tab of edit assignment, instructor can set Allowed and Required number of meta-reviews per reviewer by checking the Has meta-review Limit? checkbox.(refer to below image) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128775</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128775"/>
		<updated>2019-11-11T21:40:03Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Design strategy For Issue1 and Issue 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on manage...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&amp;lt;li&amp;gt;A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement the above two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128772</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128772"/>
		<updated>2019-11-11T21:39:20Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Problem Background */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Overview of Project''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on manage...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&amp;lt;li&amp;gt;A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement these two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128768</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128768"/>
		<updated>2019-11-11T21:38:09Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Problem statement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Problem Background''' ==&lt;br /&gt;
&lt;br /&gt;
In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified.&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on manage...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&amp;lt;li&amp;gt;A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement these two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128765</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128765"/>
		<updated>2019-11-11T21:37:07Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Design strategy For Issue1 and Issue 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Problem statement''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on manage...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&amp;lt;li&amp;gt;A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
The flow chart below describes the design we choose to implement these two issues&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128761</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128761"/>
		<updated>2019-11-11T21:31:57Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Problem statement''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on manage...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&amp;lt;li&amp;gt;A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Design strategy For Issue1 and Issue 2''' ==&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128759</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128759"/>
		<updated>2019-11-11T21:30:21Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Problem statement''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on manage...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&amp;lt;li&amp;gt;A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:E1997_1.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E1997_1.PNG&amp;diff=128758</id>
		<title>File:E1997 1.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E1997_1.PNG&amp;diff=128758"/>
		<updated>2019-11-11T21:28:27Z</updated>

		<summary type="html">&lt;p&gt;Speredd: MetaReview&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MetaReview&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128756</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128756"/>
		<updated>2019-11-11T21:26:26Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Problem statement''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on manage...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&amp;lt;li&amp;gt;A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128755</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128755"/>
		<updated>2019-11-11T21:25:53Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Files to be modified */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Problem statement''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on manage...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&amp;lt;li&amp;gt;A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:issue12.png]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128754</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128754"/>
		<updated>2019-11-11T21:25:33Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Files to be modified */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Problem statement''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on manage...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&amp;lt;li&amp;gt;A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:issue12.png|200px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128753</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128753"/>
		<updated>2019-11-11T21:24:27Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Problem statement''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on manage...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&amp;lt;li&amp;gt;A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:issue12.png]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Issue12.PNG&amp;diff=128749</id>
		<title>File:Issue12.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Issue12.PNG&amp;diff=128749"/>
		<updated>2019-11-11T21:23:21Z</updated>

		<summary type="html">&lt;p&gt;Speredd: E1997&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;E1997&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128746</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128746"/>
		<updated>2019-11-11T21:21:16Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Files to be modified */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Problem statement''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on manage...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&amp;lt;li&amp;gt;A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128745</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128745"/>
		<updated>2019-11-11T21:20:50Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Problem statement''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
When a user requests a new meta-review, (s)he should be able to click on the Begin button, which should redirect him/her to the meta-review questionnaire and when the user returns back (to the page where he can view the reviews and meta-reviews, by clicking on Others’ work in his/her assignment), (s)he should be then able to see view and update links for the meta-reviews (s)he has performed.&lt;br /&gt;
&lt;br /&gt;
But the issue is &amp;lt;b&amp;gt;Begin&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;Edit&amp;lt;/b&amp;gt; are not working for the given scenario.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on manage...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all of the following: Submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked following will be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Expertiza project3 Issue1 E1997.png]]&lt;br /&gt;
&amp;lt;li&amp;gt;A template must be added to fix the broken link&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
response.html.erb&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
The number of meta-reviews(refer to the snapshot below),should decrease when a user requests a meta-review.Also, the button to request a new meta-review should not disappear until the total number of reviews assigned has reached the allowed limit.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&amp;lt;li&amp;gt;Log in as instructor6, click on mange...-&amp;gt; Assignments&lt;br /&gt;
&amp;lt;li&amp;gt;Click on edit assignment, navigate to Due Dates and check &amp;quot;Use meta-review deadline&amp;quot; checkbox&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;quot;Yes&amp;quot; for all submission allowed, Review allowed and Meta-review allowed in all of the deadline types&lt;br /&gt;
&amp;lt;li&amp;gt;Navigate back to Assignment Tree View and click on &amp;quot;Add participant&amp;quot;&lt;br /&gt;
&amp;lt;li&amp;gt;Add couple of students(say student1 and student2) to the assignment&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student1 and make a submission&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login as student2 and Request for a new review under others work, submit the review&lt;br /&gt;
&amp;lt;li&amp;gt;Impersonate/login back as student1 and Request for a new meta review&lt;br /&gt;
&amp;lt;li&amp;gt;When Begin is clicked, the meta-review count should be decremented&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
 &amp;lt;li&amp;gt;List.html.erb&lt;br /&gt;
&lt;br /&gt;
[[File:OODD.png]]&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
For an assignment, when 'Use Metareview Deadline' is unchecked, it means meta reviews are not enabled for that assignment. The check box is as below&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_1.png]]&lt;br /&gt;
&lt;br /&gt;
As said, when this box is unchecked, it means there is no meta reviewing system for this assignment. The issue is, there are some meta review related fields that show up even if the above box is unchecked. Like in below image&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_2.png]]&lt;br /&gt;
&lt;br /&gt;
Also, when a new issue is created, the default  # of meta-reviews allowed and required should be null.  As soon as someone checks the Has meta-review Limit box on the “Review Strategy” tab, the UI should fill in 3 and 3 as the required and allowed number. Of course, the user can change this number before submitting.&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
A boolean style variable, named say 'isMetaEnabled' which reflects the metareview enabled/disabled status is needed. When user checks 'Use metareview deadline' in Due dates tab, the isMetaEnabled will be set to true and vice versa.&lt;br /&gt;
&lt;br /&gt;
This isMetaEnabled shall reside and gets initialized to 'True'(metareview enabled) in the assignments_controller.rb &lt;br /&gt;
When user toggles the checkbox, the isMetaEnabled value shall be toggled accordingly.&lt;br /&gt;
&lt;br /&gt;
In the Review Strategy tab, the metareview fields(3 of them) are conditioned to be displayed only if isMetaEnabled is set to true.&lt;br /&gt;
&lt;br /&gt;
Pictorial representation of above explanation&lt;br /&gt;
&lt;br /&gt;
[[File:issue3_design.png]]&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
1. Ensure that when an assignment is created, the number of meta reviews is set to null.&lt;br /&gt;
2. Ensure that the meta review fields in the review strategy tab are visible only when 'Use metareview deadline' is enabled in Due dates tab.&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
1. _review_strategy.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_review_strategy.html.erb&lt;br /&gt;
&lt;br /&gt;
2. _due_dates.html.erb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/views/assignments/edit/_due_dates.html.erb&lt;br /&gt;
&lt;br /&gt;
3. assignments_controller.rb&lt;br /&gt;
Source file: https://github.com/expertiza/expertiza/blob/master/app/controllers/assignments_controller.rb&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:OODD.PNG&amp;diff=128743</id>
		<title>File:OODD.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:OODD.PNG&amp;diff=128743"/>
		<updated>2019-11-11T21:18:38Z</updated>

		<summary type="html">&lt;p&gt;Speredd: CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128233</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128233"/>
		<updated>2019-11-10T21:44:36Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Problem statement''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue2''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue3''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Design strategy===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test Plan===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Files to be modified===&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128232</id>
		<title>CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1997._Issues_related_to_meta-reviewing&amp;diff=128232"/>
		<updated>2019-11-10T21:41:50Z</updated>

		<summary type="html">&lt;p&gt;Speredd: Created page with &amp;quot;== '''Problem statement''' ==   == '''Issue1''' ==  === Design strategy ===&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Problem statement''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Issue1''' ==&lt;br /&gt;
&lt;br /&gt;
=== Design strategy ===&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019&amp;diff=128231</id>
		<title>CSC/ECE 517 Fall 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019&amp;diff=128231"/>
		<updated>2019-11-10T21:40:43Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[CSC/ECE 517 Fall 2019 - Project E1947. Refactor quiz_questionnaire_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - Project E1965. Review report should link to the usual view for reviews]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - Project E1943. Refactor sign up sheet controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1972. OSS project J. Skellington: Accessing Assignment Rubrics]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1961. Email notification to reviewers and instructors]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1971. OSS project Finklestein: Instructors &amp;amp; Institutions]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1953. Tagging report for student]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1955.Write  unit tests for student_task.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1954. Auto-generate submission directory names based on assignment names]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1958. Two issues related to assignment management]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1948. Refactor review_mapping_helper.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1959. Intelligent copying of assignments without topics]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1968. Fixes for adding members to teams]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1969. Fixes for reviews not being available]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1951. Remove multiple topics at a time]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1957. Time travel Not Allowed..!!! Restrict TAs’ ability to change their own grade + limit file-size upload]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1963. Changing assignment participant role]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1941. Issues related to topic deadlines]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1966. Tabbed_reviews partial file refactor for displaying the alternate view of reviews]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1962. Email notification upon account creation]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1967. Fix glitches in author feedback]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1960. Create new late policy successfully and fixing &amp;quot;Back&amp;quot; link]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1939. OSS Project Juniper: Bookmark enhancements]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - M1950. Support Asynchronous Web Assembly Compilation]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1938. OSS project Duke Blue: Fix import glitches]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - M1951. Implement missing OffscreenCanvas APIs]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1940. Improving email notification]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1956. There is no shortcut to get free review points: Review Assignment Bug]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1942. Refactor stage deadlines in assignment.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - M1952. Missing DOM features project]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1945. Refactor users_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1964. Export review scores for projects]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1949. Write Unit Tests for Importing assignment participants and import glitches]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1944. Refactor review mapping controller]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1946. Refactor Questionnaire controller]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1982. Regulate changing of rubrics while projects are in progress]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1989. Track the time students look at other submissions]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1990. Integrate suggestion detection algorithm]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1995. Tests for email functionality]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1993 Track Time Between Successive Tag Assignments]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1979. Completion/Progress view]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1995. Weights in grade calculation]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1980. Sort instructor reports by name, ID, score, etc.]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1984. Improve self-review  Link peer review &amp;amp; self-review to derive grades]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1994. Mentor management for assignments without topics]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2019 - E1997. Issues related to meta-reviewing]]&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1959._Intelligent_copying_of_assignments_without_topics&amp;diff=127457</id>
		<title>CSC/ECE 517 Fall 2019 - E1959. Intelligent copying of assignments without topics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1959._Intelligent_copying_of_assignments_without_topics&amp;diff=127457"/>
		<updated>2019-11-06T22:41:52Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Introduction''' ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is an open source web application project developed using Ruby on Rails framework. Let us list some of the functionalities that Expertiza allows us to do under different roles:&lt;br /&gt;
&lt;br /&gt;
As an Instructor:&lt;br /&gt;
&lt;br /&gt;
We can create new assignments, edit the existing assignments, copy the assignments and also delete the assignment. The instructor can also add participants, reviewers to a particular assignment.&lt;br /&gt;
&lt;br /&gt;
As a Student:&lt;br /&gt;
&lt;br /&gt;
They can form teams to work on various projects and also bid for the projects they would like to work on. They can also review other student's work and can give feedback on them. They can also submit various types of documents including the URLs and wiki pages for their project or assignment submission.&lt;br /&gt;
&lt;br /&gt;
=='''Design Pattern'''==&lt;br /&gt;
Design patterns are not applicable as our task involved just modification of existing methods.&lt;br /&gt;
&lt;br /&gt;
== '''Problem Statement''' ==&lt;br /&gt;
&lt;br /&gt;
===Background===&lt;br /&gt;
When an instructor or a TA logs in to expertiza, s(he) can see a list of assignments under the assignment tab. An instructor or a TA can copy an assignment to use the same event in another course or as another assignment. When the user copies the assignment, the assignment is being copied without providing required flexibility to the users. Majorly, we are focused on implementing two features that shall add flexibility to the copy functionality.&lt;br /&gt;
&lt;br /&gt;
===Issues===&lt;br /&gt;
Issue 1: &lt;br /&gt;
While copying an assignment, the user (instructor or TA) is not asked whether they wants to copy the topics along with the assignment or not. Currently, it is copying the topics, without providing any choice for user to not have the topics.&lt;br /&gt;
&lt;br /&gt;
Issue 2:&lt;br /&gt;
While copying an assignment, the teams/students assigned to each topic are not getting copied. The user might want to copy the teams/students mapped to the topics as well.&lt;br /&gt;
&lt;br /&gt;
===Steps to generate the issue &amp;lt;Existing system, without our implementation&amp;gt; &amp;lt;Requires Instructor credentials&amp;gt;===&lt;br /&gt;
1) Login to expertiza.ncsu.edu using instructor credentials.&lt;br /&gt;
&lt;br /&gt;
2) Navigate to Assignments section. (Hover on Manage Tab -&amp;gt; Click on Assignments)&lt;br /&gt;
&lt;br /&gt;
3) Copy the assignment of your choice by clicking copy icon located on the right side of the specific assignment.&lt;br /&gt;
&lt;br /&gt;
Above steps copy the assignment. Remember that this process did not give you the flexibility of choosing whether to copy/not copy.&lt;br /&gt;
&lt;br /&gt;
1) Topics linked to assignment.&lt;br /&gt;
&lt;br /&gt;
2) Students/Teams linked to each topic.&lt;br /&gt;
&lt;br /&gt;
Present system copies the topics but doesn't copy the students, even if you don't want it this way. Our implementation is to provide the user with the functionality to choose to copy/not copy topics linked to an assignment and students/teams linked to each topic.&lt;br /&gt;
&lt;br /&gt;
== '''Solution &amp;amp; Code Modification''' ==&lt;br /&gt;
We have modified 5 files and mainly we have modified code in two classes they are:&lt;br /&gt;
#apps/controllers/assignments_controller.rb and &lt;br /&gt;
#apps/models/assignment_form.rb.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
So before we made any changes, the flow was, when an assignment is copied: &amp;lt;tt&amp;gt;def copy&amp;lt;/tt&amp;gt; in controllers/assignments_controller.rb is called which calls a function &amp;lt;tt&amp;gt;def self.copy&amp;lt;/tt&amp;gt; in models/assignment_form.rb. To solve the issue, we have created a new web page that is triggered on clicking the copy icon for the assignment. The view page is the checktopicscopy.html.erb under the views/assignments folder. This page asks the user to select from 3 options, which are:&lt;br /&gt;
#Copy without Topics. (Blank Assignment)&lt;br /&gt;
#Copy with Topics. (Assignment with only topics)&lt;br /&gt;
#Copy with Topics and Teams. (Assignment with topics and teams)&lt;br /&gt;
&lt;br /&gt;
Based on the option chosen by the user, this option is passed by the &amp;lt;tt&amp;gt;def copy&amp;lt;/tt&amp;gt; in controllers/assignments_controller.rb to &amp;lt;tt&amp;gt;def self.copy&amp;lt;/tt&amp;gt; in models/assignment_form.rb.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def checktopicscopy&lt;br /&gt;
    @assignment_id = params[:id]&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
new_assign_id = AssignmentForm.copy(params[:id], params[:copyoption], @user) #Line 115 in original file has been updated to Line 119 in modified file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;def self.copy&amp;lt;/tt&amp;gt; in models/assignment_form.rb now receives this value and creates a duplicate of the assignment without copying the teams and topics originally. If the user chosen the option to just copy a blank assignment (i.e. without the topics or teams, the execution does not enter into any of the &amp;lt;tt&amp;gt;if&amp;lt;/tt&amp;gt; conditions. If the user wants to copy the assignment with only the topics (but not the teams), then it goes into the first &amp;lt;tt&amp;gt;if&amp;lt;/tt&amp;gt; (Line 330 [refer code below]) and copies the topics as well but does not enter the next &amp;lt;tt&amp;gt;if&amp;lt;/tt&amp;gt; (Line 335 [refer code below]). If the user wants to copy the assignment with the topics as well as the teams, the code will enter the first as well as the second &amp;lt;tt&amp;gt;if&amp;lt;/tt&amp;gt; condition and copy the topics as well as the teams.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def self.copy(assignment_id, copyoption, user) #Line 313 in the original file has been modified.&lt;br /&gt;
&lt;br /&gt;
..... (Skipped Lines)&lt;br /&gt;
&lt;br /&gt;
if copyoption != 'copyWithoutTopics' #Line 330 in modified file.&lt;br /&gt;
  topics = SignUpTopic.where(assignment_id: old_assign.id)&lt;br /&gt;
  topics.each do |topic|&lt;br /&gt;
    new_sign_up_topic = SignUpTopic.create(&lt;br /&gt;
	  topic_name: topic.topic_name,&lt;br /&gt;
	  assignment_id: new_assign_id,&lt;br /&gt;
	  max_choosers: topic.max_choosers,&lt;br /&gt;
	  category: topic.category,&lt;br /&gt;
	  topic_identifier: topic.topic_identifier,&lt;br /&gt;
	  micropayment: topic.micropayment&lt;br /&gt;
    )&lt;br /&gt;
&lt;br /&gt;
  if copyoption == 'copyWithTopicsTeams' #Line 335 in modified file.&lt;br /&gt;
	old_signed_up_teams = SignedUpTeam.where(topic_id: topic.id)&lt;br /&gt;
	old_signed_up_teams.each do |old_signed_up_team|&lt;br /&gt;
	  new_signed_up_team = old_signed_up_team.dup&lt;br /&gt;
	  new_signed_up_team.update_attribute('topic_id', new_sign_up_topic.id)&lt;br /&gt;
	  new_signed_up_team.save&lt;br /&gt;
	end&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The code modifications and their coverage have been covered in the following section.&lt;br /&gt;
&lt;br /&gt;
== '''Testing (Test Plan)''' ==&lt;br /&gt;
&lt;br /&gt;
=== Automated Testing using RSpec ===&lt;br /&gt;
&lt;br /&gt;
We have made changes to the test cases and both the models/assignment_form.rb and also the controllers/assignments_controller.rb have passed all the test cases. The tests can be executed &amp;lt;tt&amp;gt;rpec spec&amp;lt;/tt&amp;gt; and the results for the 2 main files we have modified are shown below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#rspec ./spec/models/assignment_form_spec.rb&lt;br /&gt;
Finished in 1 minute 32.18 seconds (files took 20.22 seconds to load)&lt;br /&gt;
29 examples, 0 failures&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
#rspec ./spec/controllers/assignments_controller_spec.rb&lt;br /&gt;
Finished in 2 minutes 2.3 seconds (files took 1 minute 13.49 seconds to load)&lt;br /&gt;
23 examples, 0 failures&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
See the detailed coverage report below.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''1. models/assignment_form.rb'''&lt;br /&gt;
&amp;lt;br&amp;gt;In this file, the coverage has increased from 61.39% to 85.65% after modification.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Original file:'''&lt;br /&gt;
[[File:Og_model_coverage.PNG]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Modified file:'''&lt;br /&gt;
[[File:new_model_coverage.PNG]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
In the modified file, the following code has been added,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def self.copy(assignment_id, copyoption, user) #Line 313 in the original file has been modified.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if copyoption != 'copyWithoutTopics' #Line 330 in modified file.&lt;br /&gt;
  topics = SignUpTopic.where(assignment_id: old_assign.id)&lt;br /&gt;
  topics.each do |topic|&lt;br /&gt;
    new_sign_up_topic = SignUpTopic.create(&lt;br /&gt;
	  topic_name: topic.topic_name,&lt;br /&gt;
	  assignment_id: new_assign_id,&lt;br /&gt;
	  max_choosers: topic.max_choosers,&lt;br /&gt;
	  category: topic.category,&lt;br /&gt;
	  topic_identifier: topic.topic_identifier,&lt;br /&gt;
	  micropayment: topic.micropayment&lt;br /&gt;
    )&lt;br /&gt;
&lt;br /&gt;
  if copyoption == 'copyWithTopicsTeams'&lt;br /&gt;
	old_signed_up_teams = SignedUpTeam.where(topic_id: topic.id)&lt;br /&gt;
	old_signed_up_teams.each do |old_signed_up_team|&lt;br /&gt;
	  new_signed_up_team = old_signed_up_team.dup&lt;br /&gt;
	  new_signed_up_team.update_attribute('topic_id', new_sign_up_topic.id)&lt;br /&gt;
	  new_signed_up_team.save&lt;br /&gt;
	end&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''2. controllers/assignments_controller.rb'''&lt;br /&gt;
&amp;lt;br&amp;gt;In this file, the coverage has increased from 88.66% to 88.8% after modification.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Original file:'''&lt;br /&gt;
[[File:Og_controller_coverage.PNG]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Modified file:'''&lt;br /&gt;
[[File:new_controller_coverage.PNG]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
In the modified file, the following code has been added,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def checktopicscopy&lt;br /&gt;
    @assignment_id = params[:id]&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
new_assign_id = AssignmentForm.copy(params[:id], params[:copyoption], @user) #Line 115 in original file has been updated to Line 119 in modified file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Manual Testing from UI (For Reviewers) ==&lt;br /&gt;
&lt;br /&gt;
By following the below stated process, you can test the implementation that we worked on, which is:&lt;br /&gt;
Target 1: Provide the user with the option to select copy/not copy topics linked to an assignment.&lt;br /&gt;
Target 2: Provide the user with the option to select copy/not copy students/teams linked to a topic.&lt;br /&gt;
&lt;br /&gt;
'''Step 1''': Visit http://152.46.17.204:8080/ . Enter the credentials:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Username:&amp;lt;/b&amp;gt; instructor6&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Password:&amp;lt;/b&amp;gt; password&lt;br /&gt;
&lt;br /&gt;
'''Step 2''': On the top, hover on Manage tab. Click Assignments.&lt;br /&gt;
&lt;br /&gt;
'''Step 3''': Choose an assignment that you want to copy. We would recommend you choosing a robust assignment that has Topics and students/teams associated with topics. OSS Projects generally have these. [Please make sure that you are under the Assignments tab or select the assignment besides the course]&lt;br /&gt;
&lt;br /&gt;
If you want to check and see if an assignment has topics or not, click on Edit (pencil icon) on the right. &lt;br /&gt;
- If this assignment has topics, you will see a tab named Topics on the right of General tab. If there are no topics, you won't see Topics tab.&lt;br /&gt;
- On clicking the Topics tab, you can see the list of topics. If students/teams are assigned to topics, you will see student names (alias representations, like student1234 student2343) under each Topic name in 'Topic name(s) column'. If you don't see any such, it means that teams/students are not assigned to topics.&lt;br /&gt;
&lt;br /&gt;
'''Step 4''': After you chose the assignment that you want to copy, click on the copy icon on the right of the corresponding assignment. &lt;br /&gt;
&lt;br /&gt;
Where is the copy button located? Check the image below.&lt;br /&gt;
[[File: Copy oss.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 5''': Clicking the copy button will take you to copy options page, where you can select the options for copying. The page looks like this:&lt;br /&gt;
[[File: oss_copy6.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 6''': Choose the option you wish to test. Click create. Now the assignment shall be copied with the options you provided.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 7''': After copying, the application takes you to 'Edit' page for the assignment where you can edit/view the details pertaining to the assignment. Here, you can test our implementation.&lt;br /&gt;
In step 6, if you chose to &lt;br /&gt;
&lt;br /&gt;
- copy without topics: You won't see 'Topics' tab near General tab.&lt;br /&gt;
    &lt;br /&gt;
- copy with topics: You will see 'Topics' tab near General tab(As shown in image below). Navigate to Topics tab where you can see and check that the respective topics have been copied. You won't see students under each topic in 'Topic Name(s)' column(If there are topics under Topics tab in original assignment from which you created this copy).&lt;br /&gt;
&lt;br /&gt;
- copy with topics and students: You will see 'Topics' tab near General tab(As shown in image below). Navigate to Topics tab where you can see and check that the respective topics have been copied. You will see students under each topic in 'Topic Name(s)' column(If there are topics and students under Topics tab in original assignment from which you created this copy).&lt;br /&gt;
&lt;br /&gt;
[[File: oss_copy7.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
'''Step 8''': Please rename the assignment to some random string of your choice. Having it as 'Copy of'.. is creating issues of duplicate names when creating a new copy (more details in the section below, named 'Our Recommendation for a separate issue'. Not required for students). If not changed, the next tester might face difficulty while testing(which we don't want to see happening :)).&lt;br /&gt;
&lt;br /&gt;
'''Step 9''': This completes the testing. Reiterate from step 2, if you wish to test again.&lt;br /&gt;
&lt;br /&gt;
== '''Our Work''' ==&lt;br /&gt;
The code we created can be found below.&lt;br /&gt;
*[https://github.com/subhasekhar/expertiza GitHub Repository]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/pull/1524 Pull Request]&lt;br /&gt;
*[http://152.46.17.204:8080/ Deployed URL]&lt;br /&gt;
&lt;br /&gt;
The project could be run locally by cloning the [https://github.com/subhasekhar/expertiza GitHub Repository] and then running the following commands sequentially.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bundle install&lt;br /&gt;
rake db:create:all&lt;br /&gt;
rake db:migrate&lt;br /&gt;
rails s&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Our Recommendation for a Separate Issue''' (For Instructors only) ==&lt;br /&gt;
&lt;br /&gt;
In the current system, we identified an issue and would like to bring it to your notice.&lt;br /&gt;
&lt;br /&gt;
=== Existing System ===&lt;br /&gt;
&lt;br /&gt;
When a user attempts to copy an assignment, the code creates a duplicate ‘assignment’ object, renames it as ‘copy of’ + &amp;lt;name of existing assignment&amp;gt;, saves the object and redirects to the ‘edit’ page where user is supposed to rename the assignment to something meaningful.&lt;br /&gt;
&lt;br /&gt;
=== Issue ===&lt;br /&gt;
&lt;br /&gt;
The current naming scheme as ‘copy of’ + &amp;lt;name of existing assignment&amp;gt; is creating an issue. Say you are creating a copy for some assignment named ‘OSS Project’, the copy object will be named as ‘copy of OSS Project’, saved and redirected to edit page. Had there been an existing assignment names ‘copy of OSS Project’ (which is likely), the copy attempt shall fail, putting a flash message on the screen like:&lt;br /&gt;
&lt;br /&gt;
The assignment was not able to be copied. Please check the original assignment for missing information.&lt;br /&gt;
&lt;br /&gt;
The above error message is in no relevance to the real reason for the error. Even though the save attempt failed, a copy is being inserted into the assignments table in the database.&lt;br /&gt;
&lt;br /&gt;
=== Proposed Recommendation ===&lt;br /&gt;
&lt;br /&gt;
Current naming scheme must be changed to have randomness. The name of the assignment can be given a random string, or a string like ‘copy of ’ + &amp;lt;name of existing assignment&amp;gt; + &amp;lt;5 digit random code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The user is anyway supposed to edit the information in the edit page (where the application is redirected after copying is successful). So, here, he can change the name to have some meaningful string.&lt;br /&gt;
&lt;br /&gt;
== '''Team Information''' ==&lt;br /&gt;
# Sai Vishnu Muvvala (smuvval)&lt;br /&gt;
# Rohan Pillai (rspillai)&lt;br /&gt;
# Subha Sekhar Reddy Pereddy (speredd)&lt;br /&gt;
&lt;br /&gt;
Mentor: Yashad Trivedi (ytrived)&lt;br /&gt;
&amp;lt;br&amp;gt;Professor: Dr. Edward F. Gehringer (efg)&lt;br /&gt;
&amp;lt;br&amp;gt;Special shoutout to TA Suraj Siddharudh (ssiddha) for clearing my doubts regarding RSpec Tests.&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
#[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
#[https://relishapp.com/rspec RSpec Documentation]&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1959._Intelligent_copying_of_assignments_without_topics&amp;diff=127441</id>
		<title>CSC/ECE 517 Fall 2019 - E1959. Intelligent copying of assignments without topics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1959._Intelligent_copying_of_assignments_without_topics&amp;diff=127441"/>
		<updated>2019-11-06T22:25:54Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Steps to generate the issue   */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Introduction''' ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is an open source web application project developed using Ruby on Rails framework. Let us list some of the functionalities that Expertiza allows us to do under different roles:&lt;br /&gt;
&lt;br /&gt;
As an Instructor:&lt;br /&gt;
&lt;br /&gt;
We can create new assignments, edit the existing assignments, copy the assignments and also delete the assignment. The instructor can also add participants, reviewers to a particular assignment.&lt;br /&gt;
&lt;br /&gt;
As a Student:&lt;br /&gt;
&lt;br /&gt;
They can form teams to work on various projects and also bid for the projects they would like to work on. They can also review other student's work and can give feedback on them. They can also submit various types of documents including the URLs and wiki pages for their project or assignment submission.&lt;br /&gt;
&lt;br /&gt;
=='''Design Pattern'''==&lt;br /&gt;
Design patterns are not applicable as our task involved just modification of existing methods.&lt;br /&gt;
&lt;br /&gt;
== '''Problem Statement''' ==&lt;br /&gt;
&lt;br /&gt;
===Background===&lt;br /&gt;
When an instructor or a TA logs in to expertiza, s(he) can see a list of assignments under the assignment tab. An instructor or a TA can copy an assignment to use the same event in another course or as another assignment. When the user copies the assignment, the assignment is being copied without providing required flexibility to the users. Majorly, we are focused on implementing two features that shall add flexibility to the copy functionality.&lt;br /&gt;
&lt;br /&gt;
===Issues===&lt;br /&gt;
Issue 1: &lt;br /&gt;
While copying an assignment, the user (instructor or TA) is not asked whether they wants to copy the topics along with the assignment or not. Currently, it is copying the topics, without providing any choice for user to not have the topics.&lt;br /&gt;
&lt;br /&gt;
Issue 2:&lt;br /&gt;
While copying an assignment, the teams/students assigned to each topic are not getting copied. The user might want to copy the teams/students mapped to the topics as well.&lt;br /&gt;
&lt;br /&gt;
===Steps to generate the issue &amp;lt;Existing system, without our implementation&amp;gt; &amp;lt;Requires Instructor credentials&amp;gt;===&lt;br /&gt;
1) Login to expertiza.ncsu.edu using instructor credentials.&lt;br /&gt;
&lt;br /&gt;
2) Navigate to Assignments section. (Hover on Manage Tab -&amp;gt; Click on Assignments)&lt;br /&gt;
&lt;br /&gt;
3) Copy the assignment of your choice by clicking copy icon located on the right side of the specific assignment.&lt;br /&gt;
&lt;br /&gt;
Above steps copy the assignment. Remember that this process did not give you the flexibility of choosing whether to copy/not copy.&lt;br /&gt;
&lt;br /&gt;
1) Topics linked to assignment.&lt;br /&gt;
&lt;br /&gt;
2) Students/Teams linked to each topic.&lt;br /&gt;
&lt;br /&gt;
Present system copies the topics but doesn't copy the students, even if you don't want it this way. Our implementation is to provide the user with the functionality to choose to copy/not copy topics linked to an assignment and students/teams linked to each topic.&lt;br /&gt;
&lt;br /&gt;
== '''Solution &amp;amp; Code Modification''' ==&lt;br /&gt;
We have modified 5 files and mainly we have modified code in two classes they are:&lt;br /&gt;
#apps/controllers/assignments_controller.rb and &lt;br /&gt;
#apps/models/assignment_form.rb.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
So before we made any changes, the flow was, when an assignment is copied: &amp;lt;tt&amp;gt;def copy&amp;lt;/tt&amp;gt; in controllers/assignments_controller.rb is called which calls a function &amp;lt;tt&amp;gt;def self.copy&amp;lt;/tt&amp;gt; in models/assignment_form.rb. To solve the issue, we have created a new web page that is triggered on clicking the copy icon for the assignment. The view page is the checktopicscopy.html.erb under the views/assignments folder. This page asks the user to select from 3 options, which are:&lt;br /&gt;
#Copy without Topics. (Blank Assignment)&lt;br /&gt;
#Copy with Topics. (Assignment with only topics)&lt;br /&gt;
#Copy with Topics and Teams. (Assignment with topics and teams)&lt;br /&gt;
&lt;br /&gt;
Based on the option chosen by the user, this option is passed by the &amp;lt;tt&amp;gt;def copy&amp;lt;/tt&amp;gt; in controllers/assignments_controller.rb to &amp;lt;tt&amp;gt;def self.copy&amp;lt;/tt&amp;gt; in models/assignment_form.rb.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def checktopicscopy&lt;br /&gt;
    @assignment_id = params[:id]&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
new_assign_id = AssignmentForm.copy(params[:id], params[:copyoption], @user) #Line 115 in original file has been updated to Line 119 in modified file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;def self.copy&amp;lt;/tt&amp;gt; in models/assignment_form.rb now receives this value and creates a duplicate of the assignment without copying the teams and topics originally. If the user chosen the option to just copy a blank assignment (i.e. without the topics or teams, the execution does not enter into any of the &amp;lt;tt&amp;gt;if&amp;lt;/tt&amp;gt; conditions. If the user wants to copy the assignment with only the topics (but not the teams), then it goes into the first &amp;lt;tt&amp;gt;if&amp;lt;/tt&amp;gt; (Line 330 [refer code below]) and copies the topics as well but does not enter the next &amp;lt;tt&amp;gt;if&amp;lt;/tt&amp;gt; (Line 335 [refer code below]). If the user wants to copy the assignment with the topics as well as the teams, the code will enter the first as well as the second &amp;lt;tt&amp;gt;if&amp;lt;/tt&amp;gt; condition and copy the topics as well as the teams.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def self.copy(assignment_id, copyoption, user) #Line 313 in the original file has been modified.&lt;br /&gt;
&lt;br /&gt;
..... (Skipped Lines)&lt;br /&gt;
&lt;br /&gt;
if copyoption != 'copyWithoutTopics' #Line 330 in modified file.&lt;br /&gt;
  topics = SignUpTopic.where(assignment_id: old_assign.id)&lt;br /&gt;
  topics.each do |topic|&lt;br /&gt;
    new_sign_up_topic = SignUpTopic.create(&lt;br /&gt;
	  topic_name: topic.topic_name,&lt;br /&gt;
	  assignment_id: new_assign_id,&lt;br /&gt;
	  max_choosers: topic.max_choosers,&lt;br /&gt;
	  category: topic.category,&lt;br /&gt;
	  topic_identifier: topic.topic_identifier,&lt;br /&gt;
	  micropayment: topic.micropayment&lt;br /&gt;
    )&lt;br /&gt;
&lt;br /&gt;
  if copyoption == 'copyWithTopicsTeams' #Line 335 in modified file.&lt;br /&gt;
	old_signed_up_teams = SignedUpTeam.where(topic_id: topic.id)&lt;br /&gt;
	old_signed_up_teams.each do |old_signed_up_team|&lt;br /&gt;
	  new_signed_up_team = old_signed_up_team.dup&lt;br /&gt;
	  new_signed_up_team.update_attribute('topic_id', new_sign_up_topic.id)&lt;br /&gt;
	  new_signed_up_team.save&lt;br /&gt;
	end&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The code modifications and their coverage have been covered in the following section.&lt;br /&gt;
&lt;br /&gt;
== '''Testing (Test Plan)''' ==&lt;br /&gt;
&lt;br /&gt;
=== Automated Testing using RSpec ===&lt;br /&gt;
&lt;br /&gt;
We have made changes to the test cases and both the models/assignment_form.rb and also the controllers/assignments_controller.rb have passed all the test cases. The tests can be executed &amp;lt;tt&amp;gt;rpec spec&amp;lt;/tt&amp;gt; and the results for the 2 main files we have modified are shown below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#rspec ./spec/models/assignment_form_spec.rb&lt;br /&gt;
Finished in 1 minute 32.18 seconds (files took 20.22 seconds to load)&lt;br /&gt;
29 examples, 0 failures&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
#rspec ./spec/controllers/assignments_controller_spec.rb&lt;br /&gt;
Finished in 2 minutes 2.3 seconds (files took 1 minute 13.49 seconds to load)&lt;br /&gt;
23 examples, 0 failures&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
See the detailed coverage report below.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''1. models/assignment_form.rb'''&lt;br /&gt;
&amp;lt;br&amp;gt;In this file, the coverage has increased from 61.39% to 85.65% after modification.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Original file:'''&lt;br /&gt;
[[File:Og_model_coverage.PNG]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Modified file:'''&lt;br /&gt;
[[File:new_model_coverage.PNG]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
In the modified file, the following code has been added,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def self.copy(assignment_id, copyoption, user) #Line 313 in the original file has been modified.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if copyoption != 'copyWithoutTopics' #Line 330 in modified file.&lt;br /&gt;
  topics = SignUpTopic.where(assignment_id: old_assign.id)&lt;br /&gt;
  topics.each do |topic|&lt;br /&gt;
    new_sign_up_topic = SignUpTopic.create(&lt;br /&gt;
	  topic_name: topic.topic_name,&lt;br /&gt;
	  assignment_id: new_assign_id,&lt;br /&gt;
	  max_choosers: topic.max_choosers,&lt;br /&gt;
	  category: topic.category,&lt;br /&gt;
	  topic_identifier: topic.topic_identifier,&lt;br /&gt;
	  micropayment: topic.micropayment&lt;br /&gt;
    )&lt;br /&gt;
&lt;br /&gt;
  if copyoption == 'copyWithTopicsTeams'&lt;br /&gt;
	old_signed_up_teams = SignedUpTeam.where(topic_id: topic.id)&lt;br /&gt;
	old_signed_up_teams.each do |old_signed_up_team|&lt;br /&gt;
	  new_signed_up_team = old_signed_up_team.dup&lt;br /&gt;
	  new_signed_up_team.update_attribute('topic_id', new_sign_up_topic.id)&lt;br /&gt;
	  new_signed_up_team.save&lt;br /&gt;
	end&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''2. controllers/assignments_controller.rb'''&lt;br /&gt;
&amp;lt;br&amp;gt;In this file, the coverage has increased from 88.66% to 88.8% after modification.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Original file:'''&lt;br /&gt;
[[File:Og_controller_coverage.PNG]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Modified file:'''&lt;br /&gt;
[[File:new_controller_coverage.PNG]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
In the modified file, the following code has been added,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def checktopicscopy&lt;br /&gt;
    @assignment_id = params[:id]&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
new_assign_id = AssignmentForm.copy(params[:id], params[:copyoption], @user) #Line 115 in original file has been updated to Line 119 in modified file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manual Testing from UI (For Reviewers) ===&lt;br /&gt;
&lt;br /&gt;
By following the below stated process, you can test the implementation that we worked on, which is:&lt;br /&gt;
Target 1: Provide the user with the option to select copy/not copy topics linked to an assignment.&lt;br /&gt;
Target 2: Provide the user with the option to select copy/not copy students/teams linked to a topic.&lt;br /&gt;
&lt;br /&gt;
'''Step 1''': Visit http://152.46.17.204:8080/ . Enter the credentials:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Username:&amp;lt;/b&amp;gt; instructor6&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Password:&amp;lt;/b&amp;gt; password&lt;br /&gt;
&lt;br /&gt;
'''Step 2''': On the top, hover on Manage tab. Click Assignments.&lt;br /&gt;
&lt;br /&gt;
'''Step 3''': Choose an assignment that you want to copy. We would recommend you choosing a robust assignment that has Topics and students/teams associated with topics. OSS Projects generally have these. [Please make sure that you are under the Assignments tab or select the assignment besides the course]&lt;br /&gt;
&lt;br /&gt;
If you want to check and see if an assignment has topics or not, click on Edit (pencil icon) on the right. &lt;br /&gt;
- If this assignment has topics, you will see a tab named Topics on the right of General tab. If there are no topics, you won't see Topics tab.&lt;br /&gt;
- On clicking the Topics tab, you can see the list of topics. If students/teams are assigned to topics, you will see student names (alias representations, like student1234 student2343) under each Topic name in 'Topic name(s) column'. If you don't see any such, it means that teams/students are not assigned to topics.&lt;br /&gt;
&lt;br /&gt;
'''Step 4''': After you chose the assignment that you want to copy, click on the copy icon on the right of the corresponding assignment. &lt;br /&gt;
&lt;br /&gt;
Where is the copy button located? Check the image below.&lt;br /&gt;
[[File: Copy oss.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 5''': Clicking the copy button will take you to copy options page, where you can select the options for copying. The page looks like this:&lt;br /&gt;
[[File: oss_copy6.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 6''': Choose the option you wish to test. Click create. Now the assignment shall be copied with the options you provided.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 7''': After copying, the application takes you to 'Edit' page for the assignment where you can edit/view the details pertaining to the assignment. Here, you can test our implementation.&lt;br /&gt;
In step 6, if you chose to &lt;br /&gt;
&lt;br /&gt;
- copy without topics: You won't see 'Topics' tab near General tab.&lt;br /&gt;
    &lt;br /&gt;
- copy with topics: You will see 'Topics' tab near General tab(As shown in image below). Navigate to Topics tab where you can see and check that the respective topics have been copied. You won't see students under each topic in 'Topic Name(s)' column(If there are topics under Topics tab in original assignment from which you created this copy).&lt;br /&gt;
&lt;br /&gt;
- copy with topics and students: You will see 'Topics' tab near General tab(As shown in image below). Navigate to Topics tab where you can see and check that the respective topics have been copied. You will see students under each topic in 'Topic Name(s)' column(If there are topics and students under Topics tab in original assignment from which you created this copy).&lt;br /&gt;
&lt;br /&gt;
[[File: oss_copy7.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
'''Step 8''': Please rename the assignment to some random string of your choice. Having it as 'Copy of'.. is creating issues of duplicate names when creating a new copy (more details in the section below, named 'Our Recommendation for a separate issue'. Not required for students). If not changed, the next tester might face difficulty while testing(which we don't want to see happening :)).&lt;br /&gt;
&lt;br /&gt;
'''Step 9''': This completes the testing. Reiterate from step 2, if you wish to test again.&lt;br /&gt;
&lt;br /&gt;
== '''Our Work''' ==&lt;br /&gt;
The code we created can be found below. We have also linked the video of our tests running with coverage to showcase the work we have done.&lt;br /&gt;
*[https://github.com/subhasekhar/expertiza GitHub Repository]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/pull/1524 Pull Request]&lt;br /&gt;
*[http://152.46.17.204:8080/ Deployed URL]&lt;br /&gt;
&lt;br /&gt;
The project could be run locally by cloning the [https://github.com/subhasekhar/expertiza GitHub Repository] and then running the following commands sequentially.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bundle install&lt;br /&gt;
rake db:create:all&lt;br /&gt;
rake db:migrate&lt;br /&gt;
rails s&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Our Recommendation for a Separate Issue''' (For Instructors only) ==&lt;br /&gt;
&lt;br /&gt;
In the current system, we identified an issue and would like to bring it to your notice.&lt;br /&gt;
&lt;br /&gt;
=== Existing System ===&lt;br /&gt;
&lt;br /&gt;
When a user attempts to copy an assignment, the code creates a duplicate ‘assignment’ object, renames it as ‘copy of’ + &amp;lt;name of existing assignment&amp;gt;, saves the object and redirects to the ‘edit’ page where user is supposed to rename the assignment to something meaningful.&lt;br /&gt;
&lt;br /&gt;
=== Issue ===&lt;br /&gt;
&lt;br /&gt;
The current naming scheme as ‘copy of’ + &amp;lt;name of existing assignment&amp;gt; is creating an issue. Say you are creating a copy for some assignment named ‘OSS Project’, the copy object will be named as ‘copy of OSS Project’, saved and redirected to edit page. Had there been an existing assignment names ‘copy of OSS Project’ (which is likely), the copy attempt shall fail, putting a flash message on the screen like:&lt;br /&gt;
&lt;br /&gt;
The assignment was not able to be copied. Please check the original assignment for missing information.&lt;br /&gt;
&lt;br /&gt;
The above error message is in no relevance to the real reason for the error. Even though the save attempt failed, a copy is being inserted into the assignments table in the database.&lt;br /&gt;
&lt;br /&gt;
=== Proposed Recommendation ===&lt;br /&gt;
&lt;br /&gt;
Current naming scheme must be changed to have randomness. The name of the assignment can be given a random string, or a string like ‘copy of ’ + &amp;lt;name of existing assignment&amp;gt; + &amp;lt;5 digit random code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The user is anyway supposed to edit the information in the edit page (where the application is redirected after copying is successful). So, here, he can change the name to have some meaningful string.&lt;br /&gt;
&lt;br /&gt;
== '''Team Information''' ==&lt;br /&gt;
# Sai Vishnu Muvvala (smuvval)&lt;br /&gt;
# Rohan Pillai (rspillai)&lt;br /&gt;
# Subha Sekhar Reddy Pereddy (speredd)&lt;br /&gt;
&lt;br /&gt;
Mentor: Yashad Trivedi (ytrived)&lt;br /&gt;
&amp;lt;br&amp;gt;Professor: Dr. Edward F. Gehringer (efg)&lt;br /&gt;
&amp;lt;br&amp;gt;Special shoutout to TA Suraj Siddharudh (ssiddha) for clearing my doubts regarding RSpec Tests.&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
#[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
#[https://relishapp.com/rspec RSpec Documentation]&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1959._Intelligent_copying_of_assignments_without_topics&amp;diff=127438</id>
		<title>CSC/ECE 517 Fall 2019 - E1959. Intelligent copying of assignments without topics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1959._Intelligent_copying_of_assignments_without_topics&amp;diff=127438"/>
		<updated>2019-11-06T22:18:34Z</updated>

		<summary type="html">&lt;p&gt;Speredd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Introduction''' ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is an open source web application project developed using Ruby on Rails framework. Let us list some of the functionalities that Expertiza allows us to do under different roles:&lt;br /&gt;
&lt;br /&gt;
As an Instructor:&lt;br /&gt;
&lt;br /&gt;
We can create new assignments, edit the existing assignments, copy the assignments and also delete the assignment. The instructor can also add participants, reviewers to a particular assignment.&lt;br /&gt;
&lt;br /&gt;
As a Student:&lt;br /&gt;
&lt;br /&gt;
They can form teams to work on various projects and also bid for the projects they would like to work on. They can also review other student's work and can give feedback on them. They can also submit various types of documents including the URLs and wiki pages for their project or assignment submission.&lt;br /&gt;
&lt;br /&gt;
=='''Design Pattern'''==&lt;br /&gt;
Design patterns are not applicable as our task involved just modification of existing methods.&lt;br /&gt;
&lt;br /&gt;
== '''Problem Statement''' ==&lt;br /&gt;
&lt;br /&gt;
===Background===&lt;br /&gt;
When an instructor or a TA logs in to expertiza, s(he) can see a list of assignments under the assignment tab. An instructor or a TA can copy an assignment to use the same event in another course or as another assignment. When the user copies the assignment, the assignment is being copied without providing required flexibility to the users. Majorly, we are focused on implementing two features that shall add flexibility to the copy functionality.&lt;br /&gt;
&lt;br /&gt;
===Issues===&lt;br /&gt;
Issue 1: &lt;br /&gt;
While copying an assignment, the user (instructor or TA) is not asked whether they wants to copy the topics along with the assignment or not. Currently, it is copying the topics, without providing any choice for user to not have the topics.&lt;br /&gt;
&lt;br /&gt;
Issue 2:&lt;br /&gt;
While copying an assignment, the teams/students assigned to each topic are not getting copied. The user might want to copy the teams/students mapped to the topics as well.&lt;br /&gt;
&lt;br /&gt;
===Steps to generate the issue &amp;lt;Existing system, without our implementation&amp;gt; &amp;lt;Requires Instructor credentials&amp;gt;===&lt;br /&gt;
1) Login to expertiza.ncsu.edu using instructor credentials.&lt;br /&gt;
&lt;br /&gt;
2) Navigate to Assignments section. (Hover on Manage Tab -&amp;gt; Click on Assignments)&lt;br /&gt;
&lt;br /&gt;
3) Copy the assignment of your choice by clicking copy icon located on the right side the specific assignment.&lt;br /&gt;
&lt;br /&gt;
Above steps copy the assignment. Remember that this process did not give you the flexibility of choosing whether to copy/not copy.&lt;br /&gt;
&lt;br /&gt;
1) Topics linked to assignment.&lt;br /&gt;
&lt;br /&gt;
2) Students/Teams linked to each topic.&lt;br /&gt;
&lt;br /&gt;
Present system copies the topics but doesn't copy the students, even if you don't want it this way. Our implementation is to provide the user with the functionality to choose to copy/not copy topics linked to an assignment and students/teams linked to each topic.&lt;br /&gt;
&lt;br /&gt;
== '''Solution &amp;amp; Code Modification''' ==&lt;br /&gt;
We have modified 5 files and mainly we have modified code in two classes they are:&lt;br /&gt;
#apps/controllers/assignments_controller.rb and &lt;br /&gt;
#apps/models/assignment_form.rb.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
So before we made any changes, the flow was, when an assignment is copied: &amp;lt;tt&amp;gt;def copy&amp;lt;/tt&amp;gt; in controllers/assignments_controller.rb is called which calls a function &amp;lt;tt&amp;gt;def self.copy&amp;lt;/tt&amp;gt; in models/assignment_form.rb. To solve the issue, we have created a new web page that is triggered on clicking the copy icon for the assignment. The view page is the checktopicscopy.html.erb under the views/assignments folder. This page asks the user to select from 3 options, which are:&lt;br /&gt;
#Copy without Topics. (Blank Assignment)&lt;br /&gt;
#Copy with Topics. (Assignment with only topics)&lt;br /&gt;
#Copy with Topics and Teams. (Assignment with topics and teams)&lt;br /&gt;
&lt;br /&gt;
Based on the option chosen by the user, this option is passed by the &amp;lt;tt&amp;gt;def copy&amp;lt;/tt&amp;gt; in controllers/assignments_controller.rb to &amp;lt;tt&amp;gt;def self.copy&amp;lt;/tt&amp;gt; in models/assignment_form.rb.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def checktopicscopy&lt;br /&gt;
    @assignment_id = params[:id]&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
new_assign_id = AssignmentForm.copy(params[:id], params[:copyoption], @user) #Line 115 in original file has been updated to Line 119 in modified file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;def self.copy&amp;lt;/tt&amp;gt; in models/assignment_form.rb now receives this value and creates a duplicate of the assignment without copying the teams and topics originally. If the user chosen the option to just copy a blank assignment (i.e. without the topics or teams, the execution does not enter into any of the &amp;lt;tt&amp;gt;if&amp;lt;/tt&amp;gt; conditions. If the user wants to copy the assignment with only the topics (but not the teams), then it goes into the first &amp;lt;tt&amp;gt;if&amp;lt;/tt&amp;gt; (Line 330 [refer code below]) and copies the topics as well but does not enter the next &amp;lt;tt&amp;gt;if&amp;lt;/tt&amp;gt; (Line 335 [refer code below]). If the user wants to copy the assignment with the topics as well as the teams, the code will enter the first as well as the second &amp;lt;tt&amp;gt;if&amp;lt;/tt&amp;gt; condition and copy the topics as well as the teams.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def self.copy(assignment_id, copyoption, user) #Line 313 in the original file has been modified.&lt;br /&gt;
&lt;br /&gt;
..... (Skipped Lines)&lt;br /&gt;
&lt;br /&gt;
if copyoption != 'copyWithoutTopics' #Line 330 in modified file.&lt;br /&gt;
  topics = SignUpTopic.where(assignment_id: old_assign.id)&lt;br /&gt;
  topics.each do |topic|&lt;br /&gt;
    new_sign_up_topic = SignUpTopic.create(&lt;br /&gt;
	  topic_name: topic.topic_name,&lt;br /&gt;
	  assignment_id: new_assign_id,&lt;br /&gt;
	  max_choosers: topic.max_choosers,&lt;br /&gt;
	  category: topic.category,&lt;br /&gt;
	  topic_identifier: topic.topic_identifier,&lt;br /&gt;
	  micropayment: topic.micropayment&lt;br /&gt;
    )&lt;br /&gt;
&lt;br /&gt;
  if copyoption == 'copyWithTopicsTeams' #Line 335 in modified file.&lt;br /&gt;
	old_signed_up_teams = SignedUpTeam.where(topic_id: topic.id)&lt;br /&gt;
	old_signed_up_teams.each do |old_signed_up_team|&lt;br /&gt;
	  new_signed_up_team = old_signed_up_team.dup&lt;br /&gt;
	  new_signed_up_team.update_attribute('topic_id', new_sign_up_topic.id)&lt;br /&gt;
	  new_signed_up_team.save&lt;br /&gt;
	end&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The code modifications and their coverage have been covered in the following section.&lt;br /&gt;
&lt;br /&gt;
== '''Testing (Test Plan)''' ==&lt;br /&gt;
&lt;br /&gt;
=== Automated Testing using RSpec ===&lt;br /&gt;
&lt;br /&gt;
We have made changes to the test cases and both the models/assignment_form.rb and also the controllers/assignments_controller.rb have passed all the test cases. The tests can be executed &amp;lt;tt&amp;gt;rpec spec&amp;lt;/tt&amp;gt; and the results for the 2 main files we have modified are shown below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#rspec ./spec/models/assignment_form_spec.rb&lt;br /&gt;
Finished in 1 minute 32.18 seconds (files took 20.22 seconds to load)&lt;br /&gt;
29 examples, 0 failures&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
#rspec ./spec/controllers/assignments_controller_spec.rb&lt;br /&gt;
Finished in 2 minutes 2.3 seconds (files took 1 minute 13.49 seconds to load)&lt;br /&gt;
23 examples, 0 failures&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
See the detailed coverage report below.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''1. models/assignment_form.rb'''&lt;br /&gt;
&amp;lt;br&amp;gt;In this file, the coverage has increased from 61.39% to 85.65% after modification.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Original file:'''&lt;br /&gt;
[[File:Og_model_coverage.PNG]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Modified file:'''&lt;br /&gt;
[[File:new_model_coverage.PNG]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
In the modified file, the following code has been added,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def self.copy(assignment_id, copyoption, user) #Line 313 in the original file has been modified.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if copyoption != 'copyWithoutTopics' #Line 330 in modified file.&lt;br /&gt;
  topics = SignUpTopic.where(assignment_id: old_assign.id)&lt;br /&gt;
  topics.each do |topic|&lt;br /&gt;
    new_sign_up_topic = SignUpTopic.create(&lt;br /&gt;
	  topic_name: topic.topic_name,&lt;br /&gt;
	  assignment_id: new_assign_id,&lt;br /&gt;
	  max_choosers: topic.max_choosers,&lt;br /&gt;
	  category: topic.category,&lt;br /&gt;
	  topic_identifier: topic.topic_identifier,&lt;br /&gt;
	  micropayment: topic.micropayment&lt;br /&gt;
    )&lt;br /&gt;
&lt;br /&gt;
  if copyoption == 'copyWithTopicsTeams'&lt;br /&gt;
	old_signed_up_teams = SignedUpTeam.where(topic_id: topic.id)&lt;br /&gt;
	old_signed_up_teams.each do |old_signed_up_team|&lt;br /&gt;
	  new_signed_up_team = old_signed_up_team.dup&lt;br /&gt;
	  new_signed_up_team.update_attribute('topic_id', new_sign_up_topic.id)&lt;br /&gt;
	  new_signed_up_team.save&lt;br /&gt;
	end&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''2. controllers/assignments_controller.rb'''&lt;br /&gt;
&amp;lt;br&amp;gt;In this file, the coverage has increased from 88.66% to 88.8% after modification.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Original file:'''&lt;br /&gt;
[[File:Og_controller_coverage.PNG]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Modified file:'''&lt;br /&gt;
[[File:new_controller_coverage.PNG]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
In the modified file, the following code has been added,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def checktopicscopy&lt;br /&gt;
    @assignment_id = params[:id]&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
new_assign_id = AssignmentForm.copy(params[:id], params[:copyoption], @user) #Line 115 in original file has been updated to Line 119 in modified file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manual Testing from UI (For Reviewers) ===&lt;br /&gt;
&lt;br /&gt;
By following the below stated process, you can test the implementation that we worked on, which is:&lt;br /&gt;
Target 1: Provide the user with the option to select copy/not copy topics linked to an assignment.&lt;br /&gt;
Target 2: Provide the user with the option to select copy/not copy students/teams linked to a topic.&lt;br /&gt;
&lt;br /&gt;
'''Step 1''': Visit http://152.46.17.204:8080/ . Enter the credentials:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Username:&amp;lt;/b&amp;gt; instructor6&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Password:&amp;lt;/b&amp;gt; password&lt;br /&gt;
&lt;br /&gt;
'''Step 2''': On the top, hover on Manage tab. Click Assignments.&lt;br /&gt;
&lt;br /&gt;
'''Step 3''': Choose an assignment that you want to copy. We would recommend you choosing a robust assignment that has Topics and students/teams associated with topics. OSS Projects generally have these. [Please make sure that you are under the Assignments tab or select the assignment besides the course]&lt;br /&gt;
&lt;br /&gt;
If you want to check and see if an assignment has topics or not, click on Edit (pencil icon) on the right. &lt;br /&gt;
- If this assignment has topics, you will see a tab named Topics on the right of General tab. If there are no topics, you won't see Topics tab.&lt;br /&gt;
- On clicking the Topics tab, you can see the list of topics. If students/teams are assigned to topics, you will see student names (alias representations, like student1234 student2343) under each Topic name in 'Topic name(s) column'. If you don't see any such, it means that teams/students are not assigned to topics.&lt;br /&gt;
&lt;br /&gt;
'''Step 4''': After you chose the assignment that you want to copy, click on the copy icon on the right of the corresponding assignment. &lt;br /&gt;
&lt;br /&gt;
Where is the copy button located? Check the image below.&lt;br /&gt;
[[File: Copy oss.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 5''': Clicking the copy button will take you to copy options page, where you can select the options for copying. The page looks like this:&lt;br /&gt;
[[File: oss_copy6.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 6''': Choose the option you wish to test. Click create. Now the assignment shall be copied with the options you provided.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 7''': After copying, the application takes you to 'Edit' page for the assignment where you can edit/view the details pertaining to the assignment. Here, you can test our implementation.&lt;br /&gt;
In step 6, if you chose to &lt;br /&gt;
&lt;br /&gt;
- copy without topics: You won't see 'Topics' tab near General tab.&lt;br /&gt;
    &lt;br /&gt;
- copy with topics: You will see 'Topics' tab near General tab(As shown in image below). Navigate to Topics tab where you can see and check that the respective topics have been copied. You won't see students under each topic in 'Topic Name(s)' column(If there are topics under Topics tab in original assignment from which you created this copy).&lt;br /&gt;
&lt;br /&gt;
- copy with topics and students: You will see 'Topics' tab near General tab(As shown in image below). Navigate to Topics tab where you can see and check that the respective topics have been copied. You will see students under each topic in 'Topic Name(s)' column(If there are topics and students under Topics tab in original assignment from which you created this copy).&lt;br /&gt;
&lt;br /&gt;
[[File: oss_copy7.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
'''Step 8''': Please rename the assignment to some random string of your choice. Having it as 'Copy of'.. is creating issues of duplicate names when creating a new copy (more details in the section below, named 'Our Recommendation for a separate issue'. Not required for students). If not changed, the next tester might face difficulty while testing(which we don't want to see happening :)).&lt;br /&gt;
&lt;br /&gt;
'''Step 9''': This completes the testing. Reiterate from step 2, if you wish to test again.&lt;br /&gt;
&lt;br /&gt;
== '''Our Work''' ==&lt;br /&gt;
The code we created can be found below. We have also linked the video of our tests running with coverage to showcase the work we have done.&lt;br /&gt;
*[https://github.com/subhasekhar/expertiza GitHub Repository]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/pull/1524 Pull Request]&lt;br /&gt;
*[http://152.46.17.204:8080/ Deployed URL]&lt;br /&gt;
&lt;br /&gt;
The project could be run locally by cloning the [https://github.com/subhasekhar/expertiza GitHub Repository] and then running the following commands sequentially.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bundle install&lt;br /&gt;
rake db:create:all&lt;br /&gt;
rake db:migrate&lt;br /&gt;
rails s&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Our Recommendation for a Separate Issue''' (For Instructors only) ==&lt;br /&gt;
&lt;br /&gt;
In the current system, we identified an issue and would like to bring it to your notice.&lt;br /&gt;
&lt;br /&gt;
=== Existing System ===&lt;br /&gt;
&lt;br /&gt;
When a user attempts to copy an assignment, the code creates a duplicate ‘assignment’ object, renames it as ‘copy of’ + &amp;lt;name of existing assignment&amp;gt;, saves the object and redirects to the ‘edit’ page where user is supposed to rename the assignment to something meaningful.&lt;br /&gt;
&lt;br /&gt;
=== Issue ===&lt;br /&gt;
&lt;br /&gt;
The current naming scheme as ‘copy of’ + &amp;lt;name of existing assignment&amp;gt; is creating an issue. Say you are creating a copy for some assignment named ‘OSS Project’, the copy object will be named as ‘copy of OSS Project’, saved and redirected to edit page. Had there been an existing assignment names ‘copy of OSS Project’ (which is likely), the copy attempt shall fail, putting a flash message on the screen like:&lt;br /&gt;
&lt;br /&gt;
The assignment was not able to be copied. Please check the original assignment for missing information.&lt;br /&gt;
&lt;br /&gt;
The above error message is in no relevance to the real reason for the error. Even though the save attempt failed, a copy is being inserted into the assignments table in the database.&lt;br /&gt;
&lt;br /&gt;
=== Proposed Recommendation ===&lt;br /&gt;
&lt;br /&gt;
Current naming scheme must be changed to have randomness. The name of the assignment can be given a random string, or a string like ‘copy of ’ + &amp;lt;name of existing assignment&amp;gt; + &amp;lt;5 digit random code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The user is anyway supposed to edit the information in the edit page (where the application is redirected after copying is successful). So, here, he can change the name to have some meaningful string.&lt;br /&gt;
&lt;br /&gt;
== '''Team Information''' ==&lt;br /&gt;
# Sai Vishnu Muvvala (smuvval)&lt;br /&gt;
# Rohan Pillai (rspillai)&lt;br /&gt;
# Subha Sekhar Reddy Pereddy (speredd)&lt;br /&gt;
&lt;br /&gt;
Mentor: Yashad Trivedi (ytrived)&lt;br /&gt;
&amp;lt;br&amp;gt;Professor: Dr. Edward F. Gehringer (efg)&lt;br /&gt;
&amp;lt;br&amp;gt;Special shoutout to TA Suraj Siddharudh (ssiddha) for clearing my doubts regarding RSpec Tests.&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
#[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
#[https://relishapp.com/rspec RSpec Documentation]&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1959._Intelligent_copying_of_assignments_without_topics&amp;diff=126744</id>
		<title>CSC/ECE 517 Fall 2019 - E1959. Intelligent copying of assignments without topics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1959._Intelligent_copying_of_assignments_without_topics&amp;diff=126744"/>
		<updated>2019-10-31T03:19:59Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Design Pattern */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Wiki Page Description''' ==&lt;br /&gt;
This wiki page describes about the E1959. Intelligent copying of assignments without topics (Issue #1341). We will explain about the issue and also the steps to resolve the issue.&lt;br /&gt;
&lt;br /&gt;
== '''Introduction''' ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open source web application project developed using Ruby on Rails framework. Let us list some of the functionalities that Expertiza allows us to do under different roles:&lt;br /&gt;
&lt;br /&gt;
As an Instructor:&lt;br /&gt;
&lt;br /&gt;
We can create new assignments, edit the existing assignments, copy the assignments and also delete the assignment. The instructor can also add participants, reviewers to a particular assignment.&lt;br /&gt;
&lt;br /&gt;
As a Student:&lt;br /&gt;
&lt;br /&gt;
They can form teams to work on various projects and also bid for the projects they would like to work on. They can also review other student's work and can give feedback on them. They can also submit various types of documents including the URLs and wiki pages for their project or assignment submission.&lt;br /&gt;
&lt;br /&gt;
=='''Design Pattern'''==&lt;br /&gt;
Design patterns are not applicable as our task involved just modification of existing methods.&lt;br /&gt;
&lt;br /&gt;
== '''Problem Statement''' ==&lt;br /&gt;
&lt;br /&gt;
===Background===&lt;br /&gt;
When an instructor or a TA logs in to expertiza, s(he) can see a list of assignments under the assignment tab. An instructor or a TA can copy an assignment to use the same event in another course or as another assignment. When the user copies the assignment, the assignment is being copied without providing required flexibility to the users. Majorly, we are focused on implementing two features that shall add flexibility to the copy functionality.&lt;br /&gt;
&lt;br /&gt;
===Issues===&lt;br /&gt;
Issue 1: &lt;br /&gt;
While copying an assignment, the user (instructor or TA) is not asked whether they wants to copy the topics along with the assignment or not. Currently, it is copying the topics, without providing any choice for user to not have the topics.&lt;br /&gt;
&lt;br /&gt;
Issue 2:&lt;br /&gt;
While copying an assignment, the teams/students assigned to each topic are not getting copied. The user might want to copy the teams/students mapped to the topics as well.&lt;br /&gt;
&lt;br /&gt;
===Steps to generate the issue &amp;lt;Existing system, without our implementation&amp;gt; &amp;lt;Requires Instructor credentials&amp;gt;===&lt;br /&gt;
1) Login to expertiza.ncsu.edu using instructor credentials.&lt;br /&gt;
&lt;br /&gt;
2) Navigate to Assignments section. (Hover on Manage Tab -&amp;gt; Click on Assignments)&lt;br /&gt;
&lt;br /&gt;
3) Copy the assignment of your choice by clicking copy icon located on the right side the specific assignment.&lt;br /&gt;
&lt;br /&gt;
Above steps copy the assignment. Remember that this process did not give you the flexibility of choosing whether to copy/not copy.&lt;br /&gt;
&lt;br /&gt;
1) Topics linked to assignment.&lt;br /&gt;
&lt;br /&gt;
2) Students/Teams linked to each topic.&lt;br /&gt;
&lt;br /&gt;
Present system copies the topics but doesn't copy the students, even if you don't want it this way. Our implementation is to provide the user with the functionality to choose to copy/not copy topics linked to an assignment and students/teams linked to each topic.&lt;br /&gt;
&lt;br /&gt;
== Testing our work ==&lt;br /&gt;
By following the below stated process, you can test the implementation that we worked on, which is:&lt;br /&gt;
Target 1: Provide the user with the option to select copy/not copy topics linked to an assignment.&lt;br /&gt;
Target 2: Provide the user with the option to select copy/not copy students/teams linked to a topic.&lt;br /&gt;
&lt;br /&gt;
'''Step 1''': Visit http://152.46.17.204:8080/ . Enter the credentials:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Username:&amp;lt;/b&amp;gt; instructor6&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Password:&amp;lt;/b&amp;gt; password&lt;br /&gt;
&lt;br /&gt;
'''Step 2''': On the top, hover on Manage tab. Click Assignments.&lt;br /&gt;
&lt;br /&gt;
'''Step 3''': Choose an assignment that you want to copy. We would recommend you choosing a robust assignment that has Topics and students/teams associated with topics. OSS Projects generally have these. [Please make sure that you are under the Assignments tab or select the assignment besides the course]&lt;br /&gt;
&lt;br /&gt;
If you want to check and see if an assignment has topics or not, click on Edit (pencil icon) on the right. &lt;br /&gt;
- If this assignment has topics, you will see a tab named Topics on the right of General tab. If there are no topics, you won't see Topics tab.&lt;br /&gt;
- On clicking the Topics tab, you can see the list of topics. If students/teams are assigned to topics, you will see student names (alias representations, like student1234 student2343) under each Topic name in 'Topic name(s) column'. If you don't see any such, it means that teams/students are not assigned to topics.&lt;br /&gt;
&lt;br /&gt;
'''Step 4''': After you chose the assignment that you want to copy, click on the copy icon on the right of the corresponding assignment. &lt;br /&gt;
&lt;br /&gt;
Where is the copy button located? Check the image below.&lt;br /&gt;
[[File: Copy oss.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 5''': Clicking the copy button will take you to copy options page, where you can select the options for copying. The page looks like this:&lt;br /&gt;
[[File: oss_copy6.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 6''': Choose the option you wish to test. Click create. Now the assignment shall be copied with the options you provided.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 7''': After copying, the application takes you to 'Edit' page for the assignment where you can edit/view the details pertaining to the assignment. Here, you can test our implementation.&lt;br /&gt;
In step 6, if you chose to &lt;br /&gt;
&lt;br /&gt;
- copy without topics: You won't see 'Topics' tab near General tab.&lt;br /&gt;
    &lt;br /&gt;
- copy with topics: You will see 'Topics' tab near General tab(As shown in image below). Navigate to Topics tab where you can see and check that the respective topics have been copied. You won't see students under each topic in 'Topic Name(s)' column(If there are topics under Topics tab in original assignment from which you created this copy).&lt;br /&gt;
&lt;br /&gt;
- copy with topics and students: You will see 'Topics' tab near General tab(As shown in image below). Navigate to Topics tab where you can see and check that the respective topics have been copied. You will see students under each topic in 'Topic Name(s)' column(If there are topics and students under Topics tab in original assignment from which you created this copy).&lt;br /&gt;
&lt;br /&gt;
[[File: oss_copy7.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
'''Step 8''': Please rename the assignment to some random string of your choice. Having it as 'Copy of'.. is creating issues of duplicate names when creating a new copy (more details in the section below, named 'Our Recommendation for a separate issue'. Not required for students). If not changed, the next tester might face difficulty while testing(which we don't want to see happening :)).&lt;br /&gt;
&lt;br /&gt;
'''Step 9''': This completes the testing. Reiterate from step 2, if you wish to test again.&lt;br /&gt;
&lt;br /&gt;
== Code Modification ==&lt;br /&gt;
We have modified 5 files and mainly we have modified code in two classes they are:&lt;br /&gt;
assignments_controller.rb under the apps/controllers&lt;br /&gt;
assignment_form.rb under the apps/models&lt;br /&gt;
&lt;br /&gt;
We have created a new web page that is triggered on clicking the copy icon for the assignment. The view page is the checktopicscopy.html.erb under the views/assignments folder.&lt;br /&gt;
&lt;br /&gt;
== For the reviewers ==&lt;br /&gt;
1) Please log in using the instructor credentials they are:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Username:&amp;lt;/b&amp;gt; instructor6 &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Password:&amp;lt;/b&amp;gt; password&lt;br /&gt;
&lt;br /&gt;
2) Then select the assignment tab under manage.&lt;br /&gt;
&lt;br /&gt;
3) The assignment page opens and then select the copy button of the desired assignment. [NOTE: Before copying see that the assignment already has the topics or not by selecting the edit icon of the assignment]&lt;br /&gt;
&lt;br /&gt;
4) If that particular assignment does not have the topics, choose another assignment which has topics to test our functionality.&lt;br /&gt;
&lt;br /&gt;
5) On clicking the copy icon you will be redirected to the web page which has options, select one of the desired options and select the create button.&lt;br /&gt;
&lt;br /&gt;
5) On clicking the Create button you will be redirected to the edit page of the newly created assignment. In the edit page if the topics tab appears it means that the topics are copied and you can check whether the students under the topics are copied or not. [NOTE: if the topics tab is absent beside the General Tab it indicates that the topics are not copied with assignment]&lt;br /&gt;
&lt;br /&gt;
6) Check the new assignment based on the choice you selected while creating a copy of an assignment.&lt;br /&gt;
&lt;br /&gt;
== Testing (Test Plan) ==&lt;br /&gt;
&lt;br /&gt;
=== Automated Testing using RSpec ===&lt;br /&gt;
&lt;br /&gt;
We have made changes to the test cases and both the assignment_form.rb in models and also the assignments_controller.rb in controllers have passed all the test cases.&lt;br /&gt;
&lt;br /&gt;
== Our Work ==&lt;br /&gt;
The code we created can be found below. We have also linked the video of our tests running with coverage to showcase the work we have done.&lt;br /&gt;
*[https://github.com/subhasekhar/expertiza GitHub Repo]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/pull/1524 Pull request]&lt;br /&gt;
*[http://152.46.17.204:8080/ Deployed URL]&lt;br /&gt;
&lt;br /&gt;
== Our Recommendation for a Separate Issue &amp;lt;For Instructors only&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
In the current system, we identified an issue and would like to bring it to your notice.&lt;br /&gt;
&lt;br /&gt;
=== Existing System ===&lt;br /&gt;
&lt;br /&gt;
When a user attempts to copy an assignment, the code creates a duplicate ‘assignment’ object, renames it as ‘copy of’ + &amp;lt;name of existing assignment&amp;gt;, saves the object and redirects to the ‘edit’ page where user is supposed to rename the assignment to something meaningful.&lt;br /&gt;
&lt;br /&gt;
=== Issue ===&lt;br /&gt;
&lt;br /&gt;
The current naming scheme as ‘copy of’ + &amp;lt;name of existing assignment&amp;gt; is creating an issue. Say you are creating a copy for some assignment named ‘OSS Project’, the copy object will be named as ‘copy of OSS Project’, saved and redirected to edit page. Had there been an existing assignment names ‘copy of OSS Project’ (which is likely), the copy attempt shall fail, putting a flash message on the screen like:&lt;br /&gt;
&lt;br /&gt;
The assignment was not able to be copied. Please check the original assignment for missing information.&lt;br /&gt;
&lt;br /&gt;
The above error message is in no relevance to the real reason for the error. Even though the save attempt failed, a copy is being inserted into the assignments table in the database.&lt;br /&gt;
&lt;br /&gt;
=== Proposed Recommendation ===&lt;br /&gt;
&lt;br /&gt;
Current naming scheme must be changed to have randomness. The name of the assignment can be given a random string, or a string like ‘copy of ’ + &amp;lt;name of existing assignment&amp;gt; + &amp;lt;5 digit random code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The user is anyway supposed to edit the information in the edit page (where the application is redirected after copying is successful). So, here, he can change the name to have some meaningful string.&lt;br /&gt;
&lt;br /&gt;
== Team Information ==&lt;br /&gt;
1) Sai Vishnu Muvvala (smuvval)&lt;br /&gt;
&lt;br /&gt;
2) Rohan Pillai (rspillai)&lt;br /&gt;
&lt;br /&gt;
3) Subha Sekhar Reddy Pereddy (speredd)&lt;br /&gt;
&lt;br /&gt;
Mentor: Yashad Trivedi&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1959._Intelligent_copying_of_assignments_without_topics&amp;diff=126743</id>
		<title>CSC/ECE 517 Fall 2019 - E1959. Intelligent copying of assignments without topics</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2019_-_E1959._Intelligent_copying_of_assignments_without_topics&amp;diff=126743"/>
		<updated>2019-10-31T03:19:43Z</updated>

		<summary type="html">&lt;p&gt;Speredd: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Wiki Page Description''' ==&lt;br /&gt;
This wiki page describes about the E1959. Intelligent copying of assignments without topics (Issue #1341). We will explain about the issue and also the steps to resolve the issue.&lt;br /&gt;
&lt;br /&gt;
== '''Introduction''' ==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an open source web application project developed using Ruby on Rails framework. Let us list some of the functionalities that Expertiza allows us to do under different roles:&lt;br /&gt;
&lt;br /&gt;
As an Instructor:&lt;br /&gt;
&lt;br /&gt;
We can create new assignments, edit the existing assignments, copy the assignments and also delete the assignment. The instructor can also add participants, reviewers to a particular assignment.&lt;br /&gt;
&lt;br /&gt;
As a Student:&lt;br /&gt;
&lt;br /&gt;
They can form teams to work on various projects and also bid for the projects they would like to work on. They can also review other student's work and can give feedback on them. They can also submit various types of documents including the URLs and wiki pages for their project or assignment submission.&lt;br /&gt;
&lt;br /&gt;
=='''Design Pattern'''==&lt;br /&gt;
Design patterns are not applicable as our task involved just modification of existing methods methods.&lt;br /&gt;
&lt;br /&gt;
== '''Problem Statement''' ==&lt;br /&gt;
&lt;br /&gt;
===Background===&lt;br /&gt;
When an instructor or a TA logs in to expertiza, s(he) can see a list of assignments under the assignment tab. An instructor or a TA can copy an assignment to use the same event in another course or as another assignment. When the user copies the assignment, the assignment is being copied without providing required flexibility to the users. Majorly, we are focused on implementing two features that shall add flexibility to the copy functionality.&lt;br /&gt;
&lt;br /&gt;
===Issues===&lt;br /&gt;
Issue 1: &lt;br /&gt;
While copying an assignment, the user (instructor or TA) is not asked whether they wants to copy the topics along with the assignment or not. Currently, it is copying the topics, without providing any choice for user to not have the topics.&lt;br /&gt;
&lt;br /&gt;
Issue 2:&lt;br /&gt;
While copying an assignment, the teams/students assigned to each topic are not getting copied. The user might want to copy the teams/students mapped to the topics as well.&lt;br /&gt;
&lt;br /&gt;
===Steps to generate the issue &amp;lt;Existing system, without our implementation&amp;gt; &amp;lt;Requires Instructor credentials&amp;gt;===&lt;br /&gt;
1) Login to expertiza.ncsu.edu using instructor credentials.&lt;br /&gt;
&lt;br /&gt;
2) Navigate to Assignments section. (Hover on Manage Tab -&amp;gt; Click on Assignments)&lt;br /&gt;
&lt;br /&gt;
3) Copy the assignment of your choice by clicking copy icon located on the right side the specific assignment.&lt;br /&gt;
&lt;br /&gt;
Above steps copy the assignment. Remember that this process did not give you the flexibility of choosing whether to copy/not copy.&lt;br /&gt;
&lt;br /&gt;
1) Topics linked to assignment.&lt;br /&gt;
&lt;br /&gt;
2) Students/Teams linked to each topic.&lt;br /&gt;
&lt;br /&gt;
Present system copies the topics but doesn't copy the students, even if you don't want it this way. Our implementation is to provide the user with the functionality to choose to copy/not copy topics linked to an assignment and students/teams linked to each topic.&lt;br /&gt;
&lt;br /&gt;
== Testing our work ==&lt;br /&gt;
By following the below stated process, you can test the implementation that we worked on, which is:&lt;br /&gt;
Target 1: Provide the user with the option to select copy/not copy topics linked to an assignment.&lt;br /&gt;
Target 2: Provide the user with the option to select copy/not copy students/teams linked to a topic.&lt;br /&gt;
&lt;br /&gt;
'''Step 1''': Visit http://152.46.17.204:8080/ . Enter the credentials:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Username:&amp;lt;/b&amp;gt; instructor6&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Password:&amp;lt;/b&amp;gt; password&lt;br /&gt;
&lt;br /&gt;
'''Step 2''': On the top, hover on Manage tab. Click Assignments.&lt;br /&gt;
&lt;br /&gt;
'''Step 3''': Choose an assignment that you want to copy. We would recommend you choosing a robust assignment that has Topics and students/teams associated with topics. OSS Projects generally have these. [Please make sure that you are under the Assignments tab or select the assignment besides the course]&lt;br /&gt;
&lt;br /&gt;
If you want to check and see if an assignment has topics or not, click on Edit (pencil icon) on the right. &lt;br /&gt;
- If this assignment has topics, you will see a tab named Topics on the right of General tab. If there are no topics, you won't see Topics tab.&lt;br /&gt;
- On clicking the Topics tab, you can see the list of topics. If students/teams are assigned to topics, you will see student names (alias representations, like student1234 student2343) under each Topic name in 'Topic name(s) column'. If you don't see any such, it means that teams/students are not assigned to topics.&lt;br /&gt;
&lt;br /&gt;
'''Step 4''': After you chose the assignment that you want to copy, click on the copy icon on the right of the corresponding assignment. &lt;br /&gt;
&lt;br /&gt;
Where is the copy button located? Check the image below.&lt;br /&gt;
[[File: Copy oss.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 5''': Clicking the copy button will take you to copy options page, where you can select the options for copying. The page looks like this:&lt;br /&gt;
[[File: oss_copy6.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 6''': Choose the option you wish to test. Click create. Now the assignment shall be copied with the options you provided.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Step 7''': After copying, the application takes you to 'Edit' page for the assignment where you can edit/view the details pertaining to the assignment. Here, you can test our implementation.&lt;br /&gt;
In step 6, if you chose to &lt;br /&gt;
&lt;br /&gt;
- copy without topics: You won't see 'Topics' tab near General tab.&lt;br /&gt;
    &lt;br /&gt;
- copy with topics: You will see 'Topics' tab near General tab(As shown in image below). Navigate to Topics tab where you can see and check that the respective topics have been copied. You won't see students under each topic in 'Topic Name(s)' column(If there are topics under Topics tab in original assignment from which you created this copy).&lt;br /&gt;
&lt;br /&gt;
- copy with topics and students: You will see 'Topics' tab near General tab(As shown in image below). Navigate to Topics tab where you can see and check that the respective topics have been copied. You will see students under each topic in 'Topic Name(s)' column(If there are topics and students under Topics tab in original assignment from which you created this copy).&lt;br /&gt;
&lt;br /&gt;
[[File: oss_copy7.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
'''Step 8''': Please rename the assignment to some random string of your choice. Having it as 'Copy of'.. is creating issues of duplicate names when creating a new copy (more details in the section below, named 'Our Recommendation for a separate issue'. Not required for students). If not changed, the next tester might face difficulty while testing(which we don't want to see happening :)).&lt;br /&gt;
&lt;br /&gt;
'''Step 9''': This completes the testing. Reiterate from step 2, if you wish to test again.&lt;br /&gt;
&lt;br /&gt;
== Code Modification ==&lt;br /&gt;
We have modified 5 files and mainly we have modified code in two classes they are:&lt;br /&gt;
assignments_controller.rb under the apps/controllers&lt;br /&gt;
assignment_form.rb under the apps/models&lt;br /&gt;
&lt;br /&gt;
We have created a new web page that is triggered on clicking the copy icon for the assignment. The view page is the checktopicscopy.html.erb under the views/assignments folder.&lt;br /&gt;
&lt;br /&gt;
== For the reviewers ==&lt;br /&gt;
1) Please log in using the instructor credentials they are:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Username:&amp;lt;/b&amp;gt; instructor6 &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;Password:&amp;lt;/b&amp;gt; password&lt;br /&gt;
&lt;br /&gt;
2) Then select the assignment tab under manage.&lt;br /&gt;
&lt;br /&gt;
3) The assignment page opens and then select the copy button of the desired assignment. [NOTE: Before copying see that the assignment already has the topics or not by selecting the edit icon of the assignment]&lt;br /&gt;
&lt;br /&gt;
4) If that particular assignment does not have the topics, choose another assignment which has topics to test our functionality.&lt;br /&gt;
&lt;br /&gt;
5) On clicking the copy icon you will be redirected to the web page which has options, select one of the desired options and select the create button.&lt;br /&gt;
&lt;br /&gt;
5) On clicking the Create button you will be redirected to the edit page of the newly created assignment. In the edit page if the topics tab appears it means that the topics are copied and you can check whether the students under the topics are copied or not. [NOTE: if the topics tab is absent beside the General Tab it indicates that the topics are not copied with assignment]&lt;br /&gt;
&lt;br /&gt;
6) Check the new assignment based on the choice you selected while creating a copy of an assignment.&lt;br /&gt;
&lt;br /&gt;
== Testing (Test Plan) ==&lt;br /&gt;
&lt;br /&gt;
=== Automated Testing using RSpec ===&lt;br /&gt;
&lt;br /&gt;
We have made changes to the test cases and both the assignment_form.rb in models and also the assignments_controller.rb in controllers have passed all the test cases.&lt;br /&gt;
&lt;br /&gt;
== Our Work ==&lt;br /&gt;
The code we created can be found below. We have also linked the video of our tests running with coverage to showcase the work we have done.&lt;br /&gt;
*[https://github.com/subhasekhar/expertiza GitHub Repo]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/pull/1524 Pull request]&lt;br /&gt;
*[http://152.46.17.204:8080/ Deployed URL]&lt;br /&gt;
&lt;br /&gt;
== Our Recommendation for a Separate Issue &amp;lt;For Instructors only&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
In the current system, we identified an issue and would like to bring it to your notice.&lt;br /&gt;
&lt;br /&gt;
=== Existing System ===&lt;br /&gt;
&lt;br /&gt;
When a user attempts to copy an assignment, the code creates a duplicate ‘assignment’ object, renames it as ‘copy of’ + &amp;lt;name of existing assignment&amp;gt;, saves the object and redirects to the ‘edit’ page where user is supposed to rename the assignment to something meaningful.&lt;br /&gt;
&lt;br /&gt;
=== Issue ===&lt;br /&gt;
&lt;br /&gt;
The current naming scheme as ‘copy of’ + &amp;lt;name of existing assignment&amp;gt; is creating an issue. Say you are creating a copy for some assignment named ‘OSS Project’, the copy object will be named as ‘copy of OSS Project’, saved and redirected to edit page. Had there been an existing assignment names ‘copy of OSS Project’ (which is likely), the copy attempt shall fail, putting a flash message on the screen like:&lt;br /&gt;
&lt;br /&gt;
The assignment was not able to be copied. Please check the original assignment for missing information.&lt;br /&gt;
&lt;br /&gt;
The above error message is in no relevance to the real reason for the error. Even though the save attempt failed, a copy is being inserted into the assignments table in the database.&lt;br /&gt;
&lt;br /&gt;
=== Proposed Recommendation ===&lt;br /&gt;
&lt;br /&gt;
Current naming scheme must be changed to have randomness. The name of the assignment can be given a random string, or a string like ‘copy of ’ + &amp;lt;name of existing assignment&amp;gt; + &amp;lt;5 digit random code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The user is anyway supposed to edit the information in the edit page (where the application is redirected after copying is successful). So, here, he can change the name to have some meaningful string.&lt;br /&gt;
&lt;br /&gt;
== Team Information ==&lt;br /&gt;
1) Sai Vishnu Muvvala (smuvval)&lt;br /&gt;
&lt;br /&gt;
2) Rohan Pillai (rspillai)&lt;br /&gt;
&lt;br /&gt;
3) Subha Sekhar Reddy Pereddy (speredd)&lt;br /&gt;
&lt;br /&gt;
Mentor: Yashad Trivedi&lt;/div&gt;</summary>
		<author><name>Speredd</name></author>
	</entry>
</feed>