Program: 39715
Project: 39715
Buggy source:
private static Transformation[] instantiateSamplingTransformation(double scaledown,int dimension,boolean revisiting,Long randomSeed){
  Transformation sampling=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.SNOWBALLSAMPLING,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling2=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.RANDOMSTROLL,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling3=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.RANDOMJUMP,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling4=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.RANDOMWALK,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling5=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.RANDOMSTROLL_DEGREECORRECTION,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling6=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.UNIFORMSAMPLING,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling7=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.BFS,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling8=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.RESPONDENTDRIVENSAMPLING,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling9=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.FORESTFIRE,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling10=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.DFS,scaledown,revisiting,dimension,randomSeed);
  Transformation subgraphing=new ColorSampledSubgraph();
  Transformation[] t1=new Transformation[]{sampling10,subgraphing};
  return t1;
}

Fixed version (ground truth):
private static Transformation[] instantiateSamplingTransformation(double scaledown,int dimension,boolean revisiting,Long randomSeed){
  Transformation sampling=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.SNOWBALLSAMPLING,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling2=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.RANDOMSTROLL,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling3=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.RANDOMJUMP,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling4=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.RANDOMWALK,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling5=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.RANDOMSTROLL_DEGREECORRECTION,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling6=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.UNIFORMSAMPLING,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling7=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.BFS,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling8=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.RESPONDENTDRIVENSAMPLING,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling9=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.FORESTFIRE,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling10=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.DFS,scaledown,revisiting,dimension,randomSeed);
  Transformation sampling11=SamplingAlgorithmFactory.getInstanceOf(SamplingAlgorithm.RANDOMWALK_METROPOLIZED,scaledown,revisiting,dimension,randomSeed);
  Transformation subgraphing=new ColorSampledSubgraph();
  Transformation[] t1=new Transformation[]{sampling11,subgraphing};
  return t1;
}