For Webwork questions, a webwork-representations.xml is generated by pretext (python script) containing, in particular, the static representation of each question.
The STACK API returns various information that we can use to populate the static version.
questionrender: populates the <statement>
questionsamplesolutiontext: populates the <solution> (if non-empty)
questioninputs contains a list of inputs with various attributes:
- "samplesolution/samplesolutionrender": populates the
<answer> fields
- "configuration": input type, box width, etc affecting how the input field is rendered in the
<statement>
- "questionassets": Images etc to be stored locally (referenced in the statement and solution)
For Webwork questions, a
webwork-representations.xmlis generated by pretext (python script) containing, in particular, the static representation of each question.The STACK API returns various information that we can use to populate the static version.
questionrender: populates the<statement>questionsamplesolutiontext: populates the<solution>(if non-empty)questioninputscontains a list of inputs with various attributes:<answer>fields<statement>