-
Bug
-
Resolution: Done
-
Major
-
None
-
None
The scoreCorruptionAnalysis report returns the size of the excessSet when it should be returning the size of the lackingSet:
if (!lackingSet.isEmpty()) { analysis.append(" The workingMemory has ").append(excessSet.size()) // this should be lackingSet.size() .append(" ConstraintOccurrence(s) lacking:\n"); int count = 0; for (Object o : lackingSet) { if (count >= CONSTRAINT_OCCURRENCE_DISPLAY_LIMIT) { analysis.append(" ... ").append(lackingSet.size() - CONSTRAINT_OCCURRENCE_DISPLAY_LIMIT) .append(" more\n"); break; } analysis.append(" ").append(o.toString()).append("\n"); count++; } }
Patch forthcoming.