Skip to content

Instantly share code, notes, and snippets.

@rosem
Last active October 9, 2015 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rosem/bb525b2cc2e34bd9d097 to your computer and use it in GitHub Desktop.
Save rosem/bb525b2cc2e34bd9d097 to your computer and use it in GitHub Desktop.
Example parameter file that is parsed and passed to the engine. It works very well for practice logic. Allows the user to skip to the end of the test (finished) if their score is 3 or greater for any of sections. Additional sections with higher thresholds could be added to skip to that section.
<?xml version="1.0"?>
<Parameter>
<Criterias>
<!-- Section 1, Title -->
<!-- Section 2, Instruction -->
<Criteria Section="3" Threshold="1"/> <!-- First practice attempt -->
<Criteria Section="4" Threshold="1"/> <!-- Second practice attempt -->
<Criteria Section="5" Threshold="1"/> <!-- Third practice attempt -->
</Criterias>
<Thresholds>
<Threshold ID="1" Value="3" /> <!-- Three out of the four section items correct -->
</Thresholds>
</Parameter>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment