Skip to content

Static version: Output format #5

Description

@geoo89

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions