Program: 51012
Project: 51012
Buggy source:
public static void main(String[] args){
  String dataDir="String_Node_Str";
  dataset=new RDFFileDataSet(dataDir,RDFFormat.NTRIPLES);
  long seed=11;
  long tic, toc;
  double[] fractions={0.1,0.15,0.2,0.25,0.3};
  double[] fractionsSlow={0.1,0.15,0.2};
  ResultsTable resTable=new ResultsTable();
  resTable.newRow("String_Node_Str");
  for (  double frac : fractions) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    RDFFeatureVectorKernel k=new RDFWLSubTreeKernel(6,3,false,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.computeFeatureVectors(dataset,instances,blackList);
    toc=System.currentTimeMillis();
    double[] comp={toc - tic};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
  resTable.newRow("String_Node_Str");
  for (  double frac : fractions) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    RDFGraphKernel k=new RDFWLSubTreeKernel(6,3,false,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.compute(dataset,instances,blackList);
    toc=System.currentTimeMillis();
    double[] comp={toc - tic};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
  resTable.newRow("String_Node_Str");
  for (  double frac : fractions) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    RDFFeatureVectorKernel k=new RDFWLSubTreeKernelString(6,3,false,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.computeFeatureVectors(dataset,instances,blackList);
    toc=System.currentTimeMillis();
    double[] comp={toc - tic};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
  resTable.newRow("String_Node_Str");
  for (  double frac : fractions) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    RDFGraphKernel k=new RDFWLSubTreeKernelString(6,3,false,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.compute(dataset,instances,blackList);
    toc=System.currentTimeMillis();
    double[] comp={toc - tic};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
  resTable.newRow("String_Node_Str");
  for (  double frac : fractions) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    RDFGraphKernel k=new RDFIntersectionSubTreeKernel(1,3,false,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.compute(dataset,instances,blackList);
    toc=System.currentTimeMillis();
    double[] comp={toc - tic};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
  resTable.newRow("String_Node_Str");
  for (  double frac : fractionsSlow) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    tic=System.currentTimeMillis();
    PropertyPredictionDataSet ds=DataSetFactory.createPropertyPredictionDataSet(new GeneralPredictionDataSetParameters(dataset,blackLists,instances,3,false,true));
    toc=System.currentTimeMillis();
    double dsComp=toc - tic;
    FeatureVectorKernel k=new WLSubTreeKernel(6,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.computeFeatureVectors(ds.getGraphs());
    toc=System.currentTimeMillis();
    double[] comp={(toc - tic) + dsComp};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
  resTable.newRow("String_Node_Str");
  for (  double frac : fractionsSlow) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    tic=System.currentTimeMillis();
    PropertyPredictionDataSet ds=DataSetFactory.createPropertyPredictionDataSet(new GeneralPredictionDataSetParameters(dataset,blackLists,instances,3,false,true));
    toc=System.currentTimeMillis();
    double dsComp=toc - tic;
    GraphKernel k=new WLSubTreeKernel(6,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.compute(ds.getGraphs());
    toc=System.currentTimeMillis();
    double[] comp={(toc - tic) + dsComp};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
}

Fixed version (ground truth):
public static void main(String[] args){
  String dataDir="String_Node_Str";
  dataset=new RDFFileDataSet(dataDir,RDFFormat.NTRIPLES);
  long seed=11;
  long tic, toc;
  double[] fractions={0.01,0.05,0.1,0.15,0.2};
  double[] fractionsSlow={0.01,0.05,0.1,0.15,0.2};
  ResultsTable resTable=new ResultsTable();
  resTable.newRow("String_Node_Str");
  for (  double frac : fractions) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    RDFFeatureVectorKernel k=new RDFWLSubTreeKernel(6,3,false,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.computeFeatureVectors(dataset,instances,blackList);
    toc=System.currentTimeMillis();
    double[] comp={toc - tic};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
  resTable.newRow("String_Node_Str");
  for (  double frac : fractions) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    RDFGraphKernel k=new RDFWLSubTreeKernel(6,3,false,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.compute(dataset,instances,blackList);
    toc=System.currentTimeMillis();
    double[] comp={toc - tic};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
  resTable.newRow("String_Node_Str");
  for (  double frac : fractions) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    RDFFeatureVectorKernel k=new RDFWLSubTreeKernelString(6,3,false,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.computeFeatureVectors(dataset,instances,blackList);
    toc=System.currentTimeMillis();
    double[] comp={toc - tic};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
  resTable.newRow("String_Node_Str");
  for (  double frac : fractions) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    RDFGraphKernel k=new RDFWLSubTreeKernelString(6,3,false,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.compute(dataset,instances,blackList);
    toc=System.currentTimeMillis();
    double[] comp={toc - tic};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
  resTable.newRow("String_Node_Str");
  for (  double frac : fractions) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    RDFGraphKernel k=new RDFIntersectionSubTreeKernel(3,1,false,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.compute(dataset,instances,blackList);
    toc=System.currentTimeMillis();
    double[] comp={toc - tic};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
  resTable.newRow("String_Node_Str");
  for (  double frac : fractionsSlow) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    tic=System.currentTimeMillis();
    PropertyPredictionDataSet ds=DataSetFactory.createPropertyPredictionDataSet(new GeneralPredictionDataSetParameters(dataset,blackLists,instances,3,false,true));
    toc=System.currentTimeMillis();
    double dsComp=toc - tic;
    FeatureVectorKernel k=new WLSubTreeKernel(6,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.computeFeatureVectors(ds.getGraphs());
    toc=System.currentTimeMillis();
    double[] comp={(toc - tic) + dsComp};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
  resTable.newRow("String_Node_Str");
  for (  double frac : fractionsSlow) {
    createGeoDataSet((int)(1000 * frac),frac,seed,"String_Node_Str");
    tic=System.currentTimeMillis();
    PropertyPredictionDataSet ds=DataSetFactory.createPropertyPredictionDataSet(new GeneralPredictionDataSetParameters(dataset,blackLists,instances,3,false,true));
    toc=System.currentTimeMillis();
    double dsComp=toc - tic;
    GraphKernel k=new WLSubTreeKernel(6,true);
    System.out.println("String_Node_Str" + frac);
    tic=System.currentTimeMillis();
    k.compute(ds.getGraphs());
    toc=System.currentTimeMillis();
    double[] comp={(toc - tic) + dsComp};
    Result res=new Result(comp,"String_Node_Str");
    resTable.addResult(res);
  }
  System.out.println(resTable);
}