Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

The Synapse Certified User test is represented in a JSON format so that the prompts, responses, and answer key are easily extracted.  Since this format would be prohibitively awkward for the author to edit, we allow the quiz to be written as a simple text file and use an ad hoc parser to generate the required JSON.  The procedure for doing this is as follows:

 

1) Clone the git repository: https://github.com/Sage-Bionetworks/QuizTextToJSONConverter

2) Copy the file from https://docs.google.com/a/sagebase.org/document/d/15R-KyuLgER1pu79WWLjSRYV1HXuD0y1E3iQMDCztfIU/edit into a file "quiz.txt".

3) Run the sole Java class in the cloned repo' (QuizTextToJSONConverter), ensuring that "quiz.txt" is on the classpath.  This creates a file "repository-managers.certifiedUsersTestDefault.json".

4) Upload into the bucket proddata.sagebase.org under the production AWS account.

Tthe newly uploaded quiz will be immediately available in Synapse.

  • No labels