CSC/ECE 517 Spring 2022 - E2218: Refactor response controller: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
== Refactorization and Code Modifications ==
== Refactorization and Code Modifications ==
Below is a list of code refactor tasks and issues addressed by this team in this project. We have also included any pertinent details, reasonings, comments, warnings, etc., corresponding to each task.
Below is a list of code refactor tasks and issues addressed by this team in this project. We have also included any pertinent details, reasonings, comments, warnings, etc., corresponding to each task.
== Modified Files ==
<code>response_controller.rb</code>
<code>response_helper.rb</code>
<code>assignment_questionnaire.rb</code>
<code>awarded_badge.rb</code>
<code>cake.rb</code>
<code>response.rb</code>


==GitHub links and Pull Request==
==GitHub links and Pull Request==

Revision as of 01:33, 21 March 2022

This page details project documentation for the CSC/ECE 517 Spring 2022, "E2218 refactor response_controller.rb" project.


Background

A response is the object that is created when someone fills out a review rubric, such as when one writes a review, gives feedback to a reviewer, or fills out a survey. Responses to the individual rubric items are kept in Answer objects; each Answer object has a response_id to say what Response it is part of. Since response_controller needs to work with many kinds of responses, its code is pretty general. It is not the worst controller in the system, but it would be much clearer if its method names were more descriptive of what they do.

Mentor

Ed Gehringer, efg@ncsu.edu

Team Members

  • Sai Naga Vamshi Chidara (schidar@ncsu.edu)
  • Akhil Kumar (amengan@ncsu.edu)
  • Samson Mulkur (smulkur@ncsu.edu)

Issues

Refactorization and Code Modifications

Below is a list of code refactor tasks and issues addressed by this team in this project. We have also included any pertinent details, reasonings, comments, warnings, etc., corresponding to each task.

Modified Files

response_controller.rb

response_helper.rb

assignment_questionnaire.rb

awarded_badge.rb

cake.rb

response.rb


GitHub links and Pull Request

Link to Expertiza repository: here

Link to the forked repository: here

Link to Pull Request: here