Name: QuizEditor
Owner: Sage Bionetworks
Description: Utility web app for editing Synapse Quiz JSON
Created: 2016-07-05 19:26:57.0
Updated: 2016-07-05 19:28:40.0
Pushed: 2016-07-06 16:26:07.0
Homepage:
null
Size: 41
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
Other Committers
User | Email | Most Recent Commit | # Commits |
README
Used to create/edit a Synapse Quiz (using the effective Quiz schema)
Based on https://github.com/jdorn/json-editor
Steps:
- Clone this repo.
- Start a web server
python -m SimpleHTTPServer 8000
- Go to the main page.
http://localhost:8000
- Follow instructions (to load/edit/generate quiz)
- Send a developer the output json.
For the Certification Quiz, the developer can deploy the quiz json (after backing it up) by updating the contents of certifiedUsersTestDefault_vX.json
file in the AWS S3 bucket.
Screenshot:
(Developers only) How to update the underlying Quiz schema json file
- Go to the auto-generated Quiz.java file for the latest repo version.
- Copy the Quiz.EFFECTIVE_SCHEMA. (remove the escape backslashes that are necessary in java, and pretty print)
- Copy the MultichoiceQuestion.EFFECTIVE_SCHEMA. (again, remove the escape backslashes that are necessary in java, and pretty print)
- In the Quiz json, replace the Question interface definition with the concrete MultichoiceQuestion json.
The schema can now be used by this tool to create a MultichoiceQuestion quiz from scratch, or edit an existing Quiz (including the current Certified User Quiz).