<?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=Jfwang2</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=Jfwang2"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Jfwang2"/>
	<updated>2026-08-08T09:23:03Z</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_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=124579</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=124579"/>
		<updated>2019-04-26T22:51:03Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
== Changes Made ==&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default review view from displaying analysis for each comment to summarized analysis for all comments&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, suggestions, suggestions_chances returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* Evaluate how much time this API is taking and, if possible, work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Files that we changed ===&lt;br /&gt;
* '''app/views/response/response.html.erb''' -  Refactored and reworked JS methods for the autosave and form submits, added a new hidden button to the response form &lt;br /&gt;
* '''app/controllers/response_controller.rb''' - Refactored and reworked methods for the autosave and form submits, added an API method to pass to view&lt;br /&gt;
* app/helpers/review_mapping_helper.rb - Adjusted the bar thickness according to desired specifications&lt;br /&gt;
* config/routes.rb - Added another route to support the new review confirmation page listed below&lt;br /&gt;
&lt;br /&gt;
=== New files we added ===&lt;br /&gt;
* '''app/models/metric.rb'''  - New ActiveRecord model added to act as a template for future API usage&lt;br /&gt;
* '''db/migrate/20190425194052_create_metrics.rb''' - New table added for permanent storage of the Metric class&lt;br /&gt;
* '''app/views/response/show_confirmation_page.erb - The new page added for review confirmation&lt;br /&gt;
* '''test/fixtures/metrics.yml''' - In support of the new ActiveRecord model called Metric&lt;br /&gt;
* '''test/models/metric_test.rb''' - In support of the new ActiveRecord model called Metric&lt;br /&gt;
* '''app/assets/images/lightbulb.png''' - Lightbulb picture for the new review confirmation page&lt;br /&gt;
* '''app/assets/images/music_note.png''' - A music note picture for the new review confirmation page&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png]]&lt;br /&gt;
&lt;br /&gt;
=== Confirmation Page View ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Student View=====&lt;br /&gt;
The program flow is as follows:&lt;br /&gt;
&lt;br /&gt;
# After the reviewer has filled out their review, they have 2 choices: See an analysis of their review or Save the review.&lt;br /&gt;
# The reviewer selects to view their analysis by clicking on &amp;quot;Confirm Submission&amp;quot; button&lt;br /&gt;
# The program directs the reviewer to the new confirmation page which displays an analysis of their review.&lt;br /&gt;
# The reviewer has 2 options in the confirmation page: Submit the review or go back and modify their review.&lt;br /&gt;
# If the reviewer decides to Submit their review, the program directs them back to where they started (Create or edit review).&lt;br /&gt;
&lt;br /&gt;
The image below shows the above steps in a visual depiction.&lt;br /&gt;
[[File:program_flow.png]]&lt;br /&gt;
&lt;br /&gt;
==== Detailed Popup Information ====&lt;br /&gt;
Below we showcase the available information from the API if a reviewer is curious to find more details&lt;br /&gt;
&lt;br /&gt;
[[File:review_response_w_popup_1.png]]&lt;br /&gt;
[[File:review_response_w_popup_2.png]]&lt;br /&gt;
[[File:review_response_w_popup_3.png]]&lt;br /&gt;
&lt;br /&gt;
==== Conditional Formatting ====&lt;br /&gt;
To make the interface more user-friendly, we used conditional formatting to color our text. For the suggestions metrics, anything &amp;gt;50% means suggestions are present while anything &amp;lt;50% means suggestions are absent. Our conditional formatting is set so &amp;quot;Yes (&amp;gt;50%)&amp;quot; is green, 50% is yellow, and &amp;quot;No (&amp;lt;50%)&amp;quot; is red. The formatting is the same for the class average of suggestions metrics.&lt;br /&gt;
&lt;br /&gt;
For tone, there are three options in the API: positive, neutral, and negative. We created conditional formatting in our view file so positive is green text, neutral is yellow text, and negative is red text.&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=124133</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=124133"/>
		<updated>2019-04-15T21:01:08Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
 File(s) involved in making API Call: response_controller.rb&lt;br /&gt;
 FIle(s) involved in displaying the received output: response.html.erb&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default review view from displaying analysis for each comment to summarized analysis for all comments&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, suggestions, suggestions_chances returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* Evaluate how much time this API is taking and, if possible, work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png]]&lt;br /&gt;
&lt;br /&gt;
==== Anticipated View ====&lt;br /&gt;
&lt;br /&gt;
=====Student View=====&lt;br /&gt;
[[File:y.png]]&lt;br /&gt;
&lt;br /&gt;
The student will be given a summary of the feedback in a colorful format. The student will not see all the fields of the JSON and only the necessary text fields, whereas the previous pull request enabled the student to see all the fields in the output from the API call. We expect to make the detailed view optional so that it can be used for debug purposes, and this will be available to non-students (admins, instructors).&lt;br /&gt;
&lt;br /&gt;
=====Production View=====&lt;br /&gt;
&lt;br /&gt;
In the production server, there will be an option at the top of the page to turn on debug mode.&lt;br /&gt;
[[File:Debugmode checked.png]]&lt;br /&gt;
&lt;br /&gt;
In debug mode, all information returned from the API call will be displayed beside each review instead of only averaging the essential metrics for all reviews. We are still choosing to omit the &amp;quot;text&amp;quot; item returned in the JSON since it is redundant to display the comment again. Debug mode will be displayed to the right of each review comment.&lt;br /&gt;
[[File:Debugmode on.png]]&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123863</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123863"/>
		<updated>2019-04-12T20:14:47Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Non-student View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
 File(s) involved in making API Call: response_controller.rb&lt;br /&gt;
 FIle(s) involved in displaying the received output: response.html.erb&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default review view from displaying analysis for each comment to summarized analysis for all comments&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* Evaluate how much time this API is taking and, if possible, work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png]]&lt;br /&gt;
&lt;br /&gt;
==== Anticipated View ====&lt;br /&gt;
&lt;br /&gt;
=====Student View=====&lt;br /&gt;
[[File:y.png]]&lt;br /&gt;
&lt;br /&gt;
The student will be given a summary of the feedback in a colorful format. The student will not see all the fields of the JSON and only the necessary text fields, whereas the previous pull request enabled the student to see all the fields in the output from the API call. We expect to make the detailed view optional so that it can be used for debug purposes, and this will be available to non-students (admins, instructors).&lt;br /&gt;
&lt;br /&gt;
=====Production View=====&lt;br /&gt;
&lt;br /&gt;
In the production server, there will be an option at the top of the page to turn on debug mode.&lt;br /&gt;
[[File:Debugmode checked.png]]&lt;br /&gt;
&lt;br /&gt;
In debug mode, all information returned from the API call will be displayed beside each review instead of only averaging the essential metrics for all reviews. We are still choosing to omit the &amp;quot;text&amp;quot; item returned in the JSON since it is redundant to display the comment again. Debug mode will be displayed to the right of each review comment.&lt;br /&gt;
[[File:Debugmode on.png]]&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123862</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123862"/>
		<updated>2019-04-12T20:07:14Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Proposed changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
 File(s) involved in making API Call: response_controller.rb&lt;br /&gt;
 FIle(s) involved in displaying the received output: response.html.erb&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default review view from displaying analysis for each comment to summarized analysis for all comments&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* Evaluate how much time this API is taking and, if possible, work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png]]&lt;br /&gt;
&lt;br /&gt;
==== Anticipated View ====&lt;br /&gt;
&lt;br /&gt;
=====Student View=====&lt;br /&gt;
[[File:y.png]]&lt;br /&gt;
&lt;br /&gt;
The student will be given a summary of the feedback in a colorful format. The student will not see all the fields of the JSON and only the necessary text fields, whereas the previous pull request enabled the student to see all the fields in the output from the API call. We expect to make the detailed view optional so that it can be used for debug purposes, and this will be available to non-students (admins, instructors).&lt;br /&gt;
&lt;br /&gt;
=====Non-student View=====&lt;br /&gt;
&lt;br /&gt;
The default view for non-students will match the student view. However, there will be an option at the top of the page to turn on debug mode.&lt;br /&gt;
[[File:Debugmode checked.png]]&lt;br /&gt;
&lt;br /&gt;
In debug mode, all information returned from the API call will be displayed beside each review instead of only averaging the essential metrics for all reviews. We are still choosing to omit the &amp;quot;text&amp;quot; item returned in the JSON since it is redundant to display the comment again. Debug mode will be displayed to the right of each review comment.&lt;br /&gt;
[[File:Debugmode on.png]]&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123861</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123861"/>
		<updated>2019-04-12T20:06:11Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Proposed changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
 File(s) involved in making API Call: response_controller.rb&lt;br /&gt;
 FIle(s) involved in displaying the received output: response.html.erb&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default review view from displaying analysis for each comment to summarized analysis for all comments&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png]]&lt;br /&gt;
&lt;br /&gt;
==== Anticipated View ====&lt;br /&gt;
&lt;br /&gt;
=====Student View=====&lt;br /&gt;
[[File:y.png]]&lt;br /&gt;
&lt;br /&gt;
The student will be given a summary of the feedback in a colorful format. The student will not see all the fields of the JSON and only the necessary text fields, whereas the previous pull request enabled the student to see all the fields in the output from the API call. We expect to make the detailed view optional so that it can be used for debug purposes, and this will be available to non-students (admins, instructors).&lt;br /&gt;
&lt;br /&gt;
=====Non-student View=====&lt;br /&gt;
&lt;br /&gt;
The default view for non-students will match the student view. However, there will be an option at the top of the page to turn on debug mode.&lt;br /&gt;
[[File:Debugmode checked.png]]&lt;br /&gt;
&lt;br /&gt;
In debug mode, all information returned from the API call will be displayed beside each review instead of only averaging the essential metrics for all reviews. We are still choosing to omit the &amp;quot;text&amp;quot; item returned in the JSON since it is redundant to display the comment again. Debug mode will be displayed to the right of each review comment.&lt;br /&gt;
[[File:Debugmode on.png]]&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123803</id>
		<title>File:Debugmode checked.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123803"/>
		<updated>2019-04-12T00:37:50Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: uploaded a new version of &amp;amp;quot;File:Debugmode checked.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123802</id>
		<title>File:Debugmode checked.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123802"/>
		<updated>2019-04-12T00:37:38Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: uploaded a new version of &amp;amp;quot;File:Debugmode checked.png&amp;amp;quot;: Reverted to version as of 22:14, 11 April 2019&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_on.png&amp;diff=123801</id>
		<title>File:Debugmode on.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_on.png&amp;diff=123801"/>
		<updated>2019-04-12T00:34:50Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: uploaded a new version of &amp;amp;quot;File:Debugmode on.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123800</id>
		<title>File:Debugmode checked.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123800"/>
		<updated>2019-04-12T00:33:50Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: uploaded a new version of &amp;amp;quot;File:Debugmode checked.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123799</id>
		<title>File:Debugmode checked.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123799"/>
		<updated>2019-04-12T00:33:29Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: uploaded a new version of &amp;amp;quot;File:Debugmode checked.png&amp;amp;quot;: Reverted to version as of 00:32, 12 April 2019&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123798</id>
		<title>File:Debugmode checked.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123798"/>
		<updated>2019-04-12T00:33:04Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: uploaded a new version of &amp;amp;quot;File:Debugmode checked.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123797</id>
		<title>File:Debugmode checked.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123797"/>
		<updated>2019-04-12T00:32:29Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: uploaded a new version of &amp;amp;quot;File:Debugmode checked.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_on.png&amp;diff=123796</id>
		<title>File:Debugmode on.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_on.png&amp;diff=123796"/>
		<updated>2019-04-12T00:31:18Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: uploaded a new version of &amp;amp;quot;File:Debugmode on.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_on.png&amp;diff=123795</id>
		<title>File:Debugmode on.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_on.png&amp;diff=123795"/>
		<updated>2019-04-12T00:30:39Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: uploaded a new version of &amp;amp;quot;File:Debugmode on.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123794</id>
		<title>File:Debugmode checked.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123794"/>
		<updated>2019-04-12T00:29:41Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: uploaded a new version of &amp;amp;quot;File:Debugmode checked.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123792</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123792"/>
		<updated>2019-04-11T22:22:35Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Non-student View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
 File(s) involved in making API Call: response_controller.rb&lt;br /&gt;
 FIle(s) involved in displaying the received output: response.html.erb&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png]]&lt;br /&gt;
&lt;br /&gt;
==== Anticipated View ====&lt;br /&gt;
&lt;br /&gt;
=====Student View=====&lt;br /&gt;
[[File:y.png]]&lt;br /&gt;
&lt;br /&gt;
The student will be given a summary of the feedback in a colorful format. The student will not see all the fields of the JSON and only the necessary text fields, whereas the previous pull request enabled the student to see all the fields in the output from the API call. We expect to make the detailed view optional so that it can be used for debug purposes, and this will be available to non-students (admins, instructors).&lt;br /&gt;
&lt;br /&gt;
=====Non-student View=====&lt;br /&gt;
&lt;br /&gt;
The default view for non-students will match the student view. However, there will be an option at the top of the page to turn on debug mode.&lt;br /&gt;
[[File:Debugmode checked.png]]&lt;br /&gt;
&lt;br /&gt;
In debug mode, all information returned from the API call will be displayed beside each review instead of only averaging the essential metrics for all reviews. We are still choosing to omit the &amp;quot;text&amp;quot; item returned in the JSON since it is redundant to display the comment again. Debug mode will be displayed to the right of each review comment.&lt;br /&gt;
[[File:Debugmode on.png]]&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123791</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123791"/>
		<updated>2019-04-11T22:17:59Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Response Controller */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
 File(s) involved in making API Call: response_controller.rb&lt;br /&gt;
 FIle(s) involved in displaying the received output: response.html.erb&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png]]&lt;br /&gt;
&lt;br /&gt;
==== Anticipated View ====&lt;br /&gt;
&lt;br /&gt;
=====Student View=====&lt;br /&gt;
[[File:y.png]]&lt;br /&gt;
&lt;br /&gt;
The student will be given a summary of the feedback in a colorful format. The student will not see all the fields of the JSON and only the necessary text fields, whereas the previous pull request enabled the student to see all the fields in the output from the API call. We expect to make the detailed view optional so that it can be used for debug purposes, and this will be available to non-students (admins, instructors).&lt;br /&gt;
&lt;br /&gt;
=====Non-student View=====&lt;br /&gt;
&lt;br /&gt;
The default view for non-students will match the student view. However, there will be an option at the top of the page to turn on debug mode.&lt;br /&gt;
[[File:Debugmode checked.png]]&lt;br /&gt;
&lt;br /&gt;
In debug mode, all information returned from the API call will be displayed beside each review instead of only averaging the essential metrics for all reviews. We are still choosing to omit the &amp;quot;text&amp;quot; item returned in the JSON since it is redundant to display the comment again.&lt;br /&gt;
[[File:Debugmode on.png]]&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123790</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123790"/>
		<updated>2019-04-11T22:17:03Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Response Controller */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
 File(s) involved in making API Call: response_controller.rb&lt;br /&gt;
 FIle(s) involved in displaying the received output: response.html.erb&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png|400px]]&lt;br /&gt;
&lt;br /&gt;
==== Anticipated View ====&lt;br /&gt;
&lt;br /&gt;
=====Student View=====&lt;br /&gt;
[[File:y.png]]&lt;br /&gt;
&lt;br /&gt;
The student will be given a summary of the feedback in a colorful format. The student will not see all the fields of the JSON and only the necessary text fields, whereas the previous pull request enabled the student to see all the fields in the output from the API call. We expect to make the detailed view optional so that it can be used for debug purposes, and this will be available to non-students (admins, instructors).&lt;br /&gt;
&lt;br /&gt;
=====Non-student View=====&lt;br /&gt;
&lt;br /&gt;
The default view for non-students will match the student view. However, there will be an option at the top of the page to turn on debug mode.&lt;br /&gt;
[[File:Debugmode checked.png]]&lt;br /&gt;
&lt;br /&gt;
In debug mode, all information returned from the API call will be displayed beside each review instead of only averaging the essential metrics for all reviews. We are still choosing to omit the &amp;quot;text&amp;quot; item returned in the JSON since it is redundant to display the comment again.&lt;br /&gt;
[[File:Debugmode on.png]]&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123789</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123789"/>
		<updated>2019-04-11T22:15:46Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Non-student View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
 File(s) involved in making API Call: response_controller.rb&lt;br /&gt;
 FIle(s) involved in displaying the received output: response.html.erb&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png]]&lt;br /&gt;
&lt;br /&gt;
==== Anticipated View ====&lt;br /&gt;
&lt;br /&gt;
=====Student View=====&lt;br /&gt;
[[File:y.png]]&lt;br /&gt;
&lt;br /&gt;
The student will be given a summary of the feedback in a colorful format. The student will not see all the fields of the JSON and only the necessary text fields, whereas the previous pull request enabled the student to see all the fields in the output from the API call. We expect to make the detailed view optional so that it can be used for debug purposes, and this will be available to non-students (admins, instructors).&lt;br /&gt;
&lt;br /&gt;
=====Non-student View=====&lt;br /&gt;
&lt;br /&gt;
The default view for non-students will match the student view. However, there will be an option at the top of the page to turn on debug mode.&lt;br /&gt;
[[File:Debugmode checked.png]]&lt;br /&gt;
&lt;br /&gt;
In debug mode, all information returned from the API call will be displayed beside each review instead of only averaging the essential metrics for all reviews. We are still choosing to omit the &amp;quot;text&amp;quot; item returned in the JSON since it is redundant to display the comment again.&lt;br /&gt;
[[File:Debugmode on.png]]&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_on.png&amp;diff=123788</id>
		<title>File:Debugmode on.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_on.png&amp;diff=123788"/>
		<updated>2019-04-11T22:15:17Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123787</id>
		<title>File:Debugmode checked.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Debugmode_checked.png&amp;diff=123787"/>
		<updated>2019-04-11T22:14:39Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123786</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123786"/>
		<updated>2019-04-11T21:57:58Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Non-student View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
 File(s) involved in making API Call: response_controller.rb&lt;br /&gt;
 FIle(s) involved in displaying the received output: response.html.erb&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png]]&lt;br /&gt;
&lt;br /&gt;
==== Anticipated View ====&lt;br /&gt;
&lt;br /&gt;
=====Student View=====&lt;br /&gt;
[[File:y.png]]&lt;br /&gt;
&lt;br /&gt;
The student will be given a summary of the feedback in a colorful format. The student will not see all the fields of the JSON and only the necessary text fields, whereas the previous pull request enabled the student to see all the fields in the output from the API call. We expect to make the detailed view optional so that it can be used for debug purposes, and this will be available to non-students (admins, instructors).&lt;br /&gt;
&lt;br /&gt;
=====Non-student View=====&lt;br /&gt;
&lt;br /&gt;
The default view for non-students will match the student view. However, there will be an option at the top of the page to turn on debug mode.&lt;br /&gt;
&lt;br /&gt;
In debug mode, all information returned from the API call will be displayed beside each review instead of only averaging the essential metrics for all reviews.&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123785</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123785"/>
		<updated>2019-04-11T21:55:55Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* =Non-student View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
 File(s) involved in making API Call: response_controller.rb&lt;br /&gt;
 FIle(s) involved in displaying the received output: response.html.erb&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png]]&lt;br /&gt;
&lt;br /&gt;
==== Anticipated View ====&lt;br /&gt;
&lt;br /&gt;
=====Student View=====&lt;br /&gt;
[[File:y.png]]&lt;br /&gt;
&lt;br /&gt;
The student will be given a summary of the feedback in a colorful format. The student will not see all the fields of the JSON and only the necessary text fields, whereas the previous pull request enabled the student to see all the fields in the output from the API call. We expect to make the detailed view optional so that it can be used for debug purposes, and this will be available to non-students (admins, instructors).&lt;br /&gt;
&lt;br /&gt;
=====Non-student View=====&lt;br /&gt;
&lt;br /&gt;
The default view for non-students will match the student view. However, there will be an option at the top of the page to turn on debug mode.&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123784</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123784"/>
		<updated>2019-04-11T21:55:33Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Anticipated View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
 File(s) involved in making API Call: response_controller.rb&lt;br /&gt;
 FIle(s) involved in displaying the received output: response.html.erb&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png]]&lt;br /&gt;
&lt;br /&gt;
==== Anticipated View ====&lt;br /&gt;
&lt;br /&gt;
=====Student View=====&lt;br /&gt;
[[File:y.png]]&lt;br /&gt;
&lt;br /&gt;
The student will be given a summary of the feedback in a colorful format. The student will not see all the fields of the JSON and only the necessary text fields, whereas the previous pull request enabled the student to see all the fields in the output from the API call. We expect to make the detailed view optional so that it can be used for debug purposes, and this will be available to non-students (admins, instructors).&lt;br /&gt;
&lt;br /&gt;
=====Non-student View====&lt;br /&gt;
&lt;br /&gt;
The default view for non-students will match the student view. However, there will be an option at the top of the page to turn on debug mode.&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123783</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123783"/>
		<updated>2019-04-11T21:53:04Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How it will work===&lt;br /&gt;
&lt;br /&gt;
In order to make the API call, the response_controller.rb will be responsible for sending a JSON input to the web service. The input will contain the review comment submitted by the user in the following format: &lt;br /&gt;
&lt;br /&gt;
Below is a sample input &lt;br /&gt;
  Sample Input:&lt;br /&gt;
  {&lt;br /&gt;
  	&amp;quot;reviews&amp;quot;:[{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;review text here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;,&amp;quot;suggestion&amp;quot;,&amp;quot;sentiment&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;another review here&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;problem&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		&amp;quot;text&amp;quot;:&amp;quot;more text, maybe a large para or whatever you like&amp;quot;,&lt;br /&gt;
  		&amp;quot;metrics&amp;quot;:[&amp;quot;sentiment&amp;quot;, &amp;quot;suggestion&amp;quot;]&lt;br /&gt;
  	},{&lt;br /&gt;
  		...&lt;br /&gt;
  	}]&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
Once the request is send, we expect the output to be in the following format:&lt;br /&gt;
&lt;br /&gt;
 Sample Output: (as 'suggestion' and 'volume' as you might expect)&lt;br /&gt;
 {&lt;br /&gt;
 	&amp;quot;metrics&amp;quot;:[{&lt;br /&gt;
 		&amp;quot;suggestion&amp;quot;:{&lt;br /&gt;
 			&amp;quot;suggestions_chances&amp;quot;:30,&lt;br /&gt;
 			&amp;quot;suggestions&amp;quot;:&amp;quot;absent&amp;quot;&lt;br /&gt;
 		},&lt;br /&gt;
 		&amp;quot;volume&amp;quot;:{&lt;br /&gt;
 			&amp;quot;total_volume&amp;quot;:10,&lt;br /&gt;
 			&amp;quot;volume_without_stopwords&amp;quot;:3&lt;br /&gt;
 		}&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	},{&lt;br /&gt;
 		...&lt;br /&gt;
 	}]&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The output (which is a JSON) will be parsed and the suggestion metrics such as the tone and presence of suggestion will be extracted so the user will be able to view a summarized result of how well their review comments were. In addition, an average score will be computed based on the scores they received for each comment section, and the result will be presented in a colorful format to the user after they hit the submit button.&lt;br /&gt;
&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
More information about the suggestion detection service can be found at https://www.peerlogic.org&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
=== Flowchart to Describe Plan of Action ===&lt;br /&gt;
&lt;br /&gt;
[[FIle:x.png]]&lt;br /&gt;
&lt;br /&gt;
 File(s) involved in making API Call: response_controller.rb&lt;br /&gt;
 FIle(s) involved in displaying the received output: response.html.erb&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
==== Response Controller ====&lt;br /&gt;
Lines 359 and 360 are where we will retrieve the input from each review comment found in the form.&lt;br /&gt;
* The '''Answer''' model represents the review provided by the reviewer.&lt;br /&gt;
* On line 360, answer: v[:score] is the review comment from a given textarea HTML element&lt;br /&gt;
* params[:responses] stores the aggregate review data provided by the user&lt;br /&gt;
&lt;br /&gt;
[[File:create_answers.png]]&lt;br /&gt;
&lt;br /&gt;
==== Anticipated View ====&lt;br /&gt;
&lt;br /&gt;
[[File:y.png]]&lt;br /&gt;
&lt;br /&gt;
The user will be given a summary of the feedback in a colorful format. The user will not see all the fields of the JSON and only the necessary text fields, whereas currently the user sees all the fields in the output from the API call. We expect to make the detailed view optional so that it can be used for debug purposes, and not be seen in the production server.&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
There are two aspects to our test plan: Controller and View testing.&lt;br /&gt;
&lt;br /&gt;
=== Controller Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* rely on Travis CI automated responses to verify all changes made will not break the system&lt;br /&gt;
* ensure that our code coverage does not decrease as a result of our modifications by looking at coveralls messages&lt;br /&gt;
* modify Rspec response_controller_spec.rb to reflect the new method(s) added to response_controller.rb&lt;br /&gt;
* record and upload a short video verifying our Rspec tests pass&lt;br /&gt;
&lt;br /&gt;
=== View Tests ===&lt;br /&gt;
We will...&lt;br /&gt;
* use manual testing on response.html.erb to verify the Review page outputs the correct message&lt;br /&gt;
* provide sample inputs and show expected outputs using screenshots&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123733</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123733"/>
		<updated>2019-04-09T19:35:16Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Our work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
* Use RSpec testing on response_controller.rb to test the method(s) we implement&lt;br /&gt;
* Use manual testing on response.html.erb to test view we create&lt;br /&gt;
&lt;br /&gt;
==Links to our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123732</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123732"/>
		<updated>2019-04-09T19:34:59Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project plan==&lt;br /&gt;
===Problem statement===&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
===Previous work===&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed changes===&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
===Files that will change===&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
* Use RSpec testing on response_controller.rb to test the method(s) we implement&lt;br /&gt;
* Use manual testing on response.html.erb to test view we create&lt;br /&gt;
&lt;br /&gt;
==Our work==&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123731</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123731"/>
		<updated>2019-04-09T19:34:14Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
====Previous work====&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
====Proposed changes====&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
====Files that will change====&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
==Testing plan==&lt;br /&gt;
* Use RSpec testing on response_controller.rb to test the method(s) we implement&lt;br /&gt;
* Use manual testing on response.html.erb to test view we create&lt;br /&gt;
&lt;br /&gt;
===Our work===&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123730</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123730"/>
		<updated>2019-04-09T19:33:54Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Task */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
====Previous work====&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
====Proposed changes====&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
====Files that will change====&lt;br /&gt;
* '''app/views/response/response.html.erb''': Fix grammar issues, generate view with metrics&lt;br /&gt;
* '''app/controllers/response_controller.rb''': Call API here to pass to view&lt;br /&gt;
&lt;br /&gt;
===Testing plan===&lt;br /&gt;
* Use RSpec testing on response_controller.rb to test the method(s) we implement&lt;br /&gt;
* Use manual testing on response.html.erb to test view we create&lt;br /&gt;
&lt;br /&gt;
===Our work===&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123429</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123429"/>
		<updated>2019-04-07T17:27:57Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Our work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
====Previous work====&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
====Proposed changes====&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
===Our work===&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;br /&gt;
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123428</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123428"/>
		<updated>2019-04-07T17:07:17Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
====Previous work====&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
[[File:Prev.png]]&lt;br /&gt;
&lt;br /&gt;
====Proposed changes====&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;br /&gt;
* Fix grammar issues in response.html.erb&lt;br /&gt;
* evaluate how much time this API is taking and if possible work a way out to improve it.&lt;br /&gt;
&lt;br /&gt;
===Our work===&lt;br /&gt;
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123419</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123419"/>
		<updated>2019-04-07T16:46:04Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Previous work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
====Previous work====&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
* They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output. &lt;br /&gt;
* They included their API call in response.html.erb using JavaScript.&lt;br /&gt;
* They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.&lt;br /&gt;
* Since the code is added in the views, they performed manual testing in the views.&lt;br /&gt;
&lt;br /&gt;
====Proposed changes====&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123418</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123418"/>
		<updated>2019-04-07T16:42:06Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Proposed changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
====Previous work====&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
&lt;br /&gt;
====Proposed changes====&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
** Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123417</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123417"/>
		<updated>2019-04-07T16:40:10Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Previous work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
====Previous work====&lt;br /&gt;
[https://github.com/expertiza/expertiza/pull/1308 Fall 2018 pull request]&lt;br /&gt;
&lt;br /&gt;
====Proposed changes====&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123416</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123416"/>
		<updated>2019-04-07T16:37:41Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Proposed changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
====Previous work====&lt;br /&gt;
====Proposed changes====&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;br /&gt;
* Ensure that CORS does not need to be enabled for API call to work&lt;br /&gt;
* Write unit tests for our method(s) in response_controller.rb&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123415</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123415"/>
		<updated>2019-04-07T16:35:34Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Proposed changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
====Previous work====&lt;br /&gt;
====Proposed changes====&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;br /&gt;
* Change default view from displaying analysis for each review to summarized analysis for all reviews&lt;br /&gt;
** Do not include comment text in analysis view&lt;br /&gt;
* Include displaying analysis for each review as a &amp;quot;debug&amp;quot; option&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123414</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123414"/>
		<updated>2019-04-07T16:33:23Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Project */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.&lt;br /&gt;
====Previous work====&lt;br /&gt;
====Proposed changes====&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123413</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123413"/>
		<updated>2019-04-07T16:32:54Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Proposed changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
====Proposed changes====&lt;br /&gt;
* Move API calls of suggestion-detection algorithm from view to response_controller.rb&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123412</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123412"/>
		<updated>2019-04-07T16:27:33Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Team ===&lt;br /&gt;
Dr. Gehringer (mentor)&lt;br /&gt;
* Sushan Basnet (sbasnet2)&lt;br /&gt;
* Jasmine Wang (jfwang2)&lt;br /&gt;
* Bill Mwaniki (bnmwanik)&lt;br /&gt;
* Pratik Kumar Kundanmal Jain (pjain22)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
====Proposed changes====&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123208</id>
		<title>CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_Project_E1937._Integrate_suggestion_detection_algorithm.rb&amp;diff=123208"/>
		<updated>2019-04-05T18:26:47Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: Created page with &amp;quot;To be updated&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To be updated&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=122715</id>
		<title>CSC/ECE 517 Spring 2019 - E1922. Write tests for assessment360 controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=122715"/>
		<updated>2019-03-31T15:02:56Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Test Outline/Plan */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Background ===&lt;br /&gt;
====Expertiza====&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities. (https://github.com/expertiza/expertiza)&lt;br /&gt;
&lt;br /&gt;
====RSpec====&lt;br /&gt;
[http://rspec.info/ RSpec]  is a 'Domain Specific Language' (DSL) testing tool written in Ruby to test Ruby code. It is a behavior-driven development (BDD) framework which is extensively used in the production applications. The basic idea behind this concept is that of Test Driven Development (TDD) where the tests are written first and the development is based on writing just enough code that will fulfill those tests followed by refactoring. It contains its own mocking framework that is fully integrated into the framework based upon JMock. The simplicity in the RSpec syntax makes it one of the popular testing tools for Ruby applications. The RSpec tool can be used by installing the rspec gem which consists of 3 other gems namely rspec-core, rspec-expectation and rspec-mock. (https://en.wikipedia.org/wiki/RSpec)&lt;br /&gt;
&lt;br /&gt;
===Team===&lt;br /&gt;
Zhewei Hu (zhu6) (mentor)&lt;br /&gt;
*Jasmine Wang (jfwang2)&lt;br /&gt;
*Louis Le (lle3)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
There are few tests for assessment360_controller.rb. We had to test the following functions:&lt;br /&gt;
&lt;br /&gt;
* action_allowed&lt;br /&gt;
* all_students_all_reviews&lt;br /&gt;
* course_student_grade_summary&lt;br /&gt;
* populate_hash_for_all_students_all_reviews(assignment,course_participant,reviews,hash_per_stu,overall_review_grade_hash,overall_review_count_hash, review_info_per_stu)&lt;br /&gt;
* find_peer_review_score(user_id, assignment_id)&lt;br /&gt;
* format_topic(topic)&lt;br /&gt;
* format_score(score)&lt;br /&gt;
&lt;br /&gt;
====Overall tasks====&lt;br /&gt;
*Write RSpec integration tests to make the statement coverage above 90%.&lt;br /&gt;
*Cover as many edge cases as you can.&lt;br /&gt;
*Achieve as high branch coverage as you can.&lt;br /&gt;
====Our work====&lt;br /&gt;
The code we created can be found below. We have also linked the video of our tests running with coverage to showcase the work we have done.&lt;br /&gt;
*[https://github.com/expertiza/expertiza/pull/1366 Pull request]&lt;br /&gt;
*[https://github.com/jasminewang0/expertiza/tree/beta Our repository on beta branch]&lt;br /&gt;
*[https://drive.google.com/file/d/1cNKmslDQGbv4qA62l6Qz3_Akg2BeBSyz/view?usp=sharing Video of tests running]&lt;br /&gt;
&lt;br /&gt;
With the goal of getting at least 90% coverage, our tests got about 97.94%. The way we split up the work by having Jasmine take care of the function: all_students_all reviews while Louis took care of course_student_grade_summary. This helped with potential merge conflicts since both these functions are the biggest of the file and working on them would allow both to make progress at the same time.&lt;br /&gt;
&lt;br /&gt;
====Files====&lt;br /&gt;
The following files were the ones either edited or used as aid.&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/controllers/assessment360_controller.rb ./app/controllers/assessment360_controller.rb]&lt;br /&gt;
    * File being tested. (Goal is at least 90%)&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/spec/controllers/assessment360_controller_spec.rb ./spec/controllers/assessment360_controller_spec.rb]&lt;br /&gt;
    * Test file using RSpec.&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/spec/factories/factories.rb ./spec/factories/factories.rb]&lt;br /&gt;
    * Super useful file that aided in mocking variable&lt;br /&gt;
&lt;br /&gt;
===Running Tests===&lt;br /&gt;
In order to run the integration test, run the following command via terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  rspec ./spec/controller/assessment360_controller.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test Outline/Plan===&lt;br /&gt;
Below shows the outline of what our test look like:&lt;br /&gt;
&lt;br /&gt;
'''assessment360controller'''&lt;br /&gt;
    #all_students_all_reviews&lt;br /&gt;
        when it redirects to back and flashes error as there are no participants&lt;br /&gt;
        when it has participants, next assignment participants does not exist and avoid divide by zero&lt;br /&gt;
        when it has participants, next assignment participant exists, but there are reviews&lt;br /&gt;
&lt;br /&gt;
    #course_student_grade_summary&lt;br /&gt;
        when course does not have participants&lt;br /&gt;
        when method is called&lt;br /&gt;
        when it redirects back and flashes error as there are no participants&lt;br /&gt;
        when it has participants, next assignment participant does not exist&lt;br /&gt;
        when it has participants, next assignment participant exist, but no team id exists&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=122714</id>
		<title>CSC/ECE 517 Spring 2019 - E1922. Write tests for assessment360 controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=122714"/>
		<updated>2019-03-31T15:02:40Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Test Outline/Plan */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Background ===&lt;br /&gt;
====Expertiza====&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities. (https://github.com/expertiza/expertiza)&lt;br /&gt;
&lt;br /&gt;
====RSpec====&lt;br /&gt;
[http://rspec.info/ RSpec]  is a 'Domain Specific Language' (DSL) testing tool written in Ruby to test Ruby code. It is a behavior-driven development (BDD) framework which is extensively used in the production applications. The basic idea behind this concept is that of Test Driven Development (TDD) where the tests are written first and the development is based on writing just enough code that will fulfill those tests followed by refactoring. It contains its own mocking framework that is fully integrated into the framework based upon JMock. The simplicity in the RSpec syntax makes it one of the popular testing tools for Ruby applications. The RSpec tool can be used by installing the rspec gem which consists of 3 other gems namely rspec-core, rspec-expectation and rspec-mock. (https://en.wikipedia.org/wiki/RSpec)&lt;br /&gt;
&lt;br /&gt;
===Team===&lt;br /&gt;
Zhewei Hu (zhu6) (mentor)&lt;br /&gt;
*Jasmine Wang (jfwang2)&lt;br /&gt;
*Louis Le (lle3)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
There are few tests for assessment360_controller.rb. We had to test the following functions:&lt;br /&gt;
&lt;br /&gt;
* action_allowed&lt;br /&gt;
* all_students_all_reviews&lt;br /&gt;
* course_student_grade_summary&lt;br /&gt;
* populate_hash_for_all_students_all_reviews(assignment,course_participant,reviews,hash_per_stu,overall_review_grade_hash,overall_review_count_hash, review_info_per_stu)&lt;br /&gt;
* find_peer_review_score(user_id, assignment_id)&lt;br /&gt;
* format_topic(topic)&lt;br /&gt;
* format_score(score)&lt;br /&gt;
&lt;br /&gt;
====Overall tasks====&lt;br /&gt;
*Write RSpec integration tests to make the statement coverage above 90%.&lt;br /&gt;
*Cover as many edge cases as you can.&lt;br /&gt;
*Achieve as high branch coverage as you can.&lt;br /&gt;
====Our work====&lt;br /&gt;
The code we created can be found below. We have also linked the video of our tests running with coverage to showcase the work we have done.&lt;br /&gt;
*[https://github.com/expertiza/expertiza/pull/1366 Pull request]&lt;br /&gt;
*[https://github.com/jasminewang0/expertiza/tree/beta Our repository on beta branch]&lt;br /&gt;
*[https://drive.google.com/file/d/1cNKmslDQGbv4qA62l6Qz3_Akg2BeBSyz/view?usp=sharing Video of tests running]&lt;br /&gt;
&lt;br /&gt;
With the goal of getting at least 90% coverage, our tests got about 97.94%. The way we split up the work by having Jasmine take care of the function: all_students_all reviews while Louis took care of course_student_grade_summary. This helped with potential merge conflicts since both these functions are the biggest of the file and working on them would allow both to make progress at the same time.&lt;br /&gt;
&lt;br /&gt;
====Files====&lt;br /&gt;
The following files were the ones either edited or used as aid.&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/app/controllers/assessment360_controller.rb ./app/controllers/assessment360_controller.rb]&lt;br /&gt;
    * File being tested. (Goal is at least 90%)&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/spec/controllers/assessment360_controller_spec.rb ./spec/controllers/assessment360_controller_spec.rb]&lt;br /&gt;
    * Test file using RSpec.&lt;br /&gt;
* [https://github.com/expertiza/expertiza/blob/master/spec/factories/factories.rb ./spec/factories/factories.rb]&lt;br /&gt;
    * Super useful file that aided in mocking variable&lt;br /&gt;
&lt;br /&gt;
===Running Tests===&lt;br /&gt;
In order to run the integration test, run the following command via terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  rspec ./spec/controller/assessment360_controller.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Test Outline/Plan===&lt;br /&gt;
Below shows the outline of what our test look like:&lt;br /&gt;
&lt;br /&gt;
'''assessment360controller'''&lt;br /&gt;
    #all_students_all_reviews&lt;br /&gt;
        when it redirects to back and flashes error as there are no participants&lt;br /&gt;
        when it has participants, next assignment participants does not exist and avoid divide by zero&lt;br /&gt;
        when it has participants, next assignment participant exists, but there are reviews&lt;br /&gt;
&lt;br /&gt;
    #course_student_grade_summary&lt;br /&gt;
        when course does not have participants&lt;br /&gt;
        when method is called&lt;br /&gt;
        when it redirects back and flashes error as there are no participants&lt;br /&gt;
        when it has participants, next assignment participant does not exist&lt;br /&gt;
        when it has participants, next assignment participant exist, but here are no team id exists.&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019&amp;diff=122527</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=122527"/>
		<updated>2019-03-26T15:04:59Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=121839</id>
		<title>CSC/ECE 517 Spring 2019 - E1922. Write tests for assessment360 controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=121839"/>
		<updated>2019-03-24T19:22:09Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: /* Our work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Background ===&lt;br /&gt;
====Expertiza====&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities. (https://github.com/expertiza/expertiza)&lt;br /&gt;
&lt;br /&gt;
====RSpec====&lt;br /&gt;
[http://rspec.info/ RSpec]  is a 'Domain Specific Language' (DSL) testing tool written in Ruby to test Ruby code. It is a behavior-driven development (BDD) framework which is extensively used in the production applications. The basic idea behind this concept is that of Test Driven Development (TDD) where the tests are written first and the development is based on writing just enough code that will fulfill those tests followed by refactoring. It contains its own mocking framework that is fully integrated into the framework based upon JMock. The simplicity in the RSpec syntax makes it one of the popular testing tools for Ruby applications. The RSpec tool can be used by installing the rspec gem which consists of 3 other gems namely rspec-core, rspec-expectation and rspec-mock. (https://en.wikipedia.org/wiki/RSpec)&lt;br /&gt;
&lt;br /&gt;
===Team===&lt;br /&gt;
Zhewei Hu (zhu6) (mentor)&lt;br /&gt;
*Jasmine Wang (jfwang2)&lt;br /&gt;
*Louis Le (lle3)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
There are few tests for assessment360_controller.rb.&lt;br /&gt;
====Overall tasks====&lt;br /&gt;
*Write RSpec integration tests to make the statement coverage above 90%.&lt;br /&gt;
*Cover as many edge cases as you can.&lt;br /&gt;
*Achieve as high branch coverage as you can.&lt;br /&gt;
====Our work====&lt;br /&gt;
The code we created can be found below. We have also linked the video of our tests running with coverage to showcase the work we have done.&lt;br /&gt;
*[https://github.com/expertiza/expertiza/pull/1366 Pull request]&lt;br /&gt;
*[https://github.com/jasminewang0/expertiza/tree/beta Our repository on beta branch]&lt;br /&gt;
*Video of tests running&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=121838</id>
		<title>CSC/ECE 517 Spring 2019 - E1922. Write tests for assessment360 controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=121838"/>
		<updated>2019-03-24T19:21:28Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Background ===&lt;br /&gt;
====Expertiza====&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities. (https://github.com/expertiza/expertiza)&lt;br /&gt;
&lt;br /&gt;
====RSpec====&lt;br /&gt;
[http://rspec.info/ RSpec]  is a 'Domain Specific Language' (DSL) testing tool written in Ruby to test Ruby code. It is a behavior-driven development (BDD) framework which is extensively used in the production applications. The basic idea behind this concept is that of Test Driven Development (TDD) where the tests are written first and the development is based on writing just enough code that will fulfill those tests followed by refactoring. It contains its own mocking framework that is fully integrated into the framework based upon JMock. The simplicity in the RSpec syntax makes it one of the popular testing tools for Ruby applications. The RSpec tool can be used by installing the rspec gem which consists of 3 other gems namely rspec-core, rspec-expectation and rspec-mock. (https://en.wikipedia.org/wiki/RSpec)&lt;br /&gt;
&lt;br /&gt;
===Team===&lt;br /&gt;
Zhewei Hu (zhu6) (mentor)&lt;br /&gt;
*Jasmine Wang (jfwang2)&lt;br /&gt;
*Louis Le (lle3)&lt;br /&gt;
&lt;br /&gt;
==Project==&lt;br /&gt;
===Task===&lt;br /&gt;
====Problem statement====&lt;br /&gt;
There are few tests for assessment360_controller.rb.&lt;br /&gt;
====Overall tasks====&lt;br /&gt;
*Write RSpec integration tests to make the statement coverage above 90%.&lt;br /&gt;
*Cover as many edge cases as you can.&lt;br /&gt;
*Achieve as high branch coverage as you can.&lt;br /&gt;
====Our work====&lt;br /&gt;
*[https://github.com/expertiza/expertiza/pull/1366 Pull request]&lt;br /&gt;
*[https://github.com/jasminewang0/expertiza/tree/beta Our repository on beta branch]&lt;br /&gt;
*Video of tests running&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=121834</id>
		<title>CSC/ECE 517 Spring 2019 - E1922. Write tests for assessment360 controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=121834"/>
		<updated>2019-03-24T19:06:21Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
=== Background ===&lt;br /&gt;
====Expertiza====&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities. (https://github.com/expertiza/expertiza)&lt;br /&gt;
&lt;br /&gt;
====RSpec====&lt;br /&gt;
[http://rspec.info/ RSpec]  is a 'Domain Specific Language' (DSL) testing tool written in Ruby to test Ruby code. It is a behavior-driven development (BDD) framework which is extensively used in the production applications. The basic idea behind this concept is that of Test Driven Development (TDD) where the tests are written first and the development is based on writing just enough code that will fulfill those tests followed by refactoring. It contains its own mocking framework that is fully integrated into the framework based upon JMock. The simplicity in the RSpec syntax makes it one of the popular testing tools for Ruby applications. The RSpec tool can be used by installing the rspec gem which consists of 3 other gems namely rspec-core, rspec-expectation and rspec-mock. (https://en.wikipedia.org/wiki/RSpec)&lt;br /&gt;
&lt;br /&gt;
===Team===&lt;br /&gt;
Zhewei Hu (zhu6) (mentor)&lt;br /&gt;
*Jasmine Wang (jfwang2)&lt;br /&gt;
*Louis Le (lle3)&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=E1922_Write_test_for_assessment360_controller.rb&amp;diff=121832</id>
		<title>E1922 Write test for assessment360 controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=E1922_Write_test_for_assessment360_controller.rb&amp;diff=121832"/>
		<updated>2019-03-24T19:00:07Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: moved E1922 Write test for assessment360 controller.rb to CSC/ECE 517 Spring 2019 - E1922. Write tests for assessment360 controller.rb: incorrect naming conventions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[CSC/ECE 517 Spring 2019 - E1922. Write tests for assessment360 controller.rb]]&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=121831</id>
		<title>CSC/ECE 517 Spring 2019 - E1922. Write tests for assessment360 controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=121831"/>
		<updated>2019-03-24T19:00:07Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: moved E1922 Write test for assessment360 controller.rb to CSC/ECE 517 Spring 2019 - E1922. Write tests for assessment360 controller.rb: incorrect naming conventions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Will fill in later&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=121784</id>
		<title>CSC/ECE 517 Spring 2019 - E1922. Write tests for assessment360 controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2019_-_E1922._Write_tests_for_assessment360_controller.rb&amp;diff=121784"/>
		<updated>2019-03-23T18:59:20Z</updated>

		<summary type="html">&lt;p&gt;Jfwang2: Created page with &amp;quot;Will fill in later&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Will fill in later&lt;/div&gt;</summary>
		<author><name>Jfwang2</name></author>
	</entry>
</feed>