Perseus
    Preparing search index...
    • score a Perseus item

      TODO: this should be named differently - it's scoring UserInput, not a PerseusItem; also it doesn't take a PerseusItem

      Parameters

      • perseusRenderData: PerseusRenderer

        the full answer data, includes the correct answer

      • userInputMap: UserInputMap

        the user's input for each widget, mapped by ID

      • locale: string

        string locale for math parsing ("de" 1.000,00 vs "en" 1,000.00)

      Returns PerseusScore