CSC/ECE 517 Fall 2018- Project E1865. Conflict Notification

From Expertiza_Wiki
Revision as of 01:45, 8 December 2018 by Pddalwad (talk | contribs)
Jump to navigation Jump to search

Introduction

This project aims to enhance the review mapping of the two conflicting reviews which causes an email to be sent to the instructor when there is a considerable disparity in the grading between two reviews. The goal is to help the instructors by making the process of grading reviews easier and more accurate.

Problem Statement

Issue

Currently, when a new review is submitted and the difference between the score of the new review and (average of the) scores of all previous reviews differ by more than a set threshold, an email is triggered to notify the instructor for such disparity. The email consists of an URL only for the new review.

Application Flow


UML DIAGRAM

Proposed Solutions

Issue: Resolving the Conflict Notification

Current scenario: The function 'significant_difference?' in the model response.rb takes on the average scores of all the existing reviews (by looping through each review to calculate the average) and compares it with the score of the recent response. If the difference is greater than the limit specified(notification_limit), it triggers an email to the instructor with the new response’s (conflicting response) URL.


Proposed changes: Instead of taking on the average scores for existing reviews, we will loop through each review not for calculating the average but to compare the new review score with each review score (a new function will be called to compare with existing responses once a new review is in system i.e. ‘questionnaire’ variable). If for any response the notification_limit is exceeded, the review URL of that iteration will be stored and at the end of the function once all the reviews are looped an email will be triggered comprising of the new review and stored reviews URLs.

Implemented solution:

Files changed: 1. response_controller.rb

2. response.rb

Test Plan

1) Login.

2) Click on ‘Assignments’ tab.

3) Click on the assignment which has to be reviewed.

4) Navigate to ‘Other’s Work’ section to open the reviews summary.

5) Select a team’s assignment and review it.

6) Give a review score (make one user to give all 0’s and other reviewer to give all 5’s for the same assignment) which in turn exceeds the threshold and submit.

7) Logout and check whether the instructor received an email for conflicting reviews.

References

Expertiza

Expertiza Github

Expertiza Documentation