CSC/ECE 517 Spring 2022 - E2225: Refactor review mapping helper.rb

From Expertiza_Wiki
Revision as of 20:22, 21 March 2022 by Sjanard (talk | contribs) (Created page with "This wiki page is for the description of changes made under E2225 OSS assignment for Fall 2022, CSC 517. == Expertiza Background== Expertiza is an educational web applicatio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This wiki page is for the description of changes made under E2225 OSS assignment for Fall 2022, CSC 517.

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.

Background

A helper method in Ruby performs certain repetitive tasks across multiple classes or a singular class, so that code is not reused and redundancy is reduced. The review_mapping_helper.rb file is primarily used to perform routine tasks with reviews. Tasks such as returning the user's name instead of the team name when there is a single person in the team, checking whether the work has been submitted within the given round and sorting the reviewers by average number of reviews in each round. Each of these functions' visibility is dependent on the type of user.

Files modified in current project

A helper file has been modified for this project namely:

1. review_mapping_helper.rb