<?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=Hdu5</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=Hdu5"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Hdu5"/>
	<updated>2026-06-09T08:00:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=142423</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=142423"/>
		<updated>2021-11-30T16:49:08Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Important Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
==== Review History Flow====&lt;br /&gt;
[[File:reviewhistory.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
Because in Expertiza the team ID will be generated for each given assignment, so the original design of grade / comment of team's submission are the field belongs to '''team'''. So our model uses the foreign key to only the team but not the related assignments or submissions.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
[[File:GradingHistory.png]]&lt;br /&gt;
&lt;br /&gt;
==== Team History Flow====&lt;br /&gt;
[[File:teamhistory.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests ===&lt;br /&gt;
==== For History of the Grade of Reviews ====&lt;br /&gt;
The history of the grade and comments are related to this controller app/controllers/review_mapping_controller.rb and this view app/views/reports/_review_report.html.erb. &lt;br /&gt;
&lt;br /&gt;
So the related RSpec tests are planned to be executed:&lt;br /&gt;
&lt;br /&gt;
    spec/controllers/review_mapping_controller_spec.rb&lt;br /&gt;
&lt;br /&gt;
==== For History of the Grade of Team Submissions ====&lt;br /&gt;
The history of the grade and comments are related to the new model grading_history.rb and the new controller grading_history_controller.rb.&lt;br /&gt;
&lt;br /&gt;
So the related RSpec tests are planned to be executed:&lt;br /&gt;
&lt;br /&gt;
    spec/models/grading_history.rb&lt;br /&gt;
    spec/controllers/grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
For the feature part, test if the grading history and instructor can be shown in chronological order:&lt;br /&gt;
&lt;br /&gt;
    spec/features/grade_histories_spec.rb&lt;br /&gt;
    spec/features/helpers/grade_histories_helper.rb&lt;br /&gt;
&lt;br /&gt;
=== Manual UI Tests ===&lt;br /&gt;
To start the test, we need to log in as instructor or TA first. These accounts should have access to the assignment. For example: we can use '''intructor6/password''' or '''teaching_assistant8631/password''';&lt;br /&gt;
&lt;br /&gt;
==== Scenario 1: Grading histories of submissions ====&lt;br /&gt;
Step 1. Log in as instructor/TA -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View submissions&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:E2158_view_submisson.png|1100px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Step 2. The instructor/TA can assign grades to a team by clicking 'Assign Grade' in the 'Team name' column:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:E2158_grading_history_submisson1.png|1100px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Step 3. The instructor/TA can view the grading audit trail by clicking 'Grading History' in the 'History' column, here is the record page:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:E2158_grading_history_submisson2.png|1100px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==== Scenario 2: Grading histories of reviews ====&lt;br /&gt;
Step 1. Log in as instructor/TA -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Reports&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:E2158_view_report.png|1100px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Step 2. Select 'Review Report' then click 'View', here is the Review Report page. The instructor/TA can assign grades to a review by inputing 'Grade' and 'Comment' then clicking 'Save' button:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:E2158_grading_history_report1.png|1100px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Step 3. The instructor/TA can view the grading audit trail by clicking 'Grading History' as Step 2 figure shows, here is the record page:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:E2158_grading_history_report2.png|1100px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git Repo]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2164 Pull Request]&lt;br /&gt;
#[https://www.youtube.com/watch?v=ad4wF6--5dQ Test1]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:GradingHistory.png&amp;diff=141589</id>
		<title>File:GradingHistory.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:GradingHistory.png&amp;diff=141589"/>
		<updated>2021-11-10T17:17:02Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: Hdu5 uploaded a new version of File:GradingHistory.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:GradingHistory.png&amp;diff=141588</id>
		<title>File:GradingHistory.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:GradingHistory.png&amp;diff=141588"/>
		<updated>2021-11-10T17:16:42Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: Hdu5 uploaded a new version of File:GradingHistory.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:GradingHistory.png&amp;diff=141587</id>
		<title>File:GradingHistory.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:GradingHistory.png&amp;diff=141587"/>
		<updated>2021-11-10T17:09:54Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: Hdu5 uploaded a new version of File:GradingHistory.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141453</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141453"/>
		<updated>2021-11-09T04:07:55Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: Undo revision 141451 by Hdu5 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
Because in Expertiza the team ID will be generated for each given assignment, so the original design of grade / comment of team's submission are the field belongs to '''team'''. So our model uses the foreign key to only the team but not the related assignments or submissions.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
[[File:GradingHistory.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests ===&lt;br /&gt;
==== For History of the Grade of Reviews ====&lt;br /&gt;
The history of the grade and comments are related to this controller app/controllers/review_mapping_controller.rb and this view app/views/reports/_review_report.html.erb. &lt;br /&gt;
&lt;br /&gt;
So the related RSpec tests are planned to be executed:&lt;br /&gt;
&lt;br /&gt;
    spec/controllers/review_mapping_controller_spec.rb&lt;br /&gt;
&lt;br /&gt;
==== For History of the Grade of Team Submissions ====&lt;br /&gt;
The history of the grade and comments are related to the new model grading_history.rb and the new controller grading_history_controller.rb.&lt;br /&gt;
&lt;br /&gt;
So the related RSpec tests are planned to be executed:&lt;br /&gt;
&lt;br /&gt;
    spec/models/grading_history.rb&lt;br /&gt;
    spec/controllers/grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
=== Manual UI Tests ===&lt;br /&gt;
The new features of recording and showing the history of grades and comments of reviews and submissions will be manually tested after we finished the implementation of those functions.&lt;br /&gt;
&lt;br /&gt;
:1. An assignment and a team will be generated, and at most 3 instructors / TAs will give grades for these situations:&lt;br /&gt;
    1. 1 submission, 1 review, 1 grade and comment for submission, 1 grade and comment for review.&lt;br /&gt;
    2. 1 submission, 2 review, 2 grade and comment for submission from different graders, 2 grade and comment for review from different graders.&lt;br /&gt;
:2. An assignment and 3 teams will be generated, and at most 3 instructors / TAs will give grades for these situations:&lt;br /&gt;
    1. For each team: 1 submission, 1 review, 1 grade and comment for submission, 1 grade and comment for review.&lt;br /&gt;
    2. For each team: 1 submission, 2 review, 2 grade and comment for submission from different graders, 2 grade and comment for review from different graders.&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
We will generate some edge cases to test the robustness of our work.&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141451</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141451"/>
		<updated>2021-11-09T04:07:26Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Expected View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|left]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|left]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|left]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
Because in Expertiza the team ID will be generated for each given assignment, so the original design of grade / comment of team's submission are the field belongs to '''team'''. So our model uses the foreign key to only the team but not the related assignments or submissions.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
[[File:GradingHistory.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests ===&lt;br /&gt;
==== For History of the Grade of Reviews ====&lt;br /&gt;
The history of the grade and comments are related to this controller app/controllers/review_mapping_controller.rb and this view app/views/reports/_review_report.html.erb. &lt;br /&gt;
&lt;br /&gt;
So the related RSpec tests are planned to be executed:&lt;br /&gt;
&lt;br /&gt;
    spec/controllers/review_mapping_controller_spec.rb&lt;br /&gt;
&lt;br /&gt;
==== For History of the Grade of Team Submissions ====&lt;br /&gt;
The history of the grade and comments are related to the new model grading_history.rb and the new controller grading_history_controller.rb.&lt;br /&gt;
&lt;br /&gt;
So the related RSpec tests are planned to be executed:&lt;br /&gt;
&lt;br /&gt;
    spec/models/grading_history.rb&lt;br /&gt;
    spec/controllers/grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
=== Manual UI Tests ===&lt;br /&gt;
The new features of recording and showing the history of grades and comments of reviews and submissions will be manually tested after we finished the implementation of those functions.&lt;br /&gt;
&lt;br /&gt;
:1. An assignment and a team will be generated, and at most 3 instructors / TAs will give grades for these situations:&lt;br /&gt;
    1. 1 submission, 1 review, 1 grade and comment for submission, 1 grade and comment for review.&lt;br /&gt;
    2. 1 submission, 2 review, 2 grade and comment for submission from different graders, 2 grade and comment for review from different graders.&lt;br /&gt;
:2. An assignment and 3 teams will be generated, and at most 3 instructors / TAs will give grades for these situations:&lt;br /&gt;
    1. For each team: 1 submission, 1 review, 1 grade and comment for submission, 1 grade and comment for review.&lt;br /&gt;
    2. For each team: 1 submission, 2 review, 2 grade and comment for submission from different graders, 2 grade and comment for review from different graders.&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
We will generate some edge cases to test the robustness of our work.&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141450</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141450"/>
		<updated>2021-11-09T04:06:27Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Manual UI Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
Because in Expertiza the team ID will be generated for each given assignment, so the original design of grade / comment of team's submission are the field belongs to '''team'''. So our model uses the foreign key to only the team but not the related assignments or submissions.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
[[File:GradingHistory.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests ===&lt;br /&gt;
==== For History of the Grade of Reviews ====&lt;br /&gt;
The history of the grade and comments are related to this controller app/controllers/review_mapping_controller.rb and this view app/views/reports/_review_report.html.erb. &lt;br /&gt;
&lt;br /&gt;
So the related RSpec tests are planned to be executed:&lt;br /&gt;
&lt;br /&gt;
    spec/controllers/review_mapping_controller_spec.rb&lt;br /&gt;
&lt;br /&gt;
==== For History of the Grade of Team Submissions ====&lt;br /&gt;
The history of the grade and comments are related to the new model grading_history.rb and the new controller grading_history_controller.rb.&lt;br /&gt;
&lt;br /&gt;
So the related RSpec tests are planned to be executed:&lt;br /&gt;
&lt;br /&gt;
    spec/models/grading_history.rb&lt;br /&gt;
    spec/controllers/grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
=== Manual UI Tests ===&lt;br /&gt;
The new features of recording and showing the history of grades and comments of reviews and submissions will be manually tested after we finished the implementation of those functions.&lt;br /&gt;
&lt;br /&gt;
:1. An assignment and a team will be generated, and at most 3 instructors / TAs will give grades for these situations:&lt;br /&gt;
    1. 1 submission, 1 review, 1 grade and comment for submission, 1 grade and comment for review.&lt;br /&gt;
    2. 1 submission, 2 review, 2 grade and comment for submission from different graders, 2 grade and comment for review from different graders.&lt;br /&gt;
:2. An assignment and 3 teams will be generated, and at most 3 instructors / TAs will give grades for these situations:&lt;br /&gt;
    1. For each team: 1 submission, 1 review, 1 grade and comment for submission, 1 grade and comment for review.&lt;br /&gt;
    2. For each team: 1 submission, 2 review, 2 grade and comment for submission from different graders, 2 grade and comment for review from different graders.&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
We will generate some edge cases to test the robustness of our work.&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141448</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141448"/>
		<updated>2021-11-09T03:56:55Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Rspec Unit Tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
Because in Expertiza the team ID will be generated for each given assignment, so the original design of grade / comment of team's submission are the field belongs to '''team'''. So our model uses the foreign key to only the team but not the related assignments or submissions.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
[[File:GradingHistory.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests ===&lt;br /&gt;
==== For History of the Grade of Reviews ====&lt;br /&gt;
The history of the grade and comments are related to this controller app/controllers/review_mapping_controller.rb and this view app/views/reports/_review_report.html.erb. &lt;br /&gt;
&lt;br /&gt;
So the related RSpec tests are planned to be executed:&lt;br /&gt;
&lt;br /&gt;
    spec/controllers/review_mapping_controller_spec.rb&lt;br /&gt;
&lt;br /&gt;
==== For History of the Grade of Team Submissions ====&lt;br /&gt;
The history of the grade and comments are related to the new model grading_history.rb and the new controller grading_history_controller.rb.&lt;br /&gt;
&lt;br /&gt;
So the related RSpec tests are planned to be executed:&lt;br /&gt;
&lt;br /&gt;
    spec/models/grading_history.rb&lt;br /&gt;
    spec/controllers/grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141447</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141447"/>
		<updated>2021-11-09T03:52:33Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* For History of the Grade of Reviews */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
Because in Expertiza the team ID will be generated for each given assignment, so the original design of grade / comment of team's submission are the field belongs to '''team'''. So our model uses the foreign key to only the team but not the related assignments or submissions.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
[[File:GradingHistory.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests ===&lt;br /&gt;
==== For History of the Grade of Reviews ====&lt;br /&gt;
The history of the grade and reviews are related to this controller app/controllers/review_mapping_controller.rb and this view app/views/reports/_review_report.html.erb. &lt;br /&gt;
&lt;br /&gt;
So the related rspec tests are planned to be excuted:&lt;br /&gt;
&lt;br /&gt;
    spec/controllers/review_mapping_controller_spec.rb&lt;br /&gt;
&lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141446</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141446"/>
		<updated>2021-11-09T03:52:05Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* For History of the Grade of Reviews */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
Because in Expertiza the team ID will be generated for each given assignment, so the original design of grade / comment of team's submission are the field belongs to '''team'''. So our model uses the foreign key to only the team but not the related assignments or submissions.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
[[File:GradingHistory.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests ===&lt;br /&gt;
==== For History of the Grade of Reviews ====&lt;br /&gt;
The history of the grade and reviews are related to this controller app/controllers/review_mapping_controller.rb and this view app/views/reports/_review_report.html.erb. &lt;br /&gt;
&lt;br /&gt;
So the related rspec tests are planned to be excuted:&lt;br /&gt;
&lt;br /&gt;
spec/controllers/review_mapping_controller_spec.rb&lt;br /&gt;
&lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141445</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141445"/>
		<updated>2021-11-09T03:46:38Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* History of Comment and Grade for Submissions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
Because in Expertiza the team ID will be generated for each given assignment, so the original design of grade / comment of team's submission are the field belongs to '''team'''. So our model uses the foreign key to only the team but not the related assignments or submissions.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
[[File:GradingHistory.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests ===&lt;br /&gt;
==== For History of the Grade of Reviews ====&lt;br /&gt;
&lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141440</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141440"/>
		<updated>2021-11-09T03:41:23Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Rspec Unit Tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
[[File:GradingHistory.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests ===&lt;br /&gt;
==== For History of the Grade of Reviews ====&lt;br /&gt;
&lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141439</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141439"/>
		<updated>2021-11-09T03:39:42Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* History of Comment and Grade for Submissions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
[[File:GradingHistory.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141438</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141438"/>
		<updated>2021-11-09T03:39:09Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* History of Comment and Grade for Submissions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
[[File:GradingHistoryER.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:GradingHistory.png&amp;diff=141437</id>
		<title>File:GradingHistory.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:GradingHistory.png&amp;diff=141437"/>
		<updated>2021-11-09T03:38:39Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:SubmissionHistoryER.png&amp;diff=141436</id>
		<title>File:SubmissionHistoryER.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:SubmissionHistoryER.png&amp;diff=141436"/>
		<updated>2021-11-09T03:38:17Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: Hdu5 uploaded a new version of File:SubmissionHistoryER.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:SubmissionHistoryER.png&amp;diff=141435</id>
		<title>File:SubmissionHistoryER.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:SubmissionHistoryER.png&amp;diff=141435"/>
		<updated>2021-11-09T03:37:59Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: Hdu5 uploaded a new version of File:SubmissionHistoryER.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:SubmissionHistoryER.png&amp;diff=141434</id>
		<title>File:SubmissionHistoryER.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:SubmissionHistoryER.png&amp;diff=141434"/>
		<updated>2021-11-09T03:36:29Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: Hdu5 uploaded a new version of File:SubmissionHistoryER.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:SubmissionHistoryER.png&amp;diff=141433</id>
		<title>File:SubmissionHistoryER.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:SubmissionHistoryER.png&amp;diff=141433"/>
		<updated>2021-11-09T03:35:06Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: Hdu5 uploaded a new version of File:SubmissionHistoryER.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141432</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141432"/>
		<updated>2021-11-09T03:34:10Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* History of Comment and Grade for Submissions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
[[File:SubmissionHistoryER.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141213</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141213"/>
		<updated>2021-11-08T18:25:45Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Previous Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
[[File:SubmissionHistoryER.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141212</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141212"/>
		<updated>2021-11-08T18:21:26Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* History of Comment and Grade for Submissions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
[[File:SubmissionHistoryER.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:SubmissionHistoryER.png&amp;diff=141211</id>
		<title>File:SubmissionHistoryER.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:SubmissionHistoryER.png&amp;diff=141211"/>
		<updated>2021-11-08T18:20:54Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141210</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141210"/>
		<updated>2021-11-08T18:01:04Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* History of Comment and Grade for Submissions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. Since there is no table to store the history of the comment and score given by instructors and TAs, we need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
The expected class of grading history could be shown as:&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141209</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=141209"/>
		<updated>2021-11-08T17:57:52Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* History of Comment and Grade for Reviews */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
The related table from databases is [https://expertiza.csc.ncsu.edu/index.php/Review_scores review_scores]. The ER table of review_scores is shown as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Review scores imported.png]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. We need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140858</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140858"/>
		<updated>2021-11-04T02:21:45Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Important Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. We need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/expertiza/expertiza/pull/2130 Pull Request]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140857</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140857"/>
		<updated>2021-11-04T02:16:18Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* History of Comment and Grade for Submissions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model '''team''', which is only able to be overwritten. We need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/pulls Pull Request (not created yet)]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140856</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140856"/>
		<updated>2021-11-04T02:15:57Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* History of Comment and Grade for Submissions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model ```team```, which is only able to be overwritten. We need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related pages.&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/pulls Pull Request (not created yet)]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140855</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140855"/>
		<updated>2021-11-04T02:15:39Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* History of Comment and Grade for Submissions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model ```team```, which is only able to be overwritten. We need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:* Model: grading_history.rb &lt;br /&gt;
&lt;br /&gt;
:* Controller:  grading_history_controller.rb&lt;br /&gt;
&lt;br /&gt;
:* View: related.&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/pulls Pull Request (not created yet)]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140851</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140851"/>
		<updated>2021-11-04T02:13:24Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* History of Comment and Grade for Submissions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&lt;br /&gt;
In Expertiza, we find the fields related to grade and comment are located in the model ```team```, which is only able to be overwritten. We need to do:&lt;br /&gt;
&lt;br /&gt;
:1. Review the related implementation of previous work in order to evaluate and understand the process of adding new models.&lt;br /&gt;
&lt;br /&gt;
:2. Implement the related Model, View and Controller:&lt;br /&gt;
&lt;br /&gt;
:*&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/pulls Pull Request (not created yet)]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140846</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140846"/>
		<updated>2021-11-04T02:04:01Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Submission Grade */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Submissions===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# add history table&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/pulls Pull Request (not created yet)]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140845</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140845"/>
		<updated>2021-11-04T02:03:17Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Review Grade */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== History of Comment and Grade for Reviews ===&lt;br /&gt;
&lt;br /&gt;
In this part, we will modify the current view of review page, to add the link &amp;quot;history&amp;quot; to a proper place as the expected design picture shows.&lt;br /&gt;
&lt;br /&gt;
=== Submission Grade ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# add history table&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/pulls Pull Request (not created yet)]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140835</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140835"/>
		<updated>2021-11-04T01:58:20Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Review ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== Review Grade ===&lt;br /&gt;
1.....&lt;br /&gt;
&lt;br /&gt;
2.....&lt;br /&gt;
&lt;br /&gt;
3.....&lt;br /&gt;
&lt;br /&gt;
=== Submission Grade ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# add history table&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/pulls Pull Request (not created yet)]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140833</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140833"/>
		<updated>2021-11-04T01:58:01Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Previous Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/E1934_-_Grading_Audit_Trail Previous Wiki Page]&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/yyxX_kRYxLc Screencast]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/expertiza/expertiza Expertiza Github]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
&lt;br /&gt;
:1. '''Review grade''' part in the previous implementation served well, we only need to fix some UI issues in the current implementation; &lt;br /&gt;
:2. But for '''Submission grade''' part, we need to add a table in order to save submission history including the instructor id, assignment id, student id, grade, comment, and timestamp.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Work ===&lt;br /&gt;
:1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
:2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
:3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
:4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
:5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
:6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|1100px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|1100px|center]]&lt;br /&gt;
&lt;br /&gt;
=== Review Grade ===&lt;br /&gt;
1.....&lt;br /&gt;
&lt;br /&gt;
2.....&lt;br /&gt;
&lt;br /&gt;
3.....&lt;br /&gt;
&lt;br /&gt;
=== Submission Grade ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# add history table&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/pulls Pull Request (not created yet)]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140795</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140795"/>
		<updated>2021-11-04T01:38:48Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Expected View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
=== Overview ===&lt;br /&gt;
=== Issues ===&lt;br /&gt;
1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below the in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|800px|left]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|800px|left]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|800px|left]]&lt;br /&gt;
&lt;br /&gt;
=== Review Grade ===&lt;br /&gt;
1.....&lt;br /&gt;
&lt;br /&gt;
2.....&lt;br /&gt;
&lt;br /&gt;
3.....&lt;br /&gt;
&lt;br /&gt;
=== Submission Grade ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# add history table&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/pulls Pull Request (not created yet)]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140794</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140794"/>
		<updated>2021-11-04T01:38:10Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Expected View */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem Definition ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
== Previous Implementation ==&lt;br /&gt;
=== Overview ===&lt;br /&gt;
=== Issues ===&lt;br /&gt;
1. For review grades, the “Grading History” link must not be in a separate column. It should be in smaller text below the in the “Save” button.&lt;br /&gt;
&lt;br /&gt;
2. In the view grading record page, remove the receiver column and add it to the title.&lt;br /&gt;
&lt;br /&gt;
3. Restrict the column width on the grading record page.&lt;br /&gt;
&lt;br /&gt;
4. Add comments on list_submissions.html.erb to indicate that the alignment was changed to fix code climate issues.&lt;br /&gt;
&lt;br /&gt;
5. Revert changes made to list_review_mapping.html.erb.&lt;br /&gt;
 &lt;br /&gt;
6. Remove the review_report-html.erb file.&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
=== Expected View ===&lt;br /&gt;
[[File:E2158_Proposed_Solution_1.png|800px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_2.png|800px|center]]&lt;br /&gt;
[[File:E2158_Proposed_Solution_3.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
=== Review Grade ===&lt;br /&gt;
1.....&lt;br /&gt;
&lt;br /&gt;
2.....&lt;br /&gt;
&lt;br /&gt;
3.....&lt;br /&gt;
&lt;br /&gt;
=== Submission Grade ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# add history table&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing Plan ==&lt;br /&gt;
=== Rspec Unit Tests === &lt;br /&gt;
=== Manual UI Testing ===&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/tree/beta Git path]&lt;br /&gt;
#[https://github.com/duliwencynthia/expertiza/pulls Pull Request (not created yet)]&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140626</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140626"/>
		<updated>2021-11-03T17:07:29Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Proposed Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Problem Definition =&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
== Review Grade ==&lt;br /&gt;
== Submission Grade ==&lt;br /&gt;
&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140616</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140616"/>
		<updated>2021-11-03T15:42:06Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Problem Definition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Problem Definition =&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
The grading audit trail can probably be implemented as the submission records history on Expertiza.&lt;br /&gt;
The required page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140615</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140615"/>
		<updated>2021-11-03T15:35:30Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Problem Definition =&lt;br /&gt;
== Basic Task ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140613</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140613"/>
		<updated>2021-11-03T15:26:57Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Team */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Bold text'''= Problem Definition =&lt;br /&gt;
== Basic Task ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
== Additional Task ==&lt;br /&gt;
Additionally, the grading audit trail can probably be a pattern of the submission records history on Expertiza.&lt;br /&gt;
The related page can be reached by:&lt;br /&gt;
:* '''View Submissions''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;br /&gt;
'''Mentor:''' Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140612</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140612"/>
		<updated>2021-11-03T15:26:36Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Team */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Bold text'''= Problem Definition =&lt;br /&gt;
== Basic Task ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
== Additional Task ==&lt;br /&gt;
Additionally, the grading audit trail can probably be a pattern of the submission records history on Expertiza.&lt;br /&gt;
The related page can be reached by:&lt;br /&gt;
:* '''View Submissions''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;br /&gt;
Xiao, Kai (yxiao28)&lt;br /&gt;
&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140611</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140611"/>
		<updated>2021-11-03T15:25:57Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Team */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Bold text'''= Problem Definition =&lt;br /&gt;
== Basic Task ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
== Additional Task ==&lt;br /&gt;
Additionally, the grading audit trail can probably be a pattern of the submission records history on Expertiza.&lt;br /&gt;
The related page can be reached by:&lt;br /&gt;
:* '''View Submissions''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140610</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140610"/>
		<updated>2021-11-03T15:25:44Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Team */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Bold text'''= Problem Definition =&lt;br /&gt;
== Basic Task ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
== Additional Task ==&lt;br /&gt;
Additionally, the grading audit trail can probably be a pattern of the submission records history on Expertiza.&lt;br /&gt;
The related page can be reached by:&lt;br /&gt;
:* '''View Submissions''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;br /&gt;
Yao, Kaiyong (kyao)&lt;br /&gt;
Hou, Guanyu (ghou3)&lt;br /&gt;
Du, Haoze (hdu5)&lt;br /&gt;
Du, Liwen (ldu2)&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140608</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140608"/>
		<updated>2021-11-03T15:20:49Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Additional Task */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Bold text'''= Problem Definition =&lt;br /&gt;
== Basic Task ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
== Additional Task ==&lt;br /&gt;
Additionally, the grading audit trail can probably be a pattern of the submission records history on Expertiza.&lt;br /&gt;
The related page can be reached by:&lt;br /&gt;
:* '''View Submissions''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the '''instructor id''', '''assignment id''', '''student id''', '''grade''', '''comment''' and '''timestamp'''.&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140607</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140607"/>
		<updated>2021-11-03T15:19:56Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Problem Definition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Bold text'''= Problem Definition =&lt;br /&gt;
== Basic Task ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
== Additional Task ==&lt;br /&gt;
Additionally, the grading audit trail can probably be a pattern of the submission records history on Expertiza.&lt;br /&gt;
The related page can be reached by:&lt;br /&gt;
:* '''View Submissions''': Log in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the ''instructor id'', ''assignment id'', ''student id'', ''grade'', ''comment'' and ''timestamp''.&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140606</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140606"/>
		<updated>2021-11-03T15:17:22Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Problem Definition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Problem Definition =&lt;br /&gt;
== Basic Task ==&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
== Additional Task ==&lt;br /&gt;
Additionally, the grading audit trail can probably be a pattern of the submission records history on Expertiza.&lt;br /&gt;
The related page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the ''instructor id'', ''assignment id'', ''student id'', ''grade'', ''comment'' and ''timestamp''.&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140605</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140605"/>
		<updated>2021-11-03T15:16:16Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Problem Definition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Problem Definition =&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
Additionally, the grading audit trail can probably be a pattern of the submission records history on Expertiza.&lt;br /&gt;
The related page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
At the minimum, a grading log entry must include the ''instructor id'', ''assignment id'', ''student id'', ''grade'', ''comment'' and ''timestamp''.&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140604</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140604"/>
		<updated>2021-11-03T15:13:35Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: /* Problem Definition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Problem Definition =&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
Additionally, the grading audit trail can probably pattern off of the submission records history on Expertiza.&lt;br /&gt;
The related page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140603</id>
		<title>CSC/ECE 517 Fall 2021 - E2158. Grading audit trail</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail&amp;diff=140603"/>
		<updated>2021-11-03T15:13:17Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Problem Definition =&lt;br /&gt;
After an instructor gave a grade to an assignment, there is no way to track who gave the grade. Any instructor can assign/edit a grade freely. There is no way of tracking who did it.&lt;br /&gt;
&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;
Additionally, the grading audit trail can probably pattern off of the submission records history on Expertiza.&lt;br /&gt;
The below page can be reached by logging in as instructor -&amp;gt; Manage -&amp;gt; Assignments -&amp;gt; View Submissions -&amp;gt; History&lt;br /&gt;
&lt;br /&gt;
= Previous Implementation =&lt;br /&gt;
== Overview ==&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
= Proposed Solution =&lt;br /&gt;
= Testing Plan =&lt;br /&gt;
= Important Links =&lt;br /&gt;
= Team =&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021&amp;diff=140601</id>
		<title>CSC/ECE 517 Fall 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021&amp;diff=140601"/>
		<updated>2021-11-03T14:58:39Z</updated>

		<summary type="html">&lt;p&gt;Hdu5: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== OSS Projects ==&lt;br /&gt;
&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2117. Refactor questionaires_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2128. Refactor student_quizzes_controller.rb &amp;amp; late_policies_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2129. Refactor auth_controller.rb &amp;amp; password_retrieval_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2132. Add tests cases for review mapping helper.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2134. Write unit tests for admin_controller.rb and institution_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2138. Auto-generate submission directory names based on assignment]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2142. Improve e-mail notifications]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2133. Write tests for popup_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2120. Refactor reputation_web_service_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2139. Remove multiple topics at a time]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2131. Improve assessment360_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2121. Refactor suggestion_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2122. Refactor impersonate_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2123. Refactor sign_up_sheet_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2126. Refactor account_request_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2124. Refactor review_mapping_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2125. Refactor review_mapping_helper.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2127. Refactor teams_controller]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2130. Refactor submitted_content_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2140. Create new late policy successfully and fix Bank link]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2141. OSS project Finklestein: Instructors &amp;amp; Institutions]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2144. Refactor delayed mailer and scheduled task]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2147. Role-based reviewing]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2145. OSS Project Beige]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2146. Introduce a Student View for instructors]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - Refactor Evaluation of SQL Queries]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2135. Email notification to reviewers and instructors]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2168. Testing - Reputations]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2166. Testing - Scoring &amp;amp; Grades]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2021 - E2149. Finish Github metrics integration - Reputations]]&lt;br /&gt;
&lt;br /&gt;
== Final Projects ==&lt;br /&gt;
* [https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2150._Integrate_suggestion_detection_algorithm#Description_about_project CSC/ECE 517 Fall 2021 - E2150. Integrate suggestion detection algorithm]&lt;br /&gt;
* [https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2151._Allow_reviewers_to_bid_on_what_to_review CSC/ECE 517 Fall 2021 - E2151. Allow reviewers to bid on what to review]&lt;br /&gt;
* [https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2152._Revision_planning_tool#Description_about_project CSC/ECE 517 Fall 2021 - E2152. Revision_planning_tool]&lt;br /&gt;
* [https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2170._Testing_-_Response_Maps#Description_about_project CSC/ECE 517 Fall 2021 - E2170. Testing - Response Maps]&lt;br /&gt;
* [https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2153._Improving_search_facility_in_Expertiza#Description_about_project CSC/ECE 517 Fall 2021 - E2153. Improving search facility in Expertiza]&lt;br /&gt;
* [https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2162._Further_refactoring_and_improvement_of_review_mapping_helper CSC/ECE 517 Fall 2021 - E2162. Further refactoring and improvement of review mapping helper]&lt;br /&gt;
* [https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2165._Fix_teammate-review_view CSC/ECE 517 Fall 2021 - E2165. Fix teammate review view ]&lt;br /&gt;
* [https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2155._Calibration_submissions_should_be_copied_along_with_calibration_assignments CSC/ECE 517 Fall 2021 - E2155. Calibration submissions should be copied along with calibration assignments]&lt;br /&gt;
* [https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2148._Completion/Progress_View CSC/ECE 517 Fall 2021 - E2148. Completion/Progress view]&lt;br /&gt;
* [https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2158._Grading_audit_trail CSC/ECE 517 Fall 2021 - E2158. Grading audit trail ]&lt;br /&gt;
*[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2159._Expertiza_internationalization CSC/ECE 517 Fall 2021 - E2159. Expertiza internationalization]&lt;br /&gt;
* [https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2160._Implementing_and_testing_import_export_controllers#Description_about_project CSC/ECE 517 Fall 2021 - E2160. Implementing and testing import and export controllers]&lt;/div&gt;</summary>
		<author><name>Hdu5</name></author>
	</entry>
</feed>