pc_evaluator

From WeBWorK_wiki
Jump to navigation Jump to search


pc_evaluator

Description

Wrapper for multiple answer evaluators, allowing more than one answer evaluator to evaluate the student's answer.

Syntax

pc_evaluator([ans_ev1, 1,"fantastic"},[ans_ev2, .5, "ok, but not great"], [ans_ev3, .1, "you need help"])

Params

list with entries of the form: [answer_evaluator, partial credit factor, comment]

Action

Applies evaluators from the list until it hits one with positive credit, weights it by the partial credit factor, and throws in its comment

Returns

answer evaluator

Macro Definition File

[PGasu.pl]