Program: 38042
Project: 38042
Buggy source:
/** 
 * Creates a new instance of Dynamic Job Loader
 * @param name Name of this grid sim object.
 * @param baudRate ....
 * @param total_jobs IGNORED
 * @param data_set Name of base configuration file.
 * @param maxPE ...
 * @param minPErating ...
 * @param maxPErating ...
 */
public DynamicLoader(String name,double baudRate,int total_jobs,String data_set,int maxPE,int minPErating,int maxPErating) throws Exception {
  super(name,baudRate);
  System.out.println(name + "String_Node_Str" + data_set+ "String_Node_Str");
  Input r=new Input();
  BufferedReader br=r.openFile(new File(get_dataset_filename(data_set)));
  String line;
  int user_id=0;
  while ((line=br.readLine()) != null) {
    String values[]=line.split("String_Node_Str");
    String agent_name=values[0];
    if (values[1].equalsIgnoreCase("String_Node_Str")) {
      agents.add(new AgentStatic(agent_name,this.getEntityName(),baudRate,data_set,maxPE,minPErating,maxPErating));
      agent_names.add(agent_name);
      agents_total++;
    }
 else     if (values[1].equalsIgnoreCase("String_Node_Str") && !ExperimentSetup.complain) {
      agents.add(new AgentDynamic(agent_name,this.getEntityName(),baudRate,data_set,maxPE,minPErating,maxPErating));
      agent_names.add(agent_name);
      agents_total++;
    }
 else     if (values[1].equalsIgnoreCase("String_Node_Str") && ExperimentSetup.complain) {
      user_id++;
      agents.add(new AgentDynamicWithComplexSatisfactionModel(agent_name,this.getEntityName(),baudRate,data_set,maxPE,minPErating,maxPErating,user_id));
      agent_names.add(agent_name);
      agents_total++;
    }
  }
  this.total_jobs=total_jobs;
  this.maxPE=maxPE;
  this.minPErating=minPErating;
  this.maxPErating=maxPErating;
  this.data_set=data_set;
  this.norm=new Sim_normal_obj("String_Node_Str",0.0,5.0,(121 + ExperimentSetup.rnd_seed));
}

Fixed version (ground truth):
/** 
 * Creates a new instance of Dynamic Job Loader
 * @param name Name of this grid sim object.
 * @param baudRate ....
 * @param total_jobs IGNORED
 * @param data_set Name of base configuration file.
 * @param maxPE ...
 * @param minPErating ...
 * @param maxPErating ...
 */
public DynamicLoader(String name,double baudRate,int total_jobs,String data_set,int maxPE,int minPErating,int maxPErating) throws Exception {
  super(name,baudRate);
  System.out.println(name + "String_Node_Str" + data_set+ "String_Node_Str");
  Input r=new Input();
  BufferedReader br=r.openFile(new File(get_dataset_filename(data_set)));
  String line;
  int user_id=0;
  while ((line=br.readLine()) != null) {
    String values[]=line.split("String_Node_Str");
    String agent_name=values[0];
    if (values[1].equalsIgnoreCase("String_Node_Str")) {
      agents.add(new AgentStatic(agent_name,this.getEntityName(),baudRate,data_set,maxPE,minPErating,maxPErating));
      agent_names.add(agent_name);
      agents_total++;
    }
 else     if (values[1].equalsIgnoreCase("String_Node_Str") && !ExperimentSetup.complain) {
      agents.add(new AgentDynamic(agent_name,this.getEntityName(),baudRate,data_set,maxPE,minPErating,maxPErating));
      agent_names.add(agent_name);
      agents_total++;
    }
 else     if (values[1].equalsIgnoreCase("String_Node_Str") && ExperimentSetup.complain) {
      user_id++;
      agents.add(new AgentDynamicWithSatisfactionModel(agent_name,this.getEntityName(),baudRate,data_set,maxPE,minPErating,maxPErating,user_id));
      agent_names.add(agent_name);
      agents_total++;
    }
  }
  this.total_jobs=total_jobs;
  this.maxPE=maxPE;
  this.minPErating=minPErating;
  this.maxPErating=maxPErating;
  this.data_set=data_set;
  this.norm=new Sim_normal_obj("String_Node_Str",0.0,5.0,(121 + ExperimentSetup.rnd_seed));
}