Program: 17616
Project: 17616
Buggy source:
public void paint(Graphics g){
  g.setColor(Color.LIGHT_GRAY);
  g.fillRect(0,0,getWidth() - 1,getHeight() - 1);
  g.setColor(Color.black);
  g.drawRect(0,0,getWidth() - 1,getHeight() - 1);
  g.setFont(WorkbenchFonts.getTitle2Font());
  FontMetrics fm=g.getFontMetrics();
  int y=fm.getHeight();
  g.drawString("String_Node_Str",20,y);
  g.drawString("String_Node_Str",580,y);
  y+=fm.getHeight();
  g.drawString("String_Node_Str",20,y);
  g.drawString("String_Node_Str",580,y);
  y+=fm.getHeight();
  g.drawString("String_Node_Str",20,y);
  g.drawString("String_Node_Str",580,y);
  y+=fm.getHeight();
  g.drawString("String_Node_Str",20,y);
  g.drawString("String_Node_Str",580,y);
  y+=fm.getHeight();
  g.drawString("String_Node_Str",20,y);
  g.drawString("String_Node_Str",300,y);
  y+=fm.getHeight();
  g.drawString("String_Node_Str",20,y);
  int populationSize=0;
  int speciesSize=0;
  int innovationsSize=0;
  double bestScore=0;
  if (population.getGenomes() != null)   populationSize=population.getGenomes().size();
  if (population.getSpecies() != null)   speciesSize=population.getSpecies().size();
  if (population.getInnovations() != null)   innovationsSize=population.getInnovations().getInnovations().size();
  String type="String_Node_Str";
  if (population.getGenomes().size() > 0) {
    Genome genome=population.getGenomes().get(0);
    if (genome instanceof NEATGenome) {
      type="String_Node_Str";
    }
 else     if (genome instanceof MLMethodGenome) {
      type="String_Node_Str";
    }
  }
  y=fm.getHeight();
  g.setFont(WorkbenchFonts.getTextFont());
  g.drawString(Format.formatInteger(population.getPopulationSize()),200,y);
  String af;
  if (population.isHyperNEAT()) {
    af="String_Node_Str";
  }
 else {
    af=population.getActivationFunctions().getList().get(0).getObj().getClass().getSimpleName();
  }
  g.drawString(af,730,y);
  y+=fm.getHeight();
  g.drawString(Format.formatInteger(populationSize),200,y);
  g.drawString(Format.formatInteger(population.getInputCount()),730,y);
  y+=fm.getHeight();
  g.drawString(Format.formatInteger(speciesSize),200,y);
  g.drawString(Format.formatInteger(population.getOutputCount()),730,y);
  y+=fm.getHeight();
  g.drawString(Format.formatInteger(innovationsSize),200,y);
  g.drawString(Format.formatInteger(population.getActivationCycles()),730,y);
  y+=fm.getHeight();
  g.drawString(type,200,y);
  g.drawString(Format.formatPercent(population.getSurvivalRate()),450,y);
  y+=fm.getHeight();
  g.drawString(Format.formatDouble(bestScore,2),200,y);
}

Fixed version (ground truth):
public void paint(Graphics g){
  g.setColor(Color.LIGHT_GRAY);
  g.fillRect(0,0,getWidth() - 1,getHeight() - 1);
  g.setColor(Color.black);
  g.drawRect(0,0,getWidth() - 1,getHeight() - 1);
  g.setFont(WorkbenchFonts.getTitle2Font());
  FontMetrics fm=g.getFontMetrics();
  int y=fm.getHeight();
  g.drawString("String_Node_Str",20,y);
  g.drawString("String_Node_Str",580,y);
  y+=fm.getHeight();
  g.drawString("String_Node_Str",20,y);
  g.drawString("String_Node_Str",580,y);
  y+=fm.getHeight();
  g.drawString("String_Node_Str",20,y);
  g.drawString("String_Node_Str",580,y);
  y+=fm.getHeight();
  g.drawString("String_Node_Str",20,y);
  g.drawString("String_Node_Str",580,y);
  y+=fm.getHeight();
  g.drawString("String_Node_Str",20,y);
  g.drawString("String_Node_Str",300,y);
  y+=fm.getHeight();
  g.drawString("String_Node_Str",20,y);
  int populationSize=0;
  int speciesSize=0;
  int innovationsSize=0;
  double bestScore=0;
  populationSize=population.flatten().size();
  if (population.getSpecies() != null)   speciesSize=population.getSpecies().size();
  if (population.getInnovations() != null)   innovationsSize=population.getInnovations().getInnovations().size();
  String type="String_Node_Str";
  y=fm.getHeight();
  g.setFont(WorkbenchFonts.getTextFont());
  g.drawString(Format.formatInteger(population.getPopulationSize()),200,y);
  String af;
  if (population.isHyperNEAT()) {
    af="String_Node_Str";
  }
 else {
    af=population.getActivationFunctions().getList().get(0).getObj().getClass().getSimpleName();
  }
  g.drawString(af,730,y);
  y+=fm.getHeight();
  g.drawString(Format.formatInteger(populationSize),200,y);
  g.drawString(Format.formatInteger(population.getInputCount()),730,y);
  y+=fm.getHeight();
  g.drawString(Format.formatInteger(speciesSize),200,y);
  g.drawString(Format.formatInteger(population.getOutputCount()),730,y);
  y+=fm.getHeight();
  g.drawString(Format.formatInteger(innovationsSize),200,y);
  g.drawString(Format.formatInteger(population.getActivationCycles()),730,y);
  y+=fm.getHeight();
  g.drawString(type,200,y);
  g.drawString(Format.formatPercent(population.getSurvivalRate()),450,y);
  y+=fm.getHeight();
  g.drawString(Format.formatDouble(bestScore,2),200,y);
}