Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add similarity report displayer to submission preview #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mariajgrimaldi
Copy link
Member

@mariajgrimaldi mariajgrimaldi commented Feb 7, 2024

Description

This PR adds a new container for displaying Turnitin Similarity report viewers for each file in an ORA submission from files with doc, docx, and pdf file extensions and text from the submission input.

How to test

1st setup your environment:

  1. Install the necessary packages in the LMS (it's the service we'll use during this test):

    pip install git+https://github.com/openedx/openedx-filters
    pip install git+https://github.com/openedx/openedx-events
    pip install git+https://github.com/edunext/[email protected]/edues
    pip install git+https://github.com/edunext/[email protected]
    
  2. Restart the LMS tutor dev restart lms

  3. Mount the ORA grading MFE into your environment using this branch MJG/ora-grading-turnitin.

  4. Now, configure ORA so uploading a file in the response is required (optional).

  5. Then, as a student, answer the ORA problem.

  6. As an instructor, go to the Instructor Panel > ORA responses > View and grade responses.

  7. Select the student's response > View in Turnitin:

    image

@mariajgrimaldi mariajgrimaldi changed the title temp: add turnitin displayer to submission preview temp: add similarity report displayer to submission preview Feb 8, 2024
* }
*/
const fetchTurnitinViewers = (submissionUUID, courseId) => get(
stringifyUrl(`${urls.fetchTurnitinViewersUrl()}/${courseId}/api/v1/viewer-url/${submissionUUID}/`)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to change the API so it accepts query params instead if we wanna follow the same patterns.

@mariajgrimaldi
Copy link
Member Author

@johnvente: thanks for the suggestions! This is how it's looking now:
image

@mariajgrimaldi mariajgrimaldi force-pushed the MJG/ora-grading-turnitin branch 2 times, most recently from ba79f16 to da8683a Compare February 8, 2024 18:22
@BryanttV BryanttV force-pushed the MJG/ora-grading-turnitin branch 4 times, most recently from bcb619a to 22328a3 Compare May 2, 2024 18:26
@mariajgrimaldi mariajgrimaldi changed the title temp: add similarity report displayer to submission preview feat: add similarity report displayer to submission preview May 6, 2024
@mariajgrimaldi mariajgrimaldi marked this pull request as ready for review May 6, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants