Moodle Expertiza Integration

From Expertiza_Wiki
Revision as of 22:59, 1 May 2017 by Onjoshi (talk | contribs)
Jump to navigation Jump to search

Introduction

One reason why Expertiza has not been widely adopted is because of its inability to integrate with other Learning Management Systems (e.g., Moodle, Canvas and Blackboard). Also, when Expertiza is used along with other LMSs, the instructor is forced to carry out the same tasks on Expertiza as well as on the other LMSs. For example, when instructor assigns a grade to a student in Expertiza for an assignment, the same grade has to be entered in Moodle as well. Thus, there is lot of duplicate work which has to carried out by the TAs and instructors because of the lack of synchronization between these two LMSs. This integration problem in Expertiza can be addressed making use of a new technology called as Learning Tools Interoperability(LTI)

LTI and Moodle

Learning Tools Interoperability (LTI) is a widely used standard for allowing educational applications to communicate with each other over the web. Moodle supports LTI. (Learning Tool Interoperability) Hence Moodle can communicate with any external tool that is LTI compliant. The idea is to make Expertiza LTI compliant by making Expertiza the LTI provider and Moodle as an LTI consumer. The goal of this project is to integrate Expertiza with Moodle, and add an LTI interface which will enable two way communication between Expertiza and Moodle.

Communication between LTI and Moodle.
Communication between LTI and Moodle


Features

LTI will allow us to perform these following tasks:

  1. Students and Instructors will automatically be "signed in" when they open Expertiza(assignment) from Moodle. Students need need not "sign in" into two LMSs(Moodle and Expertiza).Thus, LTI will enable single-sign-on.
  2. Student's account will be automatically created if he visits an Expertiza Assignment from Moodle. Hence, students need not create a separate Expertiza account themselves before taking up any Expertiza assignment.
  3. Student need not be added as a participant by the instructor in Expertiza before he can start any Expertiza Assignment. Since student will visit the Expertiza assignment from a legitimate authorized source like Moodle, he/she will be automatically added as a participant for that assignment in Expertiza.
  4. When instructor assigns grades to a student for a particular assignment in Expertiza, the grade will automatically show up in the Moodle grade book. Instructor need not export grades from Expertiza to a csv file and then import the same in Moodle. It will be a one-click process.
  5. Provide a basic generic interface for synchronization with any other LMS like Blackboard or Canvas.

Usage

Moodle Administrator:

Moodle will have to first establish a contract with Expertiza and authorize Expertiza as a content provider to enable two-way communication. For this purpose, the moodle administrator will have to add Expertiza as an external tool by performing these steps:

  1. Sign into moodle using Moodle administrator credentials.
  2. Go to Site Administration > Plugins > External Tools > Manage External Tool. You will see a page where you will have an option to Add a Tool using a URL.
  3. Enter the Expertiza URL for registration and click on "Add Tool". This expertiza URL will be provided by the Expertiza administrators. It is a standard URL which can be used by all the LMSs for authorizing Expertiza as an LTI provider.
  4. You will taken to Expertiza Registration page on the Expertiza website where you will be provided a button to "Add Provider".
  5. When you click on "Add Provider", you may see a small popup on Moodle with permissions asking whether you want to activate "Expertiza".
  6. After clicking on "Yes" in the popup, when you see a green message on top saying "Successfully created new tool!", it denotes that the tool Expertiza has been added successfully.
  7. You will see that "Expertiza Assignment" is added as a Tool in Moodle. Click on "Activate" to activate "Expertiza Assignment" so that instructors can create their own assignments.
  8. When you see the status of "Expertiza Assignment" Tool as active, it means that "Expertiza" has been added and enabled successfully.
Internal Registration Message Exchange between Expertiza and Moodle.
Internal messages exchanged during the registration procedure

Instructor/TAs:

Before instructors and TAs can work with Expertiza in Moodle, the above step of administrator enabling Expertiza(as an external tool) has to be carried out as a pre-requisite. Later, the instructors and TAs can configure Expertiza assignments in their course website. The steps for the same are as follows:

  1. Sign into Expertiza using instructor/TA credentials.
  2. Go to Manage > Assignments using the top header.
  3. Edit the assignment you want to configure.
  4. Copy the assignment number of the assignment from the url on the address bar of the browser. For eg. if Url is http://[Expertiza Url]/assignments/781/edit where [Expertiza Url] = localhost:3000 or www.expertiza.com, the assignment number is 781.
  5. Sign into Moodle using your instructor/TA credentials.
  6. Turn Editing Mode on and Click on Add New Activity.
  7. In the URL section, enter http://[Expertiza Url]/lti_assignment_users/ where [Expertiza Url] = localhost:3000 or www.expertiza.com.
  8. Under custom parameters, enter assignment_id = [assignment id] where [assignment id] is the earlier copied assignment id from Expertiza. For eg. enter the following for custom parameters, "assignment_id = 781"

The above step is very important.

  1. Fill in all the other details like the name of assignment etc. as required.
  2. Click on "Save and Return to Course"

After performing the above steps, the students and other users registered for this course will be able to see a new LTI configured Expertiza Assignment.

Instructors and TAs can also automatically pass back grade from Expertiza to Moodle. Note that this is only applicable for those LTI configured assignments which have been completed by the student after visiting the assignment via Moodle. The steps needed to carry out by the instructor for the grade pass-back feature are as follows:

  1. Sign into Expertiza using instructor/TA credentials.
  2. Go to Manage > Assignments using the top header.
  3. Click on "View Scores" from the actions column. i.e. click on the "View Scores" icon on the right hand side.
  4. Click on "Alternate View" besides any team for whom you want to assign the grades.
  5. You will see a page where you can assign grade and write comments for the team which you selected.
  6. Enter any grade up to 100, comment(optional) and click on "Save".

After clicking on Save, the grade should automatically be transferred to Moodle using a single click. The grades will be visible for only those students who had visited this LTI configured assignment from Moodle at least once.


Students:

Students will be able to seamlessly use other LMSs like Moodle with Expertiza. Student just needs an account in a single primary LMS like Moodle(LTI Consumer) and he will be automatically be able to access Expertiza resources without even creating an explicit Expertiza account or signing into Expertiza. Student has to sign in to Moodle using his Moodle credentials. Then, he/she needs to click on any Expertiza assignment. This will automatically take the user to Expertiza and he/she can complete his assignment in Expertiza. Students can return to the assignment multiple times and need not complete the assignment in a single iteration. After the student completes the assignment, instructor can assign grades to the student whenever the instructor wishes to using the steps mentioned above. When the instructor assign grades in Expertiza, the grades will automatically be synchronized with the Moodle grade book.


Design and Implementation

Our task is to add an LTI interface to Expertiza. Expertiza will then act as an LTI content provider whereas Moodle will be the content consumer. For this purpose, we will use the "lti2" gem which provides the basic functionalities of LTI.

Moodle will have to first establish a contract with Expertiza and authorize Expertiza as a content provider to enable two-way communication. For this purpose, the moodle administrator will have to add Expertiza by visiting

References