<?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=Apodila</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=Apodila"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Apodila"/>
	<updated>2026-09-11T19:00:36Z</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_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137648</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137648"/>
		<updated>2020-11-18T07:05:22Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the instructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* Participants with 'View' and 'Edit' actions in the calibration tab are copied over to the new version, as they are considered calibration submissions&lt;br /&gt;
* All hyperlinks and files associated with the above mentioned participants are copied over as well&lt;br /&gt;
* Participants with the 'Begin' action are not copied over&lt;br /&gt;
* A check is put in place to make sure that these steps are taken only for copying assignments with calibration reviews. This is signified by a calibration tab in the tool bar, on the &amp;lt;i&amp;gt;edit&amp;lt;/i&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Changes in code ==&lt;br /&gt;
All changes mentioned below have been made in &amp;lt;b&amp;gt;app/models/assignment_form.rb&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Code_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code1_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code2_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code3_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code4_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code5_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code6_2075.jpeg |1000px|Image: 1000 pixels]]&lt;br /&gt;
[[File:Code7_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video illustrating changes ==&lt;br /&gt;
[https://www.youtube.com/watch?v=cyhy2mVXcPM&amp;amp;feature=youtu.be '''E2075 Video Link''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
Calibration checks were added to the &amp;lt;b&amp;gt;assignments_contoller_spec.rb&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Test1_2075.png |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Test2_2075.png |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[http://152.46.18.202:8080/ Server running changes implemented under E2075]&lt;br /&gt;
*[https://github.com/mounikaprakash/expertiza GitHub repo with changes made under E2075]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137647</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137647"/>
		<updated>2020-11-18T07:04:03Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the instructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* Participants with 'View' and 'Edit' actions in the calibration tab are copied over to the new version, as they are considered calibration submissions&lt;br /&gt;
* All hyperlinks and files associated with the above mentioned participants are copied over as well&lt;br /&gt;
* Participants with the 'Begin' action are not copied over&lt;br /&gt;
* A check is put in place to make sure that these steps are taken only for copying assignments with calibration reviews. This is signified by a calibration tab in the tool bar, on the &amp;lt;i&amp;gt;edit&amp;lt;/i&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Changes in code ==&lt;br /&gt;
All changes mentioned below have been made in &amp;lt;b&amp;gt;app/models/assignment_form.rb&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Code_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code1_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code2_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code3_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code4_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code5_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code6_2075.jpeg |1000px|Image: 1000 pixels]]&lt;br /&gt;
[[File:Code7_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video illustrating changes ==&lt;br /&gt;
[https://www.youtube.com/watch?v=cyhy2mVXcPM&amp;amp;feature=youtu.be '''E2075 Video Link''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
The following RSpec tests were added to the &amp;lt;b&amp;gt;assignments_contoller_spec.rb&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Test1_2075.png |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Test2_2075.png |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[http://152.46.18.202:8080/ Server running changes implemented under E2075]&lt;br /&gt;
*[https://github.com/mounikaprakash/expertiza GitHub repo with changes made under E2075]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137646</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137646"/>
		<updated>2020-11-18T07:03:42Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the instructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* Participants with 'View' and 'Edit' actions in the calibration tab are copied over to the new version, as they are considered calibration submissions&lt;br /&gt;
* All hyperlinks and files associated with the above mentioned participants are copied over as well&lt;br /&gt;
* Participants with the 'Begin' action are not copied over&lt;br /&gt;
* A check is put in place to make sure that these steps are taken only for copying assignments with calibration reviews. This is signified by a calibration tab in the tool bar, on the &amp;lt;i&amp;gt;edit&amp;lt;/i&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Changes in code ==&lt;br /&gt;
All changes mentioned below have been made in &amp;lt;b&amp;gt;app/models/assignment_form.rb&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Code_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code1_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code2_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code3_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code4_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code5_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code6_2075.jpeg |1000px|Image: 1000 pixels]]&lt;br /&gt;
[[File:Code7_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video illustrating changes ==&lt;br /&gt;
[https://www.youtube.com/watch?v=cyhy2mVXcPM&amp;amp;feature=youtu.be '''E2075 Video Link''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
The following RSpec tests were added to the &amp;lt;b&amp;gt;assignments_contoller_spec.rb&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Test1_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Test2_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[http://152.46.18.202:8080/ Server running changes implemented under E2075]&lt;br /&gt;
*[https://github.com/mounikaprakash/expertiza GitHub repo with changes made under E2075]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Test2_2075.png&amp;diff=137645</id>
		<title>File:Test2 2075.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Test2_2075.png&amp;diff=137645"/>
		<updated>2020-11-18T07:03:00Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Test1_2075.png&amp;diff=137644</id>
		<title>File:Test1 2075.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Test1_2075.png&amp;diff=137644"/>
		<updated>2020-11-18T07:02:42Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137633</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137633"/>
		<updated>2020-11-18T05:52:05Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the instructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* Participants with 'View' and 'Edit' actions in the calibration tab are copied over to the new version, as they are considered calibration submissions&lt;br /&gt;
* All hyperlinks and files associated with the above mentioned participants are copied over as well&lt;br /&gt;
* Participants with the 'Begin' action are not copied over&lt;br /&gt;
* A check is put in place to make sure that these steps are taken only for copying assignments with calibration reviews. This is signified by a calibration tab in the tool bar, on the &amp;lt;i&amp;gt;edit&amp;lt;/i&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Changes in code ==&lt;br /&gt;
All changes mentioned below have been made in app/models/assignment_form.rb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Code_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code1_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code2_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code3_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code4_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code5_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code6_2075.jpeg |1000px|Image: 1000 pixels]]&lt;br /&gt;
[[File:Code7_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video illustrating changes ==&lt;br /&gt;
[https://www.youtube.com/watch?v=cyhy2mVXcPM&amp;amp;feature=youtu.be '''E2075 Video Link''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[http://152.46.18.202:8080/ Server running changes implemented under E2075]&lt;br /&gt;
*[https://github.com/mounikaprakash/expertiza GitHub repo with changes made under E2075]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137630</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137630"/>
		<updated>2020-11-18T05:51:03Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the instructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* Participants with 'View' and 'Edit' actions in the calibration tab are copied over to the new version, as they are considered calibration submissions&lt;br /&gt;
* All hyperlinks and files associated with the above mentioned participants are copied over as well&lt;br /&gt;
* Participants with the 'Begin' action are not copied over&lt;br /&gt;
* A check is put in place to make sure that these steps are taken only for copying assignments with calibration reviews. This is signified by a calibration tab in the tool bar, on the &amp;lt;i&amp;gt;edit&amp;lt;/i&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Changes in code ==&lt;br /&gt;
All changes mentioned below have been made in app/models/assignment_form.rb&lt;br /&gt;
[[File:Code_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code1_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code2_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code3_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code4_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code5_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code6_2075.jpeg |1000px|Image: 1000 pixels]]&lt;br /&gt;
[[File:Code7_2075.jpeg |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video illustrating changes ==&lt;br /&gt;
[https://www.youtube.com/watch?v=cyhy2mVXcPM&amp;amp;feature=youtu.be '''E2075 Video Link''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[http://152.46.18.202:8080/ Server running changes implemented under E2075]&lt;br /&gt;
*[https://github.com/mounikaprakash/expertiza GitHub repo with changes made under E2075]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137629</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137629"/>
		<updated>2020-11-18T05:50:18Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the instructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* Participants with 'View' and 'Edit' actions in the calibration tab are copied over to the new version, as they are considered calibration submissions&lt;br /&gt;
* All hyperlinks and files associated with the above mentioned participants are copied over as well&lt;br /&gt;
* Participants with the 'Begin' action are not copied over&lt;br /&gt;
* A check is put in place to make sure that these steps are taken only for copying assignments with calibration reviews. This is signified by a calibration tab in the tool bar, on the &amp;lt;i&amp;gt;edit&amp;lt;/i&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Changes in code ==&lt;br /&gt;
All changes mentioned below have been made in app/models/assignment_form.rb&lt;br /&gt;
[[File:Code_2075.png |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code1_2075.png |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code2_2075.png |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code3_2075.png |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code4_2075.png |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code5_2075.png |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Code6_2075.png |1000px|Image: 1000 pixels]]&lt;br /&gt;
[[File:Code7_2075.png |1000px|Image: 1000 pixels]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video illustrating changes ==&lt;br /&gt;
[https://www.youtube.com/watch?v=cyhy2mVXcPM&amp;amp;feature=youtu.be '''E2075 Video Link''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[http://152.46.18.202:8080/ Server running changes implemented under E2075]&lt;br /&gt;
*[https://github.com/mounikaprakash/expertiza GitHub repo with changes made under E2075]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Code7_2075.jpeg&amp;diff=137628</id>
		<title>File:Code7 2075.jpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Code7_2075.jpeg&amp;diff=137628"/>
		<updated>2020-11-18T05:49:07Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Code6_2075.jpeg&amp;diff=137627</id>
		<title>File:Code6 2075.jpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Code6_2075.jpeg&amp;diff=137627"/>
		<updated>2020-11-18T05:48:54Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Code5_2075.jpeg&amp;diff=137625</id>
		<title>File:Code5 2075.jpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Code5_2075.jpeg&amp;diff=137625"/>
		<updated>2020-11-18T05:48:35Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Code4_2075.jpeg&amp;diff=137624</id>
		<title>File:Code4 2075.jpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Code4_2075.jpeg&amp;diff=137624"/>
		<updated>2020-11-18T05:48:21Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Code3_2075.jpeg&amp;diff=137623</id>
		<title>File:Code3 2075.jpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Code3_2075.jpeg&amp;diff=137623"/>
		<updated>2020-11-18T05:48:02Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Code2_2075.jpeg&amp;diff=137622</id>
		<title>File:Code2 2075.jpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Code2_2075.jpeg&amp;diff=137622"/>
		<updated>2020-11-18T05:47:42Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Code1_2075.jpeg&amp;diff=137621</id>
		<title>File:Code1 2075.jpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Code1_2075.jpeg&amp;diff=137621"/>
		<updated>2020-11-18T05:47:24Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Code_2075.jpeg&amp;diff=137620</id>
		<title>File:Code 2075.jpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Code_2075.jpeg&amp;diff=137620"/>
		<updated>2020-11-18T05:46:11Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137619</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137619"/>
		<updated>2020-11-18T05:44:21Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the instructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* Participants with 'View' and 'Edit' actions in the calibration tab are copied over to the new version, as they are considered calibration submissions&lt;br /&gt;
* All hyperlinks and files associated with the above mentioned participants are copied over as well&lt;br /&gt;
* Participants with the 'Begin' action are not copied over&lt;br /&gt;
* A check is put in place to make sure that these steps are taken only for copying assignments with calibration reviews. This is signified by a calibration tab in the tool bar, on the &amp;lt;i&amp;gt;edit&amp;lt;/i&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Changes in code ==&lt;br /&gt;
All changes mentioned below have been made in app/models/assignment_form.rb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video illustrating changes ==&lt;br /&gt;
[https://www.youtube.com/watch?v=cyhy2mVXcPM&amp;amp;feature=youtu.be '''E2075 Video Link''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[http://152.46.18.202:8080/ Server running changes implemented under E2075]&lt;br /&gt;
*[https://github.com/mounikaprakash/expertiza GitHub repo with changes made under E2075]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137616</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137616"/>
		<updated>2020-11-18T05:32:43Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the instructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* Participants with 'View' and 'Edit' actions in the calibration tab are copied over to the new version, as they are considered calibration submissions&lt;br /&gt;
* All hyperlinks and files associated with the above mentioned participants are copied over as well&lt;br /&gt;
* Participants with the 'Begin' action are not copied over&lt;br /&gt;
* A check is put in place to make sure that these steps are taken only for copying assignments with calibration reviews. This is signified by a calibration tab in the tool bar, on the &amp;lt;i&amp;gt;edit&amp;lt;/i&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Changes in code ==&lt;br /&gt;
All changes mentioned below have been made in app/models/assignment_form.rb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video illustrating changes ==&lt;br /&gt;
[https://www.youtube.com/watch?v=cyhy2mVXcPM&amp;amp;feature=youtu.be '''E2075 Video Link''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/mounikaprakash/expertiza GitHub repo with changes made under E2075]&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137614</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137614"/>
		<updated>2020-11-18T05:29:46Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the instructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* Participants with 'View' and 'Edit' actions in the calibration tab are copied over to the new version, as they are considered calibration submissions&lt;br /&gt;
* All hyperlinks and files associated with the above mentioned participants are copied over as well&lt;br /&gt;
* Participants with the 'Begin' action are not copied over&lt;br /&gt;
* A check is put in place to make sure that these steps are taken only for copying assignments with calibration reviews. This is signified by a calibration tab in the tool bar, on the &amp;lt;i&amp;gt;edit&amp;lt;/i&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Changes in code ==&lt;br /&gt;
All changes mentioned below have been made in app/models/assignment_form.rb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video illustrating changes ==&lt;br /&gt;
[https://www.youtube.com/watch?v=cyhy2mVXcPM&amp;amp;feature=youtu.be '''E2075 Video Link''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137613</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137613"/>
		<updated>2020-11-18T05:29:04Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the instructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* Participants with 'View' and 'Edit' actions in the calibration tab are copied over to the new version, as they are considered calibration submissions&lt;br /&gt;
* All hyperlinks and files associated with the above mentioned participants are copied over as well&lt;br /&gt;
* Participants with the 'Begin' action are not copied over&lt;br /&gt;
* A check is put in place to make sure that these steps are taken only for copying assignments with calibration reviews. This is signified by a calibration tab in the tool bar, on the &amp;lt;i&amp;gt;edit&amp;lt;/i&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Changes in code ==&lt;br /&gt;
All changes mentioned below have been made in app/models/assignment_form.rb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video illustrating changes ==&lt;br /&gt;
[https://youtu.be/497e8XQ0Jds '''E2075 Video Link''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137609</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137609"/>
		<updated>2020-11-18T05:05:30Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the instructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* Participants with 'View' and 'Edit' actions in the calibration tab are copied over to the new version, as they are considered calibration submissions&lt;br /&gt;
* All hyperlinks and files associated with the above mentioned participants are copied over as well&lt;br /&gt;
* Participants with the 'Begin' action are not copied over&lt;br /&gt;
* A check is put in place to make sure that these steps are taken only for copying assignments with calibration reviews. This is signified by a calibration tab in the tool bar, on the &amp;lt;i&amp;gt;edit&amp;lt;/i&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137583</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137583"/>
		<updated>2020-11-18T04:34:01Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the instructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137581</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137581"/>
		<updated>2020-11-18T04:33:46Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137580</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137580"/>
		<updated>2020-11-18T04:32:57Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137203</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137203"/>
		<updated>2020-11-17T07:11:27Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Identified Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Identified Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137202</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137202"/>
		<updated>2020-11-17T07:10:45Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''app/models/assignment_form.rb'''&lt;br /&gt;
* '''app/views/assignments/edit/_calibration.html.erb'''&lt;br /&gt;
* ''' db/schema.rb'''&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137201</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137201"/>
		<updated>2020-11-17T06:44:32Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &amp;lt;br&amp;gt;In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137200</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137200"/>
		<updated>2020-11-17T06:43:34Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. &lt;br /&gt;
&lt;br /&gt;
In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137199</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137199"/>
		<updated>2020-11-17T06:43:03Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |1000px|Image: 1000 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137198</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137198"/>
		<updated>2020-11-17T06:42:16Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png |100px|Image: 100 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png |100px|Image: 100 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png |100px|Image: 100 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png |100px|Image: 100 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png |100px|Image: 100 pixels]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137196</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137196"/>
		<updated>2020-11-17T06:37:34Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:with_calib.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137195</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137195"/>
		<updated>2020-11-17T06:36:13Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:with_calib.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copied_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137194</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137194"/>
		<updated>2020-11-17T06:35:43Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:with_calib.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:successful_save_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137192</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=137192"/>
		<updated>2020-11-17T06:34:44Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
* To check if the UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
The following steps must be performed to test the project UI:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 1:''' Log in as an Instructor, with Username - instructor6, Password - password&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:logging_in_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 2:''' Find an assignment with calibration submissions present, which is represented by a calibration tab on the editing page. In this case, the assignment chosen is called &amp;quot;Design exercise&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:editing_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:with_calib.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 3:''' Copy the assignment, by selecting the icon shown below&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copying_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Step 4:''' On inspection of the copied assignment, it is observed that the calibration assignments have been copied over.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:successful_save_2054.JPG]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Editing_2075.png&amp;diff=137187</id>
		<title>File:Editing 2075.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Editing_2075.png&amp;diff=137187"/>
		<updated>2020-11-17T06:21:59Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Copied_2075.png&amp;diff=137186</id>
		<title>File:Copied 2075.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Copied_2075.png&amp;diff=137186"/>
		<updated>2020-11-17T06:09:59Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Copying_2075.png&amp;diff=137185</id>
		<title>File:Copying 2075.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Copying_2075.png&amp;diff=137185"/>
		<updated>2020-11-17T06:09:12Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:With_calib.png&amp;diff=137184</id>
		<title>File:With calib.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:With_calib.png&amp;diff=137184"/>
		<updated>2020-11-17T06:08:25Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Logging_in_2075.png&amp;diff=137183</id>
		<title>File:Logging in 2075.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Logging_in_2075.png&amp;diff=137183"/>
		<updated>2020-11-17T06:07:01Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136585</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136585"/>
		<updated>2020-10-29T04:04:41Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
=== Manual Testing Plan ===&lt;br /&gt;
* The UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
* Go to the testing server [VCL Instance] and log in with the credentials - username: 'instructor6'; password: 'password'&lt;br /&gt;
* Go to an existing assignment (say A1) that you want to setup calibration for&lt;br /&gt;
** Select the '''copy''' button (generates A2)&lt;br /&gt;
** Toggle onto the calibration tab of the original directory (A1) and check the files present inside it &lt;br /&gt;
** Now, select the copied directory (A2)&lt;br /&gt;
** On the calibrations tab, check whether the copied submissions [Files and URLs] are present.&lt;br /&gt;
** Expected Outcome : All the calibrated assignments in the original exercise must also be present in the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136584</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136584"/>
		<updated>2020-10-29T04:04:27Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20201.png]]&lt;br /&gt;
&lt;br /&gt;
===Proposed Implementation===&lt;br /&gt;
&lt;br /&gt;
[[File:um20221.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
* Find the hyper link submitted in the submission_records table for the Original exercise. Use the link and insert it into the content attribute for the new copy over exercise when the instructor creates a duplicate &lt;br /&gt;
* If the submissions were in file format, then make a new copy of the file into the directory path structure and use this as the reference pointer in the table for the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
=== Manual Testing Plan ===&lt;br /&gt;
* The UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
* Go to the testing server [VCL Instance] and log in with the credentials - username: 'instructor6'; password: 'password'&lt;br /&gt;
* Go to an existing assignment (say A1) that you want to setup calibration for&lt;br /&gt;
** Select the '''copy''' button (generates A2)&lt;br /&gt;
** Toggle onto the calibration tab of the original directory (A1) and check the files present inside it &lt;br /&gt;
** Now, select the copied directory (A2)&lt;br /&gt;
** On the calibrations tab, check whether the copied submissions [Files and URLs] are present.&lt;br /&gt;
** Expected Outcome : All the calibrated assignments in the original exercise must also be present in the new copy over exercise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
=== RSpec test to check ===&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Badarinath Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136388</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136388"/>
		<updated>2020-10-28T18:18:01Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Previous Implementation'''&lt;br /&gt;
&lt;br /&gt;
[[File:Preimp.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Proposed Implementation'''&lt;br /&gt;
&lt;br /&gt;
[[File:futimp.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
Manual test to check if:&lt;br /&gt;
* The UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
* Go to the testing server [VCL Instance] and log in with the credentials - username: 'instructor6'; password: 'password'&lt;br /&gt;
* Go to an existing assignment (say A1) that you want to setup calibration for&lt;br /&gt;
** Select the '''copy''' button (generates A2)&lt;br /&gt;
** Toggle onto the calibration tab of the original directory (A1) and check the files present inside it &lt;br /&gt;
** Now, select the copied directory (A2)&lt;br /&gt;
** On the calibrations tab, check whether the copied submissions [Files and URLs] are present.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
RSpec test to check:&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136387</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136387"/>
		<updated>2020-10-28T18:17:39Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Implementation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Previous Implementation'''&lt;br /&gt;
&lt;br /&gt;
[[File:Preimp.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Proposed Implementation'''&lt;br /&gt;
&lt;br /&gt;
[[File:futimp.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
Manual test to check if:&lt;br /&gt;
* The UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
* Go to the testing server [VCL Instance] and log in with the credentials - username: 'instructor6'; password: 'password'&lt;br /&gt;
* Go to an existing assignment (say A1) that you want to setup calibration for&lt;br /&gt;
** Select the '''copy''' button (generates A2)&lt;br /&gt;
** Toggle onto the calibration tab of the original directory (A1) and check the files present inside it &lt;br /&gt;
** Now, select the copied directory (A2)&lt;br /&gt;
** On the calibrations tab, check whether the copied submissions [Files and URLs] are present.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
RSpec test to check:&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136386</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136386"/>
		<updated>2020-10-28T18:15:21Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and Proposed Implementation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Previous Implementation'''&lt;br /&gt;
&lt;br /&gt;
[[File:Preimp.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Proposed Implementation'''&lt;br /&gt;
&lt;br /&gt;
[[File:futimp.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
Manual test to check if:&lt;br /&gt;
* The UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
* Go to the testing server [VCL Instance] and log in with the credentials - username: 'instructor6'; password: 'password'&lt;br /&gt;
* Go to an existing assignment (say A1) that you want to setup calibration for&lt;br /&gt;
** Select the '''copy''' button (generates A2)&lt;br /&gt;
** Toggle onto the calibration tab of the original directory (A1) and check the files present inside it &lt;br /&gt;
** Now, select the copied directory (A2)&lt;br /&gt;
** On the calibrations tab, check whether the copied submissions [Files and URLs] are present.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
RSpec test to check:&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136385</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136385"/>
		<updated>2020-10-28T18:14:24Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and this Project's Implementation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Previous Implementation'''&lt;br /&gt;
&lt;br /&gt;
[[File:Preimp.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Proposed Implementation'''&lt;br /&gt;
&lt;br /&gt;
[[File:futimp.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
Manual test to check if:&lt;br /&gt;
* The UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
* Go to the testing server [VCL Instance] and log in with the credentials - username: 'instructor6'; password: 'password'&lt;br /&gt;
* Go to an existing assignment (say A1) that you want to setup calibration for&lt;br /&gt;
** Select the '''copy''' button (generates A2)&lt;br /&gt;
** Toggle onto the calibration tab of the original directory (A1) and check the files present inside it &lt;br /&gt;
** Now, select the copied directory (A2)&lt;br /&gt;
** On the calibrations tab, check whether the copied submissions [Files and URLs] are present.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
RSpec test to check:&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136384</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136384"/>
		<updated>2020-10-28T18:12:59Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Project Purpose ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Difference between Previous Implementation and this Project's Implementation ==&lt;br /&gt;
&lt;br /&gt;
Previous Implementation&lt;br /&gt;
&lt;br /&gt;
[[File:Preimp.png]]&lt;br /&gt;
&lt;br /&gt;
This project's Implementation&lt;br /&gt;
&lt;br /&gt;
[[File:futimp.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
==MVC==&lt;br /&gt;
&lt;br /&gt;
The project is implemented in Ruby on Rails that uses MVC architecture. We have three separate modules namely User Interface, Database Model and Control Flow(Model, View and Controller).&lt;br /&gt;
&lt;br /&gt;
==Principle==&lt;br /&gt;
&lt;br /&gt;
We tend to reuse the already existing functionalities and data to our design. The calibration reviews that are present in the previous exercise will be copied into the newly created exercise which would prevent the intructor to perform additional tasks of performing reviews repeatedly. This would also prevent code duplication and additional memory usage.&lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
Manual test to check if:&lt;br /&gt;
* The UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
* Go to the testing server [VCL Instance] and log in with the credentials - username: 'instructor6'; password: 'password'&lt;br /&gt;
* Go to an existing assignment (say A1) that you want to setup calibration for&lt;br /&gt;
** Select the '''copy''' button (generates A2)&lt;br /&gt;
** Toggle onto the calibration tab of the original directory (A1) and check the files present inside it &lt;br /&gt;
** Now, select the copied directory (A2)&lt;br /&gt;
** On the calibrations tab, check whether the copied submissions [Files and URLs] are present.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
RSpec test to check:&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136345</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136345"/>
		<updated>2020-10-28T04:01:34Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Goal ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
Manual test to check if:&lt;br /&gt;
* The UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
* Go to the testing server [VCL Instance] and log in with the credentials - username: 'instructor6'; password: 'password'&lt;br /&gt;
* Go to an existing assignment (say A1) that you want to setup calibration for&lt;br /&gt;
** Select the '''copy''' button (generates A2)&lt;br /&gt;
** Toggle onto the calibration tab of the original directory (A1) and check the files present inside it &lt;br /&gt;
** Now, select the copied directory (A2)&lt;br /&gt;
** On the calibrations tab, check whether the copied submissions [Files and URLs] are present.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
RSpec test to check:&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136344</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136344"/>
		<updated>2020-10-28T04:00:00Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Goal ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
Manual test to check if:&lt;br /&gt;
* The UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
* Go to the testing server [VCL Instance] and log in with the credentials - username: 'instructor6'; password: 'password'&lt;br /&gt;
* Go to an existing assignment that you want to setup calibration for&lt;br /&gt;
** Select the '''copy''' button&lt;br /&gt;
** Toggle onto the calibration tab of the original directory and check the files present inside it &lt;br /&gt;
** Now, select the copied directory &lt;br /&gt;
** On the calibrations tab, check whether the copied submissions [Files and URLs] are present.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
RSpec test to check:&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136343</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136343"/>
		<updated>2020-10-28T03:58:55Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Goal ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
Manual test to check if:&lt;br /&gt;
* The UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
* Go to the testing server [VCL Instance] and log in with the credentials - username: 'instructor6'; password: 'password'&lt;br /&gt;
* Go to an existing assignment that you want to setup calibration for&lt;br /&gt;
** Select the '''copy''' on the assignment of choice&lt;br /&gt;
** Toggle onto the calibration tab of the original directory and check the files present inside it &lt;br /&gt;
** Now, select the copied directory &lt;br /&gt;
** On the calibrations tab, check whether the copied submissions [Files and URLs] are present.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
RSpec test to check:&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136341</id>
		<title>CSC/ECE 517 Fall 2020 - E2075. calibration submissions should be copied along with calibration assignments</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2020_-_E2075._calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=136341"/>
		<updated>2020-10-28T03:53:52Z</updated>

		<summary type="html">&lt;p&gt;Apodila: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page describes the changes made under E2075, to ensure calibration submissions are copied along with calibration assignments for CSC/ECE 517, Fall 2020.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Expertiza ==&lt;br /&gt;
Expertiza is an open source project based on Ruby on Rails framework, created and maintained by the joint efforts of students and faculty at North Carolina State University. &lt;br /&gt;
&lt;br /&gt;
It allows the instructors to create new assignments and customize new or existing assignments. Expertiza also allows an instructor to create a list of topics the students can sign up for. Students can form teams on the web application to work on various projects and assignments together. Additionally, students can peer review each other's submissions allowing them to improve upon their work. Expertiza supports submission across various document types, including the URLs and wiki pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
The Expertiza project allows &amp;quot;calibration assignments&amp;quot; to be performed where students are asked to review work that has also been reviewed by a member of the course staff. Calibration is the term used for rectifying, or checking or determining something. In the context of this project, a 'Calibrated review' is one which is performed by a student, so that (s)he can verify their work by comparing it with the instructor's response for the same assignment.  If the student’s review “resembles” the staff-member’s review, then the student is presumed to be a competent reviewer. Since calibration reviews are meant as reference for better performance of peer reviews (which are performed later), they are not graded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
&lt;br /&gt;
== Goal ==&lt;br /&gt;
Calibration submissions should be copied along with calibration assignments.&lt;br /&gt;
&lt;br /&gt;
== Issue in current implementation ==&lt;br /&gt;
On creating a copy of a previous assignment, say for example Design Exercise, &amp;lt;i&amp;gt;Fall '20&amp;lt;/i&amp;gt; for the &amp;lt;i&amp;gt;Fall '21&amp;lt;/i&amp;gt; semester - the calibration assignments associated with it are not copied over. The instructor is required to impersonate extra participants, and submit work on behalf of each of the extra participants.  This is obviously extra trouble, and it would be a lot more convenient if an instructor didn’t have to resubmit the same calibration submissions over and over, every semester. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''The following steps were taken to test the aforementioned issues:'''&lt;br /&gt;
&lt;br /&gt;
'''Step 1:''' On copying the Design exercise assignment&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:copy_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 2:''' The original file contains the following calibration reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_a_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Step 3:''' However, the copy doesn't contain any of the calibrated reviews&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:cali_b_2075.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Implementation =&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The following must be added to the current implementation:&lt;br /&gt;
&lt;br /&gt;
* The same extra participants in the assignment, which are used as calibration assignments are copied over to the newly copied directory&lt;br /&gt;
* The URLs and/or files that were submitted to the previous assignment must be copied over as well&lt;br /&gt;
* Test cases to check if the above-mentioned steps work as required&lt;br /&gt;
&lt;br /&gt;
[More on the design pattern if any, ER/ UML diagrams to be updated as the project progresses]&lt;br /&gt;
&lt;br /&gt;
== Files Involved ==&lt;br /&gt;
* '''submission_records_controller.rb'''&lt;br /&gt;
* '''index.html.erb''' in expertiza/app/views/submission_records&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Test Plan =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Manual Testing Plan ==&lt;br /&gt;
Manual test to check if:&lt;br /&gt;
* The UI is working as expected [No broken links] &lt;br /&gt;
* The submissions [Files and Hyperlinks] are copied when an assignment for calibration is copied.&lt;br /&gt;
&lt;br /&gt;
=== Directions for Manual Testing ===&lt;br /&gt;
* Go to the testing server [VCL Instance] and log in with the credentials - username: 'instructor6'; password: 'password'&lt;br /&gt;
* Go to an existing assignment that you want to setup calibration for&lt;br /&gt;
** Hit on '''copy''' and toggle on calibration on the popup that appears&lt;br /&gt;
** Hit on submit&lt;br /&gt;
** On the calibrations tab the copied submissions [Files and URLs] must be present in the calibration tab&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RSpec Testing Plan ==&lt;br /&gt;
RSpec test to check:&lt;br /&gt;
* Validation of the models&lt;br /&gt;
* Sanity and basic functionality of controllers&lt;br /&gt;
** This involves essentially checking if the copied calibration's corresponding model has entries for the submissions &lt;br /&gt;
&lt;br /&gt;
=== Directions for RSpec Testing ===&lt;br /&gt;
* Run the following commands:&lt;br /&gt;
** For controllers: rspec spec/controllers/&lt;br /&gt;
** For models: rspec spec/models/&lt;br /&gt;
&lt;br /&gt;
= Useful Links =&lt;br /&gt;
*[https://github.com/expertiza/expertiza Expertiza on GitHub]&lt;br /&gt;
*[http://expertiza.ncsu.edu/ The live Expertiza website]&lt;br /&gt;
*[http://research.csc.ncsu.edu/efg/expertiza Expertiza project Details]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Team Information =&lt;br /&gt;
* Nischal Kashyap &lt;br /&gt;
* Mounika Bachu&lt;br /&gt;
* Akshay Podila&lt;br /&gt;
* Dhanraj Raghunathan&lt;/div&gt;</summary>
		<author><name>Apodila</name></author>
	</entry>
</feed>