CSC/ECE 517 Spring 2023 - E2317: Reimplement participant.rb: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:


===Problem Statement===
===Problem Statement===
The following changes were reimplemented in the participant.rb \n
The following changes were reimplemented in the participant.rb
1. Force_delete method:
This method handles a scenario where only 1 team member is left and when he decides to leave the team, the team should get deleted. This method should be implemented in teams.rb and not participant.rb. Instead, a ‘leave_team’ method can be implemented in participants.rb


2. Mail_assigned_reviewers method sends email to the reviewer in case a new submission is made. This method should be a part of teams.rb and not participant.rb
1. The force_delete method was removed and leave_team method was introduced.


3. Able_to_review method is just using can_review value. This method can be eliminated.
2. mail_assigned_reviewers method was removed.


4. Email: This method is not required.  
3. able_to_review method was eliminated.


5. export and export_fields methods can be merged to form a single method.
4. email method was removed as it was not required.
 
5. export and export_fields methods were merged to form a single method.

Revision as of 21:18, 21 March 2023

E2317. Reimplement participant.rb

The description of the Expertiza OSS project.

About Expertiza

Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the instructor to create new assignments and customize new or existing assignments. It also allows the instructor to create a list of topics the students can sign up for. Students can form teams in Expertiza to work on various projects and assignments. Students can also peer review other students' submissions. Expertiza supports submission across various document types, including the URLs and wiki pages.

Backgroud of the Project

Problem Statement

The following changes were reimplemented in the participant.rb

1. The force_delete method was removed and leave_team method was introduced.

2. mail_assigned_reviewers method was removed.

3. able_to_review method was eliminated.

4. email method was removed as it was not required.

5. export and export_fields methods were merged to form a single method.