Program: 131598
Project: 131598
Buggy source:
private DepTreebank getData(Alphabet<Label> alphabet,DatasetType dataType,File dataFile,String dataName) throws ParseException, IOException {
  DepTreebank goldTreebank;
  DmvModel goldModel=null;
  if (dataType == DatasetType.PTB || dataType == DatasetType.CONLL_X || dataType == DatasetType.CONLL_2009) {
    log.info("String_Node_Str" + dataName + "String_Node_Str"+ dataFile);
    goldTreebank=DepTreebankReader.getTreebank(dataFile,dataType,DepTreebankReader.maxSentenceLength,alphabet);
  }
 else   if (dataType == DatasetType.SYNTHETIC) {
    if (synthetic == null) {
      throw new ParseException("String_Node_Str");
    }
    if (synthetic.equals("String_Node_Str")) {
      goldModel=SimpleStaticDmvModel.getTwoPosTagInstance();
    }
 else     if (synthetic.equals("String_Node_Str")) {
      goldModel=SimpleStaticDmvModel.getThreePosTagInstance();
    }
 else     if (synthetic.equals("String_Node_Str")) {
      goldModel=SimpleStaticDmvModel.getAltThreePosTagInstance();
    }
 else {
      throw new ParseException("String_Node_Str" + synthetic);
    }
    DmvDepTreeGenerator generator=new DmvDepTreeGenerator(goldModel,syntheticSeed);
    goldTreebank=generator.getTreebank(DepTreebankReader.maxNumSentences);
  }
 else {
    throw new ParseException("String_Node_Str");
  }
  log.info("String_Node_Str" + dataName + "String_Node_Str"+ goldTreebank.size());
  log.info("String_Node_Str" + dataName + "String_Node_Str"+ goldTreebank.getNumTokens());
  log.info("String_Node_Str" + dataName + "String_Node_Str"+ goldTreebank.getNumTypes());
  return goldTreebank;
}

Fixed version (ground truth):
private DepTreebank getData(Alphabet<Label> alphabet,DatasetType dataType,File dataFile,int maxSentenceLength,String dataName) throws ParseException, IOException {
  DepTreebank goldTreebank;
  DmvModel goldModel=null;
  if (dataType == DatasetType.PTB || dataType == DatasetType.CONLL_X || dataType == DatasetType.CONLL_2009) {
    log.info("String_Node_Str" + dataName + "String_Node_Str"+ dataFile);
    goldTreebank=DepTreebankReader.getTreebank(dataFile,dataType,maxSentenceLength,alphabet);
  }
 else   if (dataType == DatasetType.SYNTHETIC) {
    if (synthetic == null) {
      throw new ParseException("String_Node_Str");
    }
    if (synthetic.equals("String_Node_Str")) {
      goldModel=SimpleStaticDmvModel.getTwoPosTagInstance();
    }
 else     if (synthetic.equals("String_Node_Str")) {
      goldModel=SimpleStaticDmvModel.getThreePosTagInstance();
    }
 else     if (synthetic.equals("String_Node_Str")) {
      goldModel=SimpleStaticDmvModel.getAltThreePosTagInstance();
    }
 else {
      throw new ParseException("String_Node_Str" + synthetic);
    }
    DmvDepTreeGenerator generator=new DmvDepTreeGenerator(goldModel,syntheticSeed);
    goldTreebank=generator.getTreebank(DepTreebankReader.maxNumSentences);
  }
 else {
    throw new ParseException("String_Node_Str");
  }
  log.info("String_Node_Str" + dataName + "String_Node_Str"+ goldTreebank.size());
  log.info("String_Node_Str" + dataName + "String_Node_Str"+ goldTreebank.getNumTokens());
  log.info("String_Node_Str" + dataName + "String_Node_Str"+ goldTreebank.getNumTypes());
  return goldTreebank;
}