Program: 37832
Project: 37832
Buggy source:
/** 
 * @param args
 * @throws Exception 
 */
public static void main(String[] args) throws Exception {
  Linear.resetRandom();
  String paths[]={"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  float sampleRates[]={1,1,1,1,0.07f};
  Element elem=XMLConfigs.load(new FileReader("String_Node_Str"));
  QuantityCatalog quantDict=new QuantityCatalog(elem);
  RuleBasedParser parser=new RuleBasedParser(elem,quantDict);
  ConceptClassifier classifier=null;
  if (args.length > 0 && args[0].equalsIgnoreCase("String_Node_Str")) {
    classifier=new ConceptClassifier(elem,quantDict,false,parser);
    classifier.makeClassifier(QuantityCatalog.QuantConfigDirPath + ConceptClassifier.ClassifierFile + "String_Node_Str");
  }
 else {
    classifier=new ConceptClassifier(elem,quantDict,parser,QuantityCatalog.QuantConfigDirPath + ConceptClassifier.ClassifierFile);
  }
  String conceptTests[]={"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  for (  String hdr : conceptTests) {
    System.out.print(hdr);
    List<String> tokens=QuantityCatalog.getTokens(hdr);
    List<EntryWithScore<Quantity>> scores=classifier.getConceptScores(hdr);
    if (scores != null) {
      for (Iterator<EntryWithScore<Quantity>> iter=scores.iterator(); iter.hasNext(); ) {
        EntryWithScore<Quantity> entry=iter.next();
        System.out.print("String_Node_Str" + entry.getKey().getConcept() + "String_Node_Str"+ entry.getScore());
      }
      System.out.println();
    }
  }
}

Fixed version (ground truth):
/** 
 * @param args
 * @throws Exception 
 */
public static void main(String[] args) throws Exception {
  Linear.resetRandom();
  String paths[]={"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  float sampleRates[]={1,1,1,1,0.07f};
  Element elem=XMLConfigs.load(new FileReader("String_Node_Str"));
  QuantityCatalog quantDict=new QuantityCatalog(elem);
  RuleBasedParser parser=new RuleBasedParser(elem,quantDict);
  ConceptClassifier classifier=null;
  if (args.length > 0 && args[0].equalsIgnoreCase("String_Node_Str")) {
    classifier=new ConceptClassifier(elem,quantDict,false,parser);
    classifier.makeClassifier(QuantityCatalog.QuantConfigDirPath + ConceptClassifier.ClassifierFile + "String_Node_Str");
  }
 else {
    classifier=new ConceptClassifier(quantDict);
  }
  String conceptTests[]={"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"};
  for (  String hdr : conceptTests) {
    System.out.print(hdr);
    List<String> tokens=QuantityCatalog.getTokens(hdr);
    List<EntryWithScore<Quantity>> scores=classifier.getConceptScores(hdr);
    if (scores != null) {
      for (Iterator<EntryWithScore<Quantity>> iter=scores.iterator(); iter.hasNext(); ) {
        EntryWithScore<Quantity> entry=iter.next();
        System.out.print("String_Node_Str" + entry.getKey().getConcept() + "String_Node_Str"+ entry.getScore());
      }
      System.out.println();
    }
  }
}