Program: 24880
Project: 24880
Buggy source:
public final void finish(DiffLogger diffLogger,File outputDir) throws IOException {
  final ProvenancedConfusionMatrix<Response> confusionMatrix=confusionMatrixBuilder.build();
  final StringBuilder sb=new StringBuilder();
  sb.append("String_Node_Str");
  sb.append("String_Node_Str");
  for (  final Symbol leftKey : confusionMatrix.leftLabels()) {
    for (    final Symbol rightKey : confusionMatrix.rightLabels()) {
      if (leftKey != rightKey) {
        for (        final Response response : confusionMatrix.cell(leftKey,rightKey)) {
          diffLogger.logDifference(response,leftKey,rightKey,sb);
        }
      }
    }
  }
  sb.append("String_Node_Str");
  Files.asCharSink(new File(outputDir,"String_Node_Str"),Charsets.UTF_8).write(sb.toString());
  final SummaryConfusionMatrix summaryConfusionMatrix=confusionMatrix.buildSummaryMatrix();
  final StringBuilder msg=new StringBuilder();
  msg.append(SummaryConfusionMatrices.prettyPrint(summaryConfusionMatrix)).append("String_Node_Str");
  final Map<String,FMeasureCounts> fMeasureCountsMap=Maps.newHashMap();
  for (  final Symbol key : summaryConfusionMatrix.leftLabels()) {
    fMeasureCountsMap.put(key.toString(),SummaryConfusionMatrices.FMeasureVsAllOthers(summaryConfusionMatrix,key));
  }
  final FMeasureTableRenderer tableRenderer=FMeasureTableRenderer.create().setNameFieldLength(4 + MapUtils.longestKeyLength(fMeasureCountsMap));
  msg.append(tableRenderer.render(fMeasureCountsMap));
  msg.append(String.format("String_Node_Str",100.0 * SummaryConfusionMatrices.accuracy(summaryConfusionMatrix)));
  Files.asCharSink(new File(outputDir,"String_Node_Str"),Charsets.UTF_8).write(msg.toString());
}

Fixed version (ground truth):
@Override public final void finish(DiffLogger diffLogger,File outputDir) throws IOException {
  final ProvenancedConfusionMatrix<Response> confusionMatrix=confusionMatrixBuilder.build();
  final StringBuilder sb=new StringBuilder();
  sb.append("String_Node_Str");
  sb.append("String_Node_Str");
  for (  final Symbol leftKey : confusionMatrix.leftLabels()) {
    for (    final Symbol rightKey : confusionMatrix.rightLabels()) {
      if (leftKey != rightKey) {
        for (        final Response response : confusionMatrix.cell(leftKey,rightKey)) {
          diffLogger.logDifference(response,leftKey,rightKey,sb);
        }
      }
    }
  }
  sb.append("String_Node_Str");
  Files.asCharSink(new File(outputDir,"String_Node_Str"),Charsets.UTF_8).write(sb.toString());
  final SummaryConfusionMatrix summaryConfusionMatrix=confusionMatrix.buildSummaryMatrix();
  final StringBuilder msg=new StringBuilder();
  msg.append(SummaryConfusionMatrices.prettyPrint(summaryConfusionMatrix)).append("String_Node_Str");
  final Map<String,FMeasureCounts> fMeasureCountsMap=Maps.newHashMap();
  for (  final Symbol key : summaryConfusionMatrix.leftLabels()) {
    fMeasureCountsMap.put(key.toString(),SummaryConfusionMatrices.FMeasureVsAllOthers(summaryConfusionMatrix,key));
  }
  final FMeasureTableRenderer tableRenderer=FMeasureTableRenderer.create().setNameFieldLength(4 + MapUtils.longestKeyLength(fMeasureCountsMap));
  msg.append(tableRenderer.render(fMeasureCountsMap));
  msg.append(String.format("String_Node_Str",100.0 * SummaryConfusionMatrices.accuracy(summaryConfusionMatrix)));
  Files.asCharSink(new File(outputDir,"String_Node_Str"),Charsets.UTF_8).write(msg.toString());
}