Developer needed for creating a Moodle bulk quiz creation and upload tool

Posted 4 days ago

job Length
None

Project Length

job experience
none

none

We are SpeechAce and we have developed a speech recognition question type plugin for Moodle (www.speechace.com/moodle). We are looking for a competent Moodle developer who can help us improve our bulk quiz creation tool for our plugin's question type. The requirements are as follows:

1. Accept a CSV format that specifies parameters for each question in the quiz. The parameters relate to our question type and a content.csv sample has been provided as an attachment.

2. Use SpeechAce API validate function to ensure that all text strings in the text column specified for each question. If validation fails at any point then terminate the tool and print an error suggesting that a specific text string could not be validated. Take a look at helper.txt provided as an attachment to see how to invoke validation function.

3. Use SpeechAce API to generate audio for all text in the text column IF nothing has been specified under the audio column for a quiz question. Take a look at helper.txt provided as an attachment to see how audio needs to be generated. If an audio file has been specified in the audio file column and the file could not be found in content folder then stop the tool and ask user to specify the audio file.

4. Include image files provided by user under image column and display them on top of plugin output. Review speechaceqtyperender.jpg provided as an attachment. If an image file has been specified in the image file column and the file could not be found in content folder then stop the tool and ask user to specify the image file.

5. Ensure audio and image files are included appropriately with other SpeechAce question type parameters as available in speechaceqtype.txt

6. Generate .mbz file that can be uploaded via Restore backup function to all of Moodle versions starting from 2.7 to 3.8

7. Tool directory structure can be as follows:
speechace_bulk_upload_tool
|-Content
|-imagefiles/
|-audiofiles/
|-content.csv
|-scripts
|-config.php
|-helper.php
|-bulktool.php {This will be developed by you}
|-run.bat - file that can be used from windows cmd shell to trigger the creation of the .mbz file

Once run.bat is triggered, bulktool.php will read the content under the content folder and then use the helper.php file to create the .mbz file.

Our tool does this currently but is not very robust. We will require you to take our current tool and improve it by incorporating Moodle's backup restore logic to create and upload the .mbz file.

To be successful in this job, you must understand Moodle's backup/restore logic for question type plugins very well. All code will be open sourced and checked in to our github repo.