Program: 131504
Project: 131504
Buggy source:
public void init(Iterable<SimpleAnnoSentence> cr){
  initialized=true;
  knownLinks.add("String_Node_Str");
  knownLinks.add("String_Node_Str");
  knownUnks.add("String_Node_Str");
  knownRoles.add(UNKNOWN_ROLE);
  knownRoles.add("String_Node_Str");
  for (  SimpleAnnoSentence sent : cr) {
    if (sent.size() > maxSentLength) {
      maxSentLength=sent.size();
    }
    for (    SrlEdge edge : sent.getSrlGraph().getEdges()) {
      String role=edge.getLabel();
      knownRoles.add(role);
      int position=edge.getPred().getPosition();
      String lemma=sent.getLemma(position);
      Set<String> senses=predSenseSetMap.get(lemma);
      if (senses == null) {
        senses=new TreeSet<String>();
        predSenseSetMap.put(lemma,senses);
      }
      senses.add(edge.getPred().getLabel());
    }
    for (int position=0; position < sent.size(); position++) {
      String wordForm=sent.getWord(position);
      String cleanWord=normalize.clean(wordForm);
      String unkWord=sig.getSignature(wordForm,position,prm.language);
      unkWord=normalize.escape(unkWord);
      System.out.println(wordForm);
      System.out.println(unkWord);
      words=addWord(words,cleanWord);
      unks=addWord(unks,unkWord);
      knownPostags.add(sent.getPosTag(position));
    }
  }
  knownWords=getUnigramsAboveThreshold(words,prm.cutoff);
  knownUnks=getUnigramsAboveThreshold(unks,prm.cutoff);
  this.linkStateNames=new ArrayList<String>(knownLinks);
  this.roleStateNames=new ArrayList<String>(knownRoles);
  for (  Entry<String,Set<String>> entry : predSenseSetMap.entrySet()) {
    predSenseListMap.put(entry.getKey(),new ArrayList<String>(entry.getValue()));
  }
  log.info("String_Node_Str" + roleStateNames.size());
  log.info("String_Node_Str" + roleStateNames);
  log.info("String_Node_Str" + predSenseListMap.size());
}

Fixed version (ground truth):
public void init(Iterable<SimpleAnnoSentence> cr){
  initialized=true;
  knownLinks.add("String_Node_Str");
  knownLinks.add("String_Node_Str");
  knownUnks.add("String_Node_Str");
  knownRoles.add(UNKNOWN_ROLE);
  knownRoles.add("String_Node_Str");
  for (  SimpleAnnoSentence sent : cr) {
    if (sent.size() > maxSentLength) {
      maxSentLength=sent.size();
    }
    for (    SrlEdge edge : sent.getSrlGraph().getEdges()) {
      String role=edge.getLabel();
      knownRoles.add(role);
      int position=edge.getPred().getPosition();
      String lemma=sent.getLemma(position);
      Set<String> senses=predSenseSetMap.get(lemma);
      if (senses == null) {
        senses=new TreeSet<String>();
        predSenseSetMap.put(lemma,senses);
      }
      senses.add(edge.getPred().getLabel());
    }
    for (int position=0; position < sent.size(); position++) {
      String wordForm=sent.getWord(position);
      String cleanWord=normalize.clean(wordForm);
      String unkWord=sig.getSignature(wordForm,position,prm.language);
      unkWord=normalize.escape(unkWord);
      words=addWord(words,cleanWord);
      unks=addWord(unks,unkWord);
      knownPostags.add(sent.getPosTag(position));
    }
  }
  knownWords=getUnigramsAboveThreshold(words,prm.cutoff);
  knownUnks=getUnigramsAboveThreshold(unks,prm.cutoff);
  this.linkStateNames=new ArrayList<String>(knownLinks);
  this.roleStateNames=new ArrayList<String>(knownRoles);
  for (  Entry<String,Set<String>> entry : predSenseSetMap.entrySet()) {
    predSenseListMap.put(entry.getKey(),new ArrayList<String>(entry.getValue()));
  }
  log.info("String_Node_Str" + roleStateNames.size());
  log.info("String_Node_Str" + roleStateNames);
  log.info("String_Node_Str" + predSenseListMap.size());
}