Skip to content

Conversation

@mariajgrimaldi
Copy link

@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/edx-ora2@6.7.0/edues
    pip install git+https://github.com/edunext/platform-plugin-turnitin@v0.2.4
    
  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
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
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
@BryanttV BryanttV force-pushed the MJG/ora-grading-turnitin branch from 22328a3 to 64dbd89 Compare May 2, 2024 18:30
@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