<?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=Jmmarsde</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=Jmmarsde"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Jmmarsde"/>
	<updated>2026-08-10T13:38:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2155._Calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=140658</id>
		<title>CSC/ECE 517 Fall 2021 - E2155. 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_2021_-_E2155._Calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=140658"/>
		<updated>2021-11-03T21:29:08Z</updated>

		<summary type="html">&lt;p&gt;Jmmarsde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Project Overview==&lt;br /&gt;
===Background===&lt;br /&gt;
To improve the experience of peer-reviewing in Expertiza and determine the competent reviewers amongst all the reviewers, creating a new form of review for assignments was considered. As a result, &amp;quot;calibration assignments&amp;quot; were introduced to the Expertiza system. The calibration assignments were to be assigned before peer review occurred so that students would know if they reviewed using the same rubrics as the instructor.&lt;br /&gt;
&lt;br /&gt;
To set up a calibration assignment that both the instructor and the course students can review, the instructor needs to create a new assignment, add the extra participant manually, impersonate the participant, and finally, submit the review, which is not a great experience. What's more is that currently, if an instructor wishes to do this every semester or every year with the same course to copy over the calibration assignments, they have to repeat this process yet again. &lt;br /&gt;
&lt;br /&gt;
===Objectives===&lt;br /&gt;
Expertiza can fix the problem of repeatedly setting up the calibration assignments by automatically copying the previous calibration assignments with all attached reviews.&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
In the previous implementation, the implementors designed the calibration review as part of the assignment and students were able to participate in calibration review training before reviewing other students' work.&lt;br /&gt;
&lt;br /&gt;
The instructor can enable the calibration review in an assignment by checking &amp;quot;Calibration for training?&amp;quot; before assignment creation.&lt;br /&gt;
&lt;br /&gt;
[[File:2021-11-03 011751.png]]&lt;br /&gt;
&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E17A4_Allow_calibration_to_be_part_of_an_assignment CSC/ECE 517 Fall 2017/E17A4 Allow calibration to be part of an assignment]&lt;br /&gt;
&lt;br /&gt;
However, their implementation introduced several assumptions about the system that we will address to allow merging into production.&lt;br /&gt;
&lt;br /&gt;
===Issues of Previous work===&lt;br /&gt;
#The project assumes that the calibration starts at directory 0, which occasionally causes Expertiza to copy the wrong submission. &lt;br /&gt;
##Suggested Fix: set submitter_count to the largest directory number that Expertiza used for calibration.&lt;br /&gt;
###Allows us to keep track of the most recent calibration submission.&lt;br /&gt;
###Gives us something we can reference during copying to get the correct directory.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Implementation==&lt;/div&gt;</summary>
		<author><name>Jmmarsde</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2155._Calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=140657</id>
		<title>CSC/ECE 517 Fall 2021 - E2155. 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_2021_-_E2155._Calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=140657"/>
		<updated>2021-11-03T21:24:18Z</updated>

		<summary type="html">&lt;p&gt;Jmmarsde: Grammar corrections&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Project Overview==&lt;br /&gt;
===Background===&lt;br /&gt;
To improve the experience of peer-reviewing in Expertiza and determine the competent reviewers amongst all the reviewers, creating a new form of review for assignments appeared to be a possible fix. As a result, &amp;quot;calibration assignments&amp;quot; were introduced to the Expertiza system. The calibration assignments were to be assigned before peer review occurred so that students would know if they reviewed using the same rubrics as the instructor.&lt;br /&gt;
&lt;br /&gt;
To set up a calibration assignment that both the instructor and the course students can review, the instructor needs to create a new assignment, add the extra participant manually, impersonate the participant, and finally, submit the review, which is not a great experience. What's more is that currently, if an instructor wishes to do this every semester or every year with the same course to copy over the calibration assignments, they have to repeat this process yet again. &lt;br /&gt;
&lt;br /&gt;
===Objectives===&lt;br /&gt;
Expertiza can fix the problem of repeatedly setting up the calibration assignments by automatically copying the previous calibration assignments with all attached reviews.&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
In the previous implementation, the implementors designed the calibration review as part of the assignment and students were able to participate in calibration review training before reviewing other students' work.&lt;br /&gt;
&lt;br /&gt;
The instructor can enable the calibration review in an assignment by checking &amp;quot;Calibration for training?&amp;quot; before assignment creation.&lt;br /&gt;
&lt;br /&gt;
[[File:2021-11-03 011751.png]]&lt;br /&gt;
&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E17A4_Allow_calibration_to_be_part_of_an_assignment CSC/ECE 517 Fall 2017/E17A4 Allow calibration to be part of an assignment]&lt;br /&gt;
&lt;br /&gt;
However, their implementation introduced several assumptions about the system that we will address to allow merging into production.&lt;br /&gt;
&lt;br /&gt;
===Issues of Previous work===&lt;br /&gt;
#The project assumes that the calibration starts at directory 0, which occasionally causes Expertiza to copy the wrong submission. &lt;br /&gt;
##Suggested Fix: set submitter_count to the largest directory number that Expertiza used for calibration.&lt;br /&gt;
###Allows us to keep track of the most recent calibration submission.&lt;br /&gt;
###Gives us something we can reference during copying to get the correct directory.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Implementation==&lt;/div&gt;</summary>
		<author><name>Jmmarsde</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2155._Calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=140648</id>
		<title>CSC/ECE 517 Fall 2021 - E2155. 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_2021_-_E2155._Calibration_submissions_should_be_copied_along_with_calibration_assignments&amp;diff=140648"/>
		<updated>2021-11-03T21:13:39Z</updated>

		<summary type="html">&lt;p&gt;Jmmarsde: Clarify background and remove Expertiza introduction as it is implied that by being here they know what Expertiza is.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Project Overview==&lt;br /&gt;
===Background===&lt;br /&gt;
To improve the experience of peer reviewing and to determine the competent reviewers amongst all the reviewers, the creation of a new form of review for assignments appeared to be a possible fix. As a result, so-called &amp;quot;calibration assignments&amp;quot; were introduced to the Expertiza system. The calibration assignments were to be assigned before peer review occurs so that students would know if they reviewed using the same rubrics as the instructor.&lt;br /&gt;
&lt;br /&gt;
To set up a calibration assignment that both the instructor and the students of the course can review, the instructor needs to create a new assignment, add the extra participant manually, impersonate the participant, and finally, submit the review, which is not a great experience. What's more is that currently, if an instructor wishes to do this every semester or every year with the same course, in order to copy over the calibration assignments they have to repeat this process yet again. &lt;br /&gt;
&lt;br /&gt;
===Objectives===&lt;br /&gt;
To fix the issue of needing to set up the calibration assignment repeatedly, the system should be able to make a copy of the previous calibration assignments with all attached reviews automatically.&lt;br /&gt;
&lt;br /&gt;
===Previous Implementation===&lt;br /&gt;
In the previous implementation, the calibration review was designed as part of the assignment and students were able to participate in calibration review training before reviewing other students' work.&lt;br /&gt;
&lt;br /&gt;
The instructor was able to enable the calibration review in an assignment by checking the box &amp;quot;Calibration for training?&amp;quot; prior to assignment creation.&lt;br /&gt;
&lt;br /&gt;
[[File:2021-11-03 011751.png]]&lt;br /&gt;
&lt;br /&gt;
[https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E17A4_Allow_calibration_to_be_part_of_an_assignment CSC/ECE 517 Fall 2017/E17A4 Allow calibration to be part of an assignment]&lt;br /&gt;
&lt;br /&gt;
However, their implementation introduced several assumptions about the system that need to be addressed before merging into production.&lt;br /&gt;
&lt;br /&gt;
===Issues of Previous work===&lt;br /&gt;
#The project assumes that the calibration starts at directory 0 which causes the wrong submission to be copied occasionally. &lt;br /&gt;
##Suggested Fix: set submitter_count to the largest directory number that was used for calibration.&lt;br /&gt;
###Allows us to keep track of the most recent calibration submission.&lt;br /&gt;
###Gives us something we can reference during copying to get the correct directory.&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Implementation==&lt;/div&gt;</summary>
		<author><name>Jmmarsde</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2117._Refactor_questionaires_controller.rb&amp;diff=140239</id>
		<title>CSC/ECE 517 Fall 2021 - E2117. Refactor questionaires controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2117._Refactor_questionaires_controller.rb&amp;diff=140239"/>
		<updated>2021-10-27T04:10:51Z</updated>

		<summary type="html">&lt;p&gt;Jmmarsde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
===About Expertiza===&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is an open source project developed using a [http://rubyonrails.org/ Ruby on Rails] framework. In Expertiza, an instructor can create, delete or edit new and existing assignments and also create topics for the students to sign up for or assign them to particular groups or individual students. A student can create teams to work on projects and assignments, and also peer review other's work. The website allows submission of various file type and also URL's.&lt;br /&gt;
&lt;br /&gt;
===About questionnaire_controller.rb===&lt;br /&gt;
Questionnaire is the superclass for all kinds of [https://expertiza.csc.ncsu.edu/index.php/Questionnaires] and rubrics—rubrics for evaluating submissions and teammate contributions, and taking quizzes and surveys.  All of these are subclasses of Questionnaire.  questionnaires_controller.rb is charged with creating, displaying, and managing Questionnaires.  Since it is used so widely, malfunctions could cause bugs in many parts of the system; hence it is especially important that the code be clear.&lt;br /&gt;
&lt;br /&gt;
==Issues to be addressed==&lt;br /&gt;
*Investigate the need and usage of the method create_questionnaire&lt;br /&gt;
*Refactor the create method into different methods with self-descriptive names for easier understanding&lt;br /&gt;
*The display_type attribute that was being set in the create method is never actually being used and is instead being overwritten by a post_initialization method on the types of objects being created.&lt;br /&gt;
*Investigate the usage of checks for whether a questionnaire is '''QuizQuestionnaire'''&lt;br /&gt;
*Replace hard-coded rubric criteria scoring&lt;br /&gt;
*Investigate usage of questionnaire_id parameter&lt;br /&gt;
*Bad if statements&lt;br /&gt;
*Refactor save_all_questions method - Cognitive Complexity and Assignment Branch Condition exceed allowed limit.&lt;br /&gt;
*Refactor copy method - Assignment Branch Condition is too high.&lt;br /&gt;
&lt;br /&gt;
==Changes made==&lt;br /&gt;
*In none of the files was the create_questionaire method being called so it was deleted.&lt;br /&gt;
*Removed the display_type attribute and added a display_type method that pulls the correct display_type string from the subclass that is being utilized. &lt;br /&gt;
*Removed the Rubric class as it wasn't being used as far as I could tell. This will need to be verified by running a query on the production database.&lt;br /&gt;
*'''All the other issues couldn't be addressed due to the scope of the display_type attribute to method change suggested by the instructor and the conversion from using a type table to subclasses also suggested by the instructor ballooning the scope of the project to the point that the other changes went out of scope.'''&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
*The Questionnaire table still has the display_type attribute and will need to be removed after an exploration of the data has been taken and verified that all display_types are represented by subclasses available.&lt;br /&gt;
&lt;br /&gt;
==Team Members==&lt;br /&gt;
*Isha Gupta&lt;br /&gt;
*John Marsden&lt;br /&gt;
*Sai Harsha Nadendla&lt;/div&gt;</summary>
		<author><name>Jmmarsde</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2117._Refactor_questionaires_controller.rb&amp;diff=139905</id>
		<title>CSC/ECE 517 Fall 2021 - E2117. Refactor questionaires controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2021_-_E2117._Refactor_questionaires_controller.rb&amp;diff=139905"/>
		<updated>2021-10-22T00:20:48Z</updated>

		<summary type="html">&lt;p&gt;Jmmarsde: Add Future Work section and address new changes that were made&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
===About Expertiza===&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is an open source project developed using a [http://rubyonrails.org/ Ruby on Rails] framework. In Expertiza, an instructor can create, delete or edit new and existing assignments and also create topics for the students to sign up for or assign them to particular groups or individual students. A student can create teams to work on projects and assignments, and also peer review other's work. The website allows submission of various file type and also URL's.&lt;br /&gt;
&lt;br /&gt;
===About questionnaire_controller.rb===&lt;br /&gt;
Questionnaire is the superclass for all kinds of [https://expertiza.csc.ncsu.edu/index.php/Questionnaires] and rubrics—rubrics for evaluating submissions and teammate contributions, and taking quizzes and surveys.  All of these are subclasses of Questionnaire.  questionnaires_controller.rb is charged with creating, displaying, and managing Questionnaires.  Since it is used so widely, malfunctions could cause bugs in many parts of the system; hence it is especially important that the code be clear.&lt;br /&gt;
&lt;br /&gt;
==Issues to be addressed==&lt;br /&gt;
*Investigate the need and usage of the method create_questionnaire&lt;br /&gt;
*Refactor the create method into different methods with self-descriptive names for easier understanding&lt;br /&gt;
*The display_type attribute that was being set in the create method is never actually being used and is instead being overwritten by a post_initialization method on the types of objects being created.&lt;br /&gt;
*Investigate the usage of checks for whether a questionnaire is '''QuizQuestionnaire'''&lt;br /&gt;
*Replace hard-coded rubric criteria scoring&lt;br /&gt;
*Investigate usage of questionnaire_id parameter&lt;br /&gt;
*Bad if statements&lt;br /&gt;
*Refactor save_all_questions method - Cognitive Complexity and Assignment Branch Condition exceed allowed limit.&lt;br /&gt;
*Refactor copy method - Assignment Branch Condition is too high.&lt;br /&gt;
&lt;br /&gt;
==Changes made==&lt;br /&gt;
*In none of the files was the create_questionaire method being called so it was deleted.&lt;br /&gt;
*Removed the display_type attribute and added a display_type method that pulls the correct display_type string from the subclass that is being utilized. &lt;br /&gt;
*Removed the Rubric class as it wasn't being used as far as I could tell. This will need to be verified by the running a query on the production database.&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
*The Questionnaire table still has the display_type attribute and will need to be removed after an exploration of the data has been taken and verified that all display_types are represented by subclasses available.&lt;br /&gt;
&lt;br /&gt;
==Team Members==&lt;br /&gt;
*Isha Gupta&lt;br /&gt;
*John Marsden&lt;br /&gt;
*Sai Harsha Nadendla&lt;/div&gt;</summary>
		<author><name>Jmmarsde</name></author>
	</entry>
</feed>