<?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=Atripat6</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=Atripat6"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Atripat6"/>
	<updated>2026-05-21T08:49:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121545</id>
		<title>CSC/E1869 GRADING AUDIT TRAIL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121545"/>
		<updated>2018-12-16T17:30:27Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Grade history for a given team */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='''Introduction'''==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade.&lt;br /&gt;
A grading audit trail must be created and the following information needs to be stored: &lt;br /&gt;
:1. When a grade is assigned by an instructor, there needs to be an indication of who did it and when it was done. &lt;br /&gt;
:2. Comments previously provided by other instructors must also be preserved.&lt;br /&gt;
&lt;br /&gt;
This information needs to be stored every time an instructor edits a grade/comment and clicks the save button.&lt;br /&gt;
&lt;br /&gt;
Currently, there are two places need to add grading audit trail: &lt;br /&gt;
:1. '''Review grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Review Report&lt;br /&gt;
:2. '''Submission grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&lt;br /&gt;
=='''Proposed Solution'''==&lt;br /&gt;
&lt;br /&gt;
===Design===&lt;br /&gt;
We will create a database called grading_history in the system contains elements of instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
We will use MVC design to create a model, a controller, and a view for both of '''Review Grade''' and '''Submission Grade'''.&lt;br /&gt;
&lt;br /&gt;
:Model: grading_history.rb. Has a list of attributes contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: grading_history_controller.rb. Saves a new entry into the database every time a review grade or submission grade is saved&lt;br /&gt;
:View: index_html.erb. Displays current submission or review's grading history. An existing example of this is a submission record in the system.&lt;br /&gt;
&lt;br /&gt;
We also need to modified grades controller, so that every time, a grade is submitted or edited, grading_history_controller.rb will call a method to create an entry saves into the database.&lt;br /&gt;
&lt;br /&gt;
===Expected View===&lt;br /&gt;
&lt;br /&gt;
==== The list submission page with the new &amp;quot;grade history&amp;quot; option====&lt;br /&gt;
[[Image: E1869-Screenshot-1.jpg|50]]&lt;br /&gt;
&lt;br /&gt;
==== The review report page with the new &amp;quot;grade history&amp;quot; option====&lt;br /&gt;
[[File:E1869-Screenshot-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
==== Grade history for a given team====&lt;br /&gt;
[[File:E1869-Screenshot-3.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Diagram===&lt;br /&gt;
[[File:E1869_Grading_Audit_Trails_UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
=='''Testing Plan'''==&lt;br /&gt;
&lt;br /&gt;
Functional testing:&lt;br /&gt;
&lt;br /&gt;
1. Test if SubmissionGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/grades_controller_spec.rb https://bit.ly/2EpJaGS&lt;br /&gt;
&lt;br /&gt;
2. Test if ReviewGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/review_mapping_controller_spec.rb https://bit.ly/2LjM4OF&lt;br /&gt;
&lt;br /&gt;
3. Test if GradeHistory.where is being called when grading history button is clicked.&lt;br /&gt;
   spec/controllers/grading_histories_controller_test.rb https://bit.ly/2PFLknz&lt;br /&gt;
&lt;br /&gt;
=='''Actual Implementation'''==&lt;br /&gt;
===Actual View===&lt;br /&gt;
== The list submission page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Actual-1.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Review Report page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Actual-3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grade history page for a given team(submission grade history)==&lt;br /&gt;
[[File:E1869-Actual-2.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grade history for a given student(review grade history)==&lt;br /&gt;
[[File:E1869-Actual-4.png]]&lt;br /&gt;
&lt;br /&gt;
===Code Changes===&lt;br /&gt;
&lt;br /&gt;
==Files Modified==&lt;br /&gt;
*app/controllers/grades_controller.rb https://bit.ly/2Cg9WzR&lt;br /&gt;
'''&lt;br /&gt;
     Creates a Grading History Record for every Submission grade edited by the instructor for a Team. &lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/controllers/review_mapping_controller.rb https://bit.ly/2QywzZc&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
     Creates a Grading History Record for every Review grade edited by the instructor for a Student.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb https://bit.ly/2UHNRkO&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb https://bit.ly/2GfTqUj&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Files Added==&lt;br /&gt;
&lt;br /&gt;
*app/controllers/grading_histories_controller.rb https://bit.ly/2RY5xa6&lt;br /&gt;
'''&lt;br /&gt;
     Calls the grading history view after validaing Submission and Review Type.&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/grading_history.rb https://bit.ly/2PHKNRY&lt;br /&gt;
'''&lt;br /&gt;
     Model for Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/review_grading_history.rb https://bit.ly/2SPNR0e &lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Review Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/submission_grading_history.rb https://bit.ly/2S5EI3J&lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Submission Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/views/grading_history/index_html.erb https://bit.ly/2rDiZF1&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
     This is a view for grading audit trail, it will display all grading histories of a submission/review&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
=='''Reference'''==&lt;br /&gt;
[https://expertiza.ncsu.edu/ Expertiza]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Main_Page Expertiza_wiki]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Expertiza_documentation Expertiza Documentation]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121544</id>
		<title>CSC/E1869 GRADING AUDIT TRAIL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121544"/>
		<updated>2018-12-16T17:30:00Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* The review report page with the new &amp;quot;grade history&amp;quot; option */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='''Introduction'''==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade.&lt;br /&gt;
A grading audit trail must be created and the following information needs to be stored: &lt;br /&gt;
:1. When a grade is assigned by an instructor, there needs to be an indication of who did it and when it was done. &lt;br /&gt;
:2. Comments previously provided by other instructors must also be preserved.&lt;br /&gt;
&lt;br /&gt;
This information needs to be stored every time an instructor edits a grade/comment and clicks the save button.&lt;br /&gt;
&lt;br /&gt;
Currently, there are two places need to add grading audit trail: &lt;br /&gt;
:1. '''Review grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Review Report&lt;br /&gt;
:2. '''Submission grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&lt;br /&gt;
=='''Proposed Solution'''==&lt;br /&gt;
&lt;br /&gt;
===Design===&lt;br /&gt;
We will create a database called grading_history in the system contains elements of instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
We will use MVC design to create a model, a controller, and a view for both of '''Review Grade''' and '''Submission Grade'''.&lt;br /&gt;
&lt;br /&gt;
:Model: grading_history.rb. Has a list of attributes contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: grading_history_controller.rb. Saves a new entry into the database every time a review grade or submission grade is saved&lt;br /&gt;
:View: index_html.erb. Displays current submission or review's grading history. An existing example of this is a submission record in the system.&lt;br /&gt;
&lt;br /&gt;
We also need to modified grades controller, so that every time, a grade is submitted or edited, grading_history_controller.rb will call a method to create an entry saves into the database.&lt;br /&gt;
&lt;br /&gt;
===Expected View===&lt;br /&gt;
&lt;br /&gt;
==== The list submission page with the new &amp;quot;grade history&amp;quot; option====&lt;br /&gt;
[[Image: E1869-Screenshot-1.jpg|50]]&lt;br /&gt;
&lt;br /&gt;
==== The review report page with the new &amp;quot;grade history&amp;quot; option====&lt;br /&gt;
[[File:E1869-Screenshot-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
== Grade history for a given team==&lt;br /&gt;
[[File:E1869-Screenshot-3.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Diagram===&lt;br /&gt;
[[File:E1869_Grading_Audit_Trails_UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
=='''Testing Plan'''==&lt;br /&gt;
&lt;br /&gt;
Functional testing:&lt;br /&gt;
&lt;br /&gt;
1. Test if SubmissionGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/grades_controller_spec.rb https://bit.ly/2EpJaGS&lt;br /&gt;
&lt;br /&gt;
2. Test if ReviewGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/review_mapping_controller_spec.rb https://bit.ly/2LjM4OF&lt;br /&gt;
&lt;br /&gt;
3. Test if GradeHistory.where is being called when grading history button is clicked.&lt;br /&gt;
   spec/controllers/grading_histories_controller_test.rb https://bit.ly/2PFLknz&lt;br /&gt;
&lt;br /&gt;
=='''Actual Implementation'''==&lt;br /&gt;
===Actual View===&lt;br /&gt;
== The list submission page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Actual-1.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Review Report page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Actual-3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grade history page for a given team(submission grade history)==&lt;br /&gt;
[[File:E1869-Actual-2.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grade history for a given student(review grade history)==&lt;br /&gt;
[[File:E1869-Actual-4.png]]&lt;br /&gt;
&lt;br /&gt;
===Code Changes===&lt;br /&gt;
&lt;br /&gt;
==Files Modified==&lt;br /&gt;
*app/controllers/grades_controller.rb https://bit.ly/2Cg9WzR&lt;br /&gt;
'''&lt;br /&gt;
     Creates a Grading History Record for every Submission grade edited by the instructor for a Team. &lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/controllers/review_mapping_controller.rb https://bit.ly/2QywzZc&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
     Creates a Grading History Record for every Review grade edited by the instructor for a Student.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb https://bit.ly/2UHNRkO&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb https://bit.ly/2GfTqUj&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Files Added==&lt;br /&gt;
&lt;br /&gt;
*app/controllers/grading_histories_controller.rb https://bit.ly/2RY5xa6&lt;br /&gt;
'''&lt;br /&gt;
     Calls the grading history view after validaing Submission and Review Type.&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/grading_history.rb https://bit.ly/2PHKNRY&lt;br /&gt;
'''&lt;br /&gt;
     Model for Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/review_grading_history.rb https://bit.ly/2SPNR0e &lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Review Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/submission_grading_history.rb https://bit.ly/2S5EI3J&lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Submission Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/views/grading_history/index_html.erb https://bit.ly/2rDiZF1&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
     This is a view for grading audit trail, it will display all grading histories of a submission/review&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
=='''Reference'''==&lt;br /&gt;
[https://expertiza.ncsu.edu/ Expertiza]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Main_Page Expertiza_wiki]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Expertiza_documentation Expertiza Documentation]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121543</id>
		<title>CSC/E1869 GRADING AUDIT TRAIL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121543"/>
		<updated>2018-12-16T17:29:40Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* The list submission page with the new &amp;quot;grade history&amp;quot; option */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='''Introduction'''==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade.&lt;br /&gt;
A grading audit trail must be created and the following information needs to be stored: &lt;br /&gt;
:1. When a grade is assigned by an instructor, there needs to be an indication of who did it and when it was done. &lt;br /&gt;
:2. Comments previously provided by other instructors must also be preserved.&lt;br /&gt;
&lt;br /&gt;
This information needs to be stored every time an instructor edits a grade/comment and clicks the save button.&lt;br /&gt;
&lt;br /&gt;
Currently, there are two places need to add grading audit trail: &lt;br /&gt;
:1. '''Review grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Review Report&lt;br /&gt;
:2. '''Submission grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&lt;br /&gt;
=='''Proposed Solution'''==&lt;br /&gt;
&lt;br /&gt;
===Design===&lt;br /&gt;
We will create a database called grading_history in the system contains elements of instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
We will use MVC design to create a model, a controller, and a view for both of '''Review Grade''' and '''Submission Grade'''.&lt;br /&gt;
&lt;br /&gt;
:Model: grading_history.rb. Has a list of attributes contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: grading_history_controller.rb. Saves a new entry into the database every time a review grade or submission grade is saved&lt;br /&gt;
:View: index_html.erb. Displays current submission or review's grading history. An existing example of this is a submission record in the system.&lt;br /&gt;
&lt;br /&gt;
We also need to modified grades controller, so that every time, a grade is submitted or edited, grading_history_controller.rb will call a method to create an entry saves into the database.&lt;br /&gt;
&lt;br /&gt;
===Expected View===&lt;br /&gt;
&lt;br /&gt;
==== The list submission page with the new &amp;quot;grade history&amp;quot; option====&lt;br /&gt;
[[Image: E1869-Screenshot-1.jpg|50]]&lt;br /&gt;
&lt;br /&gt;
== The review report page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Screenshot-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grade history for a given team==&lt;br /&gt;
[[File:E1869-Screenshot-3.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Diagram===&lt;br /&gt;
[[File:E1869_Grading_Audit_Trails_UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
=='''Testing Plan'''==&lt;br /&gt;
&lt;br /&gt;
Functional testing:&lt;br /&gt;
&lt;br /&gt;
1. Test if SubmissionGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/grades_controller_spec.rb https://bit.ly/2EpJaGS&lt;br /&gt;
&lt;br /&gt;
2. Test if ReviewGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/review_mapping_controller_spec.rb https://bit.ly/2LjM4OF&lt;br /&gt;
&lt;br /&gt;
3. Test if GradeHistory.where is being called when grading history button is clicked.&lt;br /&gt;
   spec/controllers/grading_histories_controller_test.rb https://bit.ly/2PFLknz&lt;br /&gt;
&lt;br /&gt;
=='''Actual Implementation'''==&lt;br /&gt;
===Actual View===&lt;br /&gt;
== The list submission page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Actual-1.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Review Report page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Actual-3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grade history page for a given team(submission grade history)==&lt;br /&gt;
[[File:E1869-Actual-2.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grade history for a given student(review grade history)==&lt;br /&gt;
[[File:E1869-Actual-4.png]]&lt;br /&gt;
&lt;br /&gt;
===Code Changes===&lt;br /&gt;
&lt;br /&gt;
==Files Modified==&lt;br /&gt;
*app/controllers/grades_controller.rb https://bit.ly/2Cg9WzR&lt;br /&gt;
'''&lt;br /&gt;
     Creates a Grading History Record for every Submission grade edited by the instructor for a Team. &lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/controllers/review_mapping_controller.rb https://bit.ly/2QywzZc&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
     Creates a Grading History Record for every Review grade edited by the instructor for a Student.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb https://bit.ly/2UHNRkO&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb https://bit.ly/2GfTqUj&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Files Added==&lt;br /&gt;
&lt;br /&gt;
*app/controllers/grading_histories_controller.rb https://bit.ly/2RY5xa6&lt;br /&gt;
'''&lt;br /&gt;
     Calls the grading history view after validaing Submission and Review Type.&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/grading_history.rb https://bit.ly/2PHKNRY&lt;br /&gt;
'''&lt;br /&gt;
     Model for Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/review_grading_history.rb https://bit.ly/2SPNR0e &lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Review Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/submission_grading_history.rb https://bit.ly/2S5EI3J&lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Submission Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/views/grading_history/index_html.erb https://bit.ly/2rDiZF1&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
     This is a view for grading audit trail, it will display all grading histories of a submission/review&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
=='''Reference'''==&lt;br /&gt;
[https://expertiza.ncsu.edu/ Expertiza]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Main_Page Expertiza_wiki]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Expertiza_documentation Expertiza Documentation]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121542</id>
		<title>CSC/E1869 GRADING AUDIT TRAIL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121542"/>
		<updated>2018-12-16T06:03:58Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* The Review Report page with the new &amp;quot;grade history&amp;quot; option */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='''Introduction'''==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade.&lt;br /&gt;
A grading audit trail must be created and the following information needs to be stored: &lt;br /&gt;
:1. When a grade is assigned by an instructor, there needs to be an indication of who did it and when it was done. &lt;br /&gt;
:2. Comments previously provided by other instructors must also be preserved.&lt;br /&gt;
&lt;br /&gt;
This information needs to be stored every time an instructor edits a grade/comment and clicks the save button.&lt;br /&gt;
&lt;br /&gt;
Currently, there are two places need to add grading audit trail: &lt;br /&gt;
:1. '''Review grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Review Report&lt;br /&gt;
:2. '''Submission grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&lt;br /&gt;
=='''Proposed Solution'''==&lt;br /&gt;
&lt;br /&gt;
===Design===&lt;br /&gt;
We will create a database called grading_history in the system contains elements of instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
We will use MVC design to create a model, a controller, and a view for both of '''Review Grade''' and '''Submission Grade'''.&lt;br /&gt;
&lt;br /&gt;
:Model: grading_history.rb. Has a list of attributes contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: grading_history_controller.rb. Saves a new entry into the database every time a review grade or submission grade is saved&lt;br /&gt;
:View: index_html.erb. Displays current submission or review's grading history. An existing example of this is a submission record in the system.&lt;br /&gt;
&lt;br /&gt;
We also need to modified grades controller, so that every time, a grade is submitted or edited, grading_history_controller.rb will call a method to create an entry saves into the database.&lt;br /&gt;
&lt;br /&gt;
===Expected View===&lt;br /&gt;
&lt;br /&gt;
== The list submission page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[Image: E1869-Screenshot-1.jpg|50]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The review report page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Screenshot-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grade history for a given team==&lt;br /&gt;
[[File:E1869-Screenshot-3.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Diagram===&lt;br /&gt;
[[File:E1869_Grading_Audit_Trails_UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
=='''Testing Plan'''==&lt;br /&gt;
&lt;br /&gt;
Functional testing:&lt;br /&gt;
&lt;br /&gt;
1. Test if SubmissionGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/grades_controller_spec.rb https://bit.ly/2EpJaGS&lt;br /&gt;
&lt;br /&gt;
2. Test if ReviewGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/review_mapping_controller_spec.rb https://bit.ly/2LjM4OF&lt;br /&gt;
&lt;br /&gt;
3. Test if GradeHistory.where is being called when grading history button is clicked.&lt;br /&gt;
   spec/controllers/grading_histories_controller_test.rb https://bit.ly/2PFLknz&lt;br /&gt;
&lt;br /&gt;
=='''Actual Implementation'''==&lt;br /&gt;
===Actual View===&lt;br /&gt;
== The list submission page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Actual-1.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Review Report page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Actual-3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grade history page for a given team(submission grade history)==&lt;br /&gt;
[[File:E1869-Actual-2.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grade history for a given student(review grade history)==&lt;br /&gt;
[[File:E1869-Actual-4.png]]&lt;br /&gt;
&lt;br /&gt;
===Code Changes===&lt;br /&gt;
&lt;br /&gt;
==Files Modified==&lt;br /&gt;
*app/controllers/grades_controller.rb https://bit.ly/2Cg9WzR&lt;br /&gt;
'''&lt;br /&gt;
     Creates a Grading History Record for every Submission grade edited by the instructor for a Team. &lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/controllers/review_mapping_controller.rb https://bit.ly/2QywzZc&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
     Creates a Grading History Record for every Review grade edited by the instructor for a Student.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb https://bit.ly/2UHNRkO&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb https://bit.ly/2GfTqUj&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Files Added==&lt;br /&gt;
&lt;br /&gt;
*app/controllers/grading_histories_controller.rb https://bit.ly/2RY5xa6&lt;br /&gt;
'''&lt;br /&gt;
     Calls the grading history view after validaing Submission and Review Type.&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/grading_history.rb https://bit.ly/2PHKNRY&lt;br /&gt;
'''&lt;br /&gt;
     Model for Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/review_grading_history.rb https://bit.ly/2SPNR0e &lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Review Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/submission_grading_history.rb https://bit.ly/2S5EI3J&lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Submission Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/views/grading_history/index_html.erb https://bit.ly/2rDiZF1&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
     This is a view for grading audit trail, it will display all grading histories of a submission/review&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
=='''Reference'''==&lt;br /&gt;
[https://expertiza.ncsu.edu/ Expertiza]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Main_Page Expertiza_wiki]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Expertiza_documentation Expertiza Documentation]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121541</id>
		<title>CSC/E1869 GRADING AUDIT TRAIL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121541"/>
		<updated>2018-12-16T06:02:25Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Actual View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='''Introduction'''==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade.&lt;br /&gt;
A grading audit trail must be created and the following information needs to be stored: &lt;br /&gt;
:1. When a grade is assigned by an instructor, there needs to be an indication of who did it and when it was done. &lt;br /&gt;
:2. Comments previously provided by other instructors must also be preserved.&lt;br /&gt;
&lt;br /&gt;
This information needs to be stored every time an instructor edits a grade/comment and clicks the save button.&lt;br /&gt;
&lt;br /&gt;
Currently, there are two places need to add grading audit trail: &lt;br /&gt;
:1. '''Review grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Review Report&lt;br /&gt;
:2. '''Submission grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&lt;br /&gt;
=='''Proposed Solution'''==&lt;br /&gt;
&lt;br /&gt;
===Design===&lt;br /&gt;
We will create a database called grading_history in the system contains elements of instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
We will use MVC design to create a model, a controller, and a view for both of '''Review Grade''' and '''Submission Grade'''.&lt;br /&gt;
&lt;br /&gt;
:Model: grading_history.rb. Has a list of attributes contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: grading_history_controller.rb. Saves a new entry into the database every time a review grade or submission grade is saved&lt;br /&gt;
:View: index_html.erb. Displays current submission or review's grading history. An existing example of this is a submission record in the system.&lt;br /&gt;
&lt;br /&gt;
We also need to modified grades controller, so that every time, a grade is submitted or edited, grading_history_controller.rb will call a method to create an entry saves into the database.&lt;br /&gt;
&lt;br /&gt;
===Expected View===&lt;br /&gt;
&lt;br /&gt;
== The list submission page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[Image: E1869-Screenshot-1.jpg|50]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The review report page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Screenshot-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grade history for a given team==&lt;br /&gt;
[[File:E1869-Screenshot-3.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Diagram===&lt;br /&gt;
[[File:E1869_Grading_Audit_Trails_UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
=='''Testing Plan'''==&lt;br /&gt;
&lt;br /&gt;
Functional testing:&lt;br /&gt;
&lt;br /&gt;
1. Test if SubmissionGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/grades_controller_spec.rb https://bit.ly/2EpJaGS&lt;br /&gt;
&lt;br /&gt;
2. Test if ReviewGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/review_mapping_controller_spec.rb https://bit.ly/2LjM4OF&lt;br /&gt;
&lt;br /&gt;
3. Test if GradeHistory.where is being called when grading history button is clicked.&lt;br /&gt;
   spec/controllers/grading_histories_controller_test.rb https://bit.ly/2PFLknz&lt;br /&gt;
&lt;br /&gt;
=='''Actual Implementation'''==&lt;br /&gt;
===Actual View===&lt;br /&gt;
== The list submission page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Actual-1.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Review Report page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Actual-3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for submission grade record&lt;br /&gt;
[[File:E1869-Actual-2.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review grade record&lt;br /&gt;
[[File:E1869-Actual-4.png]]&lt;br /&gt;
&lt;br /&gt;
===Code Changes===&lt;br /&gt;
&lt;br /&gt;
==Files Modified==&lt;br /&gt;
*app/controllers/grades_controller.rb https://bit.ly/2Cg9WzR&lt;br /&gt;
'''&lt;br /&gt;
     Creates a Grading History Record for every Submission grade edited by the instructor for a Team. &lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/controllers/review_mapping_controller.rb https://bit.ly/2QywzZc&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
     Creates a Grading History Record for every Review grade edited by the instructor for a Student.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb https://bit.ly/2UHNRkO&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb https://bit.ly/2GfTqUj&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Files Added==&lt;br /&gt;
&lt;br /&gt;
*app/controllers/grading_histories_controller.rb https://bit.ly/2RY5xa6&lt;br /&gt;
'''&lt;br /&gt;
     Calls the grading history view after validaing Submission and Review Type.&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/grading_history.rb https://bit.ly/2PHKNRY&lt;br /&gt;
'''&lt;br /&gt;
     Model for Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/review_grading_history.rb https://bit.ly/2SPNR0e &lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Review Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/submission_grading_history.rb https://bit.ly/2S5EI3J&lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Submission Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/views/grading_history/index_html.erb https://bit.ly/2rDiZF1&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
     This is a view for grading audit trail, it will display all grading histories of a submission/review&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
=='''Reference'''==&lt;br /&gt;
[https://expertiza.ncsu.edu/ Expertiza]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Main_Page Expertiza_wiki]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Expertiza_documentation Expertiza Documentation]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121540</id>
		<title>CSC/E1869 GRADING AUDIT TRAIL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121540"/>
		<updated>2018-12-16T06:00:49Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Expected View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='''Introduction'''==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade.&lt;br /&gt;
A grading audit trail must be created and the following information needs to be stored: &lt;br /&gt;
:1. When a grade is assigned by an instructor, there needs to be an indication of who did it and when it was done. &lt;br /&gt;
:2. Comments previously provided by other instructors must also be preserved.&lt;br /&gt;
&lt;br /&gt;
This information needs to be stored every time an instructor edits a grade/comment and clicks the save button.&lt;br /&gt;
&lt;br /&gt;
Currently, there are two places need to add grading audit trail: &lt;br /&gt;
:1. '''Review grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Review Report&lt;br /&gt;
:2. '''Submission grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&lt;br /&gt;
=='''Proposed Solution'''==&lt;br /&gt;
&lt;br /&gt;
===Design===&lt;br /&gt;
We will create a database called grading_history in the system contains elements of instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
We will use MVC design to create a model, a controller, and a view for both of '''Review Grade''' and '''Submission Grade'''.&lt;br /&gt;
&lt;br /&gt;
:Model: grading_history.rb. Has a list of attributes contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: grading_history_controller.rb. Saves a new entry into the database every time a review grade or submission grade is saved&lt;br /&gt;
:View: index_html.erb. Displays current submission or review's grading history. An existing example of this is a submission record in the system.&lt;br /&gt;
&lt;br /&gt;
We also need to modified grades controller, so that every time, a grade is submitted or edited, grading_history_controller.rb will call a method to create an entry saves into the database.&lt;br /&gt;
&lt;br /&gt;
===Expected View===&lt;br /&gt;
&lt;br /&gt;
== The list submission page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[Image: E1869-Screenshot-1.jpg|50]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The review report page with the new &amp;quot;grade history&amp;quot; option==&lt;br /&gt;
[[File:E1869-Screenshot-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grade history for a given team==&lt;br /&gt;
[[File:E1869-Screenshot-3.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Diagram===&lt;br /&gt;
[[File:E1869_Grading_Audit_Trails_UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
=='''Testing Plan'''==&lt;br /&gt;
&lt;br /&gt;
Functional testing:&lt;br /&gt;
&lt;br /&gt;
1. Test if SubmissionGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/grades_controller_spec.rb https://bit.ly/2EpJaGS&lt;br /&gt;
&lt;br /&gt;
2. Test if ReviewGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/review_mapping_controller_spec.rb https://bit.ly/2LjM4OF&lt;br /&gt;
&lt;br /&gt;
3. Test if GradeHistory.where is being called when grading history button is clicked.&lt;br /&gt;
   spec/controllers/grading_histories_controller_test.rb https://bit.ly/2PFLknz&lt;br /&gt;
&lt;br /&gt;
=='''Actual Implementation'''==&lt;br /&gt;
===Actual View===&lt;br /&gt;
Actual view for submission list&lt;br /&gt;
[[File:E1869-Actual-1.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review report&lt;br /&gt;
[[File:E1869-Actual-3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for submission grade record&lt;br /&gt;
[[File:E1869-Actual-2.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review grade record&lt;br /&gt;
[[File:E1869-Actual-4.png]]&lt;br /&gt;
===Code Changes===&lt;br /&gt;
&lt;br /&gt;
==Files Modified==&lt;br /&gt;
*app/controllers/grades_controller.rb https://bit.ly/2Cg9WzR&lt;br /&gt;
'''&lt;br /&gt;
     Creates a Grading History Record for every Submission grade edited by the instructor for a Team. &lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/controllers/review_mapping_controller.rb https://bit.ly/2QywzZc&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
     Creates a Grading History Record for every Review grade edited by the instructor for a Student.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb https://bit.ly/2UHNRkO&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb https://bit.ly/2GfTqUj&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Files Added==&lt;br /&gt;
&lt;br /&gt;
*app/controllers/grading_histories_controller.rb https://bit.ly/2RY5xa6&lt;br /&gt;
'''&lt;br /&gt;
     Calls the grading history view after validaing Submission and Review Type.&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/grading_history.rb https://bit.ly/2PHKNRY&lt;br /&gt;
'''&lt;br /&gt;
     Model for Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/review_grading_history.rb https://bit.ly/2SPNR0e &lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Review Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/submission_grading_history.rb https://bit.ly/2S5EI3J&lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Submission Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/views/grading_history/index_html.erb https://bit.ly/2rDiZF1&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
     This is a view for grading audit trail, it will display all grading histories of a submission/review&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
=='''Reference'''==&lt;br /&gt;
[https://expertiza.ncsu.edu/ Expertiza]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Main_Page Expertiza_wiki]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Expertiza_documentation Expertiza Documentation]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121539</id>
		<title>CSC/E1869 GRADING AUDIT TRAIL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121539"/>
		<updated>2018-12-16T05:53:09Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Testing Plan */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='''Introduction'''==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade.&lt;br /&gt;
A grading audit trail must be created and the following information needs to be stored: &lt;br /&gt;
:1. When a grade is assigned by an instructor, there needs to be an indication of who did it and when it was done. &lt;br /&gt;
:2. Comments previously provided by other instructors must also be preserved.&lt;br /&gt;
&lt;br /&gt;
This information needs to be stored every time an instructor edits a grade/comment and clicks the save button.&lt;br /&gt;
&lt;br /&gt;
Currently, there are two places need to add grading audit trail: &lt;br /&gt;
:1. '''Review grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Review Report&lt;br /&gt;
:2. '''Submission grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&lt;br /&gt;
=='''Proposed Solution'''==&lt;br /&gt;
&lt;br /&gt;
===Design===&lt;br /&gt;
We will create a database called grading_history in the system contains elements of instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
We will use MVC design to create a model, a controller, and a view for both of '''Review Grade''' and '''Submission Grade'''.&lt;br /&gt;
&lt;br /&gt;
:Model: grading_history.rb. Has a list of attributes contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: grading_history_controller.rb. Saves a new entry into the database every time a review grade or submission grade is saved&lt;br /&gt;
:View: index_html.erb. Displays current submission or review's grading history. An existing example of this is a submission record in the system.&lt;br /&gt;
&lt;br /&gt;
We also need to modified grades controller, so that every time, a grade is submitted or edited, grading_history_controller.rb will call a method to create an entry saves into the database.&lt;br /&gt;
&lt;br /&gt;
===Expected View===&lt;br /&gt;
Expected view for submission list&lt;br /&gt;
[[File:E1869-Screenshot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expected view for review report&lt;br /&gt;
[[File:E1869-Screenshot-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expected view for grade record&lt;br /&gt;
[[File:E1869-Screenshot-3.jpg]]&lt;br /&gt;
===Diagram===&lt;br /&gt;
[[File:E1869_Grading_Audit_Trails_UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
=='''Testing Plan'''==&lt;br /&gt;
&lt;br /&gt;
Functional testing:&lt;br /&gt;
&lt;br /&gt;
1. Test if SubmissionGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/grades_controller_spec.rb https://bit.ly/2EpJaGS&lt;br /&gt;
&lt;br /&gt;
2. Test if ReviewGradeHistory.create is being called when a submission grade is changed. &lt;br /&gt;
   spec/controllers/review_mapping_controller_spec.rb https://bit.ly/2LjM4OF&lt;br /&gt;
&lt;br /&gt;
3. Test if GradeHistory.where is being called when grading history button is clicked.&lt;br /&gt;
   spec/controllers/grading_histories_controller_test.rb https://bit.ly/2PFLknz&lt;br /&gt;
&lt;br /&gt;
=='''Actual Implementation'''==&lt;br /&gt;
===Actual View===&lt;br /&gt;
Actual view for submission list&lt;br /&gt;
[[File:E1869-Actual-1.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review report&lt;br /&gt;
[[File:E1869-Actual-3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for submission grade record&lt;br /&gt;
[[File:E1869-Actual-2.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review grade record&lt;br /&gt;
[[File:E1869-Actual-4.png]]&lt;br /&gt;
===Code Changes===&lt;br /&gt;
&lt;br /&gt;
==Files Modified==&lt;br /&gt;
*app/controllers/grades_controller.rb https://bit.ly/2Cg9WzR&lt;br /&gt;
'''&lt;br /&gt;
     Creates a Grading History Record for every Submission grade edited by the instructor for a Team. &lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/controllers/review_mapping_controller.rb https://bit.ly/2QywzZc&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
     Creates a Grading History Record for every Review grade edited by the instructor for a Student.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb https://bit.ly/2UHNRkO&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb https://bit.ly/2GfTqUj&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Files Added==&lt;br /&gt;
&lt;br /&gt;
*app/controllers/grading_histories_controller.rb https://bit.ly/2RY5xa6&lt;br /&gt;
'''&lt;br /&gt;
     Calls the grading history view after validaing Submission and Review Type.&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/grading_history.rb https://bit.ly/2PHKNRY&lt;br /&gt;
'''&lt;br /&gt;
     Model for Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/review_grading_history.rb https://bit.ly/2SPNR0e &lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Review Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/submission_grading_history.rb https://bit.ly/2S5EI3J&lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Submission Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/views/grading_history/index_html.erb https://bit.ly/2rDiZF1&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
     This is a view for grading audit trail, it will display all grading histories of a submission/review&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
=='''Reference'''==&lt;br /&gt;
[https://expertiza.ncsu.edu/ Expertiza]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Main_Page Expertiza_wiki]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Expertiza_documentation Expertiza Documentation]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121538</id>
		<title>CSC/E1869 GRADING AUDIT TRAIL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121538"/>
		<updated>2018-12-16T05:46:29Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Files Changed */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='''Introduction'''==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade.&lt;br /&gt;
A grading audit trail must be created and the following information needs to be stored: &lt;br /&gt;
:1. When a grade is assigned by an instructor, there needs to be an indication of who did it and when it was done. &lt;br /&gt;
:2. Comments previously provided by other instructors must also be preserved.&lt;br /&gt;
&lt;br /&gt;
This information needs to be stored every time an instructor edits a grade/comment and clicks the save button.&lt;br /&gt;
&lt;br /&gt;
Currently, there are two places need to add grading audit trail: &lt;br /&gt;
:1. '''Review grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Review Report&lt;br /&gt;
:2. '''Submission grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&lt;br /&gt;
=='''Proposed Solution'''==&lt;br /&gt;
&lt;br /&gt;
===Design===&lt;br /&gt;
We will create a database called grading_history in the system contains elements of instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
We will use MVC design to create a model, a controller, and a view for both of '''Review Grade''' and '''Submission Grade'''.&lt;br /&gt;
&lt;br /&gt;
:Model: grading_history.rb. Has a list of attributes contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: grading_history_controller.rb. Saves a new entry into the database every time a review grade or submission grade is saved&lt;br /&gt;
:View: index_html.erb. Displays current submission or review's grading history. An existing example of this is a submission record in the system.&lt;br /&gt;
&lt;br /&gt;
We also need to modified grades controller, so that every time, a grade is submitted or edited, grading_history_controller.rb will call a method to create an entry saves into the database.&lt;br /&gt;
&lt;br /&gt;
===Expected View===&lt;br /&gt;
Expected view for submission list&lt;br /&gt;
[[File:E1869-Screenshot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expected view for review report&lt;br /&gt;
[[File:E1869-Screenshot-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expected view for grade record&lt;br /&gt;
[[File:E1869-Screenshot-3.jpg]]&lt;br /&gt;
===Diagram===&lt;br /&gt;
[[File:E1869_Grading_Audit_Trails_UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
=='''Testing Plan'''==&lt;br /&gt;
&lt;br /&gt;
Functional testing:&lt;br /&gt;
&lt;br /&gt;
For “Review grade”:&lt;br /&gt;
 &lt;br /&gt;
1.Log in as an instructor&lt;br /&gt;
&lt;br /&gt;
2.Navigate to Manage -&amp;gt; Assignments&lt;br /&gt;
 &lt;br /&gt;
3. Click on Review Report&lt;br /&gt;
&lt;br /&gt;
A report with following details will show up:&lt;br /&gt;
	Timestamp, Instructor Id, Assignment id, Grade type, Student id, Grade, Comment&lt;br /&gt;
&lt;br /&gt;
4. Every time an instructor edits or comments on the grade the report is updated with the new entry and timestamp.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For “Submission grade”:&lt;br /&gt;
&lt;br /&gt;
1.Log in as an instructor&lt;br /&gt;
&lt;br /&gt;
2. Navigate to Manage -&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
3.Click on View Submission -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
A report with following details will show up:&lt;br /&gt;
	Timestamp, Instructor Id, Assignment id, Grade type, Student id, Grade, Comment&lt;br /&gt;
&lt;br /&gt;
4. Every time an instructor edits or comments on the grade the report is updated with the new entry and timestamp.&lt;br /&gt;
&lt;br /&gt;
=='''Actual Implementation'''==&lt;br /&gt;
===Actual View===&lt;br /&gt;
Actual view for submission list&lt;br /&gt;
[[File:E1869-Actual-1.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review report&lt;br /&gt;
[[File:E1869-Actual-3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for submission grade record&lt;br /&gt;
[[File:E1869-Actual-2.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review grade record&lt;br /&gt;
[[File:E1869-Actual-4.png]]&lt;br /&gt;
===Code Changes===&lt;br /&gt;
&lt;br /&gt;
==Files Modified==&lt;br /&gt;
*app/controllers/grades_controller.rb https://bit.ly/2Cg9WzR&lt;br /&gt;
'''&lt;br /&gt;
     Creates a Grading History Record for every Submission grade edited by the instructor for a Team. &lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/controllers/review_mapping_controller.rb https://bit.ly/2QywzZc&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
     Creates a Grading History Record for every Review grade edited by the instructor for a Student.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb https://bit.ly/2UHNRkO&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb https://bit.ly/2GfTqUj&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Files Added==&lt;br /&gt;
&lt;br /&gt;
*app/controllers/grading_histories_controller.rb https://bit.ly/2RY5xa6&lt;br /&gt;
'''&lt;br /&gt;
     Calls the grading history view after validaing Submission and Review Type.&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/grading_history.rb https://bit.ly/2PHKNRY&lt;br /&gt;
'''&lt;br /&gt;
     Model for Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/review_grading_history.rb https://bit.ly/2SPNR0e &lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Review Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/submission_grading_history.rb https://bit.ly/2S5EI3J&lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Submission Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/views/grading_history/index_html.erb https://bit.ly/2rDiZF1&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
     This is a view for grading audit trail, it will display all grading histories of a submission/review&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
=='''Reference'''==&lt;br /&gt;
[https://expertiza.ncsu.edu/ Expertiza]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Main_Page Expertiza_wiki]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Expertiza_documentation Expertiza Documentation]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121537</id>
		<title>CSC/E1869 GRADING AUDIT TRAIL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121537"/>
		<updated>2018-12-16T05:46:12Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Actual Code Change */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='''Introduction'''==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade.&lt;br /&gt;
A grading audit trail must be created and the following information needs to be stored: &lt;br /&gt;
:1. When a grade is assigned by an instructor, there needs to be an indication of who did it and when it was done. &lt;br /&gt;
:2. Comments previously provided by other instructors must also be preserved.&lt;br /&gt;
&lt;br /&gt;
This information needs to be stored every time an instructor edits a grade/comment and clicks the save button.&lt;br /&gt;
&lt;br /&gt;
Currently, there are two places need to add grading audit trail: &lt;br /&gt;
:1. '''Review grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Review Report&lt;br /&gt;
:2. '''Submission grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&lt;br /&gt;
=='''Proposed Solution'''==&lt;br /&gt;
&lt;br /&gt;
===Design===&lt;br /&gt;
We will create a database called grading_history in the system contains elements of instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
We will use MVC design to create a model, a controller, and a view for both of '''Review Grade''' and '''Submission Grade'''.&lt;br /&gt;
&lt;br /&gt;
:Model: grading_history.rb. Has a list of attributes contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: grading_history_controller.rb. Saves a new entry into the database every time a review grade or submission grade is saved&lt;br /&gt;
:View: index_html.erb. Displays current submission or review's grading history. An existing example of this is a submission record in the system.&lt;br /&gt;
&lt;br /&gt;
We also need to modified grades controller, so that every time, a grade is submitted or edited, grading_history_controller.rb will call a method to create an entry saves into the database.&lt;br /&gt;
&lt;br /&gt;
===Expected View===&lt;br /&gt;
Expected view for submission list&lt;br /&gt;
[[File:E1869-Screenshot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expected view for review report&lt;br /&gt;
[[File:E1869-Screenshot-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expected view for grade record&lt;br /&gt;
[[File:E1869-Screenshot-3.jpg]]&lt;br /&gt;
===Diagram===&lt;br /&gt;
[[File:E1869_Grading_Audit_Trails_UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
=='''Files Changed'''==&lt;br /&gt;
&lt;br /&gt;
===Files Added===&lt;br /&gt;
*app/models/grading_history.rb&lt;br /&gt;
 '''This is a model for grading audit trail, containing attributes of grading history'''&lt;br /&gt;
*app/controllers/grading_history_controller.rb&lt;br /&gt;
 '''This is a controller for grading audit trail, it can add grading history into the system'''&lt;br /&gt;
*app/views/grading_history/index_html.erb&lt;br /&gt;
 '''This is a view for grading audit trail, it will display all grading histories of a submission/review'''&lt;br /&gt;
&lt;br /&gt;
===Files Modified===&lt;br /&gt;
* app/controllers/grades_controller.rb&lt;br /&gt;
 '''Add code to call methods in grading_history_controller.rb to create new grading history'''&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb&lt;br /&gt;
 '''Add code to support view changes for Grade Record'''&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
 '''Add code to support view changes for Grade Record'''&lt;br /&gt;
&lt;br /&gt;
=='''Testing Plan'''==&lt;br /&gt;
&lt;br /&gt;
Functional testing:&lt;br /&gt;
&lt;br /&gt;
For “Review grade”:&lt;br /&gt;
 &lt;br /&gt;
1.Log in as an instructor&lt;br /&gt;
&lt;br /&gt;
2.Navigate to Manage -&amp;gt; Assignments&lt;br /&gt;
 &lt;br /&gt;
3. Click on Review Report&lt;br /&gt;
&lt;br /&gt;
A report with following details will show up:&lt;br /&gt;
	Timestamp, Instructor Id, Assignment id, Grade type, Student id, Grade, Comment&lt;br /&gt;
&lt;br /&gt;
4. Every time an instructor edits or comments on the grade the report is updated with the new entry and timestamp.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For “Submission grade”:&lt;br /&gt;
&lt;br /&gt;
1.Log in as an instructor&lt;br /&gt;
&lt;br /&gt;
2. Navigate to Manage -&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
3.Click on View Submission -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
A report with following details will show up:&lt;br /&gt;
	Timestamp, Instructor Id, Assignment id, Grade type, Student id, Grade, Comment&lt;br /&gt;
&lt;br /&gt;
4. Every time an instructor edits or comments on the grade the report is updated with the new entry and timestamp.&lt;br /&gt;
&lt;br /&gt;
=='''Actual Implementation'''==&lt;br /&gt;
===Actual View===&lt;br /&gt;
Actual view for submission list&lt;br /&gt;
[[File:E1869-Actual-1.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review report&lt;br /&gt;
[[File:E1869-Actual-3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for submission grade record&lt;br /&gt;
[[File:E1869-Actual-2.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review grade record&lt;br /&gt;
[[File:E1869-Actual-4.png]]&lt;br /&gt;
===Code Changes===&lt;br /&gt;
&lt;br /&gt;
==Files Modified==&lt;br /&gt;
*app/controllers/grades_controller.rb https://bit.ly/2Cg9WzR&lt;br /&gt;
'''&lt;br /&gt;
     Creates a Grading History Record for every Submission grade edited by the instructor for a Team. &lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/controllers/review_mapping_controller.rb https://bit.ly/2QywzZc&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
     Creates a Grading History Record for every Review grade edited by the instructor for a Student.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb https://bit.ly/2UHNRkO&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb https://bit.ly/2GfTqUj&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Files Added==&lt;br /&gt;
&lt;br /&gt;
*app/controllers/grading_histories_controller.rb https://bit.ly/2RY5xa6&lt;br /&gt;
'''&lt;br /&gt;
     Calls the grading history view after validaing Submission and Review Type.&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/grading_history.rb https://bit.ly/2PHKNRY&lt;br /&gt;
'''&lt;br /&gt;
     Model for Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/review_grading_history.rb https://bit.ly/2SPNR0e &lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Review Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/submission_grading_history.rb https://bit.ly/2S5EI3J&lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Submission Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/views/grading_history/index_html.erb https://bit.ly/2rDiZF1&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
     This is a view for grading audit trail, it will display all grading histories of a submission/review&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
=='''Reference'''==&lt;br /&gt;
[https://expertiza.ncsu.edu/ Expertiza]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Main_Page Expertiza_wiki]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Expertiza_documentation Expertiza Documentation]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121536</id>
		<title>CSC/E1869 GRADING AUDIT TRAIL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121536"/>
		<updated>2018-12-16T05:45:52Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Files Modified */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='''Introduction'''==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade.&lt;br /&gt;
A grading audit trail must be created and the following information needs to be stored: &lt;br /&gt;
:1. When a grade is assigned by an instructor, there needs to be an indication of who did it and when it was done. &lt;br /&gt;
:2. Comments previously provided by other instructors must also be preserved.&lt;br /&gt;
&lt;br /&gt;
This information needs to be stored every time an instructor edits a grade/comment and clicks the save button.&lt;br /&gt;
&lt;br /&gt;
Currently, there are two places need to add grading audit trail: &lt;br /&gt;
:1. '''Review grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Review Report&lt;br /&gt;
:2. '''Submission grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&lt;br /&gt;
=='''Proposed Solution'''==&lt;br /&gt;
&lt;br /&gt;
===Design===&lt;br /&gt;
We will create a database called grading_history in the system contains elements of instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
We will use MVC design to create a model, a controller, and a view for both of '''Review Grade''' and '''Submission Grade'''.&lt;br /&gt;
&lt;br /&gt;
:Model: grading_history.rb. Has a list of attributes contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: grading_history_controller.rb. Saves a new entry into the database every time a review grade or submission grade is saved&lt;br /&gt;
:View: index_html.erb. Displays current submission or review's grading history. An existing example of this is a submission record in the system.&lt;br /&gt;
&lt;br /&gt;
We also need to modified grades controller, so that every time, a grade is submitted or edited, grading_history_controller.rb will call a method to create an entry saves into the database.&lt;br /&gt;
&lt;br /&gt;
===Expected View===&lt;br /&gt;
Expected view for submission list&lt;br /&gt;
[[File:E1869-Screenshot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expected view for review report&lt;br /&gt;
[[File:E1869-Screenshot-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expected view for grade record&lt;br /&gt;
[[File:E1869-Screenshot-3.jpg]]&lt;br /&gt;
===Diagram===&lt;br /&gt;
[[File:E1869_Grading_Audit_Trails_UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
=='''Files Changed'''==&lt;br /&gt;
&lt;br /&gt;
===Files Added===&lt;br /&gt;
*app/models/grading_history.rb&lt;br /&gt;
 '''This is a model for grading audit trail, containing attributes of grading history'''&lt;br /&gt;
*app/controllers/grading_history_controller.rb&lt;br /&gt;
 '''This is a controller for grading audit trail, it can add grading history into the system'''&lt;br /&gt;
*app/views/grading_history/index_html.erb&lt;br /&gt;
 '''This is a view for grading audit trail, it will display all grading histories of a submission/review'''&lt;br /&gt;
&lt;br /&gt;
===Files Modified===&lt;br /&gt;
* app/controllers/grades_controller.rb&lt;br /&gt;
 '''Add code to call methods in grading_history_controller.rb to create new grading history'''&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb&lt;br /&gt;
 '''Add code to support view changes for Grade Record'''&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
 '''Add code to support view changes for Grade Record'''&lt;br /&gt;
&lt;br /&gt;
=='''Testing Plan'''==&lt;br /&gt;
&lt;br /&gt;
Functional testing:&lt;br /&gt;
&lt;br /&gt;
For “Review grade”:&lt;br /&gt;
 &lt;br /&gt;
1.Log in as an instructor&lt;br /&gt;
&lt;br /&gt;
2.Navigate to Manage -&amp;gt; Assignments&lt;br /&gt;
 &lt;br /&gt;
3. Click on Review Report&lt;br /&gt;
&lt;br /&gt;
A report with following details will show up:&lt;br /&gt;
	Timestamp, Instructor Id, Assignment id, Grade type, Student id, Grade, Comment&lt;br /&gt;
&lt;br /&gt;
4. Every time an instructor edits or comments on the grade the report is updated with the new entry and timestamp.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For “Submission grade”:&lt;br /&gt;
&lt;br /&gt;
1.Log in as an instructor&lt;br /&gt;
&lt;br /&gt;
2. Navigate to Manage -&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
3.Click on View Submission -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
A report with following details will show up:&lt;br /&gt;
	Timestamp, Instructor Id, Assignment id, Grade type, Student id, Grade, Comment&lt;br /&gt;
&lt;br /&gt;
4. Every time an instructor edits or comments on the grade the report is updated with the new entry and timestamp.&lt;br /&gt;
&lt;br /&gt;
=='''Actual Implementation'''==&lt;br /&gt;
===Actual View===&lt;br /&gt;
Actual view for submission list&lt;br /&gt;
[[File:E1869-Actual-1.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review report&lt;br /&gt;
[[File:E1869-Actual-3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for submission grade record&lt;br /&gt;
[[File:E1869-Actual-2.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review grade record&lt;br /&gt;
[[File:E1869-Actual-4.png]]&lt;br /&gt;
===Actual Code Change===&lt;br /&gt;
==Files Modified==&lt;br /&gt;
*app/controllers/grades_controller.rb https://bit.ly/2Cg9WzR&lt;br /&gt;
'''&lt;br /&gt;
     Creates a Grading History Record for every Submission grade edited by the instructor for a Team. &lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/controllers/review_mapping_controller.rb https://bit.ly/2QywzZc&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
     Creates a Grading History Record for every Review grade edited by the instructor for a Student.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb https://bit.ly/2UHNRkO&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb https://bit.ly/2GfTqUj&lt;br /&gt;
'''&lt;br /&gt;
     Add code to support view changes for Grade Record&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Files Added==&lt;br /&gt;
&lt;br /&gt;
*app/controllers/grading_histories_controller.rb https://bit.ly/2RY5xa6&lt;br /&gt;
'''&lt;br /&gt;
     Calls the grading history view after validaing Submission and Review Type.&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/grading_history.rb https://bit.ly/2PHKNRY&lt;br /&gt;
'''&lt;br /&gt;
     Model for Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/review_grading_history.rb https://bit.ly/2SPNR0e &lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Review Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/submission_grading_history.rb https://bit.ly/2S5EI3J&lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Submission Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/views/grading_history/index_html.erb https://bit.ly/2rDiZF1&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
     This is a view for grading audit trail, it will display all grading histories of a submission/review&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
=='''Reference'''==&lt;br /&gt;
[https://expertiza.ncsu.edu/ Expertiza]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Main_Page Expertiza_wiki]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Expertiza_documentation Expertiza Documentation]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121535</id>
		<title>CSC/E1869 GRADING AUDIT TRAIL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121535"/>
		<updated>2018-12-16T05:43:31Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Files Added */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='''Introduction'''==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade.&lt;br /&gt;
A grading audit trail must be created and the following information needs to be stored: &lt;br /&gt;
:1. When a grade is assigned by an instructor, there needs to be an indication of who did it and when it was done. &lt;br /&gt;
:2. Comments previously provided by other instructors must also be preserved.&lt;br /&gt;
&lt;br /&gt;
This information needs to be stored every time an instructor edits a grade/comment and clicks the save button.&lt;br /&gt;
&lt;br /&gt;
Currently, there are two places need to add grading audit trail: &lt;br /&gt;
:1. '''Review grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Review Report&lt;br /&gt;
:2. '''Submission grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&lt;br /&gt;
=='''Proposed Solution'''==&lt;br /&gt;
&lt;br /&gt;
===Design===&lt;br /&gt;
We will create a database called grading_history in the system contains elements of instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
We will use MVC design to create a model, a controller, and a view for both of '''Review Grade''' and '''Submission Grade'''.&lt;br /&gt;
&lt;br /&gt;
:Model: grading_history.rb. Has a list of attributes contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: grading_history_controller.rb. Saves a new entry into the database every time a review grade or submission grade is saved&lt;br /&gt;
:View: index_html.erb. Displays current submission or review's grading history. An existing example of this is a submission record in the system.&lt;br /&gt;
&lt;br /&gt;
We also need to modified grades controller, so that every time, a grade is submitted or edited, grading_history_controller.rb will call a method to create an entry saves into the database.&lt;br /&gt;
&lt;br /&gt;
===Expected View===&lt;br /&gt;
Expected view for submission list&lt;br /&gt;
[[File:E1869-Screenshot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expected view for review report&lt;br /&gt;
[[File:E1869-Screenshot-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expected view for grade record&lt;br /&gt;
[[File:E1869-Screenshot-3.jpg]]&lt;br /&gt;
===Diagram===&lt;br /&gt;
[[File:E1869_Grading_Audit_Trails_UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
=='''Files Changed'''==&lt;br /&gt;
&lt;br /&gt;
===Files Added===&lt;br /&gt;
*app/models/grading_history.rb&lt;br /&gt;
 '''This is a model for grading audit trail, containing attributes of grading history'''&lt;br /&gt;
*app/controllers/grading_history_controller.rb&lt;br /&gt;
 '''This is a controller for grading audit trail, it can add grading history into the system'''&lt;br /&gt;
*app/views/grading_history/index_html.erb&lt;br /&gt;
 '''This is a view for grading audit trail, it will display all grading histories of a submission/review'''&lt;br /&gt;
&lt;br /&gt;
===Files Modified===&lt;br /&gt;
* app/controllers/grades_controller.rb&lt;br /&gt;
 '''Add code to call methods in grading_history_controller.rb to create new grading history'''&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb&lt;br /&gt;
 '''Add code to support view changes for Grade Record'''&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
 '''Add code to support view changes for Grade Record'''&lt;br /&gt;
&lt;br /&gt;
=='''Testing Plan'''==&lt;br /&gt;
&lt;br /&gt;
Functional testing:&lt;br /&gt;
&lt;br /&gt;
For “Review grade”:&lt;br /&gt;
 &lt;br /&gt;
1.Log in as an instructor&lt;br /&gt;
&lt;br /&gt;
2.Navigate to Manage -&amp;gt; Assignments&lt;br /&gt;
 &lt;br /&gt;
3. Click on Review Report&lt;br /&gt;
&lt;br /&gt;
A report with following details will show up:&lt;br /&gt;
	Timestamp, Instructor Id, Assignment id, Grade type, Student id, Grade, Comment&lt;br /&gt;
&lt;br /&gt;
4. Every time an instructor edits or comments on the grade the report is updated with the new entry and timestamp.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For “Submission grade”:&lt;br /&gt;
&lt;br /&gt;
1.Log in as an instructor&lt;br /&gt;
&lt;br /&gt;
2. Navigate to Manage -&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
3.Click on View Submission -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
A report with following details will show up:&lt;br /&gt;
	Timestamp, Instructor Id, Assignment id, Grade type, Student id, Grade, Comment&lt;br /&gt;
&lt;br /&gt;
4. Every time an instructor edits or comments on the grade the report is updated with the new entry and timestamp.&lt;br /&gt;
&lt;br /&gt;
=='''Actual Implementation'''==&lt;br /&gt;
===Actual View===&lt;br /&gt;
Actual view for submission list&lt;br /&gt;
[[File:E1869-Actual-1.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review report&lt;br /&gt;
[[File:E1869-Actual-3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for submission grade record&lt;br /&gt;
[[File:E1869-Actual-2.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review grade record&lt;br /&gt;
[[File:E1869-Actual-4.png]]&lt;br /&gt;
===Actual Code Change===&lt;br /&gt;
==Files Modified==&lt;br /&gt;
*app/controllers/grades_controller.rb https://bit.ly/2Cg9WzR&lt;br /&gt;
'''&lt;br /&gt;
     Creates a Grading History Record for every Submission grade edited by the instructor for a Team. &lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/controllers/review_mapping_controller.rb https://bit.ly/2QywzZc&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
     Creates a Grading History Record for every Review grade edited by the instructor for a Student.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Files Added==&lt;br /&gt;
&lt;br /&gt;
*app/controllers/grading_histories_controller.rb https://bit.ly/2RY5xa6&lt;br /&gt;
'''&lt;br /&gt;
     Calls the grading history view after validaing Submission and Review Type.&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/grading_history.rb https://bit.ly/2PHKNRY&lt;br /&gt;
'''&lt;br /&gt;
     Model for Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/review_grading_history.rb https://bit.ly/2SPNR0e &lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Review Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/submission_grading_history.rb https://bit.ly/2S5EI3J&lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Submission Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/views/grading_history/index_html.erb https://bit.ly/2rDiZF1&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
     This is a view for grading audit trail, it will display all grading histories of a submission/review&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
=='''Reference'''==&lt;br /&gt;
[https://expertiza.ncsu.edu/ Expertiza]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Main_Page Expertiza_wiki]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Expertiza_documentation Expertiza Documentation]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121534</id>
		<title>CSC/E1869 GRADING AUDIT TRAIL</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=121534"/>
		<updated>2018-12-16T05:40:59Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Files Added */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='''Introduction'''==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade.&lt;br /&gt;
A grading audit trail must be created and the following information needs to be stored: &lt;br /&gt;
:1. When a grade is assigned by an instructor, there needs to be an indication of who did it and when it was done. &lt;br /&gt;
:2. Comments previously provided by other instructors must also be preserved.&lt;br /&gt;
&lt;br /&gt;
This information needs to be stored every time an instructor edits a grade/comment and clicks the save button.&lt;br /&gt;
&lt;br /&gt;
Currently, there are two places need to add grading audit trail: &lt;br /&gt;
:1. '''Review grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Review Report&lt;br /&gt;
:2. '''Submission grade''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&lt;br /&gt;
=='''Proposed Solution'''==&lt;br /&gt;
&lt;br /&gt;
===Design===&lt;br /&gt;
We will create a database called grading_history in the system contains elements of instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
We will use MVC design to create a model, a controller, and a view for both of '''Review Grade''' and '''Submission Grade'''.&lt;br /&gt;
&lt;br /&gt;
:Model: grading_history.rb. Has a list of attributes contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: grading_history_controller.rb. Saves a new entry into the database every time a review grade or submission grade is saved&lt;br /&gt;
:View: index_html.erb. Displays current submission or review's grading history. An existing example of this is a submission record in the system.&lt;br /&gt;
&lt;br /&gt;
We also need to modified grades controller, so that every time, a grade is submitted or edited, grading_history_controller.rb will call a method to create an entry saves into the database.&lt;br /&gt;
&lt;br /&gt;
===Expected View===&lt;br /&gt;
Expected view for submission list&lt;br /&gt;
[[File:E1869-Screenshot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expected view for review report&lt;br /&gt;
[[File:E1869-Screenshot-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expected view for grade record&lt;br /&gt;
[[File:E1869-Screenshot-3.jpg]]&lt;br /&gt;
===Diagram===&lt;br /&gt;
[[File:E1869_Grading_Audit_Trails_UML.jpg]]&lt;br /&gt;
&lt;br /&gt;
=='''Files Changed'''==&lt;br /&gt;
&lt;br /&gt;
===Files Added===&lt;br /&gt;
*app/models/grading_history.rb&lt;br /&gt;
 '''This is a model for grading audit trail, containing attributes of grading history'''&lt;br /&gt;
*app/controllers/grading_history_controller.rb&lt;br /&gt;
 '''This is a controller for grading audit trail, it can add grading history into the system'''&lt;br /&gt;
*app/views/grading_history/index_html.erb&lt;br /&gt;
 '''This is a view for grading audit trail, it will display all grading histories of a submission/review'''&lt;br /&gt;
&lt;br /&gt;
===Files Modified===&lt;br /&gt;
* app/controllers/grades_controller.rb&lt;br /&gt;
 '''Add code to call methods in grading_history_controller.rb to create new grading history'''&lt;br /&gt;
* app/views/assignments/list_submissions.html.erb&lt;br /&gt;
 '''Add code to support view changes for Grade Record'''&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
 '''Add code to support view changes for Grade Record'''&lt;br /&gt;
&lt;br /&gt;
=='''Testing Plan'''==&lt;br /&gt;
&lt;br /&gt;
Functional testing:&lt;br /&gt;
&lt;br /&gt;
For “Review grade”:&lt;br /&gt;
 &lt;br /&gt;
1.Log in as an instructor&lt;br /&gt;
&lt;br /&gt;
2.Navigate to Manage -&amp;gt; Assignments&lt;br /&gt;
 &lt;br /&gt;
3. Click on Review Report&lt;br /&gt;
&lt;br /&gt;
A report with following details will show up:&lt;br /&gt;
	Timestamp, Instructor Id, Assignment id, Grade type, Student id, Grade, Comment&lt;br /&gt;
&lt;br /&gt;
4. Every time an instructor edits or comments on the grade the report is updated with the new entry and timestamp.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For “Submission grade”:&lt;br /&gt;
&lt;br /&gt;
1.Log in as an instructor&lt;br /&gt;
&lt;br /&gt;
2. Navigate to Manage -&amp;gt; Assignments&lt;br /&gt;
&lt;br /&gt;
3.Click on View Submission -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
A report with following details will show up:&lt;br /&gt;
	Timestamp, Instructor Id, Assignment id, Grade type, Student id, Grade, Comment&lt;br /&gt;
&lt;br /&gt;
4. Every time an instructor edits or comments on the grade the report is updated with the new entry and timestamp.&lt;br /&gt;
&lt;br /&gt;
=='''Actual Implementation'''==&lt;br /&gt;
===Actual View===&lt;br /&gt;
Actual view for submission list&lt;br /&gt;
[[File:E1869-Actual-1.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review report&lt;br /&gt;
[[File:E1869-Actual-3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for submission grade record&lt;br /&gt;
[[File:E1869-Actual-2.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actual view for review grade record&lt;br /&gt;
[[File:E1869-Actual-4.png]]&lt;br /&gt;
===Actual Code Change===&lt;br /&gt;
==Files Modified==&lt;br /&gt;
*app/controllers/grades_controller.rb https://bit.ly/2Cg9WzR&lt;br /&gt;
'''&lt;br /&gt;
     Creates a Grading History Record for every Submission grade edited by the instructor for a Team. &lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/controllers/review_mapping_controller.rb https://bit.ly/2QywzZc&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
     Creates a Grading History Record for every Review grade edited by the instructor for a Student.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
==Files Added==&lt;br /&gt;
&lt;br /&gt;
*app/controllers/grading_histories_controller.rb https://bit.ly/2RY5xa6&lt;br /&gt;
'''&lt;br /&gt;
     Calls the grading history view after validaing Submission and Review Type.&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/grading_history.rb https://bit.ly/2PHKNRY&lt;br /&gt;
'''&lt;br /&gt;
     Model for Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/review_grading_history.rb https://bit.ly/2SPNR0e &lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Review Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
*app/models/submission_grading_history.rb https://bit.ly/2S5EI3J&lt;br /&gt;
'''&lt;br /&gt;
     Model containing specifics of Submission Grading History. Inherits Grading History.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
=='''Reference'''==&lt;br /&gt;
[https://expertiza.ncsu.edu/ Expertiza]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Main_Page Expertiza_wiki]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/Expertiza_documentation Expertiza Documentation]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=120095</id>
		<title>CSC/ECE 517 Fall 2018 E1832. OSS Project Orange: Author feedback (rejoinder) enhancements</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=120095"/>
		<updated>2018-11-15T20:56:15Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Solutions Implemented and Delivered */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
===Background===&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the students to peer review other students submission. It also allows Participant of a Team to provide feedback for the review. Apart from that, it allows the instructor to view the summary report of reviews received and feedbacks given by each participant of a team.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
In current system the author feedback is send by individual team members. It&lt;br /&gt;
would be better if one team send one single rejoinder to the review and all members&lt;br /&gt;
could see and edit it. Also there are real usability issues with regards to how students can&lt;br /&gt;
even navigate to the place where feedback can be given to reviewers. The UI needs to&lt;br /&gt;
be more user friendly.&lt;br /&gt;
&lt;br /&gt;
In Summary report for assignment for instructors, the author feedback&lt;br /&gt;
section lists feedback from all team members. You should change this to list the team’s&lt;br /&gt;
collective feedback to its reviewers to a particular assignment&lt;br /&gt;
&lt;br /&gt;
===Tasks Identified===&lt;br /&gt;
&lt;br /&gt;
* Refactor “new_feedback” actions for adding team as reviewer for Rejoinder.&lt;br /&gt;
* Refactor all the actions in response controllers to pass the participant id.&lt;br /&gt;
* Refactor author feedback tab in summary report view for the instructor.  &lt;br /&gt;
* Change in the summary report of assignment for the instructor to display teams feedbacks.&lt;br /&gt;
* In the author-feedback tab on the heat grid, fixed reviewers names on top row.  &lt;br /&gt;
* Summary reports navigation to the page where feedbacks are given to reviewers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Classes====&lt;br /&gt;
1.Team rejoinder.&lt;br /&gt;
* controllers/response_controller.rb&lt;br /&gt;
*views/grades/_reviews.html.erb&lt;br /&gt;
*views/response/response.html.erb&lt;br /&gt;
*models/vm_question_response.rb&lt;br /&gt;
*models/assignment_participant.rb&lt;br /&gt;
&lt;br /&gt;
2.Navigation Issue fixes&lt;br /&gt;
*views/response/view.html.erb&lt;br /&gt;
&lt;br /&gt;
3.Author feedback tab of summary report: &lt;br /&gt;
*models/response_map.rb&lt;br /&gt;
*models/team.rb&lt;br /&gt;
*helpers/grades_helper.rb&lt;br /&gt;
*views/grades/_author_feedback_tab.html.erb&lt;br /&gt;
&lt;br /&gt;
4.Heatgrid top raw reviewer name fix:&lt;br /&gt;
*views/grades/_view_heatgrid.html.erb&lt;br /&gt;
&lt;br /&gt;
====Solutions Implemented and Delivered====&lt;br /&gt;
&lt;br /&gt;
*Changed per participant feedback display author feedback view to per team in app/views/grades/_author_feedback_tab.html.erb :&lt;br /&gt;
&lt;br /&gt;
[[File:author_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Added &amp;quot;give feedback&amp;quot; and edit feedback functionality in the review view(app/views/grades/_reviews.html.erb).&lt;br /&gt;
[[File:view_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Edited grade helper to use a questionnaire to use team ID for reviews in case of a feedback(app/helpers/grades_helper.rb).&lt;br /&gt;
[[File:grades_helper.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Refactored new_feedback method to add team ID as the reviewer Id in the response map(app/controllers/response_controller.rb).&lt;br /&gt;
&lt;br /&gt;
[[File:New_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Fixed a bug where a wrong assessment was being returned for a feedback because the map was searched on participant id instead of reviewee id.&lt;br /&gt;
So added a new method which will return a feedback assessment(app/models/response_map.rb). &lt;br /&gt;
&lt;br /&gt;
[[File:response_map.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Output====&lt;br /&gt;
'''Issue #622'''&lt;br /&gt;
Assuming a team of two students  student559 and student567, and that they have gotten a review from student563.&lt;br /&gt;
1. Click Manage-Impersonate User, type username “student559”, then click impersonate.&lt;br /&gt;
&lt;br /&gt;
2. Choose assignment Test Test, go to Your score, and click Review 1, like the screenshot shows, there is an option for giving feedback&lt;br /&gt;
[[File:Give Feedback.PNG]]&lt;br /&gt;
3. Now, impersonate user “student567”, choose assignment Test Test, go to Your score, and click Review 1, you can see the same feedback commit &amp;quot;TESTING Feedback&amp;quot;. with an option to Edit Feedback &lt;br /&gt;
[[File:Edit feedback.PNG]]&lt;br /&gt;
[[File:Response-view-2.png]]&lt;br /&gt;
&lt;br /&gt;
'''Issue#895'''&lt;br /&gt;
&lt;br /&gt;
1. Login as an instructor and Click Manage-Assignment, under assignment Test Test, click view scores.&lt;br /&gt;
&lt;br /&gt;
2. Choose Team 1, and click Author Feedback, you can see the feedback is given by the team, not individual student.&lt;br /&gt;
[[File:Grades-view.png]]&lt;br /&gt;
&lt;br /&gt;
'''Issue#1191'''&lt;br /&gt;
In the above screenshot, you can see that the top row of heat grid is fixed to show the name of Student to whom the feedback is given(in this case to student563). And the link will take you to the review&lt;br /&gt;
&lt;br /&gt;
===Testing===&lt;br /&gt;
&lt;br /&gt;
Fixed the existing test cases for the review feedback by a team instead of a team member.&lt;br /&gt;
====Test Plan====&lt;br /&gt;
*Should test that if there is no rejoinder for the review then it redirects to new author feedback page.  &lt;br /&gt;
&lt;br /&gt;
*Tests that the other teammate is able to edit.&lt;br /&gt;
&lt;br /&gt;
*The page is redirecting back to the View-&amp;gt;review.&lt;br /&gt;
&lt;br /&gt;
*Tests that the rejoinder by a participant of a team is saved properly.&lt;br /&gt;
&lt;br /&gt;
====Tests====&lt;br /&gt;
&lt;br /&gt;
Context 'when current response is nil' do&lt;br /&gt;
      it 'redirects to response#new page' do&lt;br /&gt;
        allow(FeedbackResponseMap).to receive(:where).with(reviewed_object_id: 1, reviewer_id: 1).and_return([])&lt;br /&gt;
        params = {id: 1, participant_id: 1}&lt;br /&gt;
        session = {user: instructor}&lt;br /&gt;
        get :new_feedback, params, session&lt;br /&gt;
        expect(response).to redirect_to('/response/new?id=2&amp;amp;participant_id=1&amp;amp;return=feedback')&lt;br /&gt;
      end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
describe '#feedback' do&lt;br /&gt;
    it 'returns corrsponding author feedback responses given by current participant' do&lt;br /&gt;
       allow(FeedbackResponseMap).to receive(:get_feedback_assessments_for).with(participant.team).and_return([response])&lt;br /&gt;
      expect(participant.feedback).to eq([response])&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=120092</id>
		<title>CSC/ECE 517 Fall 2018 E1832. OSS Project Orange: Author feedback (rejoinder) enhancements</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=120092"/>
		<updated>2018-11-15T05:08:15Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Output */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
===Background===&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the students to peer review other students submission. It also allows Participant of a Team to provide feedback for the review. Apart from that, it allows the instructor to view the summary report of reviews received and feedbacks given by each participant of a team.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
In current system the author feedback is send by individual team members. It&lt;br /&gt;
would be better if one team send one single rejoinder to the review and all members&lt;br /&gt;
could see and edit it. Also there are real usability issues with regards to how students can&lt;br /&gt;
even navigate to the place where feedback can be given to reviewers. The UI needs to&lt;br /&gt;
be more user friendly.&lt;br /&gt;
&lt;br /&gt;
In Summary report for assignment for instructors, the author feedback&lt;br /&gt;
section lists feedback from all team members. You should change this to list the team’s&lt;br /&gt;
collective feedback to its reviewers to a particular assignment&lt;br /&gt;
&lt;br /&gt;
===Tasks Identified===&lt;br /&gt;
&lt;br /&gt;
* Refactor “new_feedback” actions for adding team as reviewer for Rejoinder.&lt;br /&gt;
* Refactor all the actions in response controllers to pass the participant id.&lt;br /&gt;
* Refactor author feedback tab in summary report view for the instructor.  &lt;br /&gt;
* Change in the summary report of assignment for the instructor to display teams feedbacks.&lt;br /&gt;
* In the author-feedback tab on the heat grid, fixed reviewers names on top row.  &lt;br /&gt;
* Summary reports navigation to the page where feedbacks are given to reviewers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Classes====&lt;br /&gt;
1.Team rejoinder.&lt;br /&gt;
* controllers/response_controller.rb&lt;br /&gt;
*views/grades/_reviews.html.erb&lt;br /&gt;
*views/response/response.html.erb&lt;br /&gt;
*models/vm_question_response.rb&lt;br /&gt;
*models/assignment_participant.rb&lt;br /&gt;
&lt;br /&gt;
2.Navigation Issue fixes&lt;br /&gt;
*views/response/view.html.erb&lt;br /&gt;
&lt;br /&gt;
3.Author feedback tab of summary report: &lt;br /&gt;
*models/response_map.rb&lt;br /&gt;
*models/team.rb&lt;br /&gt;
*helpers/grades_helper.rb&lt;br /&gt;
*views/grades/_author_feedback_tab.html.erb&lt;br /&gt;
&lt;br /&gt;
4.Heatgrid top raw reviewer name fix:&lt;br /&gt;
*views/grades/_view_heatgrid.html.erb&lt;br /&gt;
&lt;br /&gt;
====Solutions Implemented and Delivered====&lt;br /&gt;
&lt;br /&gt;
*Changed per participant feedback display author feedback view to per team: &lt;br /&gt;
&lt;br /&gt;
[[File:author_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Added &amp;quot;give feedback&amp;quot; and edit feedback functionality in the review view.&lt;br /&gt;
[[File:view_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Edited grade helper to use a questionnaire to use team ID for reviews in case of a feedback.&lt;br /&gt;
[[File:grades_helper.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Refactored new_feedback method to add team ID as the reviewer Id in the response map.&lt;br /&gt;
&lt;br /&gt;
[[File:New_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Fixed a bug where a wrong assessment was being returned for a feedback because the map was searched on participant id instead of reviewee id.&lt;br /&gt;
So added a new method which will return a feedback assessment.&lt;br /&gt;
&lt;br /&gt;
[[File:response_map.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Output====&lt;br /&gt;
'''Issue #622'''&lt;br /&gt;
Assuming a team of two students  student559 and student567, and that they have gotten a review from student563.&lt;br /&gt;
1. Click Manage-Impersonate User, type username “student559”, then click impersonate.&lt;br /&gt;
&lt;br /&gt;
2. Choose assignment Test Test, go to Your score, and click Review 1, like the screenshot shows, there is an option for giving feedback&lt;br /&gt;
[[File:Give Feedback.PNG]]&lt;br /&gt;
3. Now, impersonate user “student567”, choose assignment Test Test, go to Your score, and click Review 1, you can see the same feedback commit &amp;quot;TESTING Feedback&amp;quot;. with an option to Edit Feedback &lt;br /&gt;
[[File:Edit feedback.PNG]]&lt;br /&gt;
[[File:Response-view-2.png]]&lt;br /&gt;
&lt;br /&gt;
'''Issue#895'''&lt;br /&gt;
&lt;br /&gt;
1. Login as an instructor and Click Manage-Assignment, under assignment Test Test, click view scores.&lt;br /&gt;
&lt;br /&gt;
2. Choose Team 1, and click Author Feedback, you can see the feedback is given by the team, not individual student.&lt;br /&gt;
[[File:Grades-view.png]]&lt;br /&gt;
&lt;br /&gt;
'''Issue#1191'''&lt;br /&gt;
In the above screenshot, you can see that the top row of heat grid is fixed to show the name of Student to whom the feedback is given(in this case to student563). And the link will take you to the review&lt;br /&gt;
&lt;br /&gt;
===Testing===&lt;br /&gt;
&lt;br /&gt;
Fixed the existing test cases for the review feedback by a team instead of a team member.&lt;br /&gt;
====Test Plan====&lt;br /&gt;
*Should test that if there is no rejoinder for the review then it redirects to new author feedback page.  &lt;br /&gt;
&lt;br /&gt;
*Tests that the other teammate is able to edit.&lt;br /&gt;
&lt;br /&gt;
*The page is redirecting back to the View-&amp;gt;review.&lt;br /&gt;
&lt;br /&gt;
*Tests that the rejoinder by a participant of a team is saved properly.&lt;br /&gt;
&lt;br /&gt;
====Tests====&lt;br /&gt;
&lt;br /&gt;
Context 'when current response is nil' do&lt;br /&gt;
      it 'redirects to response#new page' do&lt;br /&gt;
        allow(FeedbackResponseMap).to receive(:where).with(reviewed_object_id: 1, reviewer_id: 1).and_return([])&lt;br /&gt;
        params = {id: 1, participant_id: 1}&lt;br /&gt;
        session = {user: instructor}&lt;br /&gt;
        get :new_feedback, params, session&lt;br /&gt;
        expect(response).to redirect_to('/response/new?id=2&amp;amp;participant_id=1&amp;amp;return=feedback')&lt;br /&gt;
      end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
describe '#feedback' do&lt;br /&gt;
    it 'returns corrsponding author feedback responses given by current participant' do&lt;br /&gt;
       allow(FeedbackResponseMap).to receive(:get_feedback_assessments_for).with(participant.team).and_return([response])&lt;br /&gt;
      expect(participant.feedback).to eq([response])&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Edit_feedback.PNG&amp;diff=120091</id>
		<title>File:Edit feedback.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Edit_feedback.PNG&amp;diff=120091"/>
		<updated>2018-11-15T04:57:55Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: Edit feedback option available for other at review page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Edit feedback option available for other at review page&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Give_Feedback.PNG&amp;diff=120090</id>
		<title>File:Give Feedback.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Give_Feedback.PNG&amp;diff=120090"/>
		<updated>2018-11-15T04:56:43Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: give_feedback option in the review page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;give_feedback option in the review page&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018&amp;diff=120089</id>
		<title>CSC/ECE 517 Fall 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018&amp;diff=120089"/>
		<updated>2018-11-15T04:45:12Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[CSC/ECE 517 Fall 2018- Project E1846. OSS Project Navy: Character Issues]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2018/OSS E1848 Write unit tests for assignment team.rb]]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1839_Review_Requirements_and_Thresholds CSC/ECE 517 Fall 2018 E1839 Review Requirements and Thresholds]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1848_Write_unit_tests_for_assignment_team CSC/ECE 517 Fall 2018 E1848 Write unit tests for assignment_team]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1835_Refactor_delayed_mailer_and_scheduled_task CSC/ECE 517 Fall 2018 E1835_Refactor_delayed_mailer_and_scheduled_task]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1829_OSS_project_Duke_Blue_Fix_import_glitches CSC/ECE 517 Fall 2018 E1829 OSS project Duke Blue: Fix import glitches]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1853_Write_unit_tests_for_menu.rb CSC/ECE 517 Fall 2018 E1853 Write unit tests for menu.rb]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1853_write_unit_tests_for_menu CSC/ECE517 Fall 2018 E1853 Write Unit Tests For menu.rb]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018_-_Project_E1852_Write_unit_tests_for_participant.rb CSC/ECE 517 Fall 2018 E1852 Write unit tests for participant.rb]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1844_Issues_related_to_names CSC/ECE 517 Fall 2018 E1844 Issues related to names]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/User_talk:Rshakya CSC/ECE 517 Fall 2018/E1852 Unit Test for Participant Model]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1850_Write_unit_tests_for_review_response_map CSC/ECE 517 Fall 2018 Write unit tests for review-response_map.rb]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1849_Write_Unit_Tests_for_vm_question_response.rb CSC/ECE 517 Fall 2018/E1849 Write Unit Tests for vm_question_response.rb]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1866_Expertiza_Internationalization CSC/ECE 517 Fall 2018/E1866 Expertiza Internationalization]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1879_Student_Generated_Questions_Added_To_Rubric CSC/ECE 517 Fall 2018/E1879 Student Generated Questions Added To Rubric]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1856_Allow_reviewers_to_bid_on_what_to_review CSC/ECE 517 Fall 2018/E1856 Allow]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1876_Completion/Progress_view CSC/ECE 517 Fall 2018 E1876_Completion/Progress_view]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1872_Track_Time_Students_Look_At_Other_Submissions CSC/ECE 517 Fall 2018/E1872 Track Time Students Look At Other Submissions]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2018- Project E1865. Conflict Notification]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2018- Project E1861. Improving search facility in Expertiza]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2018- Project E1858. Github metrics integration]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2018 E1832. OSS Project Orange: Author feedback (rejoinder) enhancements]]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC_517_Fall_2018/oss_E1832&amp;diff=120088</id>
		<title>CSC 517 Fall 2018/oss E1832</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC_517_Fall_2018/oss_E1832&amp;diff=120088"/>
		<updated>2018-11-15T04:44:35Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: moved CSC 517 Fall 2018/oss E1832 to CSC/ECE 517 Fall 2018 E1832. OSS Project Orange: Author feedback (rejoinder) enhancements: Incomplete name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[CSC/ECE 517 Fall 2018 E1832. OSS Project Orange: Author feedback (rejoinder) enhancements]]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=120087</id>
		<title>CSC/ECE 517 Fall 2018 E1832. OSS Project Orange: Author feedback (rejoinder) enhancements</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=120087"/>
		<updated>2018-11-15T04:44:35Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: moved CSC 517 Fall 2018/oss E1832 to CSC/ECE 517 Fall 2018 E1832. OSS Project Orange: Author feedback (rejoinder) enhancements: Incomplete name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
===Background===&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the students to peer review other students submission. It also allows Participant of a Team to provide feedback for the review. Apart from that, it allows the instructor to view the summary report of reviews received and feedbacks given by each participant of a team.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
In current system the author feedback is send by individual team members. It&lt;br /&gt;
would be better if one team send one single rejoinder to the review and all members&lt;br /&gt;
could see and edit it. Also there are real usability issues with regards to how students can&lt;br /&gt;
even navigate to the place where feedback can be given to reviewers. The UI needs to&lt;br /&gt;
be more user friendly.&lt;br /&gt;
&lt;br /&gt;
In Summary report for assignment for instructors, the author feedback&lt;br /&gt;
section lists feedback from all team members. You should change this to list the team’s&lt;br /&gt;
collective feedback to its reviewers to a particular assignment&lt;br /&gt;
&lt;br /&gt;
===Tasks Identified===&lt;br /&gt;
&lt;br /&gt;
* Refactor “new_feedback” actions for adding team as reviewer for Rejoinder.&lt;br /&gt;
* Refactor all the actions in response controllers to pass the participant id.&lt;br /&gt;
* Refactor author feedback tab in summary report view for the instructor.  &lt;br /&gt;
* Change in the summary report of assignment for the instructor to display teams feedbacks.&lt;br /&gt;
* In the author-feedback tab on the heat grid, fixed reviewers names on top row.  &lt;br /&gt;
* Summary reports navigation to the page where feedbacks are given to reviewers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Classes====&lt;br /&gt;
1.Team rejoinder.&lt;br /&gt;
* controllers/response_controller.rb&lt;br /&gt;
*views/grades/_reviews.html.erb&lt;br /&gt;
*views/response/response.html.erb&lt;br /&gt;
*models/vm_question_response.rb&lt;br /&gt;
*models/assignment_participant.rb&lt;br /&gt;
&lt;br /&gt;
2.Navigation Issue fixes&lt;br /&gt;
*views/response/view.html.erb&lt;br /&gt;
&lt;br /&gt;
3.Author feedback tab of summary report: &lt;br /&gt;
*models/response_map.rb&lt;br /&gt;
*models/team.rb&lt;br /&gt;
*helpers/grades_helper.rb&lt;br /&gt;
*views/grades/_author_feedback_tab.html.erb&lt;br /&gt;
&lt;br /&gt;
4.Heatgrid top raw reviewer name fix:&lt;br /&gt;
*views/grades/_view_heatgrid.html.erb&lt;br /&gt;
&lt;br /&gt;
====Solutions Implemented and Delivered====&lt;br /&gt;
&lt;br /&gt;
*Changed per participant feedback display author feedback view to per team: &lt;br /&gt;
&lt;br /&gt;
[[File:author_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Added &amp;quot;give feedback&amp;quot; and edit feedback functionality in the review view.&lt;br /&gt;
[[File:view_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Edited grade helper to use a questionnaire to use team ID for reviews in case of a feedback.&lt;br /&gt;
[[File:grades_helper.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Refactored new_feedback method to add team ID as the reviewer Id in the response map.&lt;br /&gt;
&lt;br /&gt;
[[File:New_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Fixed a bug where a wrong assessment was being returned for a feedback because the map was searched on participant id instead of reviewee id.&lt;br /&gt;
So added a new method which will return a feedback assessment.&lt;br /&gt;
&lt;br /&gt;
[[File:response_map.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Output====&lt;br /&gt;
'''Issue #622'''&lt;br /&gt;
&lt;br /&gt;
1. Click Manage-Impersonate User, type username “student559”, then click impersonate.&lt;br /&gt;
&lt;br /&gt;
2. Choose assignment Test Test, go to Your score, and click Review 1, like the screenshot show, the feedback commit shows &amp;quot;TESTING Feedback&amp;quot;.&lt;br /&gt;
[[File:Response-view-1.png]]&lt;br /&gt;
3. Now, impersonate user “student567”, choose assignment Test Test, go to Your score, and click Review 1, you can see the same feedback commit &amp;quot;TESTING Feedback&amp;quot;.&lt;br /&gt;
[[File:Response-view-2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Issue#895'''&lt;br /&gt;
&lt;br /&gt;
1. Click Manage-Assignment, under assignment Test Test, click view scores.&lt;br /&gt;
&lt;br /&gt;
2. Choose Team 1, and click Author Feedback, you can see the feedback is given by the team, not individual student.&lt;br /&gt;
[[File:Grades-view.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Testing===&lt;br /&gt;
&lt;br /&gt;
Fixed the existing test cases for the review feedback by a team instead of a team member.&lt;br /&gt;
====Test Plan====&lt;br /&gt;
*Should test that if there is no rejoinder for the review then it redirects to new author feedback page.  &lt;br /&gt;
&lt;br /&gt;
*Tests that the other teammate is able to edit.&lt;br /&gt;
&lt;br /&gt;
*The page is redirecting back to the View-&amp;gt;review.&lt;br /&gt;
&lt;br /&gt;
*Tests that the rejoinder by a participant of a team is saved properly.&lt;br /&gt;
&lt;br /&gt;
====Tests====&lt;br /&gt;
&lt;br /&gt;
Context 'when current response is nil' do&lt;br /&gt;
      it 'redirects to response#new page' do&lt;br /&gt;
        allow(FeedbackResponseMap).to receive(:where).with(reviewed_object_id: 1, reviewer_id: 1).and_return([])&lt;br /&gt;
        params = {id: 1, participant_id: 1}&lt;br /&gt;
        session = {user: instructor}&lt;br /&gt;
        get :new_feedback, params, session&lt;br /&gt;
        expect(response).to redirect_to('/response/new?id=2&amp;amp;participant_id=1&amp;amp;return=feedback')&lt;br /&gt;
      end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
describe '#feedback' do&lt;br /&gt;
    it 'returns corrsponding author feedback responses given by current participant' do&lt;br /&gt;
       allow(FeedbackResponseMap).to receive(:get_feedback_assessments_for).with(participant.team).and_return([response])&lt;br /&gt;
      expect(participant.feedback).to eq([response])&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018&amp;diff=120086</id>
		<title>CSC/ECE 517 Fall 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018&amp;diff=120086"/>
		<updated>2018-11-15T04:40:30Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[CSC/ECE 517 Fall 2018- Project E1846. OSS Project Navy: Character Issues]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2018/OSS E1848 Write unit tests for assignment team.rb]]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1839_Review_Requirements_and_Thresholds CSC/ECE 517 Fall 2018 E1839 Review Requirements and Thresholds]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1848_Write_unit_tests_for_assignment_team CSC/ECE 517 Fall 2018 E1848 Write unit tests for assignment_team]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1835_Refactor_delayed_mailer_and_scheduled_task CSC/ECE 517 Fall 2018 E1835_Refactor_delayed_mailer_and_scheduled_task]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1829_OSS_project_Duke_Blue_Fix_import_glitches CSC/ECE 517 Fall 2018 E1829 OSS project Duke Blue: Fix import glitches]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1853_Write_unit_tests_for_menu.rb CSC/ECE 517 Fall 2018 E1853 Write unit tests for menu.rb]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1853_write_unit_tests_for_menu CSC/ECE517 Fall 2018 E1853 Write Unit Tests For menu.rb]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018_-_Project_E1852_Write_unit_tests_for_participant.rb CSC/ECE 517 Fall 2018 E1852 Write unit tests for participant.rb]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1844_Issues_related_to_names CSC/ECE 517 Fall 2018 E1844 Issues related to names]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/User_talk:Rshakya CSC/ECE 517 Fall 2018/E1852 Unit Test for Participant Model]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/E1850_Write_unit_tests_for_review_response_map CSC/ECE 517 Fall 2018 Write unit tests for review-response_map.rb]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1849_Write_Unit_Tests_for_vm_question_response.rb CSC/ECE 517 Fall 2018/E1849 Write Unit Tests for vm_question_response.rb]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1866_Expertiza_Internationalization CSC/ECE 517 Fall 2018/E1866 Expertiza Internationalization]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1879_Student_Generated_Questions_Added_To_Rubric CSC/ECE 517 Fall 2018/E1879 Student Generated Questions Added To Rubric]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1856_Allow_reviewers_to_bid_on_what_to_review CSC/ECE 517 Fall 2018/E1856 Allow]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1876_Completion/Progress_view CSC/ECE 517 Fall 2018 E1876_Completion/Progress_view]&lt;br /&gt;
* [http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2018/E1872_Track_Time_Students_Look_At_Other_Submissions CSC/ECE 517 Fall 2018/E1872 Track Time Students Look At Other Submissions]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2018- Project E1865. Conflict Notification]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2018- Project E1861. Improving search facility in Expertiza]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2018- Project E1858. Github metrics integration]]&lt;br /&gt;
* [[CSC 517 Fall 2018/oss E1832]]&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=120085</id>
		<title>CSC/ECE 517 Fall 2018 E1832. OSS Project Orange: Author feedback (rejoinder) enhancements</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=120085"/>
		<updated>2018-11-15T04:39:50Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
===Background===&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the students to peer review other students submission. It also allows Participant of a Team to provide feedback for the review. Apart from that, it allows the instructor to view the summary report of reviews received and feedbacks given by each participant of a team.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
In current system the author feedback is send by individual team members. It&lt;br /&gt;
would be better if one team send one single rejoinder to the review and all members&lt;br /&gt;
could see and edit it. Also there are real usability issues with regards to how students can&lt;br /&gt;
even navigate to the place where feedback can be given to reviewers. The UI needs to&lt;br /&gt;
be more user friendly.&lt;br /&gt;
&lt;br /&gt;
In Summary report for assignment for instructors, the author feedback&lt;br /&gt;
section lists feedback from all team members. You should change this to list the team’s&lt;br /&gt;
collective feedback to its reviewers to a particular assignment&lt;br /&gt;
&lt;br /&gt;
===Tasks Identified===&lt;br /&gt;
&lt;br /&gt;
* Refactor “new_feedback” actions for adding team as reviewer for Rejoinder.&lt;br /&gt;
* Refactor all the actions in response controllers to pass the participant id.&lt;br /&gt;
* Refactor author feedback tab in summary report view for the instructor.  &lt;br /&gt;
* Change in the summary report of assignment for the instructor to display teams feedbacks.&lt;br /&gt;
* In the author-feedback tab on the heat grid, fixed reviewers names on top row.  &lt;br /&gt;
* Summary reports navigation to the page where feedbacks are given to reviewers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Classes====&lt;br /&gt;
1.Team rejoinder.&lt;br /&gt;
* controllers/response_controller.rb&lt;br /&gt;
*views/grades/_reviews.html.erb&lt;br /&gt;
*views/response/response.html.erb&lt;br /&gt;
*models/vm_question_response.rb&lt;br /&gt;
*models/assignment_participant.rb&lt;br /&gt;
&lt;br /&gt;
2.Navigation Issue fixes&lt;br /&gt;
*views/response/view.html.erb&lt;br /&gt;
&lt;br /&gt;
3.Author feedback tab of summary report: &lt;br /&gt;
*models/response_map.rb&lt;br /&gt;
*models/team.rb&lt;br /&gt;
*helpers/grades_helper.rb&lt;br /&gt;
*views/grades/_author_feedback_tab.html.erb&lt;br /&gt;
&lt;br /&gt;
4.Heatgrid top raw reviewer name fix:&lt;br /&gt;
*views/grades/_view_heatgrid.html.erb&lt;br /&gt;
&lt;br /&gt;
====Solutions Implemented and Delivered====&lt;br /&gt;
&lt;br /&gt;
*Changed per participant feedback display author feedback view to per team: &lt;br /&gt;
&lt;br /&gt;
[[File:author_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Added &amp;quot;give feedback&amp;quot; and edit feedback functionality in the review view.&lt;br /&gt;
[[File:view_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Edited grade helper to use a questionnaire to use team ID for reviews in case of a feedback.&lt;br /&gt;
[[File:grades_helper.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Refactored new_feedback method to add team ID as the reviewer Id in the response map.&lt;br /&gt;
&lt;br /&gt;
[[File:New_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Fixed a bug where a wrong assessment was being returned for a feedback because the map was searched on participant id instead of reviewee id.&lt;br /&gt;
So added a new method which will return a feedback assessment.&lt;br /&gt;
&lt;br /&gt;
[[File:response_map.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Output====&lt;br /&gt;
'''Issue #622'''&lt;br /&gt;
&lt;br /&gt;
1. Click Manage-Impersonate User, type username “student559”, then click impersonate.&lt;br /&gt;
&lt;br /&gt;
2. Choose assignment Test Test, go to Your score, and click Review 1, like the screenshot show, the feedback commit shows &amp;quot;TESTING Feedback&amp;quot;.&lt;br /&gt;
[[File:Response-view-1.png]]&lt;br /&gt;
3. Now, impersonate user “student567”, choose assignment Test Test, go to Your score, and click Review 1, you can see the same feedback commit &amp;quot;TESTING Feedback&amp;quot;.&lt;br /&gt;
[[File:Response-view-2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Issue#895'''&lt;br /&gt;
&lt;br /&gt;
1. Click Manage-Assignment, under assignment Test Test, click view scores.&lt;br /&gt;
&lt;br /&gt;
2. Choose Team 1, and click Author Feedback, you can see the feedback is given by the team, not individual student.&lt;br /&gt;
[[File:Grades-view.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Testing===&lt;br /&gt;
&lt;br /&gt;
Fixed the existing test cases for the review feedback by a team instead of a team member.&lt;br /&gt;
====Test Plan====&lt;br /&gt;
*Should test that if there is no rejoinder for the review then it redirects to new author feedback page.  &lt;br /&gt;
&lt;br /&gt;
*Tests that the other teammate is able to edit.&lt;br /&gt;
&lt;br /&gt;
*The page is redirecting back to the View-&amp;gt;review.&lt;br /&gt;
&lt;br /&gt;
*Tests that the rejoinder by a participant of a team is saved properly.&lt;br /&gt;
&lt;br /&gt;
====Tests====&lt;br /&gt;
&lt;br /&gt;
Context 'when current response is nil' do&lt;br /&gt;
      it 'redirects to response#new page' do&lt;br /&gt;
        allow(FeedbackResponseMap).to receive(:where).with(reviewed_object_id: 1, reviewer_id: 1).and_return([])&lt;br /&gt;
        params = {id: 1, participant_id: 1}&lt;br /&gt;
        session = {user: instructor}&lt;br /&gt;
        get :new_feedback, params, session&lt;br /&gt;
        expect(response).to redirect_to('/response/new?id=2&amp;amp;participant_id=1&amp;amp;return=feedback')&lt;br /&gt;
      end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
describe '#feedback' do&lt;br /&gt;
    it 'returns corrsponding author feedback responses given by current participant' do&lt;br /&gt;
       allow(FeedbackResponseMap).to receive(:get_feedback_assessments_for).with(participant.team).and_return([response])&lt;br /&gt;
      expect(participant.feedback).to eq([response])&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=120084</id>
		<title>CSC/ECE 517 Fall 2018 E1832. OSS Project Orange: Author feedback (rejoinder) enhancements</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=120084"/>
		<updated>2018-11-15T04:39:29Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
===Background===&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the students to peer review other students submission. It also allows Participant of a Team to provide feedback for the review. Apart from that, it allows the instructor to view the summary report of reviews received and feedbacks given by each participant of a team.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
In current system the author feedback is send by individual team members. It&lt;br /&gt;
would be better if one team send one single rejoinder to the review and all members&lt;br /&gt;
could see and edit it. Also there are real usability issues with regards to how students can&lt;br /&gt;
even navigate to the place where feedback can be given to reviewers. The UI needs to&lt;br /&gt;
be more user friendly.&lt;br /&gt;
&lt;br /&gt;
In Summary report for assignment for instructors, the author feedback&lt;br /&gt;
section lists feedback from all team members. You should change this to list the team’s&lt;br /&gt;
collective feedback to its reviewers to a particular assignment&lt;br /&gt;
&lt;br /&gt;
===Tasks Identified===&lt;br /&gt;
&lt;br /&gt;
* Refactor “new_feedback” actions for adding team as reviewer for Rejoinder.&lt;br /&gt;
* Refactor all the actions in response controllers to pass the participant id.&lt;br /&gt;
* Refactor author feedback tab in summary report view for the instructor.  &lt;br /&gt;
* Change in the summary report of assignment for the instructor to display teams feedbacks.&lt;br /&gt;
* In the author-feedback tab on the heat grid, fixed reviewers names on top row.  &lt;br /&gt;
* Summary reports navigation to the page where feedbacks are given to reviewers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Classes====&lt;br /&gt;
1.Team rejoinder.&lt;br /&gt;
* controllers/response_controller.rb&lt;br /&gt;
*views/grades/_reviews.html.erb&lt;br /&gt;
*views/response/response.html.erb&lt;br /&gt;
*models/vm_question_response.rb&lt;br /&gt;
*models/assignment_participant.rb&lt;br /&gt;
&lt;br /&gt;
2.Navigation Issue fixes&lt;br /&gt;
*views/response/view.html.erb&lt;br /&gt;
&lt;br /&gt;
3.Author feedback tab of summary report: &lt;br /&gt;
*models/response_map.rb&lt;br /&gt;
*models/team.rb&lt;br /&gt;
*helpers/grades_helper.rb&lt;br /&gt;
*views/grades/_author_feedback_tab.html.erb&lt;br /&gt;
&lt;br /&gt;
4.Heatgrid top raw reviewer name fix:&lt;br /&gt;
*views/grades/_view_heatgrid.html.erb&lt;br /&gt;
&lt;br /&gt;
====Solutions Implemented and Delivered====&lt;br /&gt;
&lt;br /&gt;
*Changed per participant feedback display author feedback view to per team: &lt;br /&gt;
&lt;br /&gt;
[[File:author_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Added &amp;quot;give feedback&amp;quot; and edit feedback functionality in the review view.&lt;br /&gt;
[[File:view_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Edited grade helper to use a questionnaire to use team ID for reviews in case of a feedback.&lt;br /&gt;
[[File:grades_helper.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Refactored new_feedback method to add team ID as the reviewer Id in the response map.&lt;br /&gt;
&lt;br /&gt;
[[File:New_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Fixed a bug where a wrong assessment was being returned for a feedback because the map was searched on participant id instead of reviewee id.&lt;br /&gt;
So added a new method which will return a feedback assessment.&lt;br /&gt;
&lt;br /&gt;
[[File:response_map.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Changes====&lt;br /&gt;
'''Issue #622'''&lt;br /&gt;
&lt;br /&gt;
1. Click Manage-Impersonate User, type username “student559”, then click impersonate.&lt;br /&gt;
&lt;br /&gt;
2. Choose assignment Test Test, go to Your score, and click Review 1, like the screenshot show, the feedback commit shows &amp;quot;TESTING Feedback&amp;quot;.&lt;br /&gt;
[[File:Response-view-1.png]]&lt;br /&gt;
3. Now, impersonate user “student567”, choose assignment Test Test, go to Your score, and click Review 1, you can see the same feedback commit &amp;quot;TESTING Feedback&amp;quot;.&lt;br /&gt;
[[File:Response-view-2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Issue#895'''&lt;br /&gt;
&lt;br /&gt;
1. Click Manage-Assignment, under assignment Test Test, click view scores.&lt;br /&gt;
&lt;br /&gt;
2. Choose Team 1, and click Author Feedback, you can see the feedback is given by the team, not individual student.&lt;br /&gt;
[[File:Grades-view.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Testing===&lt;br /&gt;
&lt;br /&gt;
Fixed the existing test cases for the review feedback by a team instead of a team member.&lt;br /&gt;
====Test Plan====&lt;br /&gt;
*Should test that if there is no rejoinder for the review then it redirects to new author feedback page.  &lt;br /&gt;
&lt;br /&gt;
*Tests that the other teammate is able to edit.&lt;br /&gt;
&lt;br /&gt;
*The page is redirecting back to the View-&amp;gt;review.&lt;br /&gt;
&lt;br /&gt;
*Tests that the rejoinder by a participant of a team is saved properly.&lt;br /&gt;
&lt;br /&gt;
====Tests====&lt;br /&gt;
&lt;br /&gt;
Context 'when current response is nil' do&lt;br /&gt;
      it 'redirects to response#new page' do&lt;br /&gt;
        allow(FeedbackResponseMap).to receive(:where).with(reviewed_object_id: 1, reviewer_id: 1).and_return([])&lt;br /&gt;
        params = {id: 1, participant_id: 1}&lt;br /&gt;
        session = {user: instructor}&lt;br /&gt;
        get :new_feedback, params, session&lt;br /&gt;
        expect(response).to redirect_to('/response/new?id=2&amp;amp;participant_id=1&amp;amp;return=feedback')&lt;br /&gt;
      end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
describe '#feedback' do&lt;br /&gt;
    it 'returns corrsponding author feedback responses given by current participant' do&lt;br /&gt;
       allow(FeedbackResponseMap).to receive(:get_feedback_assessments_for).with(participant.team).and_return([response])&lt;br /&gt;
      expect(participant.feedback).to eq([response])&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=118701</id>
		<title>CSC/ECE 517 Fall 2018 E1832. OSS Project Orange: Author feedback (rejoinder) enhancements</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=118701"/>
		<updated>2018-11-06T03:09:46Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
===Background===&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the students to peer review other students submission. It also allows Participant of a Team to provide feedback for the review. Apart from that, it allows the instructor to view the summary report of reviews received and feedbacks given by each participant of a team.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
In current system the author feedback is send by individual team members. It&lt;br /&gt;
would be better if one team send one single rejoinder to the review and all members&lt;br /&gt;
could see and edit it. Also there are real usability issues with regards to how students can&lt;br /&gt;
even navigate to the place where feedback can be given to reviewers. The UI needs to&lt;br /&gt;
be more user friendly.&lt;br /&gt;
&lt;br /&gt;
In Summary report for assignment for instructors, the author feedback&lt;br /&gt;
section lists feedback from all team members. You should change this to list the team’s&lt;br /&gt;
collective feedback to its reviewers to a particular assignment&lt;br /&gt;
&lt;br /&gt;
===Tasks Identified===&lt;br /&gt;
&lt;br /&gt;
* Refactor “new_feedback” actions for adding team as reviewer for Rejoinder.&lt;br /&gt;
* Refactor all the actions in response controllers to pass the participant id.&lt;br /&gt;
* Refactor author feedback tab in summary report view for the instructor.  &lt;br /&gt;
* Change in the summary report of assignment for the instructor to display teams feedbacks.&lt;br /&gt;
* In the author-feedback tab on the heat grid, fixed reviewers names on top row.  &lt;br /&gt;
* Summary reports navigation to the page where feedbacks are given to reviewers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Classes====&lt;br /&gt;
1.Team rejoinder.&lt;br /&gt;
* controllers/response_controller.rb&lt;br /&gt;
*views/grades/_reviews.html.erb&lt;br /&gt;
*views/response/response.html.erb&lt;br /&gt;
*models/vm_question_response.rb&lt;br /&gt;
*models/assignment_participant.rb&lt;br /&gt;
&lt;br /&gt;
2.Navigation Issue fixes&lt;br /&gt;
*views/response/view.html.erb&lt;br /&gt;
&lt;br /&gt;
3.Author feedback tab of summary report: &lt;br /&gt;
*models/response_map.rb&lt;br /&gt;
*models/team.rb&lt;br /&gt;
*helpers/grades_helper.rb&lt;br /&gt;
*views/grades/_author_feedback_tab.html.erb&lt;br /&gt;
&lt;br /&gt;
4.Heatgrid top raw reviewer name fix:&lt;br /&gt;
*views/grades/_view_heatgrid.html.erb&lt;br /&gt;
&lt;br /&gt;
====Solutions Implemented and Delivered====&lt;br /&gt;
&lt;br /&gt;
*Changed per participant feedback display author feedback view to per team: &lt;br /&gt;
&lt;br /&gt;
[[File:author_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Added &amp;quot;give feedback&amp;quot; and edit feedback functionality in the review view.&lt;br /&gt;
[[File:view_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Edited grade helper to use a questionnaire to use team ID for reviews in case of a feedback.&lt;br /&gt;
[[File:grades_helper.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Refactored new_feedback method to add team ID as the reviewer Id in the response map.&lt;br /&gt;
&lt;br /&gt;
[[File:New_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Fixed a bug where a wrong assessment was being returned for a feedback because the map was searched on participant id instead of reviewee id.&lt;br /&gt;
So added a new method which will return a feedback assessment.&lt;br /&gt;
&lt;br /&gt;
[[File:response_map.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Testing===&lt;br /&gt;
&lt;br /&gt;
Fixed the existing test cases for the review feedback by a team instead of a team member.&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=118700</id>
		<title>CSC/ECE 517 Fall 2018 E1832. OSS Project Orange: Author feedback (rejoinder) enhancements</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=118700"/>
		<updated>2018-11-06T03:07:46Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Tasks Identified */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
===Background===&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the students to peer review other students submission. It also allows Participant of a Team to provide feedback for the review. Apart from that, it allows the instructor to view the summary report of reviews received and feedbacks given by each participant of a team.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
In current system the author feedback is send by individual team members. It&lt;br /&gt;
would be better if one team send one single rejoinder to the review and all members&lt;br /&gt;
could see and edit it. Also there are real usability issues with regards to how students can&lt;br /&gt;
even navigate to the place where feedback can be given to reviewers. The UI needs to&lt;br /&gt;
be more user friendly.&lt;br /&gt;
&lt;br /&gt;
In Summary report for assignment for instructors, the author feedback&lt;br /&gt;
section lists feedback from all team members. You should change this to list the team’s&lt;br /&gt;
collective feedback to its reviewers to a particular assignment&lt;br /&gt;
&lt;br /&gt;
===Tasks Identified===&lt;br /&gt;
&lt;br /&gt;
* Refactor “new_feedback” actions for adding team as reviewer for Rejoinder.&lt;br /&gt;
* Refactor all the actions in response controllers to pass the participant id.&lt;br /&gt;
* Refactor author feedback tab in summary report view for the instructor.  &lt;br /&gt;
* Change in the summary report of assignment for the instructor to display teams feedbacks.&lt;br /&gt;
* In the author-feedback tab on the heat grid, fixed reviewers names on top row.  &lt;br /&gt;
* Summary reports navigation to the page where feedbacks are given to reviewers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Classes====&lt;br /&gt;
1.Team rejoinder.&lt;br /&gt;
* controllers/response_controller.rb&lt;br /&gt;
*views/grades/_reviews.html.erb&lt;br /&gt;
*views/response/response.html.erb&lt;br /&gt;
*models/vm_question_response.rb&lt;br /&gt;
*models/assignment_participant.rb&lt;br /&gt;
&lt;br /&gt;
2.Navigation Issue fixes&lt;br /&gt;
*views/response/view.html.erb&lt;br /&gt;
&lt;br /&gt;
3.Author feedback tab of summary report: &lt;br /&gt;
*models/response_map.rb&lt;br /&gt;
*models/team.rb&lt;br /&gt;
*helpers/grades_helper.rb&lt;br /&gt;
*views/grades/_author_feedback_tab.html.erb&lt;br /&gt;
&lt;br /&gt;
4.Heatgrid top raw reviewer name fix:&lt;br /&gt;
*views/grades/_view_heatgrid.html.erb&lt;br /&gt;
&lt;br /&gt;
====Solutions Implemented and Delivered====&lt;br /&gt;
&lt;br /&gt;
*Changed per participant feedback display author feedback view to per team: &lt;br /&gt;
&lt;br /&gt;
[[File:author_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Added &amp;quot;give feedback&amp;quot; and edit feedback functionality in the review view.&lt;br /&gt;
[[File:view_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Edited grade helper to use a questionnaire to use team ID for reviews in case of a feedback.&lt;br /&gt;
[[File:grades_helper.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Refactored new_feedback method to add team ID as the reviewer Id in the response map.&lt;br /&gt;
&lt;br /&gt;
[[File:New_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Fixed a bug where a wrong assessment was being returned for a feedback because the map was searched on participant id instead of reviewee id.&lt;br /&gt;
So added a new method which will return a feedback assessment.&lt;br /&gt;
&lt;br /&gt;
[[File:response_map.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Testing===&lt;br /&gt;
&lt;br /&gt;
Fixed the existed test cases for the fixes we made.&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=118699</id>
		<title>CSC/ECE 517 Fall 2018 E1832. OSS Project Orange: Author feedback (rejoinder) enhancements</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2018_E1832._OSS_Project_Orange:_Author_feedback_(rejoinder)_enhancements&amp;diff=118699"/>
		<updated>2018-11-06T03:07:15Z</updated>

		<summary type="html">&lt;p&gt;Atripat6: /* Background */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
===Background===&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the students to peer review other students submission. It also allows Participant of a Team to provide feedback for the review. Apart from that, it allows the instructor to view the summary report of reviews received and feedbacks given by each participant of a team.&lt;br /&gt;
&lt;br /&gt;
===Motivation===&lt;br /&gt;
In current system the author feedback is send by individual team members. It&lt;br /&gt;
would be better if one team send one single rejoinder to the review and all members&lt;br /&gt;
could see and edit it. Also there are real usability issues with regards to how students can&lt;br /&gt;
even navigate to the place where feedback can be given to reviewers. The UI needs to&lt;br /&gt;
be more user friendly.&lt;br /&gt;
&lt;br /&gt;
In Summary report for assignment for instructors, the author feedback&lt;br /&gt;
section lists feedback from all team members. You should change this to list the team’s&lt;br /&gt;
collective feedback to its reviewers to a particular assignment&lt;br /&gt;
&lt;br /&gt;
===Tasks Identified===&lt;br /&gt;
* Refactor edit and update method&lt;br /&gt;
* Remove irrelevant comments from the create action.&lt;br /&gt;
* associate_assignment_with_course and remove_assignment_from_course logic should be moved to model.&lt;br /&gt;
* Change to new redirect method rather using controller and action explicitly.&lt;br /&gt;
* Refactor the update_due_dates from Assignment Form. using the DRY principle&lt;br /&gt;
* Refactor code to follow the ruby style guide and Rails4 syntax.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Refactor “new_feedback” actions for adding team as reviewer for Rejoinder.&lt;br /&gt;
* Refactor all the actions in response controllers to pass the participant id.&lt;br /&gt;
* Refactor author feedback tab in summary report view for the instructor.  &lt;br /&gt;
* Change in the summary report of assignment for the instructor to display teams feedbacks.&lt;br /&gt;
* In the author-feedback tab on the heat grid, fixed reviewers names on top row.  &lt;br /&gt;
* Summary reports navigation to the page where feedbacks are given to reviewers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Classes====&lt;br /&gt;
1.Team rejoinder.&lt;br /&gt;
* controllers/response_controller.rb&lt;br /&gt;
*views/grades/_reviews.html.erb&lt;br /&gt;
*views/response/response.html.erb&lt;br /&gt;
*models/vm_question_response.rb&lt;br /&gt;
*models/assignment_participant.rb&lt;br /&gt;
&lt;br /&gt;
2.Navigation Issue fixes&lt;br /&gt;
*views/response/view.html.erb&lt;br /&gt;
&lt;br /&gt;
3.Author feedback tab of summary report: &lt;br /&gt;
*models/response_map.rb&lt;br /&gt;
*models/team.rb&lt;br /&gt;
*helpers/grades_helper.rb&lt;br /&gt;
*views/grades/_author_feedback_tab.html.erb&lt;br /&gt;
&lt;br /&gt;
4.Heatgrid top raw reviewer name fix:&lt;br /&gt;
*views/grades/_view_heatgrid.html.erb&lt;br /&gt;
&lt;br /&gt;
====Solutions Implemented and Delivered====&lt;br /&gt;
&lt;br /&gt;
*Changed per participant feedback display author feedback view to per team: &lt;br /&gt;
&lt;br /&gt;
[[File:author_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Added &amp;quot;give feedback&amp;quot; and edit feedback functionality in the review view.&lt;br /&gt;
[[File:view_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Edited grade helper to use a questionnaire to use team ID for reviews in case of a feedback.&lt;br /&gt;
[[File:grades_helper.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Refactored new_feedback method to add team ID as the reviewer Id in the response map.&lt;br /&gt;
&lt;br /&gt;
[[File:New_feedback.jpg]]&lt;br /&gt;
&lt;br /&gt;
*Fixed a bug where a wrong assessment was being returned for a feedback because the map was searched on participant id instead of reviewee id.&lt;br /&gt;
So added a new method which will return a feedback assessment.&lt;br /&gt;
&lt;br /&gt;
[[File:response_map.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Testing===&lt;br /&gt;
&lt;br /&gt;
Fixed the existed test cases for the fixes we made.&lt;/div&gt;</summary>
		<author><name>Atripat6</name></author>
	</entry>
</feed>