Program: 117148
Project: 117148
Buggy source:
public static void addModAchievements(){
  int x=5;
}

Fixed version (ground truth):
public static void addModAchievements(){
  int x=5;
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-10 + x,0,DEFeatures.draconiumDust,null).initIndependentStat().setSpecial(),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-8 + x,0,DEFeatures.draconiumIngot,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-6 + x,0,DEFeatures.draconicCore,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-4 + x,0,DEFeatures.wyvernCore,getAchievement("String_Node_Str")).setSpecial(),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-8 + x,1,DEFeatures.dislocator,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-7 + x,2,DEFeatures.particleGenerator,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-5 + x,-2,DEFeatures.celestialManipulator,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-7 + x,-2,DEFeatures.dissEnchanter,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-4 + x,-6,DEFeatures.energyStorageCore,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-2 + x,1,DEFeatures.wyvernPick,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-2 + x,-1,DEFeatures.wyvernShovel,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-2 + x,2,DEFeatures.wyvernSword,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-2 + x,-2,DEFeatures.wyvernBow,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-2 + x,-4,DEFeatures.wyvernHelm,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-2 + x,-3,DEFeatures.wyvernChest,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-2 + x,3,DEFeatures.wyvernLegs,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-2 + x,4,DEFeatures.wyvernBoots,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-2 + x,-5,DEFeatures.dislocatorAdvanced,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-2 + x,5,DEFeatures.wyvernCapacitor,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",0 + x,0,DEFeatures.dragonHeart,getAchievement("String_Node_Str")).setSpecial(),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",2 + x,0,DEFeatures.draconicBlock,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",4 + x,0,DEFeatures.awakenedCore,getAchievement("String_Node_Str")).setSpecial(),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",2 + x,-3,DEFeatures.draconicHelm,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",2 + x,-2,DEFeatures.draconicChest,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",2 + x,2,DEFeatures.draconicLegs,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",2 + x,3,DEFeatures.draconicBoots,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",6 + x,0,DEFeatures.draconicPick,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",6 + x,-1,DEFeatures.draconicShovel,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",6 + x,1,DEFeatures.draconicAxe,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",6 + x,-2,DEFeatures.draconicSword,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",6 + x,2,DEFeatures.draconicBow,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",6 + x,-3,DEFeatures.draconicCapacitor,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",6 + x,3,DEFeatures.draconicHoe,getAchievement("String_Node_Str")),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",8 + x,0,DEFeatures.draconicStaffOfPower,getAchievement("String_Node_Str")).setSpecial(),"String_Node_Str");
  ItemStack mobSoul=new ItemStack(DEFeatures.mobSoul);
  ItemNBTHelper.setString(mobSoul,"String_Node_Str","String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",0 + x,-2,mobSoul,null).initIndependentStat(),"String_Node_Str");
  addAchievement("String_Node_Str",new Achievement("String_Node_Str","String_Node_Str",-8 + x,-1,DEFeatures.infoTablet,getAchievement("String_Node_Str")),"String_Node_Str");
}