Skip to content

Answer Handling #65

Open
Open

Description

@pstaabp

Currently, any problem with a solution shows the base64 version of the solution. It seems like we have two options here

  1. do a base64 to text call to reinterpret (and probably a call to mathJax render function)
  2. send back the answer not encoded.

I think we had discussed this at some point that there's really no reason to encode it. Originally it was to hide solutions from students, but the better way to do this is to have a solution field returned from the server only when the user has permissions to view them.

Activity

  1. drdrew42 commented on Nov 13, 2021

    @drdrew42
    SponsorMember

    As with the results table, I think perhaps we might consider 'splitting out' the hints and solutions from the form body.

    RenderedHTML:

    • answerTemplate (this is the results table)
    • problemText (this is the form body)
    • problemHint
    • problemSolution
    • submitButtons (which I think we don't need, long-term)
  2. pstaabp commented on Nov 13, 2021

    @pstaabp
    SponsorMemberAuthor

    Also, since we have a separate output format for webwork3, it seems like we can make this change to the renderer easily without affecting ww2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions