CSC/ECE 517 Fall 2017/E1786 OSS Project Juniper: Bookmark enhancements

From Expertiza_Wiki
Revision as of 22:49, 27 October 2017 by Hsmalapa (talk | contribs)
Jump to navigation Jump to search

Peer Review Information

For users intending to view the deployed Expertiza associated with this assignment, the credentials are below: Instructor login: username -> instructor6, password -> password


Expertiza Background

Expertiza is an educational web application created and maintained by the joint efforts of the students and the faculty at NCSU. It’s an open source project developed on Ruby on Rails platform and it’s code is available on Github. It allows students to review each other’s work and improve their work upon this feedback.

Description of the current project


Files modified in current project

A controller and a helper file were modified for this project namely: 1. GradesController 2. GradesHelper

GradesController

This is a controller that helps students and instructors view grades and reviews, update scores, check for grading conflicts and calculate penalties. A couple of long and complex methods were refactored from this controller along with removal of some non-functional code and a few language changes to make it Ruby style. Three methods in particular, namely conflict_notification ,calculate_all_penalties and edit were found to be too long and were in need of refactoring into smaller, easier to manage methods. Few more compact methods were created for this purpose. There were no existing test cases for the controller. We have added a spec file named 'grades_spec.rb' under the spec folder. As no changes were done for the model, no tests for the model were included.

GradesHelper

This is a helper class which contains methods for constructing a table(construct_table) and to check whether an assignment has a team and metareveiw(has_team_and_metareview)

List of changes

We worked on the following work items :

 </nowiki>