original_docstring: Change the population based off the trade
docstring: Change the population based off the trade
docstring_tokens: Change the population based off the trade
code: def change_population(self, trade_success):
          "Change the population based off the trade"
          self.population_yesterday = self.population
          if trade_success:
              self.population += round(self.population * 0.01)
          else:
              self.population -= round(self.population * 0.002)
code_tokens: def change_population ( self , trade_success ) : self . population_yesterday = self . population if trade_success : self . population += round ( self . population * 0.01 ) else : self . population -= round ( self . population * 0.002 )
short_docstring: Change the population based off the trade
short_docstring_tokens: Change the population based off the trade
comment: "Change the population based off the trade"