Program: 51036
Project: 51036
Buggy source:
public static void main(String[] args){
  RDFDataSet testSetA=new RDFFileDataSet(DATA_DIR + "String_Node_Str",RDFFormat.RDFXML);
  RDFDataSet testSetB=new RDFFileDataSet(DATA_DIR + "String_Node_Str",RDFFormat.N3);
  List<PropertyPredictionDataSetParameters> dataSetsParams=new ArrayList<PropertyPredictionDataSetParameters>();
  long[] seeds={11,21,31,41,51,61,71,81,91,101};
  double[] cs={0.01,0.1,1,10,100};
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetA,"String_Node_Str","String_Node_Str",1,false,false));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetA,"String_Node_Str","String_Node_Str",2,false,false));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetA,"String_Node_Str","String_Node_Str",1,false,true));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetA,"String_Node_Str","String_Node_Str",2,false,true));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetA,"String_Node_Str","String_Node_Str",1,true,false));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetA,"String_Node_Str","String_Node_Str",2,true,false));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetA,"String_Node_Str","String_Node_Str",1,true,true));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetA,"String_Node_Str","String_Node_Str",2,true,true));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetB,"String_Node_Str","String_Node_Str",1,false,false));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetB,"String_Node_Str","String_Node_Str",2,false,false));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetB,"String_Node_Str","String_Node_Str",1,false,true));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetB,"String_Node_Str","String_Node_Str",2,false,true));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetB,"String_Node_Str","String_Node_Str",1,true,false));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetB,"String_Node_Str","String_Node_Str",2,true,false));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetB,"String_Node_Str","String_Node_Str",1,true,true));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetB,"String_Node_Str","String_Node_Str",2,true,true));
  PropertyPredictionDataSet dataset;
  PropertyPredictionExperiment exp;
  ResultsTable resultsWL=new ResultsTable();
  ResultsTable resultsSTF=new ResultsTable();
  ResultsTable resultsSTP=new ResultsTable();
  ResultsTable resultsIGW=new ResultsTable();
  ResultsTable resultsIGP=new ResultsTable();
  Experimenter experimenter=new Experimenter(NUMBER_OF_PROC);
  Thread expT=new Thread(experimenter);
  expT.setDaemon(true);
  expT.start();
  try {
    for (    PropertyPredictionDataSetParameters params : dataSetsParams) {
      dataset=DataSetFactory.createPropertyPredictionDataSet(params);
      dataset.removeSmallClasses(5);
      dataset.removeVertexAndEdgeLabels();
      resultsWL.newRow(dataset.getLabel() + "String_Node_Str");
      for (int i=0; i < 3; i++) {
        if (experimenter.hasSpace()) {
          int fileId=(int)(Math.random() * 100000000);
          File file=new File(DATA_DIR + fileId + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ i+ "String_Node_Str");
          WLSubTreeKernel kernel=new WLSubTreeKernel(i,true,false);
          exp=new PropertyPredictionExperiment(new PropertyPredictionDataSet(dataset),kernel,seeds,cs,new FileOutputStream(file));
          experimenter.addExperiment(exp);
          resultsWL.addResult(exp.getResults().getAccuracy());
          resultsWL.addResult(exp.getResults().getF1());
        }
      }
      resultsSTF.newRow(dataset.getLabel() + "String_Node_Str");
      for (int i=0; i < 3; i++) {
        if (experimenter.hasSpace()) {
          int fileId=(int)(Math.random() * 100000000);
          File file=new File(DATA_DIR + fileId + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ i+ "String_Node_Str");
          exp=new PropertyPredictionExperiment(new PropertyPredictionDataSet(dataset),new IntersectionSubTreeKernel(i,1),seeds,cs,new FileOutputStream(file));
          experimenter.addExperiment(exp);
          resultsSTF.addResult(exp.getResults().getAccuracy());
          resultsSTF.addResult(exp.getResults().getF1());
        }
      }
      resultsSTP.newRow(dataset.getLabel() + "String_Node_Str");
      for (int i=0; i < 3; i++) {
        if (experimenter.hasSpace()) {
          int fileId=(int)(Math.random() * 100000000);
          File file=new File(DATA_DIR + fileId + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ i+ "String_Node_Str");
          exp=new PropertyPredictionExperiment(new PropertyPredictionDataSet(dataset),new IntersectionPartialSubTreeKernel(i,0.01),seeds,cs,new FileOutputStream(file));
          experimenter.addExperiment(exp);
          resultsSTP.addResult(exp.getResults().getAccuracy());
          resultsSTP.addResult(exp.getResults().getF1());
        }
      }
      resultsIGP.newRow(dataset.getLabel() + "String_Node_Str");
      for (int i=1; i < 3; i++) {
        if (experimenter.hasSpace()) {
          int fileId=(int)(Math.random() * 100000000);
          File file=new File(DATA_DIR + fileId + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ i+ "String_Node_Str");
          exp=new PropertyPredictionExperiment(new PropertyPredictionDataSet(dataset),new IntersectionGraphPathKernel(i,1),seeds,cs,new FileOutputStream(file));
          experimenter.addExperiment(exp);
          resultsIGP.addResult(exp.getResults().getAccuracy());
          resultsIGP.addResult(exp.getResults().getF1());
        }
      }
      resultsIGW.newRow(dataset.getLabel() + "String_Node_Str");
      for (int i=1; i < 3; i++) {
        if (experimenter.hasSpace()) {
          int fileId=(int)(Math.random() * 100000000);
          File file=new File(DATA_DIR + fileId + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ i+ "String_Node_Str");
          exp=new PropertyPredictionExperiment(new PropertyPredictionDataSet(dataset),new IntersectionGraphWalkKernel(i,1),seeds,cs,new FileOutputStream(file));
          experimenter.addExperiment(exp);
          resultsIGW.addResult(exp.getResults().getAccuracy());
          resultsIGW.addResult(exp.getResults().getF1());
        }
      }
    }
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
  experimenter.stop();
  while (expT.isAlive()) {
    try {
      Thread.sleep(1000);
    }
 catch (    Exception e) {
      e.printStackTrace();
    }
  }
  try {
    int fileId=(int)(Math.random() * 100000000);
    File file=new File(DATA_DIR + fileId + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
    PrintWriter fileOut=new PrintWriter(new FileOutputStream(file));
    fileOut.println(resultsWL);
    fileOut.println(resultsSTF);
    fileOut.println(resultsSTP);
    fileOut.println(resultsIGW);
    fileOut.println(resultsIGP);
    fileOut.println(resultsWL.allScoresToString());
    fileOut.println(resultsSTF.allScoresToString());
    fileOut.println(resultsSTP.allScoresToString());
    fileOut.println(resultsIGW.allScoresToString());
    fileOut.println(resultsIGP.allScoresToString());
    fileOut.close();
    System.out.println(resultsWL);
    System.out.println(resultsSTF);
    System.out.println(resultsSTP);
    System.out.println(resultsIGW);
    System.out.println(resultsIGP);
    System.out.println(resultsWL.allScoresToString());
    System.out.println(resultsSTF.allScoresToString());
    System.out.println(resultsSTP.allScoresToString());
    System.out.println(resultsIGW.allScoresToString());
    System.out.println(resultsIGP.allScoresToString());
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
public static void main(String[] args){
  RDFDataSet testSetA=new RDFFileDataSet(DATA_DIR + "String_Node_Str",RDFFormat.RDFXML);
  RDFDataSet testSetB=new RDFFileDataSet(DATA_DIR + "String_Node_Str",RDFFormat.N3);
  List<PropertyPredictionDataSetParameters> dataSetsParams=new ArrayList<PropertyPredictionDataSetParameters>();
  long[] seeds={11,21,31,41,51,61,71,81,91,101};
  double[] cs={0.01,0.1,1,10,100};
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetA,"String_Node_Str","String_Node_Str",1,false,false));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetA,"String_Node_Str","String_Node_Str",2,false,false));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetA,"String_Node_Str","String_Node_Str",1,false,true));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetA,"String_Node_Str","String_Node_Str",2,false,true));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetB,"String_Node_Str","String_Node_Str",1,true,false));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetB,"String_Node_Str","String_Node_Str",2,true,false));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetB,"String_Node_Str","String_Node_Str",1,true,true));
  dataSetsParams.add(new PropertyPredictionDataSetParameters(testSetB,"String_Node_Str","String_Node_Str",2,true,true));
  PropertyPredictionDataSet dataset;
  PropertyPredictionExperiment exp;
  ResultsTable resultsWL=new ResultsTable();
  ResultsTable resultsSTF=new ResultsTable();
  ResultsTable resultsSTP=new ResultsTable();
  ResultsTable resultsIGW=new ResultsTable();
  ResultsTable resultsIGP=new ResultsTable();
  Experimenter experimenter=new Experimenter(NUMBER_OF_PROC);
  Thread expT=new Thread(experimenter);
  expT.setDaemon(true);
  expT.start();
  try {
    for (    PropertyPredictionDataSetParameters params : dataSetsParams) {
      dataset=DataSetFactory.createPropertyPredictionDataSet(params);
      dataset.removeSmallClasses(5);
      resultsIGP.newRow(dataset.getLabel() + "String_Node_Str");
      for (int i=1; i < 3; i++) {
        if (experimenter.hasSpace()) {
          int fileId=(int)(Math.random() * 100000000);
          File file=new File(DATA_DIR + fileId + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ i+ "String_Node_Str");
          exp=new PropertyPredictionExperiment(new PropertyPredictionDataSet(dataset),new IntersectionGraphPathKernel(i,1),seeds,cs,new FileOutputStream(file));
          experimenter.addExperiment(exp);
          resultsIGP.addResult(exp.getResults().getAccuracy());
          resultsIGP.addResult(exp.getResults().getF1());
        }
      }
      resultsIGW.newRow(dataset.getLabel() + "String_Node_Str");
      for (int i=1; i < 3; i++) {
        if (experimenter.hasSpace()) {
          int fileId=(int)(Math.random() * 100000000);
          File file=new File(DATA_DIR + fileId + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ i+ "String_Node_Str");
          exp=new PropertyPredictionExperiment(new PropertyPredictionDataSet(dataset),new IntersectionGraphWalkKernel(i,1),seeds,cs,new FileOutputStream(file));
          experimenter.addExperiment(exp);
          resultsIGW.addResult(exp.getResults().getAccuracy());
          resultsIGW.addResult(exp.getResults().getF1());
        }
      }
    }
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
  experimenter.stop();
  while (expT.isAlive()) {
    try {
      Thread.sleep(1000);
    }
 catch (    Exception e) {
      e.printStackTrace();
    }
  }
  try {
    int fileId=(int)(Math.random() * 100000000);
    File file=new File(DATA_DIR + fileId + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
    PrintWriter fileOut=new PrintWriter(new FileOutputStream(file));
    fileOut.println(resultsWL);
    fileOut.println(resultsSTF);
    fileOut.println(resultsSTP);
    fileOut.println(resultsIGW);
    fileOut.println(resultsIGP);
    fileOut.println(resultsWL.allScoresToString());
    fileOut.println(resultsSTF.allScoresToString());
    fileOut.println(resultsSTP.allScoresToString());
    fileOut.println(resultsIGW.allScoresToString());
    fileOut.println(resultsIGP.allScoresToString());
    fileOut.close();
    System.out.println(resultsWL);
    System.out.println(resultsSTF);
    System.out.println(resultsSTP);
    System.out.println(resultsIGW);
    System.out.println(resultsIGP);
    System.out.println(resultsWL.allScoresToString());
    System.out.println(resultsSTF.allScoresToString());
    System.out.println(resultsSTP.allScoresToString());
    System.out.println(resultsIGW.allScoresToString());
    System.out.println(resultsIGP.allScoresToString());
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}