Executable executable = context.getActiveExecutable();
// loop through all trials
for (int i = 0; i < trials.size(); i++) {
Trial trial = trials.get(i);
totalScore += Points.getPointsProperty().getValue(trial, trial.getParentId(), 0);
maxScore += Points.getMaxPointsProperty().getValue(trial, trial.getParentId(), 0);
if (trials.isEmpty()) return currentLevel;
String trialOutcome = Misc.getOutcomeProperty().getValue(trial, executable);