represents the results of an assessment.


represents a collection of many assessments.


  • An AssessmentResultObject is created by applying an AssessmentFunction. Typically, it is not created directly.
  • AssessmentResultObject[][prop] gives the value of the property prop. Available properties include:
  • "Score"score awarded by the assessment
    "AnswerCorrect"correctness of the answer provided to the assessment
    "GivenAnswer"assessed answer
    "Explanation"text explaining the assessment
    "TargetAnswer"standard answer matched by the given answer
    "AnswerComparisonMethod"method used for comparing answers to the key
    "QuestionID"unique identifier of the QuestionObject that produced the assessment
    "MaxScore"maximum possible score
    "MinScore"minimum possible score
    "AssessmentOptions"options used during the assessment (i.e. Tolerance)
  • The result of AssessmentResultObject[{aro1,}][prop] is a list of values corresponding to prop for each assessment.
  • For a Part specification part, AssessmentResultObject[{aro1,}][part] gives an AssessmentResultObject containing only the assessments corresponding to part.
  • The result of AssessmentResultObject[{aro1,}][part,prop] gives the prop values only for assessments specified using the Part specification part.
  • Assessments based on sorting values into categories will typically also contain a "Category" property.
  • The value of "AnswerCorrect" is always either True or False.
  • Assessments that accept multiple elements and award partial credit also contain an "ElementInformation" property that contains assessment information for each element.
  • AssessmentResultObject[][All] gives an Association with all available properties.
  • AssessmentResultObject[]["Properties"] lists the available properties for the assessment.
  • AssessmentResultObject[][{prop1,prop2,}] gives values for multiple properties as an Association.


open allclose all

Basic Examples  (1)

Create an AssessmentResultObject as the output of AssessmentFunction:

Scope  (3)

Assess an answer to a multiple-choice question:

See the score:

See the correctness:

Retrieve the original answer:

See the raw assessment information:

Assess an answer to a partial-credit question:

See the assessment of each element:

By default, the score is the Total of the element scores and the correctness is a logical And of the element correctness:

Create an AssessmentFunction with explanations for each possible answer:

The assessment information includes the appropriate explanation:

Wolfram Research (2020), AssessmentResultObject, Wolfram Language function, (updated 2021).


Wolfram Research (2020), AssessmentResultObject, Wolfram Language function, (updated 2021).


Wolfram Language. 2020. "AssessmentResultObject." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021.


Wolfram Language. (2020). AssessmentResultObject. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_assessmentresultobject, author="Wolfram Research", title="{AssessmentResultObject}", year="2021", howpublished="\url{}", note=[Accessed: 21-July-2024 ]}


@online{reference.wolfram_2024_assessmentresultobject, organization={Wolfram Research}, title={AssessmentResultObject}, year={2021}, url={}, note=[Accessed: 21-July-2024 ]}