Class AnswerEvaluation
java.lang.Object
me.nickhanson.codeforge.evaluator.AnswerEvaluation
Represents the evaluation result of a submitted answer.
Contains the outcome, feedback, and normalized forms of expected and submitted answers.
- Author:
- Nick Hanson
-
Constructor Summary
ConstructorsConstructorDescriptionAnswerEvaluation(Outcome outcome, String feedback, String normalizedExpected, String normalizedSubmitted) Constructs an AnswerEvaluation with the specified details. -
Method Summary
Modifier and TypeMethodDescriptionGets the outcome of the evaluation.
-
Constructor Details
-
AnswerEvaluation
public AnswerEvaluation(Outcome outcome, String feedback, String normalizedExpected, String normalizedSubmitted) Constructs an AnswerEvaluation with the specified details.- Parameters:
outcome- The outcome of the evaluation.feedback- Feedback regarding the evaluation.normalizedExpected- The normalized expected answer.normalizedSubmitted- The normalized submitted answer.
-
-
Method Details
-
getOutcome
Gets the outcome of the evaluation.- Returns:
- The outcome.
-
getFeedback
-
getNormalizedExpected
-
getNormalizedSubmitted
-