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

[WIP] feat: add ORA filter for student_view rendering intervention #107

Closed
wants to merge 1 commit into from

Conversation

mariajgrimaldi
Copy link
Member

@mariajgrimaldi mariajgrimaldi commented Jul 27, 2023

Description

This PR adds a filter meant to be used before rendering the student_view for the ORA Xblock. Here's a list of use cases we have in mind for this kind of filter:

  • By accessing the block data from the template context -- data like the assessment response or files uploaded, we could check the assessment for plagiarism, correctness, etc with a 3rd party service
  • We could also change prompts dynamically depending on a student's attribute
  • By altering the context and the ORA template, we can change ORAs base design if we want to
    The idea is to have access to the block status in a moment in time so we can externally access it.

The specific use case we're implementing with this filter is:

As a professor or student, I want to check my essay with an external service like Turnitin for plagiarism.

This is how I imagine the use case implementation:
image

How to test

This is a proof of concept, so testing it can be wacky. Here's a list of steps you can follow so you can test the ongoing implementation:

  1. Install the needed libraries:
pip install git+https://github.com/openedx/openedx-filters.git@MJG/ora-student-view-filter
pip install git+https://github.com/eduNEXT/edx-ora2.git@MJG/ora-student-view-filter
pip install git+https://github.com/eduNEXT/platform-plugin-turnitin.git@MJG/turnitin-pipeline-step
  1. Add the following configuration:
    OPEN_EDX_FILTERS_CONFIG = {
      "org.openedx.learning.ora.student_view.render.started.v1": {
          "fail_silently": False,
          "pipeline": [
              "platform_plugin_turnitin.extensions.filters.CheckTurnitinForPlagiarism",
          ]
      },
    }
  1. Restart services
  2. Configure an ORA block for text submissions
  3. Submit your assessment

References

Turnitin: https://www.turnitin.com/

@mariajgrimaldi mariajgrimaldi changed the title feat: add ORA filter for student_view rendering intervention [WIP] feat: add ORA filter for student_view rendering intervention Jul 28, 2023
@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Aug 3, 2023
@openedx-webhooks
Copy link

openedx-webhooks commented Aug 3, 2023

Thanks for the pull request, @mariajgrimaldi! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

This is currently a draft pull request. When it is ready for our review and all tests are green, click "Ready for Review", or remove "WIP" from the title, as appropriate.

@mphilbrick211
Copy link

Hi @mariajgrimaldi! Are you still planning to pursue this, or can we close it?

@mariajgrimaldi
Copy link
Member Author

@mphilbrick211: thanks for the reminder! I'll close this for the time being

@mariajgrimaldi mariajgrimaldi deleted the MJG/ora-student-view-filter branch April 12, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants