<?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=Aarya</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=Aarya"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Aarya"/>
	<updated>2026-08-13T01:31:24Z</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_2019&amp;diff=124163</id>
		<title>CSC/ECE 517 Spring 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019&amp;diff=124163"/>
		<updated>2019-04-20T15:12:43Z</updated>

		<summary type="html">&lt;p&gt;Aarya: added link to E1931 Wiki Page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[[CSC/ECE 517 Spring 2019 - Project E1930. Improving Search Facility in Expertiza]]&lt;br /&gt;
*[[CSC/ECE 517 Spring 2019 - Project E1905. Refactor questionnaires_controller.rb]]&lt;br /&gt;
*[[CSC/ECE 517 Spring 2019 - Project E1916. Fix Code Climate issues in controllers with names beginning with A through N]]&lt;br /&gt;
*[[CSC/ECE 517 Spring 2019 - Project E1906. Refactor stage deadlines in Assignment.rb]]&lt;br /&gt;
*[[CSC/ECE 517 Spring 2019 - Project M1901 Implement missing WebAudio automation support]]&lt;br /&gt;
*[[CSC/ECE 517 Spring 2019 - Project E1917. Fix Code Climate issues in controllers with names beginning with P through Z]]&lt;br /&gt;
*[[CSC/ECE 517 Spring 2019 - Project E1921. Write tests for popup controller.rb]]&lt;br /&gt;
*[[CSC/ECE 517 Spring 2019 - M1902 Refactor bluetooth support for better maintainability]]&lt;br /&gt;
*[[CSC/ECE 517 Spring 2019 - E1922. Write tests for assessment360 controller.rb]]&lt;br /&gt;
*[[CSC/ECE 517 Spring 2019 - Project E1907 Refactor response controller]]&lt;br /&gt;
*[[CSC/ECE_517_Spring_2019_-_Project_E1903._Create_quiz_questionnaires_controller.rb]]&lt;br /&gt;
*[[CSC/ECE_517_Spring_2019_-_Project_E1913. Refactor_review_mapping_helper.rb]]&lt;br /&gt;
*[[CSC/ECE_517_Spring_2019_-_E1919_CodeClimate_Issues]]&lt;br /&gt;
*[[CSC/ECE_517_Spring_2019_-_Project_E1912. Export_Tagged_Comments]]&lt;br /&gt;
*[[CSC/ECE_517_Spring_2019/E1927_Let_Course_Staff_as_Well_as_Students_Do_Reviews]]&lt;br /&gt;
*[[E1911_Refactor_Criterion]]&lt;br /&gt;
*[[E1934 - Grading Audit Trail]]&lt;br /&gt;
*[[CSC/ECE 517 Spring 2019 - Project E1925. Refactor E1858. Github metrics integration]]&lt;br /&gt;
*[[CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification]]&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=124159</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=124159"/>
		<updated>2019-04-19T14:59:40Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Files to be changed in this Project */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ “significantly” on their scoring (the threshold is specified in the “Notification limit” on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, and it links to the review or submission which initiated the notification. It gives the link in raw HTML, but it should give it as a link associated with text, such as the text “this new review” linking to the page that shows the review.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
&lt;br /&gt;
===No view exists to analyze the conflict report===&lt;br /&gt;
Currently whenever the conflict happens,a summary link is sent to the instructor which contains the score of all the reviews but there is no view where the instructor can see all the conflicts and analyze them.&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
[[File:EMAIL.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Conflicting Review which triggered the mail&lt;br /&gt;
[[File:Score conflicting.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Summary of all the reviews&lt;br /&gt;
[[File:SUMMARY.png|center]]&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which will contain links to the conflicting review, summary link, and a link to report which can be used for analyzing. The new report will have the information like the Team(having conflicts), the standard deviation for the team review score and pictorial representation of all the review scores. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The email sent to the instructor should contain the following data on each of the reviews done on this team:&lt;br /&gt;
* The name of the team.&lt;br /&gt;
* The members (user-IDs and/or names)&lt;br /&gt;
&lt;br /&gt;
One line for each review received.  In this line would be&lt;br /&gt;
* The name of the person (or team) that submitted the review, which would be hyperlinked to the review itself,&lt;br /&gt;
* The score given for the review,&lt;br /&gt;
* A bar chart showing pictorial view&lt;br /&gt;
* The average score received from reviewers.&lt;br /&gt;
* The standard deviation of the score received from reviewers.&lt;br /&gt;
* Review scores that are outside some “tolerance” limit would be highlighted, e.g., boldfaced or shown in a different color.  Probably the tolerance should be, perhaps, one or two standard deviations from the mean.&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
*'''Feature 1:''' New view to show the conflict report&lt;br /&gt;
A new view of the report which will have the following information:-&amp;lt;br&amp;gt;&lt;br /&gt;
* The name of the team.&lt;br /&gt;
* The members (user-IDs and/or names)&lt;br /&gt;
* The name of the person (or team) that submitted the review, which would be hyperlinked to the review itself,&lt;br /&gt;
* The score given for the review,&lt;br /&gt;
* A bar chart showing pictorial view&lt;br /&gt;
* The average score received from reviewers.&lt;br /&gt;
* The standard deviation of the score received from reviewers.&lt;br /&gt;
&lt;br /&gt;
This view will have a report of all the teams on one page.&lt;br /&gt;
This report link will be added to the mail that is already being sent whenever some conflict happens.&lt;br /&gt;
This report will be also accessible from the reports dropdown for the instructor. &lt;br /&gt;
*Sample view of the new report (The view will contain all the columns as mentioned above)-&lt;br /&gt;
[[File: Capture.PNG|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''Feature 2:''' No hardcoded URLs &lt;br /&gt;
Hardcoded URLs will be managed by the config file in order to make these links functional on every server running Expertiza and raw URLs will be given some meaningful names&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/controllers/reports_controller.rb Response Controller]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/helpers/report_formatter_helper.rb Report Format Helper]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/app/views/reports/ Reports View]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/review_response_map.rb review_response_map.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/helpers/review_mapping_helper.rb review_mapping_helper.rb]&lt;br /&gt;
A new option will be added to view the conflict report in the _searchbox.html.erb.A new view will be added to the same.&amp;lt;br&amp;gt;&lt;br /&gt;
A new view partial _review_conflict_report.html.erb will be added in report views.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
Rspec test files to be updated - &lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/controllers/reports_controller_spec.rb Reports Controller Spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/controllers/response_controller_spec.rb Response Controller Spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/models/response_spec.rb Response spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/models/mailer_spec.rb mailer spec]&lt;br /&gt;
&lt;br /&gt;
[Screenshots to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[Screenshots/video to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
* [https://github.com/expertiza/expertiza expertiza]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018-_Project_E1865._Conflict_Notification Previous Work]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1329 Previous Pull Request]&lt;br /&gt;
* [https://rubygems.org/gems/standard-deviation/versions/0.1.1 Standard-Deviation gem]&lt;br /&gt;
* [https://github.com/jtescher/descriptive-statistics descriptive-statistics gem]&lt;br /&gt;
&lt;br /&gt;
=Team=&lt;br /&gt;
&lt;br /&gt;
[mailto:aarya@ncsu.edu Abhishek Arya]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:bbdeshpa@ncsu.edu Bhargav Deshpande]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:rkaur@ncsu.edu Ramandeep Kaur]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:uschatto@ncsu.edu Udita Chattopadhyay]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=124158</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=124158"/>
		<updated>2019-04-19T14:59:23Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Files to be changed in this Project */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ “significantly” on their scoring (the threshold is specified in the “Notification limit” on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, and it links to the review or submission which initiated the notification. It gives the link in raw HTML, but it should give it as a link associated with text, such as the text “this new review” linking to the page that shows the review.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
&lt;br /&gt;
===No view exists to analyze the conflict report===&lt;br /&gt;
Currently whenever the conflict happens,a summary link is sent to the instructor which contains the score of all the reviews but there is no view where the instructor can see all the conflicts and analyze them.&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
[[File:EMAIL.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Conflicting Review which triggered the mail&lt;br /&gt;
[[File:Score conflicting.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Summary of all the reviews&lt;br /&gt;
[[File:SUMMARY.png|center]]&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which will contain links to the conflicting review, summary link, and a link to report which can be used for analyzing. The new report will have the information like the Team(having conflicts), the standard deviation for the team review score and pictorial representation of all the review scores. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The email sent to the instructor should contain the following data on each of the reviews done on this team:&lt;br /&gt;
* The name of the team.&lt;br /&gt;
* The members (user-IDs and/or names)&lt;br /&gt;
&lt;br /&gt;
One line for each review received.  In this line would be&lt;br /&gt;
* The name of the person (or team) that submitted the review, which would be hyperlinked to the review itself,&lt;br /&gt;
* The score given for the review,&lt;br /&gt;
* A bar chart showing pictorial view&lt;br /&gt;
* The average score received from reviewers.&lt;br /&gt;
* The standard deviation of the score received from reviewers.&lt;br /&gt;
* Review scores that are outside some “tolerance” limit would be highlighted, e.g., boldfaced or shown in a different color.  Probably the tolerance should be, perhaps, one or two standard deviations from the mean.&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
*'''Feature 1:''' New view to show the conflict report&lt;br /&gt;
A new view of the report which will have the following information:-&amp;lt;br&amp;gt;&lt;br /&gt;
* The name of the team.&lt;br /&gt;
* The members (user-IDs and/or names)&lt;br /&gt;
* The name of the person (or team) that submitted the review, which would be hyperlinked to the review itself,&lt;br /&gt;
* The score given for the review,&lt;br /&gt;
* A bar chart showing pictorial view&lt;br /&gt;
* The average score received from reviewers.&lt;br /&gt;
* The standard deviation of the score received from reviewers.&lt;br /&gt;
&lt;br /&gt;
This view will have a report of all the teams on one page.&lt;br /&gt;
This report link will be added to the mail that is already being sent whenever some conflict happens.&lt;br /&gt;
This report will be also accessible from the reports dropdown for the instructor. &lt;br /&gt;
*Sample view of the new report (The view will contain all the columns as mentioned above)-&lt;br /&gt;
[[File: Capture.PNG|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*'''Feature 2:''' No hardcoded URLs &lt;br /&gt;
Hardcoded URLs will be managed by the config file in order to make these links functional on every server running Expertiza and raw URLs will be given some meaningful names&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/controllers/reports_controller.rb Response Controller]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/helpers/report_formatter_helper.rb Report Format Helper]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/app/views/reports/ Reports View]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/app/views/reports/&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/review_response_map.rb review_response_map.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/helpers/review_mapping_helper.rb review_mapping_helper.rb]&lt;br /&gt;
A new option will be added to view the conflict report in the _searchbox.html.erb.A new view will be added to the same.&amp;lt;br&amp;gt;&lt;br /&gt;
A new view partial _review_conflict_report.html.erb will be added in report views.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
Rspec test files to be updated - &lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/controllers/reports_controller_spec.rb Reports Controller Spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/controllers/response_controller_spec.rb Response Controller Spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/models/response_spec.rb Response spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/models/mailer_spec.rb mailer spec]&lt;br /&gt;
&lt;br /&gt;
[Screenshots to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[Screenshots/video to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
* [https://github.com/expertiza/expertiza expertiza]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018-_Project_E1865._Conflict_Notification Previous Work]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1329 Previous Pull Request]&lt;br /&gt;
* [https://rubygems.org/gems/standard-deviation/versions/0.1.1 Standard-Deviation gem]&lt;br /&gt;
* [https://github.com/jtescher/descriptive-statistics descriptive-statistics gem]&lt;br /&gt;
&lt;br /&gt;
=Team=&lt;br /&gt;
&lt;br /&gt;
[mailto:aarya@ncsu.edu Abhishek Arya]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:bbdeshpa@ncsu.edu Bhargav Deshpande]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:rkaur@ncsu.edu Ramandeep Kaur]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:uschatto@ncsu.edu Udita Chattopadhyay]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123927</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123927"/>
		<updated>2019-04-12T23:36:26Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* UI Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
&lt;br /&gt;
===No view exists to analyze the conflict report===&lt;br /&gt;
Currently whenever the conflict happens,a summary link is sent to the instructor which contains the score of all the reviews but there is no view where the instructor can see all the conflicts and analyze them.&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
[[File:EMAIL.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Conflicting Review which triggered the mail&lt;br /&gt;
[[File:Score conflicting.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Summary of all the reviews&lt;br /&gt;
[[File:SUMMARY.png|center]]&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which will contain links to the conflicting review, summary link, and a link to report which can be used for analyzing. The new report will have the information like the Team(having conflicts), the standard deviation for the team review score and pictorial representation of all the review scores.&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
*'''Feature 1:''' No hardcoded URLs &lt;br /&gt;
Hardcoded URLs will be managed by the config file in order to make these links functional on every server running Expertiza&lt;br /&gt;
&lt;br /&gt;
*'''Feature 2:''' New view to show the conflict report&lt;br /&gt;
A new view of the report which will have the following information:-&amp;lt;br&amp;gt;&lt;br /&gt;
*Name of the team&amp;lt;br&amp;gt;&lt;br /&gt;
*Standard deviation&amp;lt;br&amp;gt;&lt;br /&gt;
*Graph showing a plot of the review scores vs the team name&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This view will have a report of all the teams on one page.&lt;br /&gt;
This report link will be added to the mail that is already being sent whenever some conflict happens.&lt;br /&gt;
*Sample view of the new report -&lt;br /&gt;
[[File: Capture.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/controllers/reports_controller.rb Response Controller]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/helpers/report_formatter_helper.rb Report Format Helper]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/app/views/reports Reports View]&lt;br /&gt;
A new option will be added to view the conflict report in the _searchbox.html.erb.A new view will be added for the same.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
Rspec test files to be updated - &lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/controllers/reports_controller_spec.rb Reports Controller Spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/controllers/response_controller_spec.rb Response Controller Spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/models/response_spec.rb Response spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/models/mailer_spec.rb mailer spec]&lt;br /&gt;
&lt;br /&gt;
[Screenshots to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[Screenshots/video to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
* [https://github.com/expertiza/expertiza expertiza]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018-_Project_E1865._Conflict_Notification Previous Work]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1329 Previous Pull Request]&lt;br /&gt;
* [https://rubygems.org/gems/standard-deviation/versions/0.1.1 Standard-Deviation gem]&lt;br /&gt;
* [https://github.com/jtescher/descriptive-statistics descriptive-statistics gem]&lt;br /&gt;
&lt;br /&gt;
=Team=&lt;br /&gt;
&lt;br /&gt;
[mailto:aarya@ncsu.edu Abhishek Arya]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:bbdeshpa@ncsu.edu Bhargav Deshpande]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:rkaur@ncsu.edu Ramandeep Kaur]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:uschatto@ncsu.edu Udita Chattopadhyay]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123926</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123926"/>
		<updated>2019-04-12T23:35:21Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
&lt;br /&gt;
===No view exists to analyze the conflict report===&lt;br /&gt;
Currently whenever the conflict happens,a summary link is sent to the instructor which contains the score of all the reviews but there is no view where the instructor can see all the conflicts and analyze them.&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
[[File:EMAIL.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Conflicting Review which triggered the mail&lt;br /&gt;
[[File:Score conflicting.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Summary of all the reviews&lt;br /&gt;
[[File:SUMMARY.png|center]]&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which will contain links to the conflicting review, summary link, and a link to report which can be used for analyzing. The new report will have the information like the Team(having conflicts), the standard deviation for the team review score and pictorial representation of all the review scores.&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
*'''Feature 1:''' No hardcoded URLs &lt;br /&gt;
Hardcoded URLs will be managed by the config file in order to make these links functional on every server running Expertiza&lt;br /&gt;
&lt;br /&gt;
*'''Feature 2:''' New view to show the conflict report&lt;br /&gt;
A new view of the report which will have the following information:-&amp;lt;br&amp;gt;&lt;br /&gt;
*Name of the team&amp;lt;br&amp;gt;&lt;br /&gt;
*Standard deviation&amp;lt;br&amp;gt;&lt;br /&gt;
*Graph showing a plot of the review scores vs the team name&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This view will have a report of all the teams on one page.&lt;br /&gt;
This report link will be added to the mail that is already being sent whenever some conflict happens.&lt;br /&gt;
*Sample view of the new report -&lt;br /&gt;
[[File: Capture.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/controllers/reports_controller.rb Response Controller]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/helpers/report_formatter_helper.rb Report Format Helper]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/app/views/reports Reports View]&lt;br /&gt;
A new option will be added to view the conflict report in the _searchbox.html.erb.A new view will be added for the same.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
Rspec test files to be updated - &lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/controllers/reports_controller_spec.rb Reports Controller Spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/controllers/response_controller_spec.rb Response Controller Spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/models/response_spec.rb Response spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/models/mailer_spec.rb mailer spec]&lt;br /&gt;
&lt;br /&gt;
[Screenshots to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
* [https://github.com/expertiza/expertiza expertiza]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018-_Project_E1865._Conflict_Notification Previous Work]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1329 Previous Pull Request]&lt;br /&gt;
* [https://rubygems.org/gems/standard-deviation/versions/0.1.1 Standard-Deviation gem]&lt;br /&gt;
* [https://github.com/jtescher/descriptive-statistics descriptive-statistics gem]&lt;br /&gt;
&lt;br /&gt;
=Team=&lt;br /&gt;
&lt;br /&gt;
[mailto:aarya@ncsu.edu Abhishek Arya]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:bbdeshpa@ncsu.edu Bhargav Deshpande]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:rkaur@ncsu.edu Ramandeep Kaur]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:uschatto@ncsu.edu Udita Chattopadhyay]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123925</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123925"/>
		<updated>2019-04-12T23:30:33Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Rspec Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
&lt;br /&gt;
===No view exists to analyze the conflict report===&lt;br /&gt;
Currently whenever the conflict happens,a summary link is sent to the instructor which contains the score of all the reviews but there is no view where the instructor can see all the conflicts and analyze them.&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
[[File:EMAIL.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Conflicting Review which triggered the mail&lt;br /&gt;
[[File:Score conflicting.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Summary of all the reviews&lt;br /&gt;
[[File:SUMMARY.png|center]]&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which will contain links to the conflicting review, summary link, and a link to report which can be used for analyzing. The new report will have the information like the Team(having conflicts), the standard deviation for the team review score and pictorial representation of all the review scores.&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
*'''Feature 1:''' No hardcoded URLs &lt;br /&gt;
Hardcoded URLs will be managed by the config file in order to make these links functional on every server running Expertiza&lt;br /&gt;
&lt;br /&gt;
*'''Feature 2:''' New view to show the conflict report&lt;br /&gt;
A new view of the report which will have the following information:-&amp;lt;br&amp;gt;&lt;br /&gt;
*Name of the team&amp;lt;br&amp;gt;&lt;br /&gt;
*Standard deviation&amp;lt;br&amp;gt;&lt;br /&gt;
*Graph showing a plot of the review scores vs the team name&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This view will have a report of all the teams on one page.&lt;br /&gt;
This report link will be added to the mail that is already being sent whenever some conflict happens.&lt;br /&gt;
*Sample view of the new report -&lt;br /&gt;
[[File: Capture.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/controllers/reports_controller.rb Response Controller]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/helpers/report_formatter_helper.rb Report Format Helper]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/app/views/reports Reports View]&lt;br /&gt;
A new option will be added to view the conflict report in the _searchbox.html.erb.A new view will be added for the same.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
Rspec test files to be updated - &lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/controllers/reports_controller_spec.rb Reports Controller Spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/controllers/response_controller_spec.rb Response Controller Spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/models/response_spec.rb Response spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/models/mailer_spec.rb mailer spec]&lt;br /&gt;
&lt;br /&gt;
[Screenshots to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&lt;br /&gt;
=Team=&lt;br /&gt;
&lt;br /&gt;
[mailto:aarya@ncsu.edu Abhishek Arya]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:bbdeshpa@ncsu.edu Bhargav Deshpande]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:rkaur@ncsu.edu Ramandeep Kaur]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:uschatto@ncsu.edu Udita Chattopadhyay]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123924</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123924"/>
		<updated>2019-04-12T23:29:59Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Rspec Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
&lt;br /&gt;
===No view exists to analyze the conflict report===&lt;br /&gt;
Currently whenever the conflict happens,a summary link is sent to the instructor which contains the score of all the reviews but there is no view where the instructor can see all the conflicts and analyze them.&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
[[File:EMAIL.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Conflicting Review which triggered the mail&lt;br /&gt;
[[File:Score conflicting.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Summary of all the reviews&lt;br /&gt;
[[File:SUMMARY.png|center]]&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which will contain links to the conflicting review, summary link, and a link to report which can be used for analyzing. The new report will have the information like the Team(having conflicts), the standard deviation for the team review score and pictorial representation of all the review scores.&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
*'''Feature 1:''' No hardcoded URLs &lt;br /&gt;
Hardcoded URLs will be managed by the config file in order to make these links functional on every server running Expertiza&lt;br /&gt;
&lt;br /&gt;
*'''Feature 2:''' New view to show the conflict report&lt;br /&gt;
A new view of the report which will have the following information:-&amp;lt;br&amp;gt;&lt;br /&gt;
*Name of the team&amp;lt;br&amp;gt;&lt;br /&gt;
*Standard deviation&amp;lt;br&amp;gt;&lt;br /&gt;
*Graph showing a plot of the review scores vs the team name&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This view will have a report of all the teams on one page.&lt;br /&gt;
This report link will be added to the mail that is already being sent whenever some conflict happens.&lt;br /&gt;
*Sample view of the new report -&lt;br /&gt;
[[File: Capture.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/controllers/reports_controller.rb Response Controller]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/helpers/report_formatter_helper.rb Report Format Helper]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/app/views/reports Reports View]&lt;br /&gt;
A new option will be added to view the conflict report in the _searchbox.html.erb.A new view will be added for the same.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
Rspec test files to be updated - &lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/controllers/reports_controller_spec.rb Reports Controller Spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/controllers/response_controller_spec.rb Response Controller Spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/models/response_spec.rb Response spec]&lt;br /&gt;
*[https://github.com/expertiza/expertiza/blob/master/spec/models/mailer_spec.rb mailer spec]&lt;br /&gt;
&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&lt;br /&gt;
=Team=&lt;br /&gt;
&lt;br /&gt;
[mailto:aarya@ncsu.edu Abhishek Arya]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:bbdeshpa@ncsu.edu Bhargav Deshpande]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:rkaur@ncsu.edu Ramandeep Kaur]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:uschatto@ncsu.edu Udita Chattopadhyay]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123922</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123922"/>
		<updated>2019-04-12T23:22:29Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
&lt;br /&gt;
===No view exists to analyze the conflict report===&lt;br /&gt;
Currently whenever the conflict happens,a summary link is sent to the instructor which contains the score of all the reviews but there is no view where the instructor can see all the conflicts and analyze them.&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
[[File:EMAIL.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Conflicting Review which triggered the mail&lt;br /&gt;
[[File:Score conflicting.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Summary of all the reviews&lt;br /&gt;
[[File:SUMMARY.png|center]]&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which will contain links to the conflicting review, summary link, and a link to report which can be used for analyzing. The new report will have the information like the Team(having conflicts), the standard deviation for the team review score and pictorial representation of all the review scores.&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
*Feature 1: No hardcoded URLs &lt;br /&gt;
Hardcoded URLs will be managed by the config file in order to make these links functional on every server running Expertiza&lt;br /&gt;
&lt;br /&gt;
*Feature 2: New view to show the conflict report&lt;br /&gt;
A new view of the report which will have the following information:-&amp;lt;br&amp;gt;&lt;br /&gt;
*Name of the team&amp;lt;br&amp;gt;&lt;br /&gt;
*Standard deviation&amp;lt;br&amp;gt;&lt;br /&gt;
*Graph showing a plot of the review scores vs the team name&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This view will have a report of all the teams on one page.&lt;br /&gt;
This report link will be added to the mail that is already being sent whenever some conflict happens.&lt;br /&gt;
*Sample view of the new report -&lt;br /&gt;
[[File: Capture.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/controllers/reports_controller.rb Response Controller]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/helpers/report_formatter_helper.rb Report Format Helper]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/app/views/reports Reports View]&lt;br /&gt;
A new option will be added to view the conflict report in the _searchbox.html.erb.A new view will be added for the same.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&lt;br /&gt;
=Team=&lt;br /&gt;
&lt;br /&gt;
[mailto:aarya@ncsu.edu Abhishek Arya]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:bbdeshpa@ncsu.edu Bhargav Deshpande]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:rkaur@ncsu.edu Ramandeep Kaur]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:uschatto@ncsu.edu Udita Chattopadhyay]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Capture.PNG&amp;diff=123921</id>
		<title>File:Capture.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Capture.PNG&amp;diff=123921"/>
		<updated>2019-04-12T23:18:34Z</updated>

		<summary type="html">&lt;p&gt;Aarya: uploaded a new version of &amp;amp;quot;File:Capture.PNG&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123918</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123918"/>
		<updated>2019-04-12T23:04:02Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
&lt;br /&gt;
===No view exists to analyze the conflict report===&lt;br /&gt;
Currently whenever the conflict happens,a summary link is sent to the instructor which contains the score of all the reviews but there is no view where the instructor can see all the conflicts and analyze them.&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
[[File:EMAIL.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Conflicting Review which triggered the mail&lt;br /&gt;
[[File:Score conflicting.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Summary of all the reviews&lt;br /&gt;
[[File:SUMMARY.png|center]]&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which will contain links to the conflicting review, summary link, and a link to report which can be used for analyzing. The new report will have the information like the Team(having conflicts), the standard deviation for the team review score and pictorial representation of all the review scores.&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
*Feature 1: No hardcoded URLs &lt;br /&gt;
Hardcoded URLs will be managed by the config file in order to make these links functional on every server running Expertiza&lt;br /&gt;
&lt;br /&gt;
*Feature 2: New view to show the conflict report&lt;br /&gt;
A new view of the report which will have the following information:-&amp;lt;br&amp;gt;&lt;br /&gt;
*Name of the team&amp;lt;br&amp;gt;&lt;br /&gt;
*Standard deviation&amp;lt;br&amp;gt;&lt;br /&gt;
*Graph showing a plot of the review scores vs the team name&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This view will have a report of all the teams on one page.&lt;br /&gt;
This report link will be added to the mail that is already being sent whenever some conflict happens.&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/controllers/reports_controller.rb Response Controller]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/helpers/report_formatter_helper.rb Report Format Helper]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/app/views/reports Reports View]&lt;br /&gt;
A new option will be added to view the conflict report in the _searchbox.html.erb.A new view will be added for the same.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&lt;br /&gt;
=Team=&lt;br /&gt;
&lt;br /&gt;
[mailto:aarya@ncsu.edu Abhishek Arya]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:bbdeshpa@ncsu.edu Bhargav Deshpande]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:rkaur@ncsu.edu Ramandeep Kaur]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:uschatto@ncsu.edu Udita Chattopadhyay]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123917</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123917"/>
		<updated>2019-04-12T23:03:24Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
&lt;br /&gt;
===No view exists to analyze the conflict report===&lt;br /&gt;
Currently whenever the conflict happens,a summary link is sent to the instructor which contains the score of all the reviews but there is no view where the instructor can see all the conflicts and analyze them.&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
[[File:EMAIL.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Conflicting Review which triggered the mail&lt;br /&gt;
[[File:Score conflicting.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Summary of all the reviews&lt;br /&gt;
[[File:SUMMARY.png|center]]&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which will contain links to the conflicting review, summary link, and a link to report which can be used for analyzing. The new report will have the information like the Team(having conflicts), the standard deviation for the team review score and pictorial representation of all the review scores.&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
*Feature 1: No harcoded URLs &lt;br /&gt;
Hardcoded URLs will be managed by the config file in order to make these links functional on every server running Expertiza&lt;br /&gt;
&lt;br /&gt;
*Feature 2: New view to show the conflict report&lt;br /&gt;
A new view of the report which will have the following information:-&lt;br /&gt;
1.Name of the team&amp;lt;br&amp;gt;&lt;br /&gt;
2.Standard deviation&amp;lt;br&amp;gt;&lt;br /&gt;
3.Graph showing a plot of the review scores vs the team name&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This view will have the report of all the teams on one page.&lt;br /&gt;
This report link will be added to the mail that is already being sent whenever some conflict happens.&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/controllers/reports_controller.rb Response Controller]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/helpers/report_formatter_helper.rb Report Format Helper]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/app/views/reports Reports View]&lt;br /&gt;
A new option will be added to view the conflict report in the _searchbox.html.erb.A new view will be added for the same.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&lt;br /&gt;
=Team=&lt;br /&gt;
&lt;br /&gt;
[mailto:aarya@ncsu.edu Abhishek Arya]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:bbdeshpa@ncsu.edu Bhargav Deshpande]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:rkaur@ncsu.edu Ramandeep Kaur]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:uschatto@ncsu.edu Udita Chattopadhyay]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123916</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123916"/>
		<updated>2019-04-12T23:02:26Z</updated>

		<summary type="html">&lt;p&gt;Aarya: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
&lt;br /&gt;
===No view exists to analyze the conflict report===&lt;br /&gt;
Currently whenever the conflict happens,a summary link is sent to the instructor which contains the score of all the reviews but there is no view where the instructor can see all the conflicts and analyze them.&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
[[File:EMAIL.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Conflicting Review which triggered the mail&lt;br /&gt;
[[File:Score conflicting.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Summary of all the reviews&lt;br /&gt;
[[File:SUMMARY.png|center]]&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which will contain links to the conflicting review, summary link, and a link to report which can be used for analyzing. The new report will have the information like the Team(having conflicts), the standard deviation for the team review score and pictorial representation of all the review scores.&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
*Feature 1: No harcoded URLs &lt;br /&gt;
Hardcoded URLs will be managed by the config file in order to make these links functional on every server running Expertiza&lt;br /&gt;
&lt;br /&gt;
*Feature 2: New view to show the conflict report&lt;br /&gt;
A new view of the report which will have the following information:-&lt;br /&gt;
1.Name of the team&lt;br /&gt;
2.Standard deviation&lt;br /&gt;
3.Graph showing a plot of the review scores vs the team name&lt;br /&gt;
&lt;br /&gt;
This view will have the report of all the teams on one page.&lt;br /&gt;
This report link will be added to the mail that is already being sent whenever some conflict happens.&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/controllers/reports_controller.rb Response Controller]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/helpers/report_formatter_helper.rb Report Format Helper]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/app/views/reports Reports View]&lt;br /&gt;
A new option will be added to view the conflict report in the _searchbox.html.erb.A new view will be added for the same.&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&lt;br /&gt;
=Team=&lt;br /&gt;
&lt;br /&gt;
[mailto:aarya@ncsu.edu Abhishek Arya]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:bbdeshpa@ncsu.edu Bhargav Deshpande]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:rkaur@ncsu.edu Ramandeep Kaur]&amp;lt;br&amp;gt;&lt;br /&gt;
[mailto:uschatto@ncsu.edu Udita Chattopadhyay]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123379</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123379"/>
		<updated>2019-04-06T21:56:24Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
===Inefficient calculation of conflicts=== &lt;br /&gt;
The existing method calculates the average of the review scores and then uses it to check if the difference between the new review score and the existing average is more than the threshold limit set. This implementation is inefficient. For example, consider two reviews with scores 0 and 5, the average score will be 2.5. Now, if the new submission is made with score 2.5, the implementation will not consider this as a conflict where it should have considered it as a conflict. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
[[File:EMAIL.png|center]]&lt;br /&gt;
&lt;br /&gt;
===No separate view exist to show conflicts===&lt;br /&gt;
The existing implementation shows the conflicts in the same view of the response. Ideally, it should be rendered in a separate view.&lt;br /&gt;
&lt;br /&gt;
*Conflicting Review which triggered the mail&lt;br /&gt;
[[File:Score conflicting.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Summary of all the reviews&lt;br /&gt;
[[File:SUMMARY.png|center]]&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which contains links to two reviews. One of which is the newly submitted review that differs by more than the notification limit where such a conflict has occurred. The email should state that a new conflicting review has been made.&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
*  '''Problem''' - Inefficient calculation of conflicts: &amp;lt;br&amp;gt;&lt;br /&gt;
'''Solution:''' Instead of relying on the average, we will iterate through all previous submissions and will check conflict comparing them with the latest review. This logic will be implemented in the separate model.&lt;br /&gt;
&lt;br /&gt;
* '''Problem''' - Incorrect email message links:&amp;lt;br&amp;gt; &lt;br /&gt;
'''Solution:''' Hardcoded URLs will be managed by the config file in order to make these links functional on every server running Expertiza&lt;br /&gt;
&lt;br /&gt;
*  '''Problem''' - No separate view exist to show conflicts: &lt;br /&gt;
'''Solution:''' Separate view will be created to address this issue.&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123378</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123378"/>
		<updated>2019-04-06T21:52:28Z</updated>

		<summary type="html">&lt;p&gt;Aarya: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
===Inefficient calculation of conflicts=== &lt;br /&gt;
The existing method calculates the average of the review scores and then uses it to check if the difference between the new review score and the existing average is more than the threshold limit set. This implementation is inefficient. For example, consider two reviews with scores 0 and 5, the average score will be 2.5. Now, if the new submission is made with score 2.5, the implementation will not consider this as a conflict where it should have considered it as a conflict. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
[[File:EMAIL.png|center]]&lt;br /&gt;
&lt;br /&gt;
===No separate view exist to show conflicts===&lt;br /&gt;
The existing implementation shows the conflicts in the same view of the response. Ideally, it should be rendered in a separate view.&lt;br /&gt;
&lt;br /&gt;
*Conflicting Review which triggered the mail&lt;br /&gt;
[[File:Score conflicting.png|center]]&lt;br /&gt;
&lt;br /&gt;
*Summary of all the reviews&lt;br /&gt;
[[File:SUMMARY.png|center]]&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which contains links to two reviews. One of which is the newly submitted review that differs by more than the notification limit where such a conflict has occurred. The email should state that a new conflicting review has been made.&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
*  Problem - Inefficient calculation of conflicts: Instead of relying on the average, we will iterate through all previous submissions and will check conflict comparing them with the latest review. This logic will be implemented in the separate model.&lt;br /&gt;
* Problem - Incorrect email message links: Hardcoded URLs will be managed by the config file in order to make these links functional on every server running Expertiza&lt;br /&gt;
*  Problem - No separate view exist to show conflicts: Separate view will be created to address this issue.&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123370</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123370"/>
		<updated>2019-04-06T21:37:34Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Flaws with the Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the existing Implementation==&lt;br /&gt;
===Inefficient calculation of conflicts=== &lt;br /&gt;
The existing method calculates the average of the review scores and then uses it to check if the difference between the new review score and the existing average is more than the threshold limit set. This implementation is inefficient. For example, consider two reviews with scores 0 and 5, the average score will be 2.5. Now, if the new submission is made with score 2.5, the implementation will not consider this as a conflict where it should have considered it as a conflict. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
===No separate view exist to show conflicts===&lt;br /&gt;
The existing implementation shows the conflicts in the same view of the response. Ideally, it should be rendered in a separate view.&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which contains links to two reviews. One of which is the newly submitted review that differs by more than the notification limit where such a conflict has occurred. The email should state that a new conflicting review has been made.&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123369</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123369"/>
		<updated>2019-04-06T21:37:09Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Existing Feature Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the Implementation==&lt;br /&gt;
===Inefficient calculation of conflicts=== &lt;br /&gt;
The existing method calculates the average of the review scores and then uses it to check if the difference between the new review score and the existing average is more than the threshold limit set. This implementation is inefficient. For example, consider two reviews with scores 0 and 5, the average score will be 2.5. Now, if the new submission is made with score 2.5, the implementation will not consider this as a conflict where it should have considered it as a conflict. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
===No separate view exist to show conflicts===&lt;br /&gt;
The existing implementation shows the conflicts in the same view of the response. Ideally, it should be rendered in a separate view.&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which contains links to two reviews. One of which is the newly submitted review that differs by more than the notification limit where such a conflict has occurred. The email should state that a new conflicting review has been made.&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123368</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123368"/>
		<updated>2019-04-06T21:36:47Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Existing Feature Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the Implementation==&amp;lt;br&amp;gt;&lt;br /&gt;
===Inefficient calculation of conflicts=== &lt;br /&gt;
The existing method calculates the average of the review scores and then uses it to check if the difference between the new review score and the existing average is more than the threshold limit set. This implementation is inefficient. For example, consider two reviews with scores 0 and 5, the average score will be 2.5. Now, if the new submission is made with score 2.5, the implementation will not consider this as a conflict where it should have considered it as a conflict. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
===No separate view exist to show conflicts===&lt;br /&gt;
The existing implementation shows the conflicts in the same view of the response. Ideally, it should be rendered in a separate view.&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which contains links to two reviews. One of which is the newly submitted review that differs by more than the notification limit where such a conflict has occurred. The email should state that a new conflicting review has been made.&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123367</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123367"/>
		<updated>2019-04-06T21:35:29Z</updated>

		<summary type="html">&lt;p&gt;Aarya: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently, this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Flowwork.PNG|center]]&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
==Flaws with the Implementation==&amp;lt;br&amp;gt;&lt;br /&gt;
===Inefficient calculation of conflicts=== &lt;br /&gt;
The existing method calculates the average of the review scores and then uses it to check if the difference between the new review score and the existing average is more than the threshold limit set. This implementation is inefficient. For example, consider two reviews with scores 0 and 5, the average score will be 2.5. Now, if the new submission is made with score 2.5, the implementation will not consider this as a conflict where it should have considered it as a conflict. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Incorrect email message links===&lt;br /&gt;
The existing email body uses hardcoded URLs mentioned in models/response.rb file in the method notify_instructor_on_difference. Being hardcoded, these links wouldn't work on other servers where Expertiza is running. For Example, if the setup is done on localhost, the links will not be functional.&lt;br /&gt;
&lt;br /&gt;
===No separate view exist to show conflicts===&lt;br /&gt;
The existing implementation shows the conflicts in the same view of the response. Ideally, it should be rendered in a separate view. &lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which contains links to two reviews. One of which is the newly submitted review that differs by more than the notification limit where such a conflict has occurred. The email should state that a new conflicting review has been made.&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123363</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123363"/>
		<updated>2019-04-06T20:59:56Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* What needs to be done */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which contains links to two reviews. One of which is the newly submitted review that differs by more than the notification limit where such a conflict has occurred. The email should state that a new conflicting review has been made.&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
&lt;br /&gt;
=Previous Project and its problems=&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123362</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123362"/>
		<updated>2019-04-06T20:57:20Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Existing Feature Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
Whenever a new review is submitted, it is compared with the average of the previously submitted reviews. If the difference between the new submission and existing average is more than the threshold limit set, then a mail is sent to the instructor.&lt;br /&gt;
With every review submitted for an assignment of a particular student, the average is updated.&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which contains links to two reviews (one of which is the newly submitted review) that differ by more than the notification limit where such a conflict has occurred. The email should state that a new conflicting review has been made.&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
&lt;br /&gt;
=Previous Project and its problems=&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123361</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123361"/>
		<updated>2019-04-06T20:47:31Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* What needs to be done */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
Whenever a student gives a review which differs by more than the threshold limit set,then a mail is sent to the instructor.&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
The scope of this project is to send an email notification to instructor which contains links to two reviews (one of which is the newly submitted review) that differ by more than the notification limit where such a conflict has occurred. The email should state that a new conflicting review has been made.&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
&lt;br /&gt;
=Previous Project and its problems=&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123360</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123360"/>
		<updated>2019-04-06T20:47:14Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Problem Statement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is for the description of changes made under ECE517 SPRING 2019 PROJECT E1931 CONFLICT NOTIFICATIONS&lt;br /&gt;
&lt;br /&gt;
=Problem Statement=&lt;br /&gt;
&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ &amp;quot;significantly&amp;quot; on their scoring (the threshold is specified in the &amp;quot;Notification limit&amp;quot; on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification.&lt;br /&gt;
&lt;br /&gt;
=Existing Feature Description=&lt;br /&gt;
&lt;br /&gt;
Currently this feature works as follows:&lt;br /&gt;
&lt;br /&gt;
Whenever a student gives a review which differs by more than the threshold limit set,then a mail is sent to the instructor.&lt;br /&gt;
&lt;br /&gt;
=What needs to be done=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Files to be changed in this Project=&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/mailers/mailer.rb mailer.rb]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/tree/master/config Config File]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/models/response.rb response.rb]&lt;br /&gt;
&lt;br /&gt;
=Previous Project and its problems=&lt;br /&gt;
&lt;br /&gt;
=Implementation=&lt;br /&gt;
&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=Test Plan=&lt;br /&gt;
&lt;br /&gt;
To test code implementation and correctness of the modified feature, we plan to do the following tests:-&lt;br /&gt;
&lt;br /&gt;
*Run and pass existing RSpec Tests&lt;br /&gt;
*Develop New RSpec Tests for the new code&lt;br /&gt;
*UI testing on the deployed project&lt;br /&gt;
&lt;br /&gt;
==Rspec Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
==UI Testing==&lt;br /&gt;
[to be populated after coding is complete]&lt;br /&gt;
&lt;br /&gt;
=References=&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123346</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123346"/>
		<updated>2019-04-06T19:10:01Z</updated>

		<summary type="html">&lt;p&gt;Aarya: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;='''Problem Statement'''=&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ “significantly” on their scoring (the threshold is specified in the “Notification limit” on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification. The scope of this project is to send an email notification to instructor which contains links to two reviews (one of which is the newly submitted review) that differ by more than the notification limit where such a conflict has occurred. The email should state that a new conflicting review has been made.&lt;br /&gt;
&lt;br /&gt;
='''Design'''=&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123345</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1931. Conflict notification</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1931._Conflict_notification&amp;diff=123345"/>
		<updated>2019-04-06T19:07:45Z</updated>

		<summary type="html">&lt;p&gt;Aarya: Created page with &amp;quot;='''Problem Statement'''= Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ “significantly” on their scoring ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;='''Problem Statement'''=&lt;br /&gt;
Current conflict notification sends an email to the instructor whenever two reviews for the same submission differ “significantly” on their scoring (the threshold is specified in the “Notification limit” on the Rubrics tab of assignment creation). Right now an email is sent at any such time one of these conflicts happen, however, it does not link to the particular review or submission which initiated the notification. The scope of this project is to send an email notification to instructor which contains links to two reviews (one of which is the newly submitted review) that differ by more than the notification limit where such a conflict has occurred. The email should state that a new conflicting review has been made.&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1903._Create_quiz_questionnaires_controller.rb&amp;diff=122170</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1903. Create quiz questionnaires controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1903._Create_quiz_questionnaires_controller.rb&amp;diff=122170"/>
		<updated>2019-03-25T19:44:55Z</updated>

		<summary type="html">&lt;p&gt;Aarya: /* Changes made to current Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
1. The questionnaires_controller.rb has multiple methods to handle quizzes. Some of these methods cater only to quizzes. The controller has to be refactored into 2 controllers by moving the functions related to quizzes and the dependencies into a new controller called quiz_questionnaire_controller.rb.&lt;br /&gt;
&lt;br /&gt;
2. Some methods in the questionnaires_controller.rb are long or have hardcoded parameters. These methods have to be refactored into shorter functions rid of hardcoded parameters.&lt;br /&gt;
 &lt;br /&gt;
==Changes made to current Implementation==&lt;br /&gt;
&lt;br /&gt;
1. Creation of new controller &amp;lt;br&amp;gt;&lt;br /&gt;
to be filled&lt;br /&gt;
&lt;br /&gt;
2. Creation of Rspec file for new controller &amp;lt;br&amp;gt;&lt;br /&gt;
to be filled&lt;br /&gt;
&lt;br /&gt;
3. Refactoring current controller &amp;lt;br&amp;gt;&lt;br /&gt;
to be filled &lt;br /&gt;
&lt;br /&gt;
4. Creation of new route for quiz_questionnaire_controller and updated the affected links in views &amp;lt;br&amp;gt;&lt;br /&gt;
Created a new route quiz_questionnaire for quiz_questionnaire_controller in &amp;quot;routs.rb&amp;quot; and moved the custom created &amp;quot;get/post&amp;quot; routes for quizzes from questionnaires route to it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 resources :quiz_questionnaire, only: %i[new create edit update] do&lt;br /&gt;
    collection do&lt;br /&gt;
      get :new_quiz&lt;br /&gt;
      post :create_quiz_questionnaire&lt;br /&gt;
      get :edit_quiz&lt;br /&gt;
      post :update_quiz&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then changed the controller name and route in all the following views which are accessing quiz_questionnaire_controller while keeping the application flow intact - &lt;br /&gt;
&lt;br /&gt;
/app/views/questionnaire/view.html.erb &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;% if @questionnaire.type == &amp;quot;QuizQuestionnaire&amp;quot; %&amp;gt;&lt;br /&gt;
      &amp;lt;%= link_to 'Edit', :controller =&amp;gt; :quiz_questionnaire, :action =&amp;gt; :edit_quiz, :id =&amp;gt; &lt;br /&gt;
@questionnaire.id, :pid =&amp;gt; @participant.id %&amp;gt;|&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/app/views/questionnaire/new_quiz.erb &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;%= form_tag :controller =&amp;gt; 'quiz_questionnaire', :action =&amp;gt; 'create_quiz_questionnaire', &lt;br /&gt;
:pid =&amp;gt; @participant_id, :aid =&amp;gt; @assignment_id do %&amp;gt;&lt;br /&gt;
        &amp;lt;% $disp_flag = 1 %&amp;gt;&lt;br /&gt;
        &amp;lt;%= render :partial =&amp;gt; 'quiz_questionnaire' %&amp;gt;&lt;br /&gt;
        &amp;lt;% $disp_flag = 0 %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;%= render :partial =&amp;gt; 'new_question_template' %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;br&amp;gt;&lt;br /&gt;
        &amp;lt;%= submit_tag &amp;quot;Create Quiz&amp;quot;, :name=&amp;gt;&amp;quot;save&amp;quot; %&amp;gt;&lt;br /&gt;
    &amp;lt;% end %&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/app/views/questionnaire/edit.html.erb &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;%= form_tag({:controller=&amp;gt;'quiz_questionnaire', :action=&amp;gt;'update_quiz', :id=&amp;gt;@questionnaire.id, :pid =&amp;gt; params[:pid]}, :multipart =&amp;gt; true) do %&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
/app/views/submitted_content/_main.html.erb &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;% if !t_id.nil? &amp;amp;&amp;amp; questionnaire = QuizQuestionnaire.where([&amp;quot;instructor_id = ?&amp;quot;, t_id]).first %&amp;gt;&lt;br /&gt;
      &amp;lt;%= link_to 'View quiz', :controller =&amp;gt; :quiz_questionnaire, :action =&amp;gt; :view_quiz, :id =&amp;gt; questionnaire.id, :pid =&amp;gt; participant.id %&amp;gt;&lt;br /&gt;
      &amp;lt;br/&amp;gt;&lt;br /&gt;
      &amp;lt;% if !questionnaire.taken_by_anyone?%&amp;gt;&lt;br /&gt;
        &amp;lt;%= link_to 'Edit quiz', :controller =&amp;gt; :quiz_questionnaire, :action =&amp;gt; :edit_quiz, :id =&amp;gt; questionnaire.id, :pid =&amp;gt; participant.id %&amp;gt;&lt;br /&gt;
      &amp;lt;% end %&amp;gt;&lt;br /&gt;
      &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;% else %&amp;gt;&lt;br /&gt;
      &amp;lt;br/&amp;gt;&lt;br /&gt;
      &amp;lt;%= link_to 'Create a quiz', :controller =&amp;gt; :quiz_questionnaire, :action =&amp;gt; :new_quiz, :model =&amp;gt; &amp;quot;QuizQuestionnaire&amp;quot;, :private =&amp;gt; 0, :aid =&amp;gt; @assignment.id, :pid =&amp;gt; participant.id %&amp;gt;&lt;br /&gt;
      &amp;lt;br/&amp;gt;&lt;br /&gt;
    &amp;lt;% end %&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Files affected==&lt;br /&gt;
&lt;br /&gt;
The following files were created or refactored&lt;br /&gt;
1. /app/controllers/questionnaires_controller.rb &amp;lt;br&amp;gt;&lt;br /&gt;
2. /app/controllers/quiz_questionnaire_controller.rb &amp;lt;br&amp;gt;&lt;br /&gt;
3. /app/views/questionnaire/view.html.erb &amp;lt;br&amp;gt;&lt;br /&gt;
4. /app/views/questionnaire/new_quiz.erb &amp;lt;br&amp;gt;&lt;br /&gt;
5. /app/views/questionnaire/edit.html.erb &amp;lt;br&amp;gt;&lt;br /&gt;
6. /app/views/submitted_content/_main.html.erb &amp;lt;br&amp;gt;&lt;br /&gt;
7. /config/routes.rb &amp;lt;br&amp;gt;&lt;br /&gt;
8. /spec/controllers/questionnaires_controller_spec.rb &amp;lt;br&amp;gt;&lt;br /&gt;
9. /spec/controllers/quiz_questionnaire_controller_spec.rb &lt;br /&gt;
&lt;br /&gt;
==Team members==&lt;br /&gt;
1. Abhishek Arya (aarya@ncsu.edu) &amp;lt;br&amp;gt;&lt;br /&gt;
2. Nitin Nataraj Kuncham (nkuncha@ncsu.edu) &amp;lt;br&amp;gt;&lt;br /&gt;
3. Suraj Siddharudh (ssiddha@ncsu.edu) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
#[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
#[https://www.rubyguides.com/2018/07/rspec-tutorial/ rpec tutorial]&lt;br /&gt;
#[https://www.stackoverflow.com/ Stackoverflow]&lt;/div&gt;</summary>
		<author><name>Aarya</name></author>
	</entry>
</feed>