Program: 24950
Project: 24950
Buggy source:
@Test public void test3(){
  final CorefAnnotation coref=allSingletonsCoref(ImmutableSet.of(a,b,c,d,e,f,g,h,i));
  final AnswerKey answerKey=makeAnswerKeyFromCorrectAndIncorrect(ImmutableSet.of(a,b,c,d,e,f),ImmutableSet.<Response>of(g),coref);
  final ResponseLinking goldResponseLinking=ResponseLinking.from(answerKey.docId(),ImmutableSet.of(ResponseSet.from(a,b,c),ResponseSet.from(d,e),ResponseSet.from(f)),ImmutableSet.<Response>of());
  final EALScorer2015Style.Result score_ABD_G=scorer.score(answerKey,goldResponseLinking,this.output_ABDG,this.linking_ABD_G);
  assertEquals(2.75,score_ABD_G.unscaledArgumentScore(),.001);
  assertEquals(1.0,score_ABD_G.unscaledLinkingScore(),.001);
  assertEquals(0.3125,score_ABD_G.scaledScore(),.001);
  final EALScorer2015Style.Result score_AB_C_G=scorer.score(answerKey,goldResponseLinking,this.output_ABCG,this.linking_AB_C_G);
  assertEquals(2.75,score_AB_C_G.unscaledArgumentScore(),.001);
  assertEquals(4.0 / 3,score_AB_C_G.unscaledLinkingScore(),.001);
  assertEquals(0.3403,score_AB_C_G.scaledScore(),.001);
  final ResponseLinking l17=this.linking_G_H_I;
  final EALScorer2015Style.Result score_G_H_I=scorer.score(answerKey,goldResponseLinking,this.output_GHI,this.linking_G_H_I);
  assertEquals(-0.75,score_G_H_I.unscaledArgumentScore(),.001);
  assertEquals(0,score_G_H_I.unscaledLinkingScore(),.001);
  assertEquals(0,score_G_H_I.scaledScore(),.001);
  final ResponseLinking l18=this.linking_DE_DEA;
  final EALScorer2015Style.Result score_DE_DEA=scorer.score(answerKey,goldResponseLinking,this.output_DEA,this.linking_DE_DEA);
  assertEquals(3.0,score_DE_DEA.unscaledArgumentScore(),.001);
  assertEquals(4.0 / 3,score_DE_DEA.unscaledLinkingScore(),.001);
  assertEquals(13.0 / 36,score_DE_DEA.scaledScore(),.001);
}

Fixed version (ground truth):
@Test public void test3(){
  final CorefAnnotation coref=allSingletonsCoref(ImmutableSet.of(a,b,c,d,e,f,g,h,i));
  final AnswerKey answerKey=makeAnswerKeyFromCorrectAndIncorrect(ImmutableSet.of(a,b,c,d,e,f),ImmutableSet.<Response>of(g,h,i),coref);
  final ResponseLinking goldResponseLinking=ResponseLinking.from(answerKey.docId(),ImmutableSet.of(ResponseSet.from(a,b,c),ResponseSet.from(d,e),ResponseSet.from(f)),ImmutableSet.<Response>of());
  final EALScorer2015Style.Result score_ABD_G=scorer.score(answerKey,goldResponseLinking,this.output_ABDG,this.linking_ABD_G);
  assertEquals(2.75,score_ABD_G.unscaledArgumentScore(),.001);
  assertEquals(1.0,score_ABD_G.unscaledLinkingScore(),.001);
  assertEquals(0.3125,score_ABD_G.scaledScore(),.001);
  final EALScorer2015Style.Result score_AB_C_G=scorer.score(answerKey,goldResponseLinking,this.output_ABCG,this.linking_AB_C_G);
  assertEquals(2.75,score_AB_C_G.unscaledArgumentScore(),.001);
  assertEquals(4.0 / 3,score_AB_C_G.unscaledLinkingScore(),.001);
  assertEquals(0.3403,score_AB_C_G.scaledScore(),.001);
  final EALScorer2015Style.Result score_G_H_I=scorer.score(answerKey,goldResponseLinking,this.output_GHI,this.linking_G_H_I);
  assertEquals(-0.75,score_G_H_I.unscaledArgumentScore(),.001);
  assertEquals(0,score_G_H_I.unscaledLinkingScore(),.001);
  assertEquals(-.0625,score_G_H_I.scaledScore(),.001);
  final EALScorer2015Style.Result score_DE_DEA=scorer.score(answerKey,goldResponseLinking,this.output_DEA,this.linking_DE_DEA);
  assertEquals(3.0,score_DE_DEA.unscaledArgumentScore(),.001);
  assertEquals(4.0 / 3,score_DE_DEA.unscaledLinkingScore(),.001);
  assertEquals(13.0 / 36,score_DE_DEA.scaledScore(),.001);
}