Program: 59766
Project: 59766
Buggy source:
/** 
 * Retained Evaluator client. Parameters are injected automatically by TANG.
 * @param command Shell command to run on each Evaluator.
 * @param reef    Reference to the REEF framework.
 */
@Inject JobClient(final REEF reef,@Parameter(Launch.Command.class) final String command,@Parameter(Launch.NumRuns.class) final Integer numRuns) throws BindException {
  this.reef=reef;
  this.command=command;
  this.maxRuns=numRuns;
  this.isInteractive=this.command == Launch.Command.class.getAnnotation(NamedParameter.class).default_value();
  this.prompt=this.isInteractive ? new BufferedReader(new InputStreamReader(System.in)) : null;
  this.driverConfiguration=EnvironmentUtils.addClasspath(DriverConfiguration.CONF,DriverConfiguration.GLOBAL_LIBRARIES).set(DriverConfiguration.DRIVER_IDENTIFIER,"String_Node_Str" + System.currentTimeMillis()).set(DriverConfiguration.ON_EVALUATOR_ALLOCATED,JobDriver.AllocatedEvaluatorHandler.class).set(DriverConfiguration.ON_EVALUATOR_FAILED,JobDriver.FailedEvaluatorHandler.class).set(DriverConfiguration.ON_CONTEXT_ACTIVE,JobDriver.ActiveContextHandler.class).set(DriverConfiguration.ON_CONTEXT_CLOSED,JobDriver.ClosedContextHandler.class).set(DriverConfiguration.ON_CONTEXT_FAILED,JobDriver.FailedContextHandler.class).set(DriverConfiguration.ON_ACTIVITY_COMPLETED,JobDriver.CompletedActivityHandler.class).set(DriverConfiguration.ON_CLIENT_MESSAGE,JobDriver.ClientMessageHandler.class).set(DriverConfiguration.ON_DRIVER_STARTED,JobDriver.StartHandler.class).set(DriverConfiguration.ON_DRIVER_STOP,JobDriver.StopHandler.class).build();
}

Fixed version (ground truth):
/** 
 * Retained Evaluator client. Parameters are injected automatically by TANG.
 * @param command Shell command to run on each Evaluator.
 * @param reef    Reference to the REEF framework.
 */
@Inject JobClient(final REEF reef,@Parameter(Launch.Command.class) final String command,@Parameter(Launch.NumRuns.class) final Integer numRuns,@Parameter(Launch.NumEval.class) final Integer numEvaluators) throws BindException {
  this.reef=reef;
  this.command=command;
  this.maxRuns=numRuns;
  this.isInteractive=this.command == Launch.Command.class.getAnnotation(NamedParameter.class).default_value();
  this.prompt=this.isInteractive ? new BufferedReader(new InputStreamReader(System.in)) : null;
  final JavaConfigurationBuilder configBuilder=Tang.Factory.getTang().newConfigurationBuilder();
  configBuilder.addConfiguration(EnvironmentUtils.addClasspath(DriverConfiguration.CONF,DriverConfiguration.GLOBAL_LIBRARIES).set(DriverConfiguration.DRIVER_IDENTIFIER,"String_Node_Str" + System.currentTimeMillis()).set(DriverConfiguration.ON_EVALUATOR_ALLOCATED,JobDriver.AllocatedEvaluatorHandler.class).set(DriverConfiguration.ON_EVALUATOR_FAILED,JobDriver.FailedEvaluatorHandler.class).set(DriverConfiguration.ON_CONTEXT_ACTIVE,JobDriver.ActiveContextHandler.class).set(DriverConfiguration.ON_CONTEXT_CLOSED,JobDriver.ClosedContextHandler.class).set(DriverConfiguration.ON_CONTEXT_FAILED,JobDriver.FailedContextHandler.class).set(DriverConfiguration.ON_ACTIVITY_COMPLETED,JobDriver.CompletedActivityHandler.class).set(DriverConfiguration.ON_CLIENT_MESSAGE,JobDriver.ClientMessageHandler.class).set(DriverConfiguration.ON_DRIVER_STARTED,JobDriver.StartHandler.class).set(DriverConfiguration.ON_DRIVER_STOP,JobDriver.StopHandler.class).build());
  configBuilder.bindNamedParameter(Launch.NumEval.class,"String_Node_Str" + numEvaluators);
  this.driverConfiguration=configBuilder.build();
}