CaseScoreResult subCs = entry.getValue();
appendModelScore(tuple, subCs, false);
}
}
} else {
<BUG>if ( CollectionUtils.isNotEmpty(cs.getScores()) ) {
appendSimpleScore(tuple, cs);</BUG>
}
<BUG>if ( MapUtils.isNotEmpty(subModelScores) ) {
Iterator<Map.Entry<String, CaseScoreResult>> iterator = subModelScores.entrySet().iterator();
while ( iterator.hasNext() ) {
Map.Entry<String, CaseScoreResult> entry = iterator.next();</BUG>
CaseScoreResult subCs = entry.getValue();

CaseScoreResult subCs = entry.getValue();
appendModelScore(tuple, subCs, false);
}
}
} else {
if(CollectionUtils.isNotEmpty(cs.getScores())) {
appendSimpleScore(tuple, cs);
}
if(MapUtils.isNotEmpty(subModelScores)) {
Iterator<Map.Entry<String, CaseScoreResult>> iterator = subModelScores.entrySet().iterator();
while(iterator.hasNext()) {
Map.Entry<String, CaseScoreResult> entry = iterator.next();
CaseScoreResult subCs = entry.getValue();
