Program: 108012
Project: 108012
Buggy source:
/** 
 * @return
 */
@Parameters(name="String_Node_Str") public static Collection<Object[]> cases(){
  return Arrays.asList(new Object[][]{{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(2d,1E-5d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",0.5458823600135303,new int[]{0,2,0,1,1,1,1,1,0},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.5d,1E-6d,DataGeneralizationScheme.create(GeneralizationDegree.HIGH),true)),"String_Node_Str",0.5678822604487141,new int[]{1,3,1,2,2,2,2,2,1},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.0d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(LN2,1E-7d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",0.24946764318372394,new int[]{0,2,0,1,1,1,1,1,0},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.0d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(LN3,1E-8d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM),true)),"String_Node_Str",0.31533166356032827,new int[]{1,2,1,1,2,1,1,1,1},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(2d,1E-5d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM_HIGH),true)),"String_Node_Str",0.48108529511189313,new int[]{1,2,1,1,2,1,1,1,1},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.5d,1E-6d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",0.45968085397145253,new int[]{0,2,0,1,1,1,1,1,0},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.04d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(LN2,1E-7d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM_HIGH),true)),"String_Node_Str",0.3927633276919862,new int[]{3,2,1,1,1,2,2,2},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.04d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.0d,1E-8d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM),true)),"String_Node_Str",0.5214350040632107,new int[]{3,2,1,1,1,2,2,2},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(2d,1E-5d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",0.8600566149273767,new int[]{2,2,0,1,0,2,2,2},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.0d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.5d,1E-6d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM_HIGH),true)),"String_Node_Str",0.583207075673521,new int[]{3,2,1,1,1,2,2,2},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.04d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(2d,1E-7d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",0.8600566149273767,new int[]{2,2,0,1,0,2,2,2},true)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(LN3,1E-8d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM),true)),"String_Node_Str",0.5449600312561718,new int[]{3,2,1,1,1,2,2,2},true)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.04d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(2d,1E-5d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",0.48692660053630354,new int[]{2,1,1,1,0,1,1,1},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(LN2,1E-6d,DataGeneralizationScheme.create(GeneralizationDegree.HIGH),true)),"String_Node_Str",0.29200173854856404,new int[]{4,2,2,2,1,2,2,2},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.0d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.0d,1E-7d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",0.3265073816878079,new int[]{2,1,1,1,0,1,1,1},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.0d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.5d,1E-8d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM),true)),"String_Node_Str",0.31414347743722537,new int[]{3,1,2,2,1,1,2,1},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(LN3,1E-5d,DataGeneralizationScheme.create(GeneralizationDegree.HIGH),true)),"String_Node_Str",0.42130683838030025,new int[]{4,2,2,2,1,2,2,2},true)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.04d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.0d,1E-6d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM_HIGH),true)),"String_Node_Str",0.22028022469834752,new int[]{3,1,2,2,1,1,2,1},false)}});
}

Fixed version (ground truth):
/** 
 * Create tests
 * @return
 */
@Parameters(name="String_Node_Str") public static Collection<Object[]> cases(){
  return Arrays.asList(new Object[][]{{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(2d,1E-5d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",0.6820705793543056,new int[]{0,2,0,1,1,1,1,1,0},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.5d,1E-6d,DataGeneralizationScheme.create(GeneralizationDegree.HIGH),true)),"String_Node_Str",0.8112222411559193,new int[]{1,3,1,2,2,2,2,2,1},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.0d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(LN2,1E-7d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",0.7437618217405468,new int[]{0,2,0,1,1,1,1,1,0},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.0d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(LN3,1E-8d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM),true)),"String_Node_Str",0.6092780386290699,new int[]{1,2,1,1,2,1,1,1,1},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(2d,1E-5d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM_HIGH),true)),"String_Node_Str",0.5968589299712612,new int[]{1,2,1,1,2,1,1,1,1},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.5d,1E-6d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",0.6856395441402736,new int[]{0,2,0,1,1,1,1,1,0},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.04d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(LN2,1E-7d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM_HIGH),true)),"String_Node_Str",0.8261910998091719,new int[]{3,2,1,1,1,2,2,2},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.04d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.0d,1E-8d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM),true)),"String_Node_Str",0.8499906952842589,new int[]{3,2,1,1,1,2,2,2},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(2d,1E-5d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",1.0000000000000004,new int[]{2,2,0,1,0,2,2,2},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.0d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.5d,1E-6d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM_HIGH),true)),"String_Node_Str",0.7606582708058056,new int[]{3,2,1,1,1,2,2,2},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.04d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(2d,1E-7d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",1.0000000000000004,new int[]{2,2,0,1,0,2,2,2},true)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(LN3,1E-8d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM),true)),"String_Node_Str",0.839519540778112,new int[]{3,2,1,1,1,2,2,2},true)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.04d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(2d,1E-5d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",0.5814200080206713,new int[]{2,1,1,1,0,1,1,1},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(LN2,1E-6d,DataGeneralizationScheme.create(GeneralizationDegree.HIGH),true)),"String_Node_Str",0.6800577425519756,new int[]{4,2,2,2,1,2,2,2},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.0d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.0d,1E-7d,DataGeneralizationScheme.create(GeneralizationDegree.LOW_MEDIUM),true)),"String_Node_Str",0.5864014933190864,new int[]{2,1,1,1,0,1,1,1},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.0d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.5d,1E-8d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM),true)),"String_Node_Str",0.43090885593016726,new int[]{3,1,2,2,1,1,2,1},false)},{new ARXAnonymizationTestCase(ARXConfiguration.create(1d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(LN3,1E-5d,DataGeneralizationScheme.create(GeneralizationDegree.HIGH),true)),"String_Node_Str",0.6796862034370221,new int[]{4,2,2,2,1,2,2,2},true)},{new ARXAnonymizationTestCase(ARXConfiguration.create(0.04d,Metric.createLossMetric()).addCriterion(new EDDifferentialPrivacy(1.0d,1E-6d,DataGeneralizationScheme.create(GeneralizationDegree.MEDIUM_HIGH),true)),"String_Node_Str",0.40463191801066123,new int[]{3,1,2,2,1,1,2,1},false)}});
}