Program: 134659
Project: 134659
Buggy source:
@Override public List<PanelString> getStringData(int displaySettings,ICardWrapper card,boolean showLabels){
  List<PanelString> result=new LinkedList<PanelString>();
  PanelString line;
  double PerOut=card.getDouble("String_Node_Str");
  double energyStored=card.getDouble("String_Node_Str");
  double outputlvl=card.getDouble("String_Node_Str");
  double coreTemp=card.getDouble("String_Node_Str");
  int ioutputlvl=(int)outputlvl;
  int ienergyStored=(int)energyStored;
  if ((displaySettings & DISPLAY_TEMP) > 0) {
    line=new PanelString();
    line.textLeft=StringUtils.getFormatted("String_Node_Str",coreTemp,showLabels);
    result.add(line);
  }
  if ((displaySettings & DISPLAY_ENERGY) > 0) {
    line=new PanelString();
    line.textLeft=StringUtils.getFormatted("String_Node_Str",ienergyStored,showLabels);
    result.add(line);
  }
  if ((displaySettings & DISPLAY_OUTPUT) > 0) {
    line=new PanelString();
    line.textLeft=StringUtils.getFormatted("String_Node_Str",ioutputlvl,showLabels);
    result.add(line);
  }
  if ((displaySettings & DISPLAY_PERCENTAGE) > 0) {
    line=new PanelString();
    line.textLeft=StringUtils.getFormatted("String_Node_Str",PerOut,showLabels);
    result.add(line);
  }
  int txtColor=0;
  String text;
  if ((displaySettings & DISPLAY_ON) > 0) {
    boolean reactorPowered=card.getBoolean("String_Node_Str");
    if (reactorPowered) {
      txtColor=0x00ff00;
      text=LangHelper.translate("String_Node_Str");
    }
 else {
      txtColor=0xff0000;
      text=LangHelper.translate("String_Node_Str");
    }
    if (result.size() > 0) {
      PanelString firstLine=result.get(0);
      firstLine.textRight=text;
      firstLine.colorRight=txtColor;
    }
 else {
      line=new PanelString();
      line.textLeft=text;
      line.colorLeft=txtColor;
      result.add(line);
    }
  }
  return result;
}

Fixed version (ground truth):
@Override public List<PanelString> getStringData(int displaySettings,ICardWrapper card,boolean showLabels){
  List<PanelString> result=new LinkedList<PanelString>();
  PanelString line;
  double PerOut=card.getDouble("String_Node_Str");
  double energyStored=card.getDouble("String_Node_Str");
  double outputlvl=card.getDouble("String_Node_Str");
  double coreTemp=card.getDouble("String_Node_Str");
  int ioutputlvl=(int)outputlvl;
  int ienergyStored=(int)energyStored;
  boolean passive=card.getBoolean("String_Node_Str");
  if (passive) {
    if ((displaySettings & DISPLAY_TEMP) > 0) {
      line=new PanelString();
      line.textLeft=StringUtils.getFormatted("String_Node_Str",coreTemp,showLabels);
      result.add(line);
    }
    if ((displaySettings & DISPLAY_ENERGY) > 0) {
      line=new PanelString();
      line.textLeft=StringUtils.getFormatted("String_Node_Str",ienergyStored,showLabels);
      result.add(line);
    }
    if ((displaySettings & DISPLAY_OUTPUT) > 0) {
      line=new PanelString();
      line.textLeft=StringUtils.getFormatted("String_Node_Str",ioutputlvl,showLabels);
      result.add(line);
    }
    if ((displaySettings & DISPLAY_PERCENTAGE) > 0) {
      line=new PanelString();
      line.textLeft=StringUtils.getFormatted("String_Node_Str",PerOut,showLabels);
      result.add(line);
    }
    int txtColor=0;
    String text;
    if ((displaySettings & DISPLAY_ON) > 0) {
      boolean reactorPowered=card.getBoolean("String_Node_Str");
      if (reactorPowered) {
        txtColor=0x00ff00;
        text=LangHelper.translate("String_Node_Str");
      }
 else {
        txtColor=0xff0000;
        text=LangHelper.translate("String_Node_Str");
      }
      if (result.size() > 0) {
        PanelString firstLine=result.get(0);
        firstLine.textRight=text;
        firstLine.colorRight=txtColor;
      }
 else {
        line=new PanelString();
        line.textLeft=text;
        line.colorLeft=txtColor;
        result.add(line);
      }
    }
  }
 else {
    if ((displaySettings & DISPLAY_TEMP) > 0) {
      line=new PanelString();
      line.textLeft=StringUtils.getFormatted("String_Node_Str",coreTemp,showLabels);
      result.add(line);
    }
    if ((displaySettings & DISPLAY_OUTPUT) > 0) {
      line=new PanelString();
      line.textLeft=StringUtils.getFormatted("String_Node_Str",ioutputlvl,showLabels);
      result.add(line);
    }
    if ((displaySettings & DISPLAY_ENERGY) > 0) {
      line=new PanelString();
      line.textLeft=StringUtils.getFormattedKey("String_Node_Str",card.getString("String_Node_Str"),card.getInt("String_Node_Str"));
      result.add(line);
    }
    if ((displaySettings & DISPLAY_PERCENTAGE) > 0) {
      line=new PanelString();
      line.textLeft=StringUtils.getFormattedKey("String_Node_Str",card.getString("String_Node_Str"),card.getInt("String_Node_Str"));
      result.add(line);
    }
    int txtColor=0;
    String text;
    if ((displaySettings & DISPLAY_ON) > 0) {
      boolean reactorPowered=card.getBoolean("String_Node_Str");
      if (reactorPowered) {
        txtColor=0x00ff00;
        text=LangHelper.translate("String_Node_Str");
      }
 else {
        txtColor=0xff0000;
        text=LangHelper.translate("String_Node_Str");
      }
      if (result.size() > 0) {
        PanelString firstLine=result.get(0);
        firstLine.textRight=text;
        firstLine.colorRight=txtColor;
      }
 else {
        line=new PanelString();
        line.textLeft=text;
        line.colorLeft=txtColor;
        result.add(line);
      }
    }
  }
  return result;
}