ConfigurationProperties.setProperty("forceExecuteRegression", Boolean.TRUE.toString());
boolean validInstance = validateInstance(originalVariant);
if (validInstance) {
throw new IllegalStateException("The application under repair has not failling test cases");
}
<BUG>double fitness = originalVariant.getFitness();
log.debug("The original fitness is : "+fitness);</BUG>
for (ProgramVariant initvariant : variants) {
initvariant.setFitness(fitness);
}

ConfigurationProperties.setProperty("forceExecuteRegression", Boolean.TRUE.toString());
boolean validInstance = validateInstance(originalVariant);
if (validInstance) {
throw new IllegalStateException("The application under repair has not failling test cases");
}
double fitness = this.fitnessFunction.calculateFitnessValue(originalVariant);
originalVariant.setFitness(fitness);
log.debug("The original fitness is : "+fitness);
for (ProgramVariant initvariant : variants) {
initvariant.setFitness(fitness);
}
