CSC/ECE 517 Spring 2019 - Project E1937. Integrate suggestion detection algorithm.rb: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
Line 33: Line 33:
===Our work===
===Our work===
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]
* [https://github.com/pratikkumar-jain/expertiza/tree/beta Our repository]
* [https://github.com/expertiza/expertiza/pull/1427 Pull request]

Revision as of 17:27, 7 April 2019

Introduction

Team

Dr. Gehringer (mentor)

  • Sushan Basnet (sbasnet2)
  • Jasmine Wang (jfwang2)
  • Bill Mwaniki (bnmwanik)
  • Pratik Kumar Kundanmal Jain (pjain22)

Project

Task

Problem statement

Peer-review systems like Expertiza utilize a lot of students’ input to determine each other’s performance. At the same time, we hope students learn from the reviews they receive to improve their own performance. In order to make this happen, we would like to have everyone give quality reviews instead of generic ones. Currently we have a few classifiers that can detect useful features of review comments, such as how many suggestions they contain. The suggestion-detection algorithm has been coded as a web service, and other detection algorithms will be so coded in the future.

Previous work

Fall 2018 pull request

  • They had a functional suggestion detection API call that successfully communicated with the PeerLogic Server and retrieved the output.
  • They included their API call in response.html.erb using JavaScript.
  • They were able to display the output for each review beside the review. They displayed all of the information returned from the endpoint, which can look clunky.
  • Since the code is added in the views, they performed manual testing in the views.

Proposed changes

  • Move API calls of suggestion-detection algorithm from view to response_controller.rb
  • Change default view from displaying analysis for each review to summarized analysis for all reviews
    • Do not include comment text in analysis view
    • Focus on sentiment_score, sentiment_tone, and suggestions metrics returned from API
  • Include displaying analysis for each review as a "debug" option
  • Ensure that CORS does not need to be enabled for API call to work
  • Write unit tests for our method(s) in response_controller.rb
  • Fix grammar issues in response.html.erb
  • evaluate how much time this API is taking and if possible work a way out to improve it.

Our work