<?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=Syu10</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=Syu10"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Syu10"/>
	<updated>2026-05-09T12:15:09Z</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=121395</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=121395"/>
		<updated>2018-12-08T04:04:50Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &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 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 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 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 a entry saves into 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 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 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 whill 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;
=='''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>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Actual-4.png&amp;diff=121394</id>
		<title>File:E1869-Actual-4.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Actual-4.png&amp;diff=121394"/>
		<updated>2018-12-08T04:00:35Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Actual-3.png&amp;diff=121393</id>
		<title>File:E1869-Actual-3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Actual-3.png&amp;diff=121393"/>
		<updated>2018-12-08T04:00:22Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Actual-2.JPG&amp;diff=121392</id>
		<title>File:E1869-Actual-2.JPG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Actual-2.JPG&amp;diff=121392"/>
		<updated>2018-12-08T04:00:10Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Actual-1.JPG&amp;diff=121391</id>
		<title>File:E1869-Actual-1.JPG</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Actual-1.JPG&amp;diff=121391"/>
		<updated>2018-12-08T03:59:47Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=120312</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=120312"/>
		<updated>2018-11-20T17:45:00Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &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 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 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 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 a entry saves into 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 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 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 whill 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;
=='''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>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=120309</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=120309"/>
		<updated>2018-11-20T17:36:38Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &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 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 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 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 a entry saves into 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/controller/grades_controller.rb&lt;br /&gt;
 '''Add code to call methods in grading_history_controller.rb to create new grading history'''&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 instructon&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 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 whill 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;
=='''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>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Screenshot-3.jpg&amp;diff=120306</id>
		<title>File:E1869-Screenshot-3.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Screenshot-3.jpg&amp;diff=120306"/>
		<updated>2018-11-20T17:32:12Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Screenshot-2.jpg&amp;diff=120303</id>
		<title>File:E1869-Screenshot-2.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Screenshot-2.jpg&amp;diff=120303"/>
		<updated>2018-11-20T17:31:01Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Screenshot-1.jpg&amp;diff=120302</id>
		<title>File:E1869-Screenshot-1.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:E1869-Screenshot-1.jpg&amp;diff=120302"/>
		<updated>2018-11-20T17:30:09Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Syu10</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=120080</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=120080"/>
		<updated>2018-11-14T20:08:21Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &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;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;
====ScrennShot====&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;
====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>Syu10</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=120079</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=120079"/>
		<updated>2018-11-14T20:07:22Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &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;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;
====ScrennShot====&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;
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;
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;
====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>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Grades-view.png&amp;diff=120078</id>
		<title>File:Grades-view.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Grades-view.png&amp;diff=120078"/>
		<updated>2018-11-14T20:05:57Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Response-view-2.png&amp;diff=120077</id>
		<title>File:Response-view-2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Response-view-2.png&amp;diff=120077"/>
		<updated>2018-11-14T20:04:40Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Response-view-1.png&amp;diff=120076</id>
		<title>File:Response-view-1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Response-view-1.png&amp;diff=120076"/>
		<updated>2018-11-14T19:59:30Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Syu10</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/E1869_GRADING_AUDIT_TRAIL&amp;diff=119947</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=119947"/>
		<updated>2018-11-14T02:51:46Z</updated>

		<summary type="html">&lt;p&gt;Syu10: &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 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: has a database contains instructor id, assignment id, grade type, student id, grade, comment, and timestamp.&lt;br /&gt;
:Controller: saves a new entry into database every time a review grade or submission grade is saved&lt;br /&gt;
:View: displays current submission or review's grading history. An existing example of this is submission record in the system.&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>Syu10</name></author>
	</entry>
</feed>