<?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=Ybbayrak</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=Ybbayrak"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Ybbayrak"/>
	<updated>2026-08-14T17:30:57Z</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_2023_-_E2376._Reimplement_student_quizzes_controller.rb&amp;diff=151618</id>
		<title>CSC/ECE 517 Fall 2023 - E2376. Reimplement student quizzes controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2376._Reimplement_student_quizzes_controller.rb&amp;diff=151618"/>
		<updated>2023-11-16T02:41:06Z</updated>

		<summary type="html">&lt;p&gt;Ybbayrak: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Our team is tasked with creating the backend reimplementation of the student quizzes controller found in student_quizzes_controller.rb.&lt;br /&gt;
We are to use SOLID principles and adhere to the Guidelines for Reimplementation.&lt;br /&gt;
&lt;br /&gt;
== Introduction To Expertiza System == &lt;br /&gt;
The Expertiza system, a modular and multifunctional platform, empowers students to seamlessly submit assignments and quizzes while facilitating collaborative learning through features like peer review. Widely embraced by students, assistants, and professors, this advanced system streamlines academic assessments, fostering an efficient and interactive educational experience. &lt;br /&gt;
&lt;br /&gt;
The main goal of student quizzes module is to give an environment for students to create quizzes for other students with same assignments, giving them a chance to learn in a collaborative setting where they can collectively enhance their understanding and support each other's learning journey.&lt;br /&gt;
&lt;br /&gt;
== Issues with Previous Functionality ==&lt;br /&gt;
Student quizzes are currently a discontinued function from Expertiza. This module orginally interacted with many other components such as questions and questionnaires. The complex structure along with faulty coding practices has resulted in a vulnerable and error prone system. With reimplementing student quizzes we believe many of those problems can be overcame. &lt;br /&gt;
&lt;br /&gt;
Previous implementations of student quizzes were difficult to understand due to:&lt;br /&gt;
* The controller not following CRUD methodology&lt;br /&gt;
* The controller using vague names for variables.&lt;br /&gt;
* Difficulty in setting up a sample quiz and testing&lt;br /&gt;
* Test Driven Development (TDD) was not followed and tests created after the code.  The code being in a unknown state led to tests that passed possibly buggy code.&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
=== Test Driven Development (TDD) ===&lt;br /&gt;
Our approach to developing Expertiza student quizzes will adhere to a test-driven design methodology. This means that we will be utilizing the test skeletons provided to us and tests for each component of the student quizzes module before implementing the corresponding functionalities. By following this rigorous testing approach, we ensure a reliable and thoroughly validated system, enhancing the overall quality and robustness of the Expertiza platform.&lt;br /&gt;
&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
&lt;br /&gt;
* Create: This operation involves the creation of new student quizzes, allowing instructors to input question numbers, set parameters, and establish quiz details. Currently, student_quizzes_controller does not have a direct create method.&lt;br /&gt;
&lt;br /&gt;
* Read: Enables users to retrieve and view existing student quizzes, accessing details such as questions, answers, and associated information for review or analysis. Currently, student_quizzes_controller does not have a direct read method.&lt;br /&gt;
&lt;br /&gt;
* Update: This operation allows users to modify or update student quizzes. It includes functionalities such as adjusting quiz parameters to keep content current and relevant. Currently, student_quizzes_controller does not have a direct update method.&lt;br /&gt;
&lt;br /&gt;
* Delete: Involves the removal of unwanted or outdated student quizzes, giving instructors the ability to manage and maintain the database of quizzes efficiently. Currently, student_quizzes_controller does not have a direct delete method.&lt;br /&gt;
&lt;br /&gt;
* Index: Index function is part of a controller action responsible for displaying information related to an assignment participant, their associated assignment, and quiz mappings for review. The code does currently have an index function, but the function will be optimized and made clearer for ease of understanding.&lt;br /&gt;
&lt;br /&gt;
* Calculate score: Calculate score function calculates the score of the participant by comparing the answers given by the users with the actual correct answers. This method will be optimized and edited to increase robustness.&lt;br /&gt;
&lt;br /&gt;
* Other functions: Currently Student quizzes have many functions, while some of them are useful and beneficial, some of them can be edited, moved or reimplemented to follow SOLID and DRY principles.&lt;/div&gt;</summary>
		<author><name>Ybbayrak</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2376._Reimplement_student_quizzes_controller.rb&amp;diff=151581</id>
		<title>CSC/ECE 517 Fall 2023 - E2376. Reimplement student quizzes controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2376._Reimplement_student_quizzes_controller.rb&amp;diff=151581"/>
		<updated>2023-11-16T02:05:55Z</updated>

		<summary type="html">&lt;p&gt;Ybbayrak: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Our team is tasked with creating the backend reimplementation of the student quizzes controller found in student_quizzes_controller.rb.&lt;br /&gt;
We are to use SOLID principles and adhere to the Guidelines for Reimplementation.&lt;br /&gt;
&lt;br /&gt;
== Introduction To Expertiza System == &lt;br /&gt;
The Expertiza system, a modular and multifunctional platform, empowers students to seamlessly submit assignments and quizzes while facilitating collaborative learning through features like peer review. Widely embraced by students, assistants, and professors, this advanced system streamlines academic assessments, fostering an efficient and interactive educational experience. &lt;br /&gt;
&lt;br /&gt;
The main goal of student quizzes module is to give an environment for students to create quizzes for other students with same assignments, giving them a chance to learn in a collaborative setting where they can collectively enhance their understanding and support each other's learning journey.&lt;br /&gt;
&lt;br /&gt;
=== Issues with Previous Functionality ===&lt;br /&gt;
Student quizzes are currently a discontinued function from Expertiza. This module orginally interacted with many other components such as questions and questionnaires. The complex structure along with faulty coding practices has resulted in a vulnerable and error prone system. With reimplementing student quizzes we believe many of those problems can be overcame. &lt;br /&gt;
&lt;br /&gt;
Previous implementations of student quizzes were difficult to understand due to:&lt;br /&gt;
* The controller not following CRUD methodology&lt;br /&gt;
* The controller using vague names for variables.&lt;br /&gt;
* Difficulty in setting up a sample quiz and testing&lt;br /&gt;
* Test Driven Development (TDD) was not followed and tests created after the code.  The code being in a unknown state led to tests that passed possibly buggy code.&lt;br /&gt;
&lt;br /&gt;
== Design ==&lt;br /&gt;
=== Test Driven Development (TDD) ===&lt;br /&gt;
Our approach to developing Expertiza student quizzes will adhere to a test-driven design methodology. This means that we will be utilizing the test skeletons provided to us and tests for each component of the student quizzes module before implementing the corresponding functionalities. By following this rigorous testing approach, we ensure a reliable and thoroughly validated system, enhancing the overall quality and robustness of the Expertiza platform.&lt;br /&gt;
&lt;br /&gt;
=== Controller ===&lt;br /&gt;
&lt;br /&gt;
==== Create ====&lt;br /&gt;
&lt;br /&gt;
==== Read ====&lt;br /&gt;
&lt;br /&gt;
==== Update ====&lt;br /&gt;
&lt;br /&gt;
==== Delete ====&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Achieved Design Goals ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== UML Diagram ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Class Diagram ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Actions performed ==&lt;/div&gt;</summary>
		<author><name>Ybbayrak</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2358._Refactor_student_quizzes_controller.rb&amp;diff=150648</id>
		<title>CSC/ECE 517 Fall 2023 - E2358. Refactor student quizzes controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2358._Refactor_student_quizzes_controller.rb&amp;diff=150648"/>
		<updated>2023-10-30T22:46:22Z</updated>

		<summary type="html">&lt;p&gt;Ybbayrak: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Student Quizzes are quizzes students create after the submission of their assignment on Expertiza application. Student quizzes can consist of multiple answered checkbox questions, classic multiple choice questions and true false questions. The number of questions that can should be on the quiz is predetermined by the instructor when the assignment is created.&lt;br /&gt;
&lt;br /&gt;
Unfortunately due to a decision that is made during Spring Semester 2023, quiz function is eliminated from Expertiza, the web portal was not functional. Nevertheless the existing code was refactored according to the previous comments and tests has been completed with Rspec.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==New Files==&lt;br /&gt;
#spec/controllers/student_quizzes_controller_spec.rb&lt;br /&gt;
==File Changes==&lt;br /&gt;
#app/controllers/student_quizzes_controller.rb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Test Plan==&lt;br /&gt;
&amp;lt;nowiki&amp;gt;When we project was pulled from the main repository, test plans were not previously present for student_quizzes_controller.rb. &lt;br /&gt;
Within the scope of TDD research, we have opted to have the test skeletons by Mustafa Olmez, which has given us a very good idea on the tests that should be integrated for our unit. 29 of the test skeletons were integrated into the our work allowing us to test the controller profoundly. The complete file can be found here: &amp;lt;/nowiki&amp;gt; &amp;lt;br&amp;gt;https://github.com/expertiza/expertiza/pull/2656/files#diff-06772dc7cd41f4d09fb403ddcc22137ade6308cb87ec53d82bf7664300c4eef7&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;We found that a factory already existed for student quizzes.  Much of the work previously found in the quiz_factory was incorporated into the RSpec controller tests. &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Modifications==&lt;br /&gt;
The following modifications have been made on app/controllers/student_quizzes_controller.rb&lt;br /&gt;
* Following comments have been added to calculate_score:&lt;br /&gt;
** &amp;quot;valid&amp;quot; boolean is turned to valid_flag in order to emphasize it is a flag for checking validity of the answer&lt;br /&gt;
** questionnaire has been refactored into quiz emphasize it's usage in the program.&lt;br /&gt;
** ques_type is refactored into question_type for extra clarify&lt;br /&gt;
** new_score is refactored into each_answer_score to clarify its specific usage&lt;br /&gt;
* Following comments have been added to calculate_score:&lt;br /&gt;
** response has been refactored to participant_response&lt;br /&gt;
** questions has been refactored to quiz_questions&lt;br /&gt;
** Additional comment for the usage of reponse is added, clarifying the previous comment asking about its usage.&lt;br /&gt;
* Explanatory comments have been added to self.take_quiz since previous feedback stated its usage was unclear.&lt;br /&gt;
* Grammatically incorrect comments have been corrected throughout the document.&lt;br /&gt;
&lt;br /&gt;
Some of the requested comments from the project description were outdated and/or already updated. Please check our Github page for further comments. &lt;br /&gt;
&lt;br /&gt;
==Results==&lt;br /&gt;
For our project we have managed to correct or respond all of the addressed concerns given to us in our project description. Furthermore by using the test skeletons given to us we have managed to test conduct thorough unit testing for our controller. &lt;br /&gt;
&lt;br /&gt;
The following pull request was found among in the main repository of Expertiza, which shows the quiz functionality was discontinued and removed from expertiza.&lt;br /&gt;
&lt;br /&gt;
https://github.com/expertiza/expertiza/pull/2340&lt;br /&gt;
&lt;br /&gt;
Due to the function being discontinued we have not been able to observe the functionality directly on Expertiza itself, nevertheless using the wide range of test skeletons provided to us we have managed to ensure the module would be up and running when and if the integration issues were to be resolved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Team==&lt;br /&gt;
Rain Bayraktar &amp;lt;ybbayrak@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Steve Easton &amp;lt;sleaston@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Scott Hardin &amp;lt;shardin2@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pull Request==&lt;br /&gt;
Changes for this project are under Expertiza Pull Request https://github.com/expertiza/expertiza/pull/2656&lt;/div&gt;</summary>
		<author><name>Ybbayrak</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2358._Refactor_student_quizzes_controller.rb&amp;diff=150646</id>
		<title>CSC/ECE 517 Fall 2023 - E2358. Refactor student quizzes controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2358._Refactor_student_quizzes_controller.rb&amp;diff=150646"/>
		<updated>2023-10-30T22:45:23Z</updated>

		<summary type="html">&lt;p&gt;Ybbayrak: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Student Quizzes are quizzes students create after the submission of their assignment on Expertiza application. Student quizzes can consist of multiple answered checkbox questions, classic multiple choice questions and true false questions. The number of questions that can should be on the quiz is predetermined by the instructor when the assignment is created.&lt;br /&gt;
&lt;br /&gt;
Unfortunately due to a decision that is made during Spring Semester 2023, quiz function is eliminated from Expertiza, the web portal was not functional. Nevertheless the existing code was refactored according to the previous comments and tests has been completed with Rspec.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==New Files==&lt;br /&gt;
#spec/controllers/student_quizzes_controller_spec.rb&lt;br /&gt;
==File Changes==&lt;br /&gt;
#app/controllers/student_quizzes_controller.rb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Test Plan==&lt;br /&gt;
&amp;lt;nowiki&amp;gt;When we project was pulled from the main repository, test plans were not previously present for student_quizzes_controller.rb. &lt;br /&gt;
Within the scope of TDD research, we have opted to have the test skeletons by Mustafa Olmez, which has given us a very good idea on the tests that should be integrated for our unit. 29 of the test skeletons were integrated into the our work.  The complete file can be found here: &amp;lt;/nowiki&amp;gt; &amp;lt;br&amp;gt;https://github.com/expertiza/expertiza/pull/2656/files#diff-06772dc7cd41f4d09fb403ddcc22137ade6308cb87ec53d82bf7664300c4eef7&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;We found that a factory already existed for student quizzes.  Much of the work previously found in the quiz_factory was incorporated into the RSpec controller tests. &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Modifications==&lt;br /&gt;
The following modifications have been made on app/controllers/student_quizzes_controller.rb&lt;br /&gt;
* Following comments have been added to calculate_score:&lt;br /&gt;
** &amp;quot;valid&amp;quot; boolean is turned to valid_flag in order to emphasize it is a flag for checking validity of the answer&lt;br /&gt;
** questionnaire has been refactored into quiz emphasize it's usage in the program.&lt;br /&gt;
** ques_type is refactored into question_type for extra clarify&lt;br /&gt;
** new_score is refactored into each_answer_score to clarify its specific usage&lt;br /&gt;
* Following comments have been added to calculate_score:&lt;br /&gt;
** response has been refactored to participant_response&lt;br /&gt;
** questions has been refactored to quiz_questions&lt;br /&gt;
** Additional comment for the usage of reponse is added, clarifying the previous comment asking about its usage.&lt;br /&gt;
* Explanatory comments have been added to self.take_quiz since previous feedback stated its usage was unclear.&lt;br /&gt;
* Grammatically incorrect comments have been corrected throughout the document.&lt;br /&gt;
&lt;br /&gt;
Some of the requested comments from the project description were outdated and/or already updated. Please check our Github page for further comments. &lt;br /&gt;
&lt;br /&gt;
==Results==&lt;br /&gt;
For our project we have managed to correct or respond all of the addressed concerns given to us in our project description. Furthermore by using the test skeletons given to us we have managed to test conduct thorough unit testing for our controller. &lt;br /&gt;
&lt;br /&gt;
The following pull request was found among in the main repository of Expertiza, which shows the quiz functionality was discontinued and removed from expertiza.&lt;br /&gt;
&lt;br /&gt;
https://github.com/expertiza/expertiza/pull/2340&lt;br /&gt;
&lt;br /&gt;
Due to the function being discontinued we have not been able to observe the functionality directly on Expertiza itself, nevertheless using the wide range of test skeletons provided to us we have managed to ensure the module would be up and running when and if the integration issues were to be resolved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Team==&lt;br /&gt;
Rain Bayraktar &amp;lt;ybbayrak@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Steve Easton &amp;lt;sleaston@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Scott Hardin &amp;lt;shardin2@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pull Request==&lt;br /&gt;
Changes for this project are under Expertiza Pull Request https://github.com/expertiza/expertiza/pull/2656&lt;/div&gt;</summary>
		<author><name>Ybbayrak</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2358._Refactor_student_quizzes_controller.rb&amp;diff=150635</id>
		<title>CSC/ECE 517 Fall 2023 - E2358. Refactor student quizzes controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2358._Refactor_student_quizzes_controller.rb&amp;diff=150635"/>
		<updated>2023-10-30T22:22:32Z</updated>

		<summary type="html">&lt;p&gt;Ybbayrak: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Student Quizzes are quizzes students create after the submission of their assignment on Expertiza application. Student quizzes can consist of multiple answered checkbox questions, classic multiple choice questions and true false questions. The number of questions that can should be on the quiz is predetermined by the instructor when the assignment is created.&lt;br /&gt;
&lt;br /&gt;
Unfortunately due to a decision that is made during Spring Semester 2023, quiz function is eliminated from Expertiza, the web portal was not functional. Nevertheless the existing code was refactored according to the previous comments and tests has been completed with Rspec.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==New Files==&lt;br /&gt;
#spec/controllers/student_quizzes_controller_spec.rb&lt;br /&gt;
==File Changes==&lt;br /&gt;
#app/controllers/student_quizzes_controller.rb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Test Plan==&lt;br /&gt;
&amp;lt;nowiki&amp;gt;When we project was pulled from the main repository, test plans were not previously present for student_quizzes_controller.rb. In order to thoroughly test the unit, we have opted to have the test skeletons by Mustafa Olmez, which has given us a very good idea on the tests that should be integrated for our unit. 29 of the test skeletons were integrated into the our work.  The complete file can be found here: &amp;lt;/nowiki&amp;gt; &amp;lt;br&amp;gt;https://github.com/expertiza/expertiza/pull/2656/files#diff-06772dc7cd41f4d09fb403ddcc22137ade6308cb87ec53d82bf7664300c4eef7&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;We found that a factory already existed for student quizzes.  Much of the work previously found in the quiz_factory was incorporated into the RSpec controller tests. &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Modifications==&lt;br /&gt;
The following modifications have been made on app/controllers/student_quizzes_controller.rb&lt;br /&gt;
* Following comments have been added to calculate_score:&lt;br /&gt;
** &amp;quot;valid&amp;quot; boolean is turned to valid_flag in order to emphasize it is a flag for checking validity of the answer&lt;br /&gt;
** questionnaire has been refactored into quiz emphasize it's usage in the program.&lt;br /&gt;
** ques_type is refactored into question_type for extra clarify&lt;br /&gt;
** new_score is refactored into each_answer_score to clarify its specific usage&lt;br /&gt;
* Following comments have been added to calculate_score:&lt;br /&gt;
** response has been refactored to participant_response&lt;br /&gt;
** questions has been refactored to quiz_questions&lt;br /&gt;
** Additional comment for the usage of reponse is added, clarifying the previous comment asking about its usage.&lt;br /&gt;
* Explanatory comments have been added to self.take_quiz since previous feedback stated its usage was unclear.&lt;br /&gt;
* Grammatically incorrect comments have been corrected throughout the document.&lt;br /&gt;
&lt;br /&gt;
Some of the requested comments from the project description were outdated and/or already updated. Please check our Github page for further comments. &lt;br /&gt;
&lt;br /&gt;
==Results==&lt;br /&gt;
For our project we have managed to correct or respond all of the addressed concerns given to us in our project description. Furthermore by using the test skeletons given to us we have managed to test conduct thorough unit testing for our controller. &lt;br /&gt;
&lt;br /&gt;
The following pull request was found among in the main repository of Expertiza, which shows the quiz functionality was discontinued and removed from expertiza.&lt;br /&gt;
&lt;br /&gt;
https://github.com/expertiza/expertiza/pull/2340&lt;br /&gt;
&lt;br /&gt;
Due to the function being discontinued we have not been able to observe the functionality directly on Expertiza itself, nevertheless using the wide range of test skeletons provided to us we have managed to ensure the module would be up and running when and if the integration issues were to be resolved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Team==&lt;br /&gt;
Rain Bayraktar &amp;lt;ybbayrak@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Steve Easton &amp;lt;sleaston@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Scott Hardin &amp;lt;shardin2@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pull Request==&lt;br /&gt;
Changes for this project are under Expertiza Pull Request https://github.com/expertiza/expertiza/pull/2656&lt;/div&gt;</summary>
		<author><name>Ybbayrak</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2358._Refactor_student_quizzes_controller.rb&amp;diff=150629</id>
		<title>CSC/ECE 517 Fall 2023 - E2358. Refactor student quizzes controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2358._Refactor_student_quizzes_controller.rb&amp;diff=150629"/>
		<updated>2023-10-30T20:58:16Z</updated>

		<summary type="html">&lt;p&gt;Ybbayrak: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Student Quizzes are quizzes students create after the submission of their assignment on Expertiza application. Student quizzes can consist of multiple answered checkbox questions, classic multiple choice questions and true false questions. The number of questions that can should be on the quiz is predetermined by the instructor when the assignment is created.&lt;br /&gt;
&lt;br /&gt;
Unfortunately due to a decision that is made during Spring Semester 2023, quiz function is eliminated from Expertiza, the web portal was not functional. Nevertheless the existing code was refactored according to the previous comments and tests has been completed with Rspec.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==New Files==&lt;br /&gt;
#spec/controllers/student_quizzes_controller_spec.rb&lt;br /&gt;
==File Changes==&lt;br /&gt;
#app/controllers/student_quizzes_controller.rb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Test Plan==&lt;br /&gt;
&amp;lt;nowiki&amp;gt;When we project was pulled from the main repository, test plans were not previously present for student_quizzes_controller.rb. In order to thoroughly test the unit, we have opted to have the test skeletons by Mustafa Olmez, which has given us a very good idea on the tests that should be integrated for our unit. 29 of the test skeletons were integrated into the our work.  The complete file can be found here: &amp;lt;/nowiki&amp;gt; &amp;lt;br&amp;gt;https://github.com/expertiza/expertiza/pull/2656/files#diff-06772dc7cd41f4d09fb403ddcc22137ade6308cb87ec53d82bf7664300c4eef7&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;We found that a factory already existed for student quizzes.  Much of the work previously found in the quiz_factory was incorporated into the RSpec controller tests. &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Modifications==&lt;br /&gt;
The following modifications have been made on app/controllers/student_quizzes_controller.rb&lt;br /&gt;
* Following comments have been added to calculate_score:&lt;br /&gt;
** &amp;quot;valid&amp;quot; boolean is turned to valid_flag in order to emphasize it is a flag for checking validity of the answer&lt;br /&gt;
** questionnaire has been refactored into quiz emphasize it's usage in the program.&lt;br /&gt;
** ques_type is refactored into question_type for extra clarify&lt;br /&gt;
** new_score is refactored into each_answer_score to clarify its specific usage&lt;br /&gt;
* Following comments have been added to calculate_score:&lt;br /&gt;
** response has been refactored to participant_response&lt;br /&gt;
** questions has been refactored to quiz_questions&lt;br /&gt;
** Additional comment for the usage of reponse is added, clarifying the previous comment asking about its usage.&lt;br /&gt;
* Explanatory comments have been added to self.take_quiz since previous feedback stated its usage was unclear.&lt;br /&gt;
* Grammatically incorrect comments have been corrected throughout the document.&lt;br /&gt;
&lt;br /&gt;
Some of the requested comments from the project description were outdated and/or already updated. Please check our Github page for further comments. &lt;br /&gt;
&lt;br /&gt;
==Results==&lt;br /&gt;
For our project we have managed to correct or respond all of the addressed concerns given to us in our project description. Furthermore by using the test skeletons given to us we have managed to test conduct thorough unit testing for our controller. &lt;br /&gt;
&lt;br /&gt;
Due to the function being discontinued we have not been able to observe the functionality directly on Expertiza itself, nevertheless using the wide range of test skeletons provided to us we have managed to ensure the module would be up and running when and if the integration issues were to be resolved.&lt;br /&gt;
[[File:ECE517_Fall_2023_E2558_Remove_Quiz_Functionality_Expertiza.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Team==&lt;br /&gt;
Rain Bayraktar &amp;lt;ybbayrak@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Steve Easton &amp;lt;sleaston@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Scott Hardin &amp;lt;shardin2@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pull Request==&lt;br /&gt;
Changes for this project are under Expertiza Pull Request https://github.com/expertiza/expertiza/pull/2656&lt;/div&gt;</summary>
		<author><name>Ybbayrak</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2358._Refactor_student_quizzes_controller.rb&amp;diff=150455</id>
		<title>CSC/ECE 517 Fall 2023 - E2358. Refactor student quizzes controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2358._Refactor_student_quizzes_controller.rb&amp;diff=150455"/>
		<updated>2023-10-30T03:05:25Z</updated>

		<summary type="html">&lt;p&gt;Ybbayrak: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Student Quizzes are quizzes students create after the submission of their assignment on Expertiza application. Student quizzes can consist of multiple answered checkbox questions, classic multiple choice questions and true false questions. The number of questions that can should be on the quiz is predetermined by the instructor when the assignment is created.&lt;br /&gt;
&lt;br /&gt;
Unfortunately due to a decision that is made during Spring Semester 2023, quiz function is eliminated from Expertiza, the web portal was not functional. Nevertheless the existing code was refactored according to the previous comments and tests has been completed with Rspec.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==New Files==&lt;br /&gt;
#spec/controllers/student_quizzes_controller_spec.rb&lt;br /&gt;
==File Changes==&lt;br /&gt;
#app/controllers/student_quizzes_controller.rb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Test Plan==&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Test plans did not exist for student_quizzes_controller.rb when we started the project.  A test skeleton was created by Mustafa Olmez and integrated into the our work.  The complete file can be found here: &amp;lt;/nowiki&amp;gt; &amp;lt;br&amp;gt;https://github.com/expertiza/expertiza/pull/2656/files#diff-06772dc7cd41f4d09fb403ddcc22137ade6308cb87ec53d82bf7664300c4eef7&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;We found that a factory existed for student quizzes.  Much of the work previously found in the quiz_factory was incorporated into the RSpec controller tests. &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Modifications==&lt;br /&gt;
&lt;br /&gt;
==Results==&lt;br /&gt;
What do we make of this capture?&lt;br /&gt;
[[File:ECE517_Fall_2023_E2558_Remove_Quiz_Functionality_Expertiza.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Team==&lt;br /&gt;
Rain Bayraktar &amp;lt;ybbayrak@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Steve Easton &amp;lt;sleaston@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Scott Hardin &amp;lt;shardin2@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pull Request==&lt;br /&gt;
Changes for this project are under Expertiza Pull Request https://github.com/expertiza/expertiza/pull/2656&lt;/div&gt;</summary>
		<author><name>Ybbayrak</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2358._Refactor_student_quizzes_controller.rb&amp;diff=150454</id>
		<title>CSC/ECE 517 Fall 2023 - E2358. Refactor student quizzes controller.rb</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023_-_E2358._Refactor_student_quizzes_controller.rb&amp;diff=150454"/>
		<updated>2023-10-30T02:52:48Z</updated>

		<summary type="html">&lt;p&gt;Ybbayrak: Created page with &amp;quot;== Introduction ==  &amp;lt;nowiki&amp;gt;Student Quizzes are...&amp;lt;/nowiki&amp;gt;  ==New Files== #spec/controllers/student_quizzes_controller_spec.rb ==File Changes== #app/controllers/student_quizz...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Student Quizzes are...&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==New Files==&lt;br /&gt;
#spec/controllers/student_quizzes_controller_spec.rb&lt;br /&gt;
==File Changes==&lt;br /&gt;
#app/controllers/student_quizzes_controller.rb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Test Plan==&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Test plans did not exist for student_quizzes_controller.rb when we started the project.  A test skeleton was created by Mustafa Olmez and integrated into the our work.  The complete file can be found here: &amp;lt;/nowiki&amp;gt; &amp;lt;br&amp;gt;https://github.com/expertiza/expertiza/pull/2656/files#diff-06772dc7cd41f4d09fb403ddcc22137ade6308cb87ec53d82bf7664300c4eef7&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;We found that a factory existed for student quizzes.  Much of the work previously found in the quiz_factory was incorporated into the RSpec controller tests. &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Modifications==&lt;br /&gt;
&lt;br /&gt;
==Results==&lt;br /&gt;
What do we make of this capture?&lt;br /&gt;
[[File:ECE517_Fall_2023_E2558_Remove_Quiz_Functionality_Expertiza.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Team==&lt;br /&gt;
Rain Bayraktar &amp;lt;ybbayrak@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Steve Easton &amp;lt;sleaston@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Scott Hardin &amp;lt;shardin2@ncsu.edu&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Pull Request==&lt;br /&gt;
Changes for this project are under Expertiza Pull Request https://github.com/expertiza/expertiza/pull/2656&lt;/div&gt;</summary>
		<author><name>Ybbayrak</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023&amp;diff=150453</id>
		<title>CSC/ECE 517 Fall 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2023&amp;diff=150453"/>
		<updated>2023-10-30T02:50:13Z</updated>

		<summary type="html">&lt;p&gt;Ybbayrak: Format correction&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[CSC/ECE 517 Fall 2023 - E2358. Refactor student_quizzes_controller.rb]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2023 - E2351. Finish mentor management for assignments without topics]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2023 - E2359. Refactor user_controller.rb, user.rb, and its child classes]]&lt;br /&gt;
* [[CSC/ECE 517 Fall 2023 - E2367. Reimplement participants_controller.rb, participants.rb and its child classes]]&lt;/div&gt;</summary>
		<author><name>Ybbayrak</name></author>
	</entry>
</feed>