<?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=Amundra</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=Amundra"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Amundra"/>
	<updated>2026-09-12T06:02:39Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2235._Issues_related_to_meta-reviewing&amp;diff=145628</id>
		<title>CSC/ECE 517 Spring 2022 - E2235. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2235._Issues_related_to_meta-reviewing&amp;diff=145628"/>
		<updated>2022-05-02T03:25:58Z</updated>

		<summary type="html">&lt;p&gt;Amundra: &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. The task is to fix these issues so that this feature can be used again.&lt;br /&gt;
&lt;br /&gt;
* When a user requests a new meta-review, (s)he is unable to get Begin (refer to above image) link to start a new meta-review. (Issue #198) &lt;br /&gt;
* When a user requests a new meta-review, the field which says the number of meta-reviews left ( refer to above image “Numbers of Meta-reviews left:”) does not change and the button to request a new meta-review disappears.&lt;br /&gt;
&lt;br /&gt;
===Previous Work===&lt;br /&gt;
&lt;br /&gt;
This assignment is a repeat of E2025 which was assigned to students last semester, Spring 2020.&lt;br /&gt;
&lt;br /&gt;
Details of the previous implementation can be found here:&lt;br /&gt;
[CSC/ECE 517 Spring 2020 - E2025: Issues Related to Meta - Reviewing]&lt;br /&gt;
&lt;br /&gt;
Our goals are to update the logic, refactor non-DRY code, and fix bugs.&lt;br /&gt;
&lt;br /&gt;
== '''Approach taken to solve the issues''' ==&lt;br /&gt;
* We started by looking at issues happening for meta reviews in beta branch&lt;br /&gt;
* Next we tried to understand difference between meta-review and review.&lt;br /&gt;
* Further we tried to explore the possibility of combining meta-reviews and review to follow DRY principle in code.&lt;br /&gt;
* But we observed that since meta review is advanced stage in review cycle and each meta-review is associated with some previous review and reviewee, there is no way to have single model and controller.&lt;br /&gt;
* So we scrapped the idea of changing the design at root level.&lt;br /&gt;
* The best approach here to handle current meta-review issues is to fix them individually.&lt;br /&gt;
* The details on how each issue will be approached and fixed is given below.&lt;br /&gt;
====* None of the issues need any change of workflow as per preliminary analysis, thus no UML diagram is added.====&lt;br /&gt;
&lt;br /&gt;
== '''[https://github.com/expertiza/expertiza/issues/198 #198 - Begin link not working correctly]''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
&lt;br /&gt;
In beta branch begin is not working correctly. The page crashes sometime:&lt;br /&gt;
Observations:&lt;br /&gt;
* While selecting &amp;quot;Metareview&amp;quot; rubric in local db, the begin link crashed.&lt;br /&gt;
* Following the code we observed it was returning questionnaire list, where only object was expected.&lt;br /&gt;
* Fixing it, we were able to see page redirecting successfully.&lt;br /&gt;
[[File: Meta review rubric.png | 400px]]&lt;br /&gt;
[[File: Request disappear.jpeg | 400px]]&lt;br /&gt;
[[File: Meta begin crash.png | 400px]]&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We will be looking into this issue further, if the questionnaire was supposed to be the way it is?&lt;br /&gt;
* Further the loaded page doesn't have any portion of view for meta-review, instead it shows just plain old review. We will be checking the history of this change and try to find at what time partial view file was removed from code.&lt;br /&gt;
* We will be looking into the response_controller.rb, response_helper.rb, and metareview_response_map.rb files to fix the issue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Solution:====&lt;br /&gt;
* The issue was that when a user requests a meta-review, instead of getting questionnaire for meta-review we get the questionnaire for all the available rubrics for the given assignment. &lt;br /&gt;
We changed this such that when a meta-review is requested, the response will only have a rubric quetionnaire for meta-review.&lt;br /&gt;
&lt;br /&gt;
* The bug is found and fixed and can be checked here:&lt;br /&gt;
https://github.com/amundra02/expertiza/commit/f3f2343ce96a43e81eb7893a415f9077dbf7f32f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Submit button isn't available for meta-reviews''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* The issue at present is there is no submit button for meta-reviews.&lt;br /&gt;
* Users should see save and submit buttons as part of the meta-review form similar to the behavior as the review form.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We would be looking into the response.html.erb file to fix the issue.&lt;br /&gt;
&lt;br /&gt;
The bug is found and fixed and can be checked here:&lt;br /&gt;
https://github.com/amundra02/expertiza/commit/d0cd6b2c3816115360e798f8962a2b8f5e64db2a&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Hide meta-review deadline under review strategy when use meta review deadline checkbox is unchecked under due date ''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* The issue at present is that when the meta-review deadline checkbox under due-date has no impact on meta-review deadline under review strategy.&lt;br /&gt;
* Users should see the meta-review deadline under review strategy only when meta-review deadline checkbox is checked.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We would be looking into the review_stragtegy.html.erb file to fix the issue.&lt;br /&gt;
==== Changes:====&lt;br /&gt;
* We have added inline style to the section in meta-review under review strategy to hide/show the section based on a ruby variable. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''[https://github.com/RPHolloway/expertiza/issues/32 #32 - Remove all debug comments in the UI]''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
&lt;br /&gt;
It was noted in the previous team's implementation that multiple debugging comments were showing up during their video testing.&lt;br /&gt;
&lt;br /&gt;
Debug messages shown when viewing a completed meta review:&lt;br /&gt;
[[File:Debug_comments.png]]&lt;br /&gt;
&lt;br /&gt;
===Changes===&lt;br /&gt;
There was an error tag in view, which is corrected:&lt;br /&gt;
https://github.com/amundra02/expertiza/commit/3e535992876291738334e2504bc5ef22bd8610d0&lt;br /&gt;
&lt;br /&gt;
== '''&amp;quot;Numbers of Meta-reviews left:” does not update after a user requests a review.''' ==&lt;br /&gt;
===Issue Description===&lt;br /&gt;
* Number of meta-reviews left should decrement when a user requests a meta-review. Current behavior only decremented when a review was submitted.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* This isn't an issue and is the expected behavior. The same logic is for reviews also. Number of left reviews should only be reduced once any review is submitted.&lt;br /&gt;
&lt;br /&gt;
== '''&amp;quot;Request a new meta-review&amp;quot; button bugs''' ==&lt;br /&gt;
===Issue Description===&lt;br /&gt;
Currently after the &amp;quot;Request a new meta-review&amp;quot; button is clicked the button disappears and no new meta-review can be requested. The &amp;quot;Request new a meta-review&amp;quot; button should be hidden only when:&lt;br /&gt;
&lt;br /&gt;
* The number of meta-reviews in-progress is greater than the maximum allowed outstanding reviews.&lt;br /&gt;
* The number of reviews allowed is limited AND the total number of meta-reviews completed or in-progress is greater than the number allowed.&lt;br /&gt;
&lt;br /&gt;
[[File: Request meta.png | 600px]]&lt;br /&gt;
[[File: Request button disappear.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* This issue deals with the view &amp;quot;list.html.erb&amp;quot; under /app/views/student_review. The code below shows the conditional used to display the &amp;quot;Request new meta-review&amp;quot; button.&lt;br /&gt;
The code changes are done to fix this issue are availabel here: https://github.com/amundra02/expertiza/commit/d319dbf02100501c657c1257917c325607192a1f&lt;br /&gt;
&lt;br /&gt;
[[File:Request meta review code.png|1200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Request for meta review is breaking the website when there are no review''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* When there are no review available the request for meta-review deadline is crashing the site. &lt;br /&gt;
==== Plan:====&lt;br /&gt;
* Fixing it, we were able to show a small error message instead of allowing the site to crash&lt;br /&gt;
Code changes: https://github.com/amundra02/expertiza/commit/de9366941a7932af1cd9c0bf0c946f2ac05638c0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Testing Plan''' ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Testing ===&lt;br /&gt;
&lt;br /&gt;
1. Log in as super_administrator2.  Password is &amp;quot;password&amp;quot;. Click on mange...-&amp;gt; Assignments.&lt;br /&gt;
&lt;br /&gt;
2. Create a new Assignment by clicking the &amp;quot;+&amp;quot; button. Give the assignment these fields: Name, Course and Submission Directory.&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_general.png]]&lt;br /&gt;
&lt;br /&gt;
3. Go to &amp;quot;Due Dates&amp;quot; tab and check &amp;quot;Use meta-review deadline&amp;quot; and then set the due dates 1 into the FUTURE for each review round and meta-review. Leave everything else as default as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_duedates.png]]&lt;br /&gt;
&lt;br /&gt;
4. Go to the &amp;quot;Rubrics&amp;quot; tab and populate as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_rubrics.png]]&lt;br /&gt;
&lt;br /&gt;
5. OPTIONAL: Go to &amp;quot;Review strategy page and select &amp;quot;Has meta-review limit?&amp;quot; and set the number of allowed and required meta-reviews.&lt;br /&gt;
&lt;br /&gt;
6. Once done, &amp;quot;Create&amp;quot; the assignment.&lt;br /&gt;
&lt;br /&gt;
7. Go back to Assignments. manage...-&amp;gt; Assignments.&lt;br /&gt;
&lt;br /&gt;
8. Find the newly created assignment and click on &amp;quot;Add participant&amp;quot;. Add the students below:&lt;br /&gt;
&lt;br /&gt;
[[File:add_participants.png]]&lt;br /&gt;
&lt;br /&gt;
9. Go to manage...Impersonate User and impersonate &amp;quot;Student485&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. Go to the newly created assignment and submit a link for the assignment.&lt;br /&gt;
&lt;br /&gt;
11. Revert back to super_administrator2 and change the submission due date to a date in the PAST so we are currently in the review stage.&lt;br /&gt;
&lt;br /&gt;
12. Impersonate student486 and request for a new review under others work, submit the review.&lt;br /&gt;
&lt;br /&gt;
13. Revert back to super_administrator2 as previously described and change the review due date to be passed so we are currently in the meta-review stage.&lt;br /&gt;
&lt;br /&gt;
14. Impersonate as student485 and Request for a new meta review.&lt;br /&gt;
&lt;br /&gt;
15. Press &amp;quot;Begin&amp;quot; and complete the meta-review&lt;br /&gt;
&lt;br /&gt;
16. When the review is complete, the &amp;quot;Begin&amp;quot; should disappear and be replaced with &amp;quot;View&amp;quot; and &amp;quot;Edit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Automated Test Plan===&lt;br /&gt;
1. We will target to get all existing test passed, to make sure no existing functionality for other features break.&lt;br /&gt;
&lt;br /&gt;
2. Also, we will be adding few test cases for the issues fixed in this project and hoping to increase coverage.&lt;br /&gt;
&lt;br /&gt;
=====New test case added:===== &lt;br /&gt;
Objective: To find the behavior of questionnaire function in metareview_response_map.rb when there is no questionnaire in assignment.&lt;br /&gt;
Expected behavior: It should return nil object, rather than some garbage object. &lt;br /&gt;
&lt;br /&gt;
The test case added increased test coverage by small margin.&lt;br /&gt;
&lt;br /&gt;
Code changes: https://github.com/amundra02/expertiza/commit/bca6534e78f1edb46dc22e907c23af6bcbef952b&lt;br /&gt;
&lt;br /&gt;
== '''Important Links''' ==&lt;br /&gt;
# Video Link: https://drive.google.com/file/d/1ZLcVpftAaR9XpmlgMlVeWxfVl-PlsqJn/view?usp=sharing&lt;br /&gt;
# Pull Request: https://github.com/expertiza/expertiza/pull/2397&lt;br /&gt;
# Project Repo: https://github.com/amundra02/expertiza&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2235._Issues_related_to_meta-reviewing&amp;diff=145576</id>
		<title>CSC/ECE 517 Spring 2022 - E2235. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2235._Issues_related_to_meta-reviewing&amp;diff=145576"/>
		<updated>2022-05-01T16:30:07Z</updated>

		<summary type="html">&lt;p&gt;Amundra: &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. The task is to fix these issues so that this feature can be used again.&lt;br /&gt;
&lt;br /&gt;
* When a user requests a new meta-review, (s)he is unable to get Begin (refer to above image) link to start a new meta-review. (Issue #198) &lt;br /&gt;
* When a user requests a new meta-review, the field which says the number of meta-reviews left ( refer to above image “Numbers of Meta-reviews left:”) does not change and the button to request a new meta-review disappears.&lt;br /&gt;
&lt;br /&gt;
===Previous Work===&lt;br /&gt;
&lt;br /&gt;
This assignment is a repeat of E2025 which was assigned to students last semester, Spring 2020.&lt;br /&gt;
&lt;br /&gt;
Details of the previous implementation can be found here:&lt;br /&gt;
[CSC/ECE 517 Spring 2020 - E2025: Issues Related to Meta - Reviewing]&lt;br /&gt;
&lt;br /&gt;
Our goals are to update the logic, refactor non-DRY code, and fix bugs.&lt;br /&gt;
&lt;br /&gt;
== '''Approach taken to solve the issues''' ==&lt;br /&gt;
* We started by looking at issues happening for meta reviews in beta branch&lt;br /&gt;
* Next we tried to understand difference between meta-review and review.&lt;br /&gt;
* Further we tried to explore the possibility of combining meta-reviews and review to follow DRY principle in code.&lt;br /&gt;
* But we observed that since meta review is advanced stage in review cycle and each meta-review is associated with some previous review and reviewee, there is no way to have single model and controller.&lt;br /&gt;
* So we scrapped the idea of changing the design at root level.&lt;br /&gt;
* The best approach here to handle current meta-review issues is to fix them individually.&lt;br /&gt;
* The details on how each issue will be approached and fixed is given below.&lt;br /&gt;
====* None of the issues need any change of workflow as per preliminary analysis, thus no UML diagram is added.====&lt;br /&gt;
&lt;br /&gt;
== '''[https://github.com/expertiza/expertiza/issues/198 #198 - Begin link not working correctly]''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
&lt;br /&gt;
In beta branch begin is not working correctly. The page crashes sometime:&lt;br /&gt;
Observations:&lt;br /&gt;
* While selecting &amp;quot;Metareview&amp;quot; rubric in local db, the begin link crashed.&lt;br /&gt;
* Following the code we observed it was returning questionnaire list, where only object was expected.&lt;br /&gt;
* Fixing it, we were able to see page redirecting successfully.&lt;br /&gt;
[[File: Meta review rubric.png | 400px]]&lt;br /&gt;
[[File: Request disappear.jpeg | 400px]]&lt;br /&gt;
[[File: Meta begin crash.png | 400px]]&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We will be looking into this issue further, if the questionnaire was supposed to be the way it is?&lt;br /&gt;
* Further the loaded page doesn't have any portion of view for meta-review, instead it shows just plain old review. We will be checking the history of this change and try to find at what time partial view file was removed from code.&lt;br /&gt;
* We will be looking into the response_controller.rb, response_helper.rb, and metareview_response_map.rb files to fix the issue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Solution:====&lt;br /&gt;
* The issue was that when a user requests a meta-review, instead of getting questionnaire for meta-review we get the questionnaire for all the available rubrics for the given assignment. &lt;br /&gt;
We changed this such that when a meta-review is requested, the response will only have a rubric quetionnaire for meta-review.&lt;br /&gt;
&lt;br /&gt;
* The bug is found and fixed and can be checked here:&lt;br /&gt;
https://github.com/amundra02/expertiza/commit/f3f2343ce96a43e81eb7893a415f9077dbf7f32f&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Submit button isn't available for meta-reviews''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* The issue at present is there is no submit button for meta-reviews.&lt;br /&gt;
* Users should see save and submit buttons as part of the meta-review form similar to the behavior as the review form.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We would be looking into the response.html.erb file to fix the issue.&lt;br /&gt;
&lt;br /&gt;
The bug is found and fixed and can be checked here:&lt;br /&gt;
https://github.com/amundra02/expertiza/commit/d0cd6b2c3816115360e798f8962a2b8f5e64db2a&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Hide meta-review deadline under review strategy when use meta review deadline checkbox is unchecked under due date ''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* The issue at present is that when the meta-review deadline checkbox under due-date has no impact on meta-review deadline under review strategy.&lt;br /&gt;
* Users should see the meta-review deadline under review strategy only when meta-review deadline checkbox is checked.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We would be looking into the review_stragtegy.html.erb file to fix the issue.&lt;br /&gt;
==== Changes:====&lt;br /&gt;
* We have added inline style to the section in meta-review under review strategy to hide/show the section based on a ruby variable. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''[https://github.com/RPHolloway/expertiza/issues/32 #32 - Remove all debug comments in the UI]''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
&lt;br /&gt;
It was noted in the previous team's implementation that multiple debugging comments were showing up during their video testing.&lt;br /&gt;
&lt;br /&gt;
Debug messages shown when viewing a completed meta review:&lt;br /&gt;
[[File:Debug_comments.png]]&lt;br /&gt;
&lt;br /&gt;
===Changes===&lt;br /&gt;
There was an error tag in view, which is corrected:&lt;br /&gt;
https://github.com/amundra02/expertiza/commit/3e535992876291738334e2504bc5ef22bd8610d0&lt;br /&gt;
&lt;br /&gt;
== '''&amp;quot;Numbers of Meta-reviews left:” does not update after a user requests a review.''' ==&lt;br /&gt;
===Issue Description===&lt;br /&gt;
* Number of meta-reviews left should decrement when a user requests a meta-review. Current behavior only decremented when a review was submitted.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* This isn't an issue and is the expected behavior. The same logic is for reviews also. Number of left reviews should only be reduced once any review is submitted.&lt;br /&gt;
&lt;br /&gt;
== '''&amp;quot;Request a new meta-review&amp;quot; button bugs''' ==&lt;br /&gt;
===Issue Description===&lt;br /&gt;
Currently after the &amp;quot;Request a new meta-review&amp;quot; button is clicked the button disappears and no new meta-review can be requested. The &amp;quot;Request new a meta-review&amp;quot; button should be hidden only when:&lt;br /&gt;
&lt;br /&gt;
* The number of meta-reviews in-progress is greater than the maximum allowed outstanding reviews.&lt;br /&gt;
* The number of reviews allowed is limited AND the total number of meta-reviews completed or in-progress is greater than the number allowed.&lt;br /&gt;
&lt;br /&gt;
[[File: Request meta.png | 600px]]&lt;br /&gt;
[[File: Request button disappear.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* This issue deals with the view &amp;quot;list.html.erb&amp;quot; under /app/views/student_review. The code below shows the conditional used to display the &amp;quot;Request new meta-review&amp;quot; button.&lt;br /&gt;
The code changes are done to fix this issue are availabel here: https://github.com/amundra02/expertiza/commit/d319dbf02100501c657c1257917c325607192a1f&lt;br /&gt;
&lt;br /&gt;
[[File:Request meta review code.png|1200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Request for meta review is breaking the website when there are no review''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* When there are no review available the request for meta-review deadline is crashing the site. &lt;br /&gt;
==== Plan:====&lt;br /&gt;
* Fixing it, we were able to show a small error message instead of allowing the site to crash&lt;br /&gt;
Code changes: https://github.com/amundra02/expertiza/commit/de9366941a7932af1cd9c0bf0c946f2ac05638c0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Testing Plan''' ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Testing ===&lt;br /&gt;
&lt;br /&gt;
1. Log in as super_administrator2.  Password is &amp;quot;password&amp;quot;. Click on mange...-&amp;gt; Assignments.&lt;br /&gt;
&lt;br /&gt;
2. Create a new Assignment by clicking the &amp;quot;+&amp;quot; button. Give the assignment these fields: Name, Course and Submission Directory.&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_general.png]]&lt;br /&gt;
&lt;br /&gt;
3. Go to &amp;quot;Due Dates&amp;quot; tab and check &amp;quot;Use meta-review deadline&amp;quot; and then set the due dates 1 into the FUTURE for each review round and meta-review. Leave everything else as default as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_duedates.png]]&lt;br /&gt;
&lt;br /&gt;
4. Go to the &amp;quot;Rubrics&amp;quot; tab and populate as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_rubrics.png]]&lt;br /&gt;
&lt;br /&gt;
5. OPTIONAL: Go to &amp;quot;Review strategy page and select &amp;quot;Has meta-review limit?&amp;quot; and set the number of allowed and required meta-reviews.&lt;br /&gt;
&lt;br /&gt;
6. Once done, &amp;quot;Create&amp;quot; the assignment.&lt;br /&gt;
&lt;br /&gt;
7. Go back to Assignments. manage...-&amp;gt; Assignments.&lt;br /&gt;
&lt;br /&gt;
8. Find the newly created assignment and click on &amp;quot;Add participant&amp;quot;. Add the students below:&lt;br /&gt;
&lt;br /&gt;
[[File:add_participants.png]]&lt;br /&gt;
&lt;br /&gt;
9. Go to manage...Impersonate User and impersonate &amp;quot;Student485&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. Go to the newly created assignment and submit a link for the assignment.&lt;br /&gt;
&lt;br /&gt;
11. Revert back to super_administrator2 and change the submission due date to a date in the PAST so we are currently in the review stage.&lt;br /&gt;
&lt;br /&gt;
12. Impersonate student486 and request for a new review under others work, submit the review.&lt;br /&gt;
&lt;br /&gt;
13. Revert back to super_administrator2 as previously described and change the review due date to be passed so we are currently in the meta-review stage.&lt;br /&gt;
&lt;br /&gt;
14. Impersonate as student485 and Request for a new meta review.&lt;br /&gt;
&lt;br /&gt;
15. Press &amp;quot;Begin&amp;quot; and complete the meta-review&lt;br /&gt;
&lt;br /&gt;
16. When the review is complete, the &amp;quot;Begin&amp;quot; should disappear and be replaced with &amp;quot;View&amp;quot; and &amp;quot;Edit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Automated Test Plan===&lt;br /&gt;
1. We will target to get all existing test passed, to make sure no existing functionality for other features break.&lt;br /&gt;
&lt;br /&gt;
2. Also, we will be adding few test cases for the issues fixed in this project and hoping to increase coverage.&lt;br /&gt;
&lt;br /&gt;
=====New test case added:===== &lt;br /&gt;
Objective: To find the behavior of questionnaire function in metareview_response_map.rb when there is no questionnaire in assignment.&lt;br /&gt;
Expected behavior: It should return nil object, rather than some garbage object. &lt;br /&gt;
&lt;br /&gt;
The test case added increased test coverage by small margin.&lt;br /&gt;
&lt;br /&gt;
Code changes: https://github.com/amundra02/expertiza/commit/bca6534e78f1edb46dc22e907c23af6bcbef952b&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2235._Issues_related_to_meta-reviewing&amp;diff=145575</id>
		<title>CSC/ECE 517 Spring 2022 - E2235. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2235._Issues_related_to_meta-reviewing&amp;diff=145575"/>
		<updated>2022-05-01T16:13:03Z</updated>

		<summary type="html">&lt;p&gt;Amundra: &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. The task is to fix these issues so that this feature can be used again.&lt;br /&gt;
&lt;br /&gt;
* When a user requests a new meta-review, (s)he is unable to get Begin (refer to above image) link to start a new meta-review. (Issue #198) &lt;br /&gt;
* When a user requests a new meta-review, the field which says the number of meta-reviews left ( refer to above image “Numbers of Meta-reviews left:”) does not change and the button to request a new meta-review disappears.&lt;br /&gt;
&lt;br /&gt;
===Previous Work===&lt;br /&gt;
&lt;br /&gt;
This assignment is a repeat of E2025 which was assigned to students last semester, Spring 2020.&lt;br /&gt;
&lt;br /&gt;
Details of the previous implementation can be found here:&lt;br /&gt;
[CSC/ECE 517 Spring 2020 - E2025: Issues Related to Meta - Reviewing]&lt;br /&gt;
&lt;br /&gt;
Our goals are to update the logic, refactor non-DRY code, and fix bugs.&lt;br /&gt;
&lt;br /&gt;
== '''Approach taken to solve the issues''' ==&lt;br /&gt;
* We started by looking at issues happening for meta reviews in beta branch&lt;br /&gt;
* Next we tried to understand difference between meta-review and review.&lt;br /&gt;
* Further we tried to explore the possibility of combining meta-reviews and review to follow DRY principle in code.&lt;br /&gt;
* But we observed that since meta review is advanced stage in review cycle and each meta-review is associated with some previous review and reviewee, there is no way to have single model and controller.&lt;br /&gt;
* So we scrapped the idea of changing the design at root level.&lt;br /&gt;
* The best approach here to handle current meta-review issues is to fix them individually.&lt;br /&gt;
* The details on how each issue will be approached and fixed is given below.&lt;br /&gt;
====* None of the issues need any change of workflow as per preliminary analysis, thus no UML diagram is added.====&lt;br /&gt;
&lt;br /&gt;
== '''[https://github.com/expertiza/expertiza/issues/198 #198 - Begin link not working correctly]''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
&lt;br /&gt;
In beta branch begin is not working correctly. The page crashes sometime:&lt;br /&gt;
Observations:&lt;br /&gt;
* While selecting &amp;quot;Metareview&amp;quot; rubric in local db, the begin link crashed.&lt;br /&gt;
* Following the code we observed it was returning questionnaire list, where only object was expected.&lt;br /&gt;
* Fixing it, we were able to see page redirecting successfully.&lt;br /&gt;
[[File: Meta review rubric.png | 400px]]&lt;br /&gt;
[[File: Request disappear.jpeg | 400px]]&lt;br /&gt;
[[File: Meta begin crash.png | 400px]]&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We will be looking into this issue further, if the questionnaire was supposed to be the way it is?&lt;br /&gt;
* Further the loaded page doesn't have any portion of view for meta-review, instead it shows just plain old review. We will be checking the history of this change and try to find at what time partial view file was removed from code.&lt;br /&gt;
&lt;br /&gt;
== '''Meta review begin link isn't working''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* The issue at present is that when we request for a meta-review using the begin link the page crashes.&lt;br /&gt;
* Users should be able to begin the meta-review after they request one.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We would be looking into the response_controller.rb, response_helper.rb, and metareview_response_map.rb files to fix the issue.&lt;br /&gt;
&lt;br /&gt;
==== Solution:====&lt;br /&gt;
* The issue was that when a user requests a meta-review, instead of getting questionnaire for meta-review we get the questionnaire for all the available rubrics for the given assignment. &lt;br /&gt;
We changed this such that when a meta-review is requested, the response will only have a rubric quetionnaire for meta-review.&lt;br /&gt;
&lt;br /&gt;
* The bug is found and fixed and can be checked here:&lt;br /&gt;
https://github.com/amundra02/expertiza/commit/f3f2343ce96a43e81eb7893a415f9077dbf7f32f&lt;br /&gt;
&lt;br /&gt;
== '''Submit button isn't available for meta-reviews''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* The issue at present is there is no submit button for meta-reviews.&lt;br /&gt;
* Users should see save and submit buttons as part of the meta-review form similar to the behavior as the review form.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We would be looking into the response.html.erb file to fix the issue.&lt;br /&gt;
&lt;br /&gt;
The bug is found and fixed and can be checked here:&lt;br /&gt;
https://github.com/amundra02/expertiza/commit/d0cd6b2c3816115360e798f8962a2b8f5e64db2a&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Hide meta-review deadline under review strategy when use meta review deadline checkbox is unchecked under due date ''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* The issue at present is that when the meta-review deadline checkbox under due-date has no impact on meta-review deadline under review strategy.&lt;br /&gt;
* Users should see the meta-review deadline under review strategy only when meta-review deadline checkbox is checked.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We would be looking into the review_stragtegy.html.erb file to fix the issue.&lt;br /&gt;
==== Changes:====&lt;br /&gt;
* We have added inline style to the section in meta-review under review strategy to hide/show the section based on a ruby variable. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''[https://github.com/RPHolloway/expertiza/issues/32 #32 - Remove all debug comments in the UI]''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
&lt;br /&gt;
It was noted in the previous team's implementation that multiple debugging comments were showing up during their video testing.&lt;br /&gt;
&lt;br /&gt;
Debug messages shown when viewing a completed meta review:&lt;br /&gt;
[[File:Debug_comments.png]]&lt;br /&gt;
&lt;br /&gt;
===Changes===&lt;br /&gt;
There was an error tag in view, which is corrected:&lt;br /&gt;
https://github.com/amundra02/expertiza/commit/3e535992876291738334e2504bc5ef22bd8610d0&lt;br /&gt;
&lt;br /&gt;
== '''&amp;quot;Numbers of Meta-reviews left:” does not update after a user requests a review.''' ==&lt;br /&gt;
===Issue Description===&lt;br /&gt;
* Number of meta-reviews left should decrement when a user requests a meta-review. Current behavior only decremented when a review was submitted.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* This isn't an issue and is the expected behavior. The same logic is for reviews also. Number of left reviews should only be reduced once any review is submitted.&lt;br /&gt;
&lt;br /&gt;
== '''&amp;quot;Request a new meta-review&amp;quot; button bugs''' ==&lt;br /&gt;
===Issue Description===&lt;br /&gt;
Currently after the &amp;quot;Request a new meta-review&amp;quot; button is clicked the button disappears and no new meta-review can be requested. The &amp;quot;Request new a meta-review&amp;quot; button should be hidden only when:&lt;br /&gt;
&lt;br /&gt;
* The number of meta-reviews in-progress is greater than the maximum allowed outstanding reviews.&lt;br /&gt;
* The number of reviews allowed is limited AND the total number of meta-reviews completed or in-progress is greater than the number allowed.&lt;br /&gt;
&lt;br /&gt;
[[File: Request meta.png | 600px]]&lt;br /&gt;
[[File: Request button disappear.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* This issue deals with the view &amp;quot;list.html.erb&amp;quot; under /app/views/student_review. The code below shows the conditional used to display the &amp;quot;Request new meta-review&amp;quot; button.&lt;br /&gt;
The code changes are done to fix this issue are availabel here: https://github.com/amundra02/expertiza/commit/d319dbf02100501c657c1257917c325607192a1f&lt;br /&gt;
&lt;br /&gt;
[[File:Request meta review code.png|1200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Request for meta review is breaking the website when there are no review''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* When there are no review available the request for meta-review deadline is crashing the site. &lt;br /&gt;
==== Plan:====&lt;br /&gt;
* Fixing it, we were able to show a small error message instead of allowing the site to crash&lt;br /&gt;
Code changes: https://github.com/amundra02/expertiza/commit/de9366941a7932af1cd9c0bf0c946f2ac05638c0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Testing Plan''' ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Testing ===&lt;br /&gt;
&lt;br /&gt;
1. Log in as super_administrator2.  Password is &amp;quot;password&amp;quot;. Click on mange...-&amp;gt; Assignments.&lt;br /&gt;
&lt;br /&gt;
2. Create a new Assignment by clicking the &amp;quot;+&amp;quot; button. Give the assignment these fields: Name, Course and Submission Directory.&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_general.png]]&lt;br /&gt;
&lt;br /&gt;
3. Go to &amp;quot;Due Dates&amp;quot; tab and check &amp;quot;Use meta-review deadline&amp;quot; and then set the due dates 1 into the FUTURE for each review round and meta-review. Leave everything else as default as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_duedates.png]]&lt;br /&gt;
&lt;br /&gt;
4. Go to the &amp;quot;Rubrics&amp;quot; tab and populate as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_rubrics.png]]&lt;br /&gt;
&lt;br /&gt;
5. OPTIONAL: Go to &amp;quot;Review strategy page and select &amp;quot;Has meta-review limit?&amp;quot; and set the number of allowed and required meta-reviews.&lt;br /&gt;
&lt;br /&gt;
6. Once done, &amp;quot;Create&amp;quot; the assignment.&lt;br /&gt;
&lt;br /&gt;
7. Go back to Assignments. manage...-&amp;gt; Assignments.&lt;br /&gt;
&lt;br /&gt;
8. Find the newly created assignment and click on &amp;quot;Add participant&amp;quot;. Add the students below:&lt;br /&gt;
&lt;br /&gt;
[[File:add_participants.png]]&lt;br /&gt;
&lt;br /&gt;
9. Go to manage...Impersonate User and impersonate &amp;quot;Student485&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. Go to the newly created assignment and submit a link for the assignment.&lt;br /&gt;
&lt;br /&gt;
11. Revert back to super_administrator2 and change the submission due date to a date in the PAST so we are currently in the review stage.&lt;br /&gt;
&lt;br /&gt;
12. Impersonate student486 and request for a new review under others work, submit the review.&lt;br /&gt;
&lt;br /&gt;
13. Revert back to super_administrator2 as previously described and change the review due date to be passed so we are currently in the meta-review stage.&lt;br /&gt;
&lt;br /&gt;
14. Impersonate as student485 and Request for a new meta review.&lt;br /&gt;
&lt;br /&gt;
15. Press &amp;quot;Begin&amp;quot; and complete the meta-review&lt;br /&gt;
&lt;br /&gt;
16. When the review is complete, the &amp;quot;Begin&amp;quot; should disappear and be replaced with &amp;quot;View&amp;quot; and &amp;quot;Edit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Automated Test Plan===&lt;br /&gt;
1. We will target to get all existing test passed, to make sure no existing functionality for other features break.&lt;br /&gt;
&lt;br /&gt;
2. Also, we will be adding few test cases for the issues fixed in this project and hoping to increase coverage.&lt;br /&gt;
&lt;br /&gt;
=====New test case added:===== &lt;br /&gt;
Objective: To find the behavior of questionnaire function in metareview_response_map.rb when there is no questionnaire in assignment.&lt;br /&gt;
Expected behavior: It should return nil object, rather than some garbage object. &lt;br /&gt;
&lt;br /&gt;
The test case added increased test coverage by small margin.&lt;br /&gt;
&lt;br /&gt;
Code changes: https://github.com/amundra02/expertiza/commit/bca6534e78f1edb46dc22e907c23af6bcbef952b&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Request_disappear.jpeg&amp;diff=145574</id>
		<title>File:Request disappear.jpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Request_disappear.jpeg&amp;diff=145574"/>
		<updated>2022-05-01T15:25:02Z</updated>

		<summary type="html">&lt;p&gt;Amundra: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Meta_begin.jpeg&amp;diff=145573</id>
		<title>File:Meta begin.jpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Meta_begin.jpeg&amp;diff=145573"/>
		<updated>2022-05-01T15:19:52Z</updated>

		<summary type="html">&lt;p&gt;Amundra: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2235._Issues_related_to_meta-reviewing&amp;diff=144532</id>
		<title>CSC/ECE 517 Spring 2022 - E2235. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2235._Issues_related_to_meta-reviewing&amp;diff=144532"/>
		<updated>2022-04-07T02:06:12Z</updated>

		<summary type="html">&lt;p&gt;Amundra: &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. The task is to fix these issues so that this feature can be used again.&lt;br /&gt;
&lt;br /&gt;
* When a user requests a new meta-review, (s)he is unable to get Begin (refer to above image) link to start a new meta-review. (Issue #198) &lt;br /&gt;
* When a user requests a new meta-review, the field which says the number of meta-reviews left ( refer to above image “Numbers of Meta-reviews left:”) does not change and the button to request a new meta-review disappears.&lt;br /&gt;
&lt;br /&gt;
===Previous Work===&lt;br /&gt;
&lt;br /&gt;
This assignment is a repeat of E2025 which was assigned to students last semester, Spring 2020.&lt;br /&gt;
&lt;br /&gt;
Details of the previous implementation can be found here:&lt;br /&gt;
[CSC/ECE 517 Spring 2020 - E2025: Issues Related to Meta - Reviewing]&lt;br /&gt;
&lt;br /&gt;
Our goals are to update the logic, refactor non-DRY code, and fix bugs.&lt;br /&gt;
&lt;br /&gt;
== '''Approach taken to solve the issues''' ==&lt;br /&gt;
* We started by looking at issues happening for meta reviews in beta branch&lt;br /&gt;
* Next we tried to understand difference between meta-review and review.&lt;br /&gt;
* Further we tried to explore the possibility of combining meta-reviews and review to follow DRY principle in code.&lt;br /&gt;
* But we observed that since meta review is advanced stage in review cycle and each meta-review is associated with some previous review and reviewee, there is no way to have single model and controller.&lt;br /&gt;
* So we scrapped the idea of changing the design at root level.&lt;br /&gt;
* The best approach here to handle current meta-review issues is to fix them individually.&lt;br /&gt;
* The details on how each issue will be approached and fixed is given below.&lt;br /&gt;
&lt;br /&gt;
== '''[https://github.com/expertiza/expertiza/issues/198 #198 - Begin link not working correctly]''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
&lt;br /&gt;
In beta branch begin is not working correctly. The page crashes sometime:&lt;br /&gt;
Observations:&lt;br /&gt;
* While selecting &amp;quot;Metareview&amp;quot; rubric in local db, the begin link crashed.&lt;br /&gt;
* Following the code we observed it was returning questionnaire list, where only object was expected.&lt;br /&gt;
* Fixing it, we were able to see page redirecting successfully.&lt;br /&gt;
[[File: Meta review rubric.png | 400px]]&lt;br /&gt;
[[File: Request button disappear.png | 400px]]&lt;br /&gt;
[[File: Meta begin crash.png | 400px]]&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We will be looking into this issue further, if the questionnaire was supposed to be the way it is?&lt;br /&gt;
* Further the loaded page doesn't have any portion of view for meta-review, instead it shows just plain old review. We will be checking the history of this change and try to find at what time partial view file was removed from code.&lt;br /&gt;
&lt;br /&gt;
== '''Submit button isn't available for meta-reviews''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* The issue at present is there is no submit button for meta-reviews.&lt;br /&gt;
* Users should see save and submit buttons as part of the meta-review form similar to the behavior as the review form.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We would be looking into the response.html.erb file to fix the issue.&lt;br /&gt;
&lt;br /&gt;
== '''&amp;quot;Numbers of Meta-reviews left:” does not update after a user requests a review.''' ==&lt;br /&gt;
===Issue Description===&lt;br /&gt;
* Number of meta-reviews left should decrement when a user requests a meta-review. Current behavior only decremented when a review was submitted.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* This isn't an issue and is the expected behavior. The same logic is for reviews also. Number of left reviews should only be reduced once any review is submitted.&lt;br /&gt;
&lt;br /&gt;
== '''&amp;quot;Request a new meta-review&amp;quot; button bugs''' ==&lt;br /&gt;
===Issue Description===&lt;br /&gt;
Currently after the &amp;quot;Request a new meta-review&amp;quot; button is clicked the button disappears and no new meta-review can be requested. The &amp;quot;Request new a meta-review&amp;quot; button should be hidden only when:&lt;br /&gt;
&lt;br /&gt;
* The number of meta-reviews in-progress is greater than the maximum allowed outstanding reviews.&lt;br /&gt;
* The number of reviews allowed is limited AND the total number of meta-reviews completed or in-progress is greater than the number allowed.&lt;br /&gt;
&lt;br /&gt;
[[File: Request meta.png | 600px]]&lt;br /&gt;
[[File: Request button disappear.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* This issue deals with the view &amp;quot;list.html.erb&amp;quot; under /app/views/student_review. The code below shows the conditional used to display the &amp;quot;Request new meta-review&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Request meta review code.png|1200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Request for meta review is breaking the website when there are no review''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* When there are no review available the request for meta-review deadline is crashing the site. &lt;br /&gt;
==== Plan:====&lt;br /&gt;
* Fixing it, we were able to show a small error message instead of allowing the site to crash&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Request for meta review is  shown even before the review deadline is not passed''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* When the review deadline is not passed the request for meta review is getting displayed.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* For fixing this we are planning to add a simple if check &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''When there are no review questions upon opening the site crashes''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* When there are no review questions if I click on begin button the site is crashing &lt;br /&gt;
==== Plan:====&lt;br /&gt;
* For fixing this we are planning to add a simple if check on the number of questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Testing Plan''' ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Testing ===&lt;br /&gt;
&lt;br /&gt;
1. Log in as super_administrator2.  Password is &amp;quot;password&amp;quot;. Click on mange...-&amp;gt; Assignments.&lt;br /&gt;
&lt;br /&gt;
2. Create a new Assignment by clicking the &amp;quot;+&amp;quot; button. Give the assignment these fields: Name, Course and Submission Directory.&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_general.png]]&lt;br /&gt;
&lt;br /&gt;
3. Go to &amp;quot;Due Dates&amp;quot; tab and check &amp;quot;Use meta-review deadline&amp;quot; and then set the due dates 1 into the FUTURE for each review round and meta-review. Leave everything else as default as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_duedates.png]]&lt;br /&gt;
&lt;br /&gt;
4. Go to the &amp;quot;Rubrics&amp;quot; tab and populate as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_rubrics.png]]&lt;br /&gt;
&lt;br /&gt;
5. OPTIONAL: Go to &amp;quot;Review strategy page and select &amp;quot;Has meta-review limit?&amp;quot; and set the number of allowed and required meta-reviews.&lt;br /&gt;
&lt;br /&gt;
6. Once done, &amp;quot;Create&amp;quot; the assignment.&lt;br /&gt;
&lt;br /&gt;
7. Go back to Assignments. manage...-&amp;gt; Assignments.&lt;br /&gt;
&lt;br /&gt;
8. Find the newly created assignment and click on &amp;quot;Add participant&amp;quot;. Add the students below:&lt;br /&gt;
&lt;br /&gt;
[[File:add_participants.png]]&lt;br /&gt;
&lt;br /&gt;
9. Go to manage...Impersonate User and impersonate &amp;quot;Student485&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. Go to the newly created assignment and submit a link for the assignment.&lt;br /&gt;
&lt;br /&gt;
11. Revert back to super_administrator2 and change the submission due date to a date in the PAST so we are currently in the review stage.&lt;br /&gt;
&lt;br /&gt;
12. Impersonate student486 and request for a new review under others work, submit the review.&lt;br /&gt;
&lt;br /&gt;
13. Revert back to super_administrator2 as previously described and change the review due date to be passed so we are currently in the meta-review stage.&lt;br /&gt;
&lt;br /&gt;
14. Impersonate as student485 and Request for a new meta review.&lt;br /&gt;
&lt;br /&gt;
15. Press &amp;quot;Begin&amp;quot; and complete the meta-review&lt;br /&gt;
&lt;br /&gt;
16. When the review is complete, the &amp;quot;Begin&amp;quot; should disappear and be replaced with &amp;quot;View&amp;quot; and &amp;quot;Edit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Automated Test Plan===&lt;br /&gt;
1. We will target to get all existing test passed, to make sure no existing functionality for other features break.&lt;br /&gt;
&lt;br /&gt;
2. Also, we will be adding few test cases for the issues fixed in this project and hoping to increase coverage.&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2235._Issues_related_to_meta-reviewing&amp;diff=144531</id>
		<title>CSC/ECE 517 Spring 2022 - E2235. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2235._Issues_related_to_meta-reviewing&amp;diff=144531"/>
		<updated>2022-04-07T02:05:14Z</updated>

		<summary type="html">&lt;p&gt;Amundra: &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. The task is to fix these issues so that this feature can be used again.&lt;br /&gt;
&lt;br /&gt;
* When a user requests a new meta-review, (s)he is unable to get Begin (refer to above image) link to start a new meta-review. (Issue #198) &lt;br /&gt;
* When a user requests a new meta-review, the field which says the number of meta-reviews left ( refer to above image “Numbers of Meta-reviews left:”) does not change and the button to request a new meta-review disappears.&lt;br /&gt;
&lt;br /&gt;
===Previous Work===&lt;br /&gt;
&lt;br /&gt;
This assignment is a repeat of E2025 which was assigned to students last semester, Spring 2020.&lt;br /&gt;
&lt;br /&gt;
Details of the previous implementation can be found here:&lt;br /&gt;
[CSC/ECE 517 Spring 2020 - E2025: Issues Related to Meta - Reviewing]&lt;br /&gt;
&lt;br /&gt;
Our goals are to update the logic, refactor non-DRY code, and fix bugs.&lt;br /&gt;
&lt;br /&gt;
== '''Approach taken to solve the issues''' ==&lt;br /&gt;
* We started by looking at issues happening for meta reviews in beta branch&lt;br /&gt;
* Next we tried to understand difference between meta-review and review.&lt;br /&gt;
* Further we tried to explore the possibility of combining meta-reviews and review to follow DRY principle in code.&lt;br /&gt;
* But we observed that since meta review is advanced stage in review cycle and each meta-review is associated with some previous review and reviewee, there is no way to have single model and controller.&lt;br /&gt;
* So we scrapped the idea of changing the design at root level.&lt;br /&gt;
* The best approach here to handle current meta-review issues is to fix them individually.&lt;br /&gt;
* The details on how each issue will be approached and fixed is given below.&lt;br /&gt;
&lt;br /&gt;
== '''[https://github.com/expertiza/expertiza/issues/198 #198 - Begin link not working correctly]''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
&lt;br /&gt;
In beta branch begin is not working correctly. The page crashes sometime:&lt;br /&gt;
Observations:&lt;br /&gt;
* While selecting &amp;quot;Metareview&amp;quot; rubric in local db, the begin link crashed.&lt;br /&gt;
* Following the code we observed it was returning questionnaire list, where only object was expected.&lt;br /&gt;
* Fixing it, we were able to see page redirecting successfully.&lt;br /&gt;
[[File: Meta review rubric.png | 400px]]&lt;br /&gt;
[[File: Request button disappear.png | 400px]]&lt;br /&gt;
[[File: Meta begin crash.png | 400px]]&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We will be looking into this issue further, if the questionnaire was supposed to be the way it is?&lt;br /&gt;
* Further the loaded page doesn't have any portion of view for meta-review, instead it shows just plain old review. We will be checking the history of this change and try to find at what time partial view file was removed from code.&lt;br /&gt;
&lt;br /&gt;
== '''Submit button isn't available for meta-reviews''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* The issue at present is there is no submit button for meta-reviews.&lt;br /&gt;
* Users should see save and submit buttons as part of the meta-review form similar to the behavior as the review form.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We would be looking into the response.html.erb file to fix the issue.&lt;br /&gt;
&lt;br /&gt;
== '''&amp;quot;Numbers of Meta-reviews left:” does not update after a user requests a review.''' ==&lt;br /&gt;
===Issue Description===&lt;br /&gt;
* Number of meta-reviews left should decrement when a user requests a meta-review. Current behavior only decremented when a review was submitted.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* This isn't an issue and is the expected behavior. The same logic is for reviews also. Number of left reviews should only be reduced once any review is submitted.&lt;br /&gt;
&lt;br /&gt;
== '''&amp;quot;Request a new meta-review&amp;quot; button bugs''' ==&lt;br /&gt;
===Issue Description===&lt;br /&gt;
Currently after the &amp;quot;Request a new meta-review&amp;quot; button is clicked the button disappears and no new meta-review can be requested. The &amp;quot;Request new a meta-review&amp;quot; button should be hidden only when:&lt;br /&gt;
&lt;br /&gt;
* The number of meta-reviews in-progress is greater than the maximum allowed outstanding reviews.&lt;br /&gt;
* The number of reviews allowed is limited AND the total number of meta-reviews completed or in-progress is greater than the number allowed.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* This issue deals with the view &amp;quot;list.html.erb&amp;quot; under /app/views/student_review. The code below shows the conditional used to display the &amp;quot;Request new meta-review&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Request meta review code.png|1200px]]&lt;br /&gt;
[[File: Request meta.png | 600px]]&lt;br /&gt;
[[File: Request button disappear.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Request for meta review is breaking the website when there are no review''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* When there are no review available the request for meta-review deadline is crashing the site. &lt;br /&gt;
==== Plan:====&lt;br /&gt;
* Fixing it, we were able to show a small error message instead of allowing the site to crash&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Request for meta review is  shown even before the review deadline is not passed''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* When the review deadline is not passed the request for meta review is getting displayed.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* For fixing this we are planning to add a simple if check &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''When there are no review questions upon opening the site crashes''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* When there are no review questions if I click on begin button the site is crashing &lt;br /&gt;
==== Plan:====&lt;br /&gt;
* For fixing this we are planning to add a simple if check on the number of questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Testing Plan''' ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Testing ===&lt;br /&gt;
&lt;br /&gt;
1. Log in as super_administrator2.  Password is &amp;quot;password&amp;quot;. Click on mange...-&amp;gt; Assignments.&lt;br /&gt;
&lt;br /&gt;
2. Create a new Assignment by clicking the &amp;quot;+&amp;quot; button. Give the assignment these fields: Name, Course and Submission Directory.&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_general.png]]&lt;br /&gt;
&lt;br /&gt;
3. Go to &amp;quot;Due Dates&amp;quot; tab and check &amp;quot;Use meta-review deadline&amp;quot; and then set the due dates 1 into the FUTURE for each review round and meta-review. Leave everything else as default as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_duedates.png]]&lt;br /&gt;
&lt;br /&gt;
4. Go to the &amp;quot;Rubrics&amp;quot; tab and populate as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_rubrics.png]]&lt;br /&gt;
&lt;br /&gt;
5. OPTIONAL: Go to &amp;quot;Review strategy page and select &amp;quot;Has meta-review limit?&amp;quot; and set the number of allowed and required meta-reviews.&lt;br /&gt;
&lt;br /&gt;
6. Once done, &amp;quot;Create&amp;quot; the assignment.&lt;br /&gt;
&lt;br /&gt;
7. Go back to Assignments. manage...-&amp;gt; Assignments.&lt;br /&gt;
&lt;br /&gt;
8. Find the newly created assignment and click on &amp;quot;Add participant&amp;quot;. Add the students below:&lt;br /&gt;
&lt;br /&gt;
[[File:add_participants.png]]&lt;br /&gt;
&lt;br /&gt;
9. Go to manage...Impersonate User and impersonate &amp;quot;Student485&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. Go to the newly created assignment and submit a link for the assignment.&lt;br /&gt;
&lt;br /&gt;
11. Revert back to super_administrator2 and change the submission due date to a date in the PAST so we are currently in the review stage.&lt;br /&gt;
&lt;br /&gt;
12. Impersonate student486 and request for a new review under others work, submit the review.&lt;br /&gt;
&lt;br /&gt;
13. Revert back to super_administrator2 as previously described and change the review due date to be passed so we are currently in the meta-review stage.&lt;br /&gt;
&lt;br /&gt;
14. Impersonate as student485 and Request for a new meta review.&lt;br /&gt;
&lt;br /&gt;
15. Press &amp;quot;Begin&amp;quot; and complete the meta-review&lt;br /&gt;
&lt;br /&gt;
16. When the review is complete, the &amp;quot;Begin&amp;quot; should disappear and be replaced with &amp;quot;View&amp;quot; and &amp;quot;Edit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Automated Test Plan===&lt;br /&gt;
1. We will target to get all existing test passed, to make sure no existing functionality for other features break.&lt;br /&gt;
&lt;br /&gt;
2. Also, we will be adding few test cases for the issues fixed in this project and hoping to increase coverage.&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2235._Issues_related_to_meta-reviewing&amp;diff=144494</id>
		<title>CSC/ECE 517 Spring 2022 - E2235. Issues related to meta-reviewing</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2235._Issues_related_to_meta-reviewing&amp;diff=144494"/>
		<updated>2022-04-07T00:22:04Z</updated>

		<summary type="html">&lt;p&gt;Amundra: &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. The task is to fix these issues so that this feature can be used again.&lt;br /&gt;
&lt;br /&gt;
* When a user requests a new meta-review, (s)he is unable to get Begin (refer to above image) link to start a new meta-review. (Issue #198) &lt;br /&gt;
* When a user requests a new meta-review, the field which says the number of meta-reviews left ( refer to above image “Numbers of Meta-reviews left:”) does not change and the button to request a new meta-review disappears.&lt;br /&gt;
&lt;br /&gt;
===Previous Work===&lt;br /&gt;
&lt;br /&gt;
This assignment is a repeat of E2025 which was assigned to students last semester, Spring 2020.&lt;br /&gt;
&lt;br /&gt;
Details of the previous implementation can be found here:&lt;br /&gt;
[CSC/ECE 517 Spring 2020 - E2025: Issues Related to Meta - Reviewing]&lt;br /&gt;
&lt;br /&gt;
Our goals are to update the logic, refactor non-DRY code, and fix bugs.&lt;br /&gt;
&lt;br /&gt;
== '''Approach taken to solve the issues''' ==&lt;br /&gt;
* We started by looking at issues happening for meta reviews in beta branch&lt;br /&gt;
* Next we tried to understand difference between meta-review and review.&lt;br /&gt;
* Further we tried to explore the possibility of combining meta-reviews and review to follow DRY principle in code.&lt;br /&gt;
* But we observed that since meta review is advanced stage in review cycle and each meta-review is associated with some previous review and reviewee, there is no way to have single model and controller.&lt;br /&gt;
* So we scrapped the idea of changing the design at root level.&lt;br /&gt;
* The best approach here to handle current meta-review issues is to fix them individually.&lt;br /&gt;
* The details on how each issue will be approached and fixed is given below.&lt;br /&gt;
&lt;br /&gt;
== '''[https://github.com/expertiza/expertiza/issues/198 #198 - Begin link not working correctly]''' ==&lt;br /&gt;
&lt;br /&gt;
===Issue Description===&lt;br /&gt;
&lt;br /&gt;
In beta branch begin is not working correctly. The page crashes sometime:&lt;br /&gt;
Observations:&lt;br /&gt;
* While selecting &amp;quot;&amp;quot; rubric in local db, the begin link crashed.&lt;br /&gt;
* Following the code we observed it was returning questionnaire list, where only object was expected.&lt;br /&gt;
* Fixing it, we were able to see page redirecting successfully.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We will be looking into this issue further, if the questionnaire was supposed to be the way it is?&lt;br /&gt;
* Further the loaded page doesn't have any portion of view for meta-review, instead it shows just plain old review. We will be checking the history of this change and try to find at what time partial view file was removed from code.&lt;br /&gt;
&lt;br /&gt;
== '''Submit button isn't available for meta-reviews''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* The issue at present is there is no submit button for meta-reviews.&lt;br /&gt;
* Users should see save and submit buttons as part of the meta-review form similar to the behavior as the review form.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* We would be looking into the response.html.erb file to fix the issue.&lt;br /&gt;
&lt;br /&gt;
== '''&amp;quot;Numbers of Meta-reviews left:” does not update after a user requests a review.''' ==&lt;br /&gt;
===Issue Description===&lt;br /&gt;
* Number of meta-reviews left should decrement when a user requests a meta-review. Current behavior only decremented when a review was submitted.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* This isn't an issue and is the expected behavior. The same logic is for reviews also. Number of left reviews should only be reduced once any review is submitted.&lt;br /&gt;
&lt;br /&gt;
== '''&amp;quot;Request a new meta-review&amp;quot; button bugs''' ==&lt;br /&gt;
===Issue Description===&lt;br /&gt;
Currently after the &amp;quot;Request a new meta-review&amp;quot; button is clicked the button disappears and no new meta-review can be requested. The &amp;quot;Request new a meta-review&amp;quot; button should be hidden only when:&lt;br /&gt;
&lt;br /&gt;
* The number of meta-reviews in-progress is greater than the maximum allowed outstanding reviews.&lt;br /&gt;
* The number of reviews allowed is limited AND the total number of meta-reviews completed or in-progress is greater than the number allowed.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* This issue deals with the view &amp;quot;list.html.erb&amp;quot; under /app/views/student_review. The code below shows the conditional used to display the &amp;quot;Request new meta-review&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Request meta review code.png|1200px]]&lt;br /&gt;
[[File: Request meta.png | 400px]]&lt;br /&gt;
[[File: Request button disappear.png | 400px]]&lt;br /&gt;
[[File: Meta begin crash.png | 400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Request for meta review is breaking the website when there are no review''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* When there are no review available the request for meta-review deadline is crashing the site. &lt;br /&gt;
==== Plan:====&lt;br /&gt;
* Fixing it, we were able to show a small error message instead of allowing the site to crash&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Request for meta review is  shown even before the review deadline is not passed''' ==&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* When the review deadline is not passed the request for meta review is getting displayed.&lt;br /&gt;
==== Plan:====&lt;br /&gt;
* For fixing this we are planning to add a simple if check &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''When there are no review questions upon opening the site crashes''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Issue Description===&lt;br /&gt;
* When there are no review questions if I click on begin button the site is crashing &lt;br /&gt;
==== Plan:====&lt;br /&gt;
* For fixing this we are planning to add a simple if check on the number of questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Testing Plan''' ==&lt;br /&gt;
&lt;br /&gt;
=== Manual Testing ===&lt;br /&gt;
&lt;br /&gt;
1. Log in as super_administrator2.  Password is &amp;quot;password&amp;quot;. Click on mange...-&amp;gt; Assignments.&lt;br /&gt;
&lt;br /&gt;
2. Create a new Assignment by clicking the &amp;quot;+&amp;quot; button. Give the assignment these fields: Name, Course and Submission Directory.&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_general.png]]&lt;br /&gt;
&lt;br /&gt;
3. Go to &amp;quot;Due Dates&amp;quot; tab and check &amp;quot;Use meta-review deadline&amp;quot; and then set the due dates 1 into the FUTURE for each review round and meta-review. Leave everything else as default as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_duedates.png]]&lt;br /&gt;
&lt;br /&gt;
4. Go to the &amp;quot;Rubrics&amp;quot; tab and populate as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:New_assignment_rubrics.png]]&lt;br /&gt;
&lt;br /&gt;
5. OPTIONAL: Go to &amp;quot;Review strategy page and select &amp;quot;Has meta-review limit?&amp;quot; and set the number of allowed and required meta-reviews.&lt;br /&gt;
&lt;br /&gt;
6. Once done, &amp;quot;Create&amp;quot; the assignment.&lt;br /&gt;
&lt;br /&gt;
7. Go back to Assignments. manage...-&amp;gt; Assignments.&lt;br /&gt;
&lt;br /&gt;
8. Find the newly created assignment and click on &amp;quot;Add participant&amp;quot;. Add the students below:&lt;br /&gt;
&lt;br /&gt;
[[File:add_participants.png]]&lt;br /&gt;
&lt;br /&gt;
9. Go to manage...Impersonate User and impersonate &amp;quot;Student485&amp;quot;&lt;br /&gt;
&lt;br /&gt;
10. Go to the newly created assignment and submit a link for the assignment.&lt;br /&gt;
&lt;br /&gt;
11. Revert back to super_administrator2 and change the submission due date to a date in the PAST so we are currently in the review stage.&lt;br /&gt;
&lt;br /&gt;
12. Impersonate student486 and request for a new review under others work, submit the review.&lt;br /&gt;
&lt;br /&gt;
13. Revert back to super_administrator2 as previously described and change the review due date to be passed so we are currently in the meta-review stage.&lt;br /&gt;
&lt;br /&gt;
14. Impersonate as student485 and Request for a new meta review.&lt;br /&gt;
&lt;br /&gt;
15. Press &amp;quot;Begin&amp;quot; and complete the meta-review&lt;br /&gt;
&lt;br /&gt;
16. When the review is complete, the &amp;quot;Begin&amp;quot; should disappear and be replaced with &amp;quot;View&amp;quot; and &amp;quot;Edit&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Automated Test Plan===&lt;br /&gt;
1. We will target to get all existing test passed, to make sure no existing functionality for other features break.&lt;br /&gt;
&lt;br /&gt;
2. Also, we will be adding few test cases for the issues fixed in this project and hoping to increase coverage.&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Use_meta_not_selected.png&amp;diff=144486</id>
		<title>File:Use meta not selected.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Use_meta_not_selected.png&amp;diff=144486"/>
		<updated>2022-04-07T00:11:57Z</updated>

		<summary type="html">&lt;p&gt;Amundra: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Meta_review_rubric.png&amp;diff=144485</id>
		<title>File:Meta review rubric.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Meta_review_rubric.png&amp;diff=144485"/>
		<updated>2022-04-07T00:11:26Z</updated>

		<summary type="html">&lt;p&gt;Amundra: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Request_meta.png&amp;diff=144478</id>
		<title>File:Request meta.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Request_meta.png&amp;diff=144478"/>
		<updated>2022-04-07T00:06:59Z</updated>

		<summary type="html">&lt;p&gt;Amundra: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Meta_begin_crash.png&amp;diff=144475</id>
		<title>File:Meta begin crash.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Meta_begin_crash.png&amp;diff=144475"/>
		<updated>2022-04-07T00:05:54Z</updated>

		<summary type="html">&lt;p&gt;Amundra: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Request_button_disappear.png&amp;diff=144469</id>
		<title>File:Request button disappear.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Request_button_disappear.png&amp;diff=144469"/>
		<updated>2022-04-06T23:53:46Z</updated>

		<summary type="html">&lt;p&gt;Amundra: Request new meta review button disappear even if the required meta reviews left is greater than 0&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Request new meta review button disappear even if the required meta reviews left is greater than 0&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2225:_Refactor_review_mapping_helper.rb&amp;diff=143447</id>
		<title>CSC/ECE 517 Spring 2022 - E2225: Refactor review mapping helper.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2022_-_E2225:_Refactor_review_mapping_helper.rb&amp;diff=143447"/>
		<updated>2022-03-22T01:02:37Z</updated>

		<summary type="html">&lt;p&gt;Amundra: /* List of changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under E2225 OSS assignment for Fall 2022, CSC 517.&lt;br /&gt;
&lt;br /&gt;
== Expertiza Background==&lt;br /&gt;
&lt;br /&gt;
Expertiza is an educational web application created and maintained by the joint efforts of the students and  the faculty at NCSU. It’s an open source project developed on Ruby on Rails platform and it’s code is available on Github. It allows students to review each other’s work and improve their work upon this feedback.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
A helper method in Ruby performs certain repetitive tasks across multiple classes or a singular class, so that code is not reused and redundancy is reduced. The review_mapping_helper.rb file is primarily used to perform routine tasks with reviews. Tasks such as returning the user's name instead of the team name when there is a single person in the team, checking whether the work has been submitted within the given round and sorting the reviewers by average number of reviews in each round. Each of these functions' visibility is dependent on the type of user.&lt;br /&gt;
&lt;br /&gt;
=== Team Members ===&lt;br /&gt;
* Ankur Mundra (amundra@ncsu.edu)&lt;br /&gt;
* Shruti Magai (smagai@ncsu.edu)&lt;br /&gt;
* Sudharsan Janardhanan (sjanard@ncsu.edu)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files modified in current project ==&lt;br /&gt;
&lt;br /&gt;
A helper file has been modified for this project namely:&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. review_mapping_helper.rb &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== List of changes ==&lt;br /&gt;
&lt;br /&gt;
We worked on the following work items(WIs)&amp;lt;br/&amp;gt;&lt;br /&gt;
WI1 : Refactor get_team_color method to reduce cognitive complexity&amp;lt;br/&amp;gt;&lt;br /&gt;
WI2 : Refactor check_submission_state to reduce cognitive complexity&amp;lt;br /&amp;gt;&lt;br /&gt;
WI3 : Improved assignment branch condition of method get_awarded_review_score&amp;lt;br /&amp;gt;&lt;br /&gt;
WI4 : Refactored review_metrics method to reduce cognitive complexity&amp;lt;br /&amp;gt;&lt;br /&gt;
WI5 : Refactored calculate_key_chart_information to reduce complexity&amp;lt;br/&amp;gt;&lt;br /&gt;
WI6 : Added top level class documentation and corrected indentation&amp;lt;br /&amp;gt;&lt;br /&gt;
WI7 : Updated method names for method name too long issue&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Solutions Implemented and Delivered ===&lt;br /&gt;
&lt;br /&gt;
*Refactoring get_team_color method&lt;br /&gt;
&lt;br /&gt;
1. This method retrieves the team's color according to the state of the review and assignment status&lt;br /&gt;
&lt;br /&gt;
The initial method consisted of an if clause with multiple if-else statements nested inside.&amp;lt;br /&amp;gt;&lt;br /&gt;
We refactored the code and utilized the unless statement to make the code ruby friendly.&lt;br /&gt;
&lt;br /&gt;
Initial code:&lt;br /&gt;
&lt;br /&gt;
[[File:Get team color initial.png]]&lt;br /&gt;
&lt;br /&gt;
Refactored code:&lt;br /&gt;
&lt;br /&gt;
[[File:Get_team_color_final.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Refactoring check_submission_state method&lt;br /&gt;
&lt;br /&gt;
The initial method consisted of an if clause with multiple if-else statements nested inside.&amp;lt;br /&amp;gt;&lt;br /&gt;
We refactored the code and used inline if conditions to make the code more concise.&lt;br /&gt;
&lt;br /&gt;
Initial code:&lt;br /&gt;
&lt;br /&gt;
[[File:Css initial.png]]&lt;br /&gt;
&lt;br /&gt;
Refactored code:&lt;br /&gt;
&lt;br /&gt;
[[File:Css final.png]]&lt;br /&gt;
&lt;br /&gt;
3. Refactoring get_awarded_review_score to reduce the Assignment Branch Condition size&lt;br /&gt;
&lt;br /&gt;
Assignment Branch Condition size for get_awarded_review_score was too high. Reduced the ABC size to make the method more readily understood, more reusable and more testable.&lt;br /&gt;
&lt;br /&gt;
4. Refactoring review_metrics method&lt;br /&gt;
&lt;br /&gt;
We utilize the unless statement to return an empty value if there is no review associated with a given team, eliminating the use of if statements in favor of ruby styled code.&lt;br /&gt;
&lt;br /&gt;
Refactored code:&lt;br /&gt;
&lt;br /&gt;
[[File:Review metrics.png]]&lt;br /&gt;
&lt;br /&gt;
5. Refactored calculate_key_chart_information to reduce complexity&lt;br /&gt;
&lt;br /&gt;
Used a guard clause instead of wrapping the code inside a conditional expression. In coding we are always looking for simplicity and atomic definitions and eager return statements are a really nice way to tight up the code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Top level documentation and corrected indentation&lt;br /&gt;
&lt;br /&gt;
We've added top level documentation to describe the functionality of classes such as the ReviewStrategy class, StudentReviewStrategy class and TeamReviewStratregy class.&amp;lt;br /&amp;gt;&lt;br /&gt;
Ruby style guidelines dictate that 2 spaces be used instead of tabs. We've performed these changes throughout the document.&lt;br /&gt;
&lt;br /&gt;
== Scope for future improvement ==&lt;br /&gt;
&lt;br /&gt;
1.&lt;/div&gt;</summary>
		<author><name>Amundra</name></author>
	</entry>
</feed>