Program: 62786
Project: 62786
Buggy source:
private InstructorResultsQuestionTable buildQuestionTable(FeedbackQuestionAttributes question,List<FeedbackResponseAttributes> responses,ViewType statisticsViewType,String additionalInfoId,boolean isIncludeMissingResponses){
  FeedbackQuestionDetails questionDetails=question.getQuestionDetails();
  String statisticsTable=questionDetails.getQuestionResultStatisticsHtml(responses,question,this,bundle,statisticsViewType.name());
  List<InstructorResultsResponseRow> responseRows=isIncludeMissingResponses ? buildResponseRowsForQuestion(question,responses,statisticsViewType) : buildResponseRowsForQuestionWithoutMissingResponses(question,responses,statisticsViewType);
  boolean isCollapsible=true;
  List<ElementTag> columnTags=new ArrayList<ElementTag>();
  Map<String,Boolean> isSortable=new HashMap<String,Boolean>();
switch (statisticsViewType) {
case QUESTION:
    buildTableColumnHeaderForQuestionView(columnTags,isSortable);
  break;
case GIVER_QUESTION_RECIPIENT:
buildTableColumnHeaderForGiverQuestionRecipientView(columnTags,isSortable);
isCollapsible=false;
break;
case RECIPIENT_QUESTION_GIVER:
buildTableColumnHeaderForRecipientQuestionGiverView(columnTags,isSortable);
isCollapsible=false;
break;
default :
Assumption.fail("String_Node_Str");
}
InstructorResultsQuestionTable questionTable=new InstructorResultsQuestionTable(this,responses,statisticsTable,responseRows,question,additionalInfoId,columnTags,isSortable);
questionTable.setCollapsible(isCollapsible);
questionTable.setShowResponseRows(true);
questionTable.setColumns(columnTags);
return questionTable;
}

Fixed version (ground truth):
private InstructorResultsQuestionTable buildQuestionTable(FeedbackQuestionAttributes question,List<FeedbackResponseAttributes> responses,ViewType statisticsViewType,String additionalInfoId,boolean isIncludeMissingResponses){
  FeedbackQuestionDetails questionDetails=question.getQuestionDetails();
  String statisticsTable=questionDetails.getQuestionResultStatisticsHtml(responses,question,this,bundle,statisticsViewType.toString());
  List<InstructorResultsResponseRow> responseRows=isIncludeMissingResponses ? buildResponseRowsForQuestion(question,responses,statisticsViewType) : buildResponseRowsForQuestionWithoutMissingResponses(question,responses,statisticsViewType);
  boolean isCollapsible=true;
  List<ElementTag> columnTags=new ArrayList<ElementTag>();
  Map<String,Boolean> isSortable=new HashMap<String,Boolean>();
switch (statisticsViewType) {
case QUESTION:
    buildTableColumnHeaderForQuestionView(columnTags,isSortable);
  break;
case GIVER_QUESTION_RECIPIENT:
buildTableColumnHeaderForGiverQuestionRecipientView(columnTags,isSortable);
isCollapsible=false;
break;
case RECIPIENT_QUESTION_GIVER:
buildTableColumnHeaderForRecipientQuestionGiverView(columnTags,isSortable);
isCollapsible=false;
break;
default :
Assumption.fail("String_Node_Str");
}
InstructorResultsQuestionTable questionTable=new InstructorResultsQuestionTable(this,responses,statisticsTable,responseRows,question,additionalInfoId,columnTags,isSortable);
questionTable.setCollapsible(isCollapsible);
questionTable.setShowResponseRows(true);
questionTable.setColumns(columnTags);
return questionTable;
}