Program: 131418
Project: 131418
Buggy source:
public void init(Iterable<SimpleAnnoSentence> cr){
  Map<String,Set<String>> predSenseSetMap=new HashMap<String,Set<String>>();
  Set<String> knownRoles=new HashSet<String>();
  Set<String> knownLinks=new HashSet<String>();
  Map<String,MutableInt> words=new HashMap<String,MutableInt>();
  Map<String,MutableInt> unks=new HashMap<String,MutableInt>();
  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);
    }
    for (    SrlPred pred : sent.getSrlGraph().getPreds()) {
      int position=pred.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(pred.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);
  topNWords=getTopNUnigrams(words,prm.topN,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){
  Map<String,Set<String>> predSenseSetMap=new HashMap<String,Set<String>>();
  Set<String> knownRoles=new HashSet<String>();
  Set<String> knownLinks=new HashSet<String>();
  Map<String,MutableInt> words=new HashMap<String,MutableInt>();
  Map<String,MutableInt> unks=new HashMap<String,MutableInt>();
  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 (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);
      addWord(words,cleanWord);
      addWord(unks,unkWord);
    }
    if (sent.getPosTags() != null) {
      for (int position=0; position < sent.size(); position++) {
        knownPostags.add(sent.getPosTag(position));
      }
    }
    if (sent.getSrlGraph() != null) {
      for (      SrlEdge edge : sent.getSrlGraph().getEdges()) {
        String role=edge.getLabel();
        knownRoles.add(role);
      }
      for (      SrlPred pred : sent.getSrlGraph().getPreds()) {
        int position=pred.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(pred.getLabel());
      }
    }
  }
  knownWords=getUnigramsAboveThreshold(words,prm.cutoff);
  knownUnks=getUnigramsAboveThreshold(unks,prm.cutoff);
  topNWords=getTopNUnigrams(words,prm.topN,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());
}