Program: 24116
Project: 24116
Buggy source:
private void writeEntry(String path,String cardinality,String type,String conceptDomain,ElementDefn e) throws Exception {
  write("String_Node_Str" + path.replace("String_Node_Str","String_Node_Str").replace("String_Node_Str","String_Node_Str") + "String_Node_Str"+ path+ "String_Node_Str");
  tableRow("String_Node_Str",null,e.getDefinition());
  tableRow("String_Node_Str","String_Node_Str",cardinality + (e.hasCondition() ? "String_Node_Str" + e.getCondition() : "String_Node_Str"));
  tableRowNE("String_Node_Str","String_Node_Str",describeBinding(e));
  if (!Utilities.noString(type) && type.startsWith("String_Node_Str"))   tableRowNE("String_Node_Str",null,"String_Node_Str" + type.substring(1) + "String_Node_Str"+ type.substring(1)+ "String_Node_Str");
 else   tableRowNE("String_Node_Str","String_Node_Str",type);
  tableRow("String_Node_Str","String_Node_Str",displayBoolean(e.isModifier()));
  tableRowNE("String_Node_Str",null,page.processMarkdown(e.getRequirements()));
  tableRow("String_Node_Str",null,toSeperatedString(e.getAliases()));
  if (e.isSummaryItem())   tableRow("String_Node_Str","String_Node_Str",Boolean.toString(e.isSummaryItem()));
  tableRow("String_Node_Str",null,e.getComments());
  tableRowNE("String_Node_Str",null,invariants(e.getInvariants(),e.getStatedInvariants()));
  tableRow("String_Node_Str",null,e.getMapping(Definitions.LOINC_MAPPING));
  tableRow("String_Node_Str",null,e.getMapping(Definitions.SNOMED_MAPPING));
  tableRow("String_Node_Str",null,e.getTodo());
  if (e.getTasks().size() > 0) {
    tableRowNE("String_Node_Str",null,tasks(e.getTasks()));
  }
}

Fixed version (ground truth):
private void writeEntry(String path,String cardinality,String type,String conceptDomain,ElementDefn e) throws Exception {
  write("String_Node_Str" + path.replace("String_Node_Str","String_Node_Str").replace("String_Node_Str","String_Node_Str") + "String_Node_Str"+ path+ "String_Node_Str");
  tableRow("String_Node_Str",null,page.processMarkdown(e.getDefinition()));
  tableRow("String_Node_Str","String_Node_Str",cardinality + (e.hasCondition() ? "String_Node_Str" + e.getCondition() : "String_Node_Str"));
  tableRowNE("String_Node_Str","String_Node_Str",describeBinding(e));
  if (!Utilities.noString(type) && type.startsWith("String_Node_Str"))   tableRowNE("String_Node_Str",null,"String_Node_Str" + type.substring(1) + "String_Node_Str"+ type.substring(1)+ "String_Node_Str");
 else   tableRowNE("String_Node_Str","String_Node_Str",type);
  tableRow("String_Node_Str","String_Node_Str",displayBoolean(e.isModifier()));
  tableRowNE("String_Node_Str",null,page.processMarkdown(e.getRequirements()));
  tableRow("String_Node_Str",null,toSeperatedString(e.getAliases()));
  if (e.isSummaryItem())   tableRow("String_Node_Str","String_Node_Str",Boolean.toString(e.isSummaryItem()));
  tableRow("String_Node_Str",null,page.processMarkdown(e.getComments()));
  tableRowNE("String_Node_Str",null,invariants(e.getInvariants(),e.getStatedInvariants()));
  tableRow("String_Node_Str",null,e.getMapping(Definitions.LOINC_MAPPING));
  tableRow("String_Node_Str",null,e.getMapping(Definitions.SNOMED_MAPPING));
  tableRow("String_Node_Str",null,e.getTodo());
  if (e.getTasks().size() > 0) {
    tableRowNE("String_Node_Str",null,tasks(e.getTasks()));
  }
}