CSC/ECE 517 Spring 2022 - E2235. Issues related to meta-reviewing: Difference between revisions

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


=== Issue Description===
=== Issue Description===
At many places in code exceptions are raised, which are like pretty easy to hit.  
* At many places in code exceptions are raised, which are like pretty easy to hit.  
==== Plan:====
==== Plan:====
We will discuss with expertiza team if these are supposed to be like this or there should be some better handling.
* We will discuss with expertiza team if these are supposed to be like this or there should be some better handling.

Revision as of 20:18, 6 April 2022

Overview of Project

In Expertiza, meta-review is a feature that enables a third party to evaluate the quality of feedback that a reviewer gives a reviewee. meta-review is an important feature that can help students become better reviewers for their peers by providing detailed feedback that is actionable and positively formulated. Unfortunately, this feature is broken and the following issues were identified. The task is to fix these issues so that this feature can be used again.

  • When a user requests a new meta-review, (s)he is unable to get Begin (refer to above image) link to start a new meta-review. (Issue #198)
  • When a user requests a new meta-review, the field which says the number of meta-reviews left ( refer to above image “Numbers of Meta-reviews left:”) does not change and the button to request a new meta-review disappears.

Previous Work

This assignment is a repeat of E2025 which was assigned to students last semester, Spring 2020.

Details of the previous implementation can be found here: [CSC/ECE 517 Spring 2020 - E2025: Issues Related to Meta - Reviewing]

Our goals are to update the logic, refactor non-DRY code, and fix bugs.

Approach took to problem

  • We started by looking at issues happening for meta reviews in beta branch
  • Next we tried to understand difference between meta-review and review.
  • Further we tried to explore the possibility of combining meta-reviews and review to follow DRY principle in code.
  • But we observed that since meta review is advanced stage in review cycle and each meta-review is associated with some previous review and reviewee, there is no way to have single model and controller.
  • So we scrapped the idea of changing the design at root level.
  • The best approach here to handle current meta-review issues is to fix them individually.
  • The details on how each issue will be approached and fixed is given below.

#198 - Begin link not working correctly

Issue Description

In beta branch begin is not working correctly. The page crashes sometime: Observations:

  • While selecting "" rubric in local db, the begin link crashed.
  • Following the code we observed it was returning questionnaire list, where only object was expected.
  • Fixing it, we were able to see page redirecting successfully.

Plan:

We will be looking into this issue further, if the questionnaire was supposed to be the way it is?


  • Further the loaded page doesn't have any portion of view for meta-review, instead it shows just plain old review.

Plan:

We will be checking the history of this change and try to find at what time partial view file was removed from code.

Request for meta review is breaking the website

Issue Description

  • When the review deadline has passed and I click on meta review then the site is crashed

Plan:

  • Fixing it, we were able to show a small error message instead of allowing the site to crash

Request for meta review is breaking the website when there are no review

Issue Description

  • When there are no review available the request for meta-review deadline is crashing the site.

Plan:

  • Fixing it, we were able to show a small error message instead of allowing the site to crash


Request for meta review is shown even before the review deadline is not passed

Issue Description

  • When the review deadline is not passed the request for meta review is getting displayed.

Plan:

  • For fixing this we are planning to add a simple if check


When there are no review questions upon opening the site crashes

Issue Description

  • When there are no review questions if I click on begin button the site is crashing

Plan:

  • For fixing this we are planning to add a simple if check on the number of questions.


Issue Description

  • At many places in code exceptions are raised, which are like pretty easy to hit.

Plan:

  • We will discuss with expertiza team if these are supposed to be like this or there should be some better handling.