Details and Options
The nodes can take the following forms:
{node1,…} | list of AssessmentFunction objects, comparator functions and/or other ResourceFunction["AssessmentTree"] expressions |
<|"lbl1"→node1,…|> | Association with keys being node labels and values being AssessmentFunction, comparator function
or other ResourceFunction["AssessmentTree"] expressions |
node | a single AssessmentFunction, comparator function or another ResourceFunction["AssessmentTree"] |
path should take the form of an
Association <|"origin"→<|True→"destination1",False→"destination2"|>,…|>. Assessment of the answer occurs at each node along the path. The correctness of an answer at
"origin" determines whether the next
node will be
"destination1" or
"destination2".
"origin",
"destination1" and
"destination2" must match the
nodelabels in
nodes.
If the nodes are provided as a list, default nodelabels of "Node1", "Node2"… will be applied. These labels should be used for path in this case.
ResourceFunction["AssessmentTree"][
assess] is a quick way to create an automatic
ResourceFunction["AssessmentTree"] for the case where
assess is an
AssessmentFunction with a mathematical comparison method. It appends an end node to
path which returns an explanation if the answer is mathematically equivalent to the correct answer, but has not been provided in the required form.
If any identifier is not present in the path, that node will be treated as a terminating node.
The following option values can be provided for the ResourceFunction["AssessmentTree"]:
"ScoreCombiner" | Total | function to combine node "Score" values |
"AnswerCorrectCombiner" | Apply[Or] | function to combine node "AnswerCorrect" values |
ResourceFunction["AssessmentTree"] enables follow-through marking in multi-part assessments. This means that if a student makes an error in an earlier part of a question, they can still earn marks for subsequent parts where they correctly use the incorrect answer from the earlier part, as long as their approach remains correct.