Skip to content

Commit

Permalink
Added 8th question to assignment 12 and fixed word limits
Browse files Browse the repository at this point in the history
  • Loading branch information
fiebrink1 committed Apr 7, 2016
1 parent 824515f commit 0beb246
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/wekimini/kadenze/Assignment12Grade.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public Assignment12Grade() {
private final NotedCriterion my_q5 = new NotedCriterion("q5");
private final NotedCriterion my_q6 = new NotedCriterion("q6");
private final NotedCriterion my_q7 = new NotedCriterion("q7");
private final NotedCriterion my_q8 = new NotedCriterion("q8");

private static final Logger logger = Logger.getLogger(Assignment12Grade.class.getName());

Expand Down Expand Up @@ -84,12 +85,16 @@ public void scoreQuestions(double[] qs) {
my_q7.setScore(qs[6]);
o = setQuestionOutcomeFromScore(qs[6]);
my_q7.setNoteWithErrValue(o, "assignment12");

my_q8.setScore(qs[7]);
o = setQuestionOutcomeFromScore(qs[7]);
my_q8.setNoteWithErrValue(o, "assignment12");
}

public void setCompletelyInvalidSubmission(Outcome o) {
validSubmission(o, 0.0);
scoreExperimented(o, 0.);
double[] qs = {0., 0., 0., 0., 0., 0., 0.};
double[] qs = {0., 0., 0., 0., 0., 0., 0., 0.};
scoreQuestions(qs);
}

Expand All @@ -104,6 +109,7 @@ public Grade getGrade() {
g.addNotedCriterion(my_q5);
g.addNotedCriterion(my_q6);
g.addNotedCriterion(my_q7);
g.addNotedCriterion(my_q8);
return g;
}
}

0 comments on commit 0beb246

Please sign in to comment.